Security Exceptions API
Create rule exception items
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/detection_engine/rules/{id}/exceptions</span></div>Refer to Spaces for more information.
Create exception items that apply to a single detection rule.
post/api/detection_engine/rules/{id}/exceptions
Path parameters
idstring uuid required
A universally unique identifier
Detection rule's identifier
Request body
Example request
{
"items": [
{
"description": "This is a sample detection type exception item.",
"entries": [
{
"field": "actingProcess.file.signer",
"operator": "excluded",
"type": "exists"
},
{
"field": "host.name",
"operator": "included",
"type": "match_any",
"value": [
"saturn",
"jupiter"
]
}
],
"item_id": "simple_list_item",
"list_id": "simple_list",
"name": "Sample Exception List Item",
"namespace_type": "single",
"os_types": [
"linux"
],
"tags": [
"malware"
],
"type": "simple"
}
]
}Response
Successful response
Example response
[
{
"entries": [
{
"list": {
"id": "21b01cfb-058d-44b9-838c-282be16c91cd"
}
}
],
"id": "71a9f4b2-c85c-49b4-866f-c71eb9e67da2",
"item_id": "simple_list_item",
"list_id": "simple_list"
}
]