Update an exception list item
https://{kibana_url}
- PUT /api/exception_lists/items
Update an exception list item using the id or item_id field.
Request
Exception list item's properties
One of:-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobjectrequired -
list_idstring · min: 1 -
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
-
os_typesobject -
Values:
linuxmacoswindows
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobject -
list_idrequired -
Values:
endpoint_list -
os_typesobject -
Values:
linuxmacoswindows -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
list_idrequired -
Values:
endpoint_trusted_apps -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
list_idrequired -
Values:
endpoint_trusted_apps -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesoneOf · min: 1 -
Process hash or executable path entries (code signature not supported on Linux)
-
list_idrequired -
Values:
endpoint_trusted_apps -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobject · min: 1 -
Exception entries for the trusted device (duplicate field entries are not allowed)
-
list_idrequired -
Values:
endpoint_trusted_devices -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobject · min: 1 -
Exception entries for the trusted device (duplicate field entries are not allowed)
-
list_idrequired -
Values:
endpoint_trusted_devices -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobject · min: 1 -
Exception entries for the trusted device (duplicate field entries are not allowed, username not available when targeting both OS)
-
list_idrequired -
Values:
endpoint_trusted_devices -
os_types· min: 2 · max: 2 -
Must include both Windows and macOS (username field not allowed)
-
Values:
windowsmacos -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobject -
list_idrequired -
Values:
endpoint_event_filters -
os_typesobject -
Values:
linuxmacoswindows -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobject · min: 1 · max: 1 -
Exactly one entry allowed for host isolation exceptions
-
list_idrequired -
Values:
endpoint_host_isolation_exceptions -
os_types· min: 3 · max: 3 -
Must include all three operating systems (windows, linux, macos)
-
Values:
windowslinuxmacos -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesoneOf · min: 1 -
Validation rules:
- Hash entries: up to 3 (one for each hash type: md5, sha1, sha256)
- Path entry: only 1 allowed
- Code signature entry: only 1 allowed
-
entriesobject · min: 1required -
Nested subject_name entries
-
list_idrequired -
Values:
endpoint_blocklists -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobject · min: 1 -
Validation rules:
- Hash entries: up to 3 (one for each hash type: md5, sha1, sha256)
- Path entry: only 1 allowed
-
list_idrequired -
Values:
endpoint_blocklists -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
-
_versionstring -
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
commentsobject -
descriptionstringrequired -
Describes the exception list.
-
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: 1 -
Exception's identifier.
-
item_idstring · min: 1 -
Human readable string identifier, e.g.
trusted-linux-processes -
metaobject -
namestring · min: 1required -
Exception list name.
-
namespace_type -
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 -
typerequired -
Values:
simple -
entriesobject · min: 1 -
Validation rules:
- Hash entries: up to 3 (one for each hash type: md5, sha1, sha256)
- Path entry: only 1 allowed
-
list_idrequired -
Values:
endpoint_blocklists -
Tags for categorization. Special tags for scope control:
"policy:all"- Global artifact (applies to all Elastic Defend policies)"policy:<policy_id>"- Private artifact (applies to specific Elastic Defend policy only, where<policy_id>is the Elastic Defend integration policy ID)
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 response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
-
messagestringrequired -
status_codeintegerrequired
Unsuccessful authentication response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
Not enough privileges response
-
errorstringrequired -
messagestringrequired -
statusCodeintegerrequired
Exception list item not found response
-
messagestringrequired -
status_codeintegerrequired
Internal server error response
-
messagestringrequired -
status_codeintegerrequired