Security Exceptions API
Create an exception list
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/exception_lists</span></div>Refer to Spaces for more information.
An exception list groups exception items and can be associated with detection rules. You can assign exception lists to multiple detection rules.
info All exception items added to the same list are evaluated using OR logic. That is, if any of the items in a list evaluate to true, the exception prevents the rule from generating an alert. Likewise, OR logic is used for evaluating exceptions when more than one exception list is assigned to a rule. To use the AND operator, you can define multiple clauses (entries) in a single exception item.
post/api/exception_lists
Request body
Example request
{
"description": "This is a sample detection type exception list.",
"list_id": "simple_list",
"name": "Sample Detection Exception List",
"namespace_type": "single",
"os_types": [
"linux"
],
"tags": [
"malware"
],
"type": "detection"
}Response
Successful response
Example response
{
"description": "This list tracks allowlisted values.",
"id": "9e5fc75a-a3da-46c5-96e3-a2ec59c6bb85",
"list_id": "simple_list",
"name": "My exception list"
}