NOTE
The Rules v3 endpoints are new in the Distributed Cloud AIP API as of March 2023. The Rules v3 and v2 endpoints will work simultaneously while Distributed Cloud AIP migrates all organizations to Rules v3. Once your organization converts to Rules v3, you should begin utilizing the new functionality.
Distributed Cloud AIP takes a behavior-based approach to security alerting, governed by rules that focus on events that you consider important. A rule is a statement that tells software what data to look for and how to react to that data. Distributed Cloud AIP uses the rules enabled in your infrastructure to continuously compare event data to alert criteria. When a rule matches alert criteria, then an alert triggers for the event.
To learn more about the different types of rules available in Distributed Cloud AIP, see Rule Creation Overview.
In addition to your existing, traditional (unmanaged) rules, Rules v3 includes managed rules. Distributed Cloud AIP internally coordinates and monitors these managed rules, which you can leverage in your environment to help you save time on rule creation and management.
Distributed Cloud AIP controls specific fields for managed rules, including the title, description, filter, managed suppressions, and managed classifiers. These managed rules will periodically update to ensure that your rules contain the most accurate and up-to-date information. See Rule Release and Changelog for the most recent changes.
NOTE
Rulesets and alerting properties (such as alert frequency) for managed rules are organization-specific, meaning you can change them to better fit your infrastructure. The only fixed fields for managed rules are the title, description, filters, managed classifiers, and managed suppressions.
Unmanaged, or traditional, rules are not managed by Distributed Cloud AIP. You can fully customize unmanaged rule titles, descriptions, classifiers, filters, and suppressions to fit your infrastructure’s unique needs.
These rules can help you elevate the visibility of security data that matters to you, such as specific user behaviors, container behavior, and/or compliance alignment. Unmanaged rules can also help you to exclude or suppress unactionable or unnecessary data from your environment. For more information about the types of rules you can create, see Rule Creation Overview.
This method enables you to retrieve a list of all the rulesets in your organization.
List all rulesets in your organization:
https://api.threatstack.com/v3/rulesets
Success
Bad parameters
Unauthorized response
Resource already exists
Rate limit hit
An internal error has occurred
{- "rulesets": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
This method enables you to create a new ruleset in your organization.
NOTE
To add a rule to a ruleset, use the Create a Rule or Update a Rule endpoints.
Create a ruleset in your organization:
https://api.threatstack.com/v3/rulesets
Create ruleset object
Success
Bad parameters
Unauthorized response
Rate limit hit
An internal error has occurred
{- "name": "string",
- "description": "string"
}
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
This method enables you to retrieve the details of a ruleset using a rulesetId
.
NOTE
You can only pass one
rulesetId
at a time.
Retrieve a ruleset by ID:
https://api.threatstack.com/v3/rulesets/{rulesetId}
rulesetId
was not found.required | UUIdentifier (string) or MongoIdentifier (string) (RuleSetId) The ID of the ruleset |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
This method enables you to update a ruleset in your organization.
NOTE
- You can only pass one
rulesetId
at a time.- The
id
in the request body must match therulesetId
in the path.
Update a ruleset by ID:
https://api.threatstack.com/v3/rulesets/{rulesetID}
required | UUIdentifier (string) or MongoIdentifier (string) (RuleSetId) The ID of the ruleset to update |
Success
Bad parameters
Unauthorized response
The resource was not found
Resource already exists
Rate limit hit
An internal error has occurred
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string"
}
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
This method enables you to permanently delete a ruleset from your organization.
IMPORTANT:
This method does not delete the rules associated with the deleted ruleset. Any alerts generated by rules in the deleted ruleset are not deleted. These alerts continue to list the rule that triggered the alert, even though the ruleset no longer exists.
Delete a ruleset by ID:
https://api.threatstack.com/v3/rulesets/{rulesetId}
required | UUIdentifier (string) or MongoIdentifier (string) (RuleSetId) The ID of the ruleset to delete |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{ }
This method enables you to retrieve a list of all Agents assigned to a ruleset in your organization.
Retrieve a list of all Agents assigned to a ruleset by ruleset ID:
https://api.threatstack.com/v3/rulesets/{rulesetId}/agents
required | UUIdentifier (string) or MongoIdentifier (string) (RuleSetId) The ID of the ruleset |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "agents": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "online": true
}
]
}
This method enables you to retrieve a list of all rules in your organization.
Retrieve a list of all rules:
https://api.threatstack.com/v3/rules
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "rules": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "rulesetId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "filter": "user = \"root\"",
- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
], - "ruleClassifiers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "modifier": "2-4"
}
], - "ruleType": "cloudtrail",
- "ruleAlertOptions": {
- "title": "Detected activity from {{user}}.",
- "windowSeconds": 3600,
- "threshold": 1,
- "severity": 1,
- "alertEnabled": true,
- "aggregates": [
- "exe",
- "user"
]
}, - "fileIntegrityRuleOptions": {
- "exclusions": [
- "/foo/bar/*"
], - "events": [
- "CREATE",
- "DELETE"
], - "files": [
- {
- "recursive": false,
- "path": "/etc/foo/bar/*"
}
]
}, - "managed": true,
- "enabled": true,
- "clonedFrom": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "assignmentType": "asset"
}
]
}
This method enables you to create a rule in your organization.
Create a rule:
https://api.threatstack.com/v3/rules
Create rule object
Success
Bad parameters
Unauthorized response
The resource was not found
Bad parameters
Rate limit hit
An internal error has occurred
{- "rulesetId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "filter": "user = \"root\"",
- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
], - "ruleClassifiers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "modifier": "2-4"
}
], - "ruleType": "cloudtrail",
- "ruleAlertOptions": {
- "title": "Detected activity from {{user}}.",
- "windowSeconds": 3600,
- "threshold": 1,
- "severity": 1,
- "alertEnabled": true,
- "aggregates": [
- "exe",
- "user"
]
}, - "fileIntegrityRuleOptions": {
- "exclusions": [
- "/foo/bar/*"
], - "events": [
- "CREATE",
- "DELETE"
], - "files": [
- {
- "recursive": false,
- "path": "/etc/foo/bar/*"
}
]
}, - "assignmentType": "asset",
- "enabled": true
}
{- "rules": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "rulesetId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "filter": "user = \"root\"",
- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
], - "ruleClassifiers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "modifier": "2-4"
}
], - "ruleType": "cloudtrail",
- "ruleAlertOptions": {
- "title": "Detected activity from {{user}}.",
- "windowSeconds": 3600,
- "threshold": 1,
- "severity": 1,
- "alertEnabled": true,
- "aggregates": [
- "exe",
- "user"
]
}, - "fileIntegrityRuleOptions": {
- "exclusions": [
- "/foo/bar/*"
], - "events": [
- "CREATE",
- "DELETE"
], - "files": [
- {
- "recursive": false,
- "path": "/etc/foo/bar/*"
}
]
}, - "managed": true,
- "enabled": true,
- "clonedFrom": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "assignmentType": "asset"
}
]
}
This method enables you to retrieve the details of a rule in your organization.
NOTE
You can only pass one
ruleId
at a time.
Retrieve a rule by ID:
https://api.threatstack.com/v3/rules/{ruleId}
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "rulesetId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "filter": "user = \"root\"",
- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
], - "ruleClassifiers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "modifier": "2-4"
}
], - "ruleType": "cloudtrail",
- "ruleAlertOptions": {
- "title": "Detected activity from {{user}}.",
- "windowSeconds": 3600,
- "threshold": 1,
- "severity": 1,
- "alertEnabled": true,
- "aggregates": [
- "exe",
- "user"
]
}, - "fileIntegrityRuleOptions": {
- "exclusions": [
- "/foo/bar/*"
], - "events": [
- "CREATE",
- "DELETE"
], - "files": [
- {
- "recursive": false,
- "path": "/etc/foo/bar/*"
}
]
}, - "managed": true,
- "enabled": true,
- "clonedFrom": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "assignmentType": "asset"
}
This method enables you to update an existing rule in your environment.
NOTE
- You can only pass one
ruleId
at a time.- The
id
in the request body must match theruleId
in the path.- You cannot update the
ruleType
with this method.
Update a rule by ID:
https://api.threatstack.com/v3/rules/{ruleId}
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule to update |
Update rule obect
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "rulesetId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "filter": "user = \"root\"",
- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
], - "ruleClassifiers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "modifier": "2-4"
}
], - "ruleType": "cloudtrail",
- "ruleAlertOptions": {
- "title": "Detected activity from {{user}}.",
- "windowSeconds": 3600,
- "threshold": 1,
- "severity": 1,
- "alertEnabled": true,
- "aggregates": [
- "exe",
- "user"
]
}, - "fileIntegrityRuleOptions": {
- "exclusions": [
- "/foo/bar/*"
], - "events": [
- "CREATE",
- "DELETE"
], - "files": [
- {
- "recursive": false,
- "path": "/etc/foo/bar/*"
}
]
}, - "assignmentType": "asset",
- "enabled": true
}
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "rulesetId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "filter": "user = \"root\"",
- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
], - "ruleClassifiers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "modifier": "2-4"
}
], - "ruleType": "cloudtrail",
- "ruleAlertOptions": {
- "title": "Detected activity from {{user}}.",
- "windowSeconds": 3600,
- "threshold": 1,
- "severity": 1,
- "alertEnabled": true,
- "aggregates": [
- "exe",
- "user"
]
}, - "fileIntegrityRuleOptions": {
- "exclusions": [
- "/foo/bar/*"
], - "events": [
- "CREATE",
- "DELETE"
], - "files": [
- {
- "recursive": false,
- "path": "/etc/foo/bar/*"
}
]
}, - "managed": true,
- "enabled": true,
- "clonedFrom": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "assignmentType": "asset"
}
This method enables you to delete a rule from your organization.
NOTE
You can only pass one
ruleId
at a time.
IMPORTANT
This method does not delete any alerts that the rule has generated. These alerts continue to list the rule that triggered the alert, even though the rule no longer exists.
Delete a rule by ID:
https://api.threatstack.com/v3/rules/{ruleId}
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule to delete |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{ }
This method allows you to add a suppression to an existing rule in your environment.
NOTE
- You can only pass one
ruleId
at a time.- You can only pass one
suppressionId
at a time.
IMPORTANT
Any active alerts that would have been suppressed prior to adding the suppression will not be retroactively suppressed.
Add a suppression to a rule by IDs:
https://api.threatstack.com/v3/rules/{ruleId}/suppressions/{suppressionId}
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule |
required | UUIdentifier (string) or MongoIdentifier (string) (SuppressionId) The ID of the suppression to add |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "rulesetId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "filter": "user = \"root\"",
- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
], - "ruleClassifiers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "modifier": "2-4"
}
], - "ruleType": "cloudtrail",
- "ruleAlertOptions": {
- "title": "Detected activity from {{user}}.",
- "windowSeconds": 3600,
- "threshold": 1,
- "severity": 1,
- "alertEnabled": true,
- "aggregates": [
- "exe",
- "user"
]
}, - "fileIntegrityRuleOptions": {
- "exclusions": [
- "/foo/bar/*"
], - "events": [
- "CREATE",
- "DELETE"
], - "files": [
- {
- "recursive": false,
- "path": "/etc/foo/bar/*"
}
]
}, - "managed": true,
- "enabled": true,
- "clonedFrom": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "assignmentType": "asset"
}
This method enables you to remove a suppression from a rule in your organization.
NOTE
- You can only pass one
ruleId
at a time.- You can only pass one
suppressionId
at a time.
Remove a suppression from a rule by IDs:
https://api.threatstack.com/v3/rules/{ruleId}/suppressions/{suppressionId}
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule from which to remove the suppression |
required | UUIdentifier (string) or MongoIdentifier (string) (SuppressionId) The ID of the suppression to remove |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "rulesetId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "description": "string",
- "filter": "user = \"root\"",
- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
], - "ruleClassifiers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "modifier": "2-4"
}
], - "ruleType": "cloudtrail",
- "ruleAlertOptions": {
- "title": "Detected activity from {{user}}.",
- "windowSeconds": 3600,
- "threshold": 1,
- "severity": 1,
- "alertEnabled": true,
- "aggregates": [
- "exe",
- "user"
]
}, - "fileIntegrityRuleOptions": {
- "exclusions": [
- "/foo/bar/*"
], - "events": [
- "CREATE",
- "DELETE"
], - "files": [
- {
- "recursive": false,
- "path": "/etc/foo/bar/*"
}
]
}, - "managed": true,
- "enabled": true,
- "clonedFrom": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "assignmentType": "asset"
}
This method enables you to retrieve a list of all classification labels attached to a rule.
NOTE
You can only pass one
ruleId
at a time.
Retrieve a list of all classification labels attached to a rule by ID:
https://api.threatstack.com/v3/rules/{ruleId}/classificationLabels
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
[- {
- "labelId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "domainId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "domainName": "Compliance",
- "categoryId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "categoryName": "ISO 27001",
- "labelName": "A.9.2",
- "labelModifier": "(b)"
}
]
This method enables you to attach multiple classification labels to an existing rule.
NOTE
You can only pass one
ruleId
at a time.
Attach classification labels to a rule by ID:
https://api.threatstack.com/v3/rules/{ruleId}/classificationLabels
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
[- {
- "labelId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "domainId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "domainName": "Compliance",
- "categoryId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "categoryName": "ISO 27001",
- "labelName": "A.9.2",
- "labelModifier": "(b)"
}
]
This method enables you to attach a classification label to a rule.
NOTE
- You can only pass one
ruleId
at a time.- You can only pass one
labelId
at a time.
Attach a classification label to a rule by IDs:
https://api.threatstack.com/v3/rules/{ruleId}/classificationLabels/{labelId}
Attach a classification label with modifier to a rule by IDs:
https://api.threatstack.com/v3/rules/{ruleId}/classificationLabels/{labelId}?modifier=(b)
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule |
required | UUIdentifier (string) or MongoIdentifier (string) (ClassificationLabelId) The ID of the classification label to attach |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "labelId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "domainId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "domainName": "Compliance",
- "categoryId": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "categoryName": "ISO 27001",
- "labelName": "A.9.2",
- "labelModifier": "(b)"
}
This method enables you to remove a classification label from a rule.
NOTE
- You can only pass one
ruleId
at a time.- You can only pass one
labelId
at a time.
Remove a classification label from a rule by IDs:
https://api.threatstack.com/v3/rules/{ruleId}/classificationLabels/{labelId}
required | UUIdentifier (string) or MongoIdentifier (string) (RuleId) The ID of the rule |
required | UUIdentifier (string) or MongoIdentifier (string) (ClassificationLabelId) The ID of the classification label to remove |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
"Successfully removed labelId: 00000000-aaaa-0000-aaaa-0000000000 from ruleId: 00000000-aaaa-0000-aaaa-0000000000."
This method enables you to retrieve a list of all suppressions in your organization.
Retrieve a list of all suppressions:
https://api.threatstack.com/v3/suppressions
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "suppressions": [
- {
- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
]
}
This method enables you to create a rule suppression in your organization.
Create a suppression in your organization:
https://api.threatstack.com/v3/suppressions
Create suppression object
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "name": "string",
- "filter": "user = \"root\""
}
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
This method enables you to retrieve the details of a suppression using a suppressionId
.
NOTE
You can only pass one
suppressionId
at a time.
Retrieve a suppression by ID:
https://api.threatstack.com/v3/suppressions/{suppressionId}
required | UUIdentifier (string) or MongoIdentifier (string) (SuppressionId) The ID of the suppression |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
This method enables you to update a suppression by suppressionId
.
NOTE
You can only pass one
suppressionId
at a time.
Update a suppression:
https://api.threatstack.com/v3/suppressions/{suppressionId}
required | UUIdentifier (string) or MongoIdentifier (string) (SuppressionId) The ID of the suppression to update |
Update suppression object
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
{- "id": "e5034ccf-bf8e-4005-b942-737deaf4c491",
- "name": "string",
- "filter": "user = \"root\""
}
This method enables you to delete a suppression by suppressionId
.
NOTE
You can only pass one
suppressionId
at a time.
IMPORTANT
Any suppressions that you delete are automatically removed from the rules to which they were added and no longer suppress alerts. Once the suppression is deleted, previously suppressed alerts will not generate retroactively, but new alerts may generate that previously would have been suppressed.
Delete a suppression:
https://api.threatstack.com/v3/suppressions/{suppressionId}
required | UUIdentifier (string) or MongoIdentifier (string) (SuppressionId) The ID of the suppression to delete |
Success
Bad parameters
Unauthorized response
The resource was not found
Rate limit hit
An internal error has occurred
{ }