Update an exception list item
Spaces method and path for this operation:
put /s/{space_id}/api/exception_lists/items
Refer to Spaces for more information.
Update an exception list item using the id
or item_id
field.
Body
Required
Exception list item's properties
-
Any of: Security_Exceptions_API_ExceptionListItemEntryMatchobject Security_Exceptions_API_ExceptionListItemEntryMatchAnyobject Security_Exceptions_API_ExceptionListItemEntryListobject Security_Exceptions_API_ExceptionListItemEntryExistsobject Security_Exceptions_API_ExceptionListItemEntryNestedobject Security_Exceptions_API_ExceptionListItemEntryMatchWildcardobject -
A string that does not contain only whitespace characters
Minimum length is
1
. -
A string that does not contain only whitespace characters
Minimum length is
1
. -
A string that does not contain only whitespace characters
Minimum length is
1
. -
Additional properties are allowed.
-
A string that does not contain only whitespace characters
Minimum length is
1
. -
Determines whether the exception container is available in all Kibana spaces or just the space in which it is created, where:
single
: Only available in the Kibana space in which it is created.agnostic
: Available in all Kibana spaces.
Values are
agnostic
orsingle
. -
Values are
linux
,macos
, orwindows
. -
Value is
simple
.
PUT
/api/exception_lists/items
curl \
--request PUT 'https://localhost:5601/api/exception_lists/items' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"_version":"string","comments":[{"comment":"string","id":"string"}],"description":"string","entries":[{"field":"string","operator":"excluded","type":"string","value":"string"}],"expire_time":"2025-05-04T09:42:00Z","id":"string","item_id":"string","list_id":"string","meta":{},"name":"string","namespace_type":"agnostic","os_types":["linux"],"tags":["string"],"type":"simple"}'