Security Exceptions API
Create an exception list item
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/items</span></div>Refer to Spaces for more information.
Create an exception item and associate it with the specified exception list.
info Before creating exception items, you must create an exception list.
post/api/exception_lists/items
Request body
Example request
{
"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"
}