Update an Elastic Endpoint rule exception list item
https://{kibana_url}
- PUT /api/endpoint_list/items
- PUT /s/{space_id}/api/endpoint_list/items
Refer to Spaces for more information.
Update an Elastic Endpoint exception list item, specified by the id or item_id field.
Request
Exception list item's properties
-
_versionstring -
The version id, normally returned by the API when the item is retrieved. Use it ensure updates are made against the latest version.
-
commentsobject -
Array of comment fields:
- comment (string): Comments about the exception item.
-
commentstring · min: 1required -
A string that does not contain only whitespace characters
-
created_atstringrequired -
Autogenerated date of object creation.
-
created_bystring · min: 1required -
A string that does not contain only whitespace characters
-
idstring · min: 1required -
A string that does not contain only whitespace characters
-
updated_atstring -
Autogenerated date of last object update.
-
updated_bystring · min: 1 -
A string that does not contain only whitespace characters
-
descriptionstringrequired -
Describes the exception list.
-
entriesobjectrequired -
idstring · min: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
os_typesobject -
Values:
linuxmacoswindows -
typerequired -
Values:
simple
Responses
Successful response
-
_versionstring -
The version id, normally returned by the API when the item was retrieved. Use it ensure updates are done against the latest version.
-
commentsobjectrequired -
Array of comment fields:
- comment (string): Comments about the exception item.
-
commentstring · min: 1required -
A string that does not contain only whitespace characters
-
created_atstringrequired -
Autogenerated date of object creation.
-
created_bystring · min: 1required -
A string that does not contain only whitespace characters
-
idstring · min: 1required -
A string that does not contain only whitespace characters
-
updated_atstring -
Autogenerated date of last object update.
-
updated_bystring · min: 1 -
A string that does not contain only whitespace characters
-
created_atstringrequired -
Autogenerated date of object creation.
-
created_bystringrequired -
Autogenerated value - user that created object.
-
descriptionstringrequired -
Describes the exception list.
-
entriesobjectrequired -
expire_timestring -
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
idstring · min: 1required -
Exception's identifier.
-
item_idstring · min: 1required -
Human readable string identifier, e.g.
trusted-linux-processes -
list_idstring · min: 1required -
The exception list's human-readable string identifier.
For endpoint artifacts, use one of the following values:
endpoint_list: Elastic Endpoint exceptions listendpoint_trusted_apps: Trusted applications listendpoint_trusted_devices: Trusted devices listendpoint_event_filters: Event filters listendpoint_host_isolation_exceptions: Host isolation exceptions listendpoint_blocklists: Blocklist
-
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_typerequired -
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments. -
Values:
agnosticsingle -
os_typesobject -
Values:
linuxmacoswindows -
tie_breaker_idstringrequired -
Field used in search to ensure all containers are sorted and returned correctly.
-
typerequired -
Values:
simple -
updated_atstringrequired -
Autogenerated date of last object update.
-
updated_bystringrequired -
Autogenerated value - user that last updated object.
Invalid input data
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
-
messagestringrequired -
status_codeintegerrequired
Unsuccessful authentication
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
Insufficient privileges
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
Endpoint list item not found
-
messagestringrequired -
status_codeintegerrequired
Internal server error
-
messagestringrequired -
status_codeintegerrequired