Spaces method and path for this operation:
Refer to Spaces for more information.
Update an exception list item using the id or item_id field.
Body
object
Required
Exception list item's properties
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
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 Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
At least
1element. Minimum length of each is1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Hide list attributes Show list attributes object
-
Value list's identifier.
Minimum length is
1. -
Specifies the Elasticsearch data type of excludes the list container holds. Some common examples:
keyword: Many ECS fields are Elasticsearch keywordsip: IP addressesip_range: Range of IP addresses (supports IPv4, IPv6, and CIDR notation)
Values are
binary,boolean,byte,date,date_nanos,date_range,double,double_range,float,float_range,geo_point,geo_shape,half_float,integer,integer_range,ip,ip_range,keyword,long,long_range,shape,short, ortext.
-
-
Values are
excludedorincluded.
Hide attributes Show attributes
-
At least
1element.One of: Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
Value is
match. -
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
Value is
match_any. -
A string that does not contain only whitespace characters
At least
1element. Minimum length of each is1.
-
-
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
Minimum length is
1.
-
-
The exception list's human-readable string identifier.
For endpoint artifacts, use one of the following values:
endpoint_list: Elastic Endpoint exception listendpoint_trusted_apps: Trusted applications listendpoint_trusted_devices: Trusted devices listendpoint_event_filters: Event filters listendpoint_host_isolation_exceptions: Host isolation exceptions listendpoint_blocklists: Blocklists list
Minimum length is
1. -
Use this field to specify the operating system.
Values are
linux,macos, orwindows. -
String array containing words and phrases to help categorize exception items.
Minimum length of each is
1.
Elastic Endpoint exception list item properties.
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
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 Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
At least
1element. Minimum length of each is1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Hide list attributes Show list attributes object
-
Value list's identifier.
Minimum length is
1. -
Specifies the Elasticsearch data type of excludes the list container holds. Some common examples:
keyword: Many ECS fields are Elasticsearch keywordsip: IP addressesip_range: Range of IP addresses (supports IPv4, IPv6, and CIDR notation)
Values are
binary,boolean,byte,date,date_nanos,date_range,double,double_range,float,float_range,geo_point,geo_shape,half_float,integer,integer_range,ip,ip_range,keyword,long,long_range,shape,short, ortext.
-
-
Values are
excludedorincluded.
Hide attributes Show attributes
-
At least
1element.One of: Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
Value is
match. -
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
Value is
match_any. -
A string that does not contain only whitespace characters
At least
1element. Minimum length of each is1.
-
-
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
Minimum length is
1.
-
-
Value is
endpoint_list. -
Use this field to specify the operating system.
Values are
linux,macos, orwindows. -
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)
Default value is
[](empty).
Trusted applications list item properties (Windows).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Process hash, executable path, or code signature entries
At least
1element. -
Value is
endpoint_trusted_apps. -
Must be Windows only
At least
1but not more than1element. Value iswindows. -
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)
Default value is
[](empty).
Trusted applications list item properties (macOS).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Process hash, executable path, or code signature entries
At least
1element. -
Value is
endpoint_trusted_apps. -
Must be macOS only
At least
1but not more than1element. Value ismacos. -
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)
Default value is
[](empty).
Trusted applications list item properties (Linux).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Process hash or executable path entries (code signature not supported on Linux)
At least
1element. -
Value is
endpoint_trusted_apps. -
Must be Linux only
At least
1but not more than1element. Value islinux. -
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)
Default value is
[](empty).
Trusted devices list item properties (Windows-only, allows username field).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Exception entries for the trusted device (duplicate field entries are not allowed)
At least
1element.Hide entries attributes Show entries attributes object
-
Device field to match against (user.name is Windows-only)
Values are
device.serial_number,device.type,host.name,device.vendor.name,device.vendor.id,device.product.id,device.product.name, oruser.name. -
Must be the value "included"
Value is
included. -
Entry match type
Values are
match,wildcard, ormatch_any.
-
-
Value is
endpoint_trusted_devices. -
Must be Windows-only to allow username field
At least
1but not more than1element. Value iswindows. -
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)
Default value is
[](empty).
Trusted devices list item properties (macOS-only, username not supported).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Exception entries for the trusted device (duplicate field entries are not allowed)
At least
1element.Hide entries attributes Show entries attributes object
-
Device field to match against
Values are
device.serial_number,device.type,host.name,device.vendor.name,device.vendor.id,device.product.id, ordevice.product.name. -
Must be the value "included"
Value is
included. -
Entry match type
Values are
match,wildcard, ormatch_any.
-
-
Value is
endpoint_trusted_devices. -
macOS-only
At least
1but not more than1element. Value ismacos. -
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)
Default value is
[](empty).
Trusted devices list item properties (Windows + macOS, username not supported).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Exception entries for the trusted device (duplicate field entries are not allowed, username not available when targeting both OS)
At least
1element.Hide entries attributes Show entries attributes object
-
Device field to match against (username not available for multi-OS)
Values are
device.serial_number,device.type,host.name,device.vendor.name,device.vendor.id,device.product.id, ordevice.product.name. -
Must be the value "included"
Value is
included. -
Entry match type
Values are
match,wildcard, ormatch_any.
-
-
Value is
endpoint_trusted_devices. -
Must include both Windows and macOS (username field not allowed)
At least
2but not more than2elements. Values arewindowsormacos. -
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)
Default value is
[](empty).
Event filters list item properties.
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
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 Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
At least
1element. Minimum length of each is1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Hide list attributes Show list attributes object
-
Value list's identifier.
Minimum length is
1. -
Specifies the Elasticsearch data type of excludes the list container holds. Some common examples:
keyword: Many ECS fields are Elasticsearch keywordsip: IP addressesip_range: Range of IP addresses (supports IPv4, IPv6, and CIDR notation)
Values are
binary,boolean,byte,date,date_nanos,date_range,double,double_range,float,float_range,geo_point,geo_shape,half_float,integer,integer_range,ip,ip_range,keyword,long,long_range,shape,short, ortext.
-
-
Values are
excludedorincluded.
Hide attributes Show attributes
-
At least
1element.One of: Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
Value is
match. -
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
Value is
match_any. -
A string that does not contain only whitespace characters
At least
1element. Minimum length of each is1.
-
-
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
Minimum length is
1.
-
-
Value is
endpoint_event_filters. -
Use this field to specify the operating system.
Values are
linux,macos, orwindows. -
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)
Default value is
[](empty).
Host isolation exceptions list item properties.
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Exactly one entry allowed for host isolation exceptions
At least
1but not more than1element.Hide entries attributes Show entries attributes object
-
Value is
endpoint_host_isolation_exceptions. -
Must include all three operating systems (windows, linux, macos)
At least
3but not more than3elements. Values arewindows,linux, ormacos. -
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)
Default value is
[](empty).
Blocklist list item properties (Windows, supports code signature).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
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
At least
1element.One of: Hide attributes Show attributes
-
File hash or path field
Values are
file.hash.md5,file.hash.sha1,file.hash.sha256,file.path, orfile.path.caseless. -
Must be the value "included"
Value is
included. -
Must be match_any for blocklists
Value is
match_any. -
Array of hash values or file paths
At least
1element.
Hide attributes Show attributes
-
Nested subject_name entries
At least
1element.Hide entries attributes Show entries attributes object
-
Certificate subject name
Value is
subject_name. -
Must be the value "included"
Value is
included. -
Match type for subject name
Values are
matchormatch_any.
-
-
Windows code signature field
Value is
file.Ext.code_signature. -
Must be nested for Windows code signature
Value is
nested.
-
Value is
endpoint_blocklists. -
Windows-only
At least
1but not more than1element. Value iswindows. -
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)
Default value is
[](empty).
Blocklist list item properties (Linux, code signature not supported).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Validation rules:
- Hash entries: up to 3 (one for each hash type: md5, sha1, sha256)
- Path entry: only 1 allowed
At least
1element.Hide entries attributes Show entries attributes object
-
File hash or path field
Values are
file.hash.md5,file.hash.sha1,file.hash.sha256,file.path, orfile.path.caseless. -
Must be the value "included"
Value is
included. -
Must be match_any for blocklists
Value is
match_any. -
Array of hash values or file paths
At least
1element.
-
Value is
endpoint_blocklists. -
Linux-only
At least
1but not more than1element. Value islinux. -
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)
Default value is
[](empty).
Blocklist list item properties (macOS, code signature not supported).
-
The version ID, normally returned by the API when the item is retrieved. Use it to ensure updates are made against the latest version.
-
Describes the exception list.
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Value is
simple. -
Validation rules:
- Hash entries: up to 3 (one for each hash type: md5, sha1, sha256)
- Path entry: only 1 allowed
At least
1element.Hide entries attributes Show entries attributes object
-
File hash or path field
Values are
file.hash.md5,file.hash.sha1,file.hash.sha256,file.path, orfile.path.caseless. -
Must be the value "included"
Value is
included. -
Must be match_any for blocklists
Value is
match_any. -
Array of hash values or file paths
At least
1element.
-
Value is
endpoint_blocklists. -
macOS-only
At least
1but not more than1element. Value ismacos. -
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)
Default value is
[](empty).
Responses
-
Successful response
Hide response attributes Show response attributes object
-
The version id, normally returned by the API when the item was retrieved. Use it ensure updates are done against the latest version.
-
Array of comment fields:
- comment (string): Comments about the exception item.
Hide comments attributes Show comments attributes object
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Autogenerated date of object creation.
-
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. -
Autogenerated date of last object update.
-
A string that does not contain only whitespace characters
Minimum length is
1.
-
Autogenerated date of object creation.
-
Autogenerated value - user that created object.
-
Describes the exception list.
-
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 Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
At least
1element. Minimum length of each is1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Hide list attributes Show list attributes object
-
Value list's identifier.
Minimum length is
1. -
Specifies the Elasticsearch data type of excludes the list container holds. Some common examples:
keyword: Many ECS fields are Elasticsearch keywordsip: IP addressesip_range: Range of IP addresses (supports IPv4, IPv6, and CIDR notation)
Values are
binary,boolean,byte,date,date_nanos,date_range,double,double_range,float,float_range,geo_point,geo_shape,half_float,integer,integer_range,ip,ip_range,keyword,long,long_range,shape,short, ortext.
-
-
Values are
excludedorincluded.
Hide attributes Show attributes
-
At least
1element.One of: Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
Value is
match. -
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
Value is
match_any. -
A string that does not contain only whitespace characters
At least
1element. Minimum length of each is1.
-
-
A string that does not contain only whitespace characters
Minimum length is
1.
Hide attributes Show attributes
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
excludedorincluded. -
A string that does not contain only whitespace characters
Minimum length is
1.
-
-
The exception item’s expiration date, in ISO format. This field is only available for regular exception items, not endpoint exceptions.
-
Exception's identifier.
Minimum length is
1. -
Human readable string identifier, e.g.
trusted-linux-processesMinimum length is
1. -
The exception list's human-readable string identifier.
For endpoint artifacts, use one of the following values:
endpoint_list: Elastic Endpoint exception listendpoint_trusted_apps: Trusted applications listendpoint_trusted_devices: Trusted devices listendpoint_event_filters: Event filters listendpoint_host_isolation_exceptions: Host isolation exceptions listendpoint_blocklists: Blocklists list
Minimum length is
1. -
Additional properties are allowed.
-
Exception list name.
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.
For endpoint artifacts, the
namespace_typemust always beagnostic. Space awareness for endpoint artifacts is enforced based on Elastic Defend policy assignments.Values are
agnosticorsingle. -
Use this field to specify the operating system.
Values are
linux,macos, orwindows. -
String array containing words and phrases to help categorize exception items.
Minimum length of each is
1. -
Field used in search to ensure all containers are sorted and returned correctly.
-
Value is
simple. -
Autogenerated date of last object update.
-
Autogenerated value - user that last updated object.
-
-
Invalid input data response
-
Unsuccessful authentication response
-
Not enough privileges response
-
Exception list item not found response
-
Internal server error response
curl \
--request PUT 'https://localhost:5601/api/exception_lists/items' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"Updated name","tags":[],"type":"simple","entries":[{"type":"match","field":"host.name","value":"rock01","operator":"included"}],"item_id":"simple_list_item","comments":[],"description":"Updated description","namespace_type":"single"}'
{
"id": "459c5e7e-f8b2-4f0b-b136-c1fc702f72da",
"name": "Updated name",
"tags": [],
"type": "simple",
"entries": [
{
"type": "match",
"field": "host.name",
"value": "rock01",
"operator": "included"
}
],
"item_id": "simple_list_item",
"list_id": "simple_list",
"_version": "WzEyLDFd",
"comments": [],
"os_types": [],
"created_at": "2025-01-07T21:12:25.512Z",
"created_by": "elastic",
"updated_at": "2025-01-07T21:34:50.233Z",
"updated_by": "elastic",
"description": "Updated description",
"namespace_type": "single",
"tie_breaker_id": "ad0754ff-7b19-49ca-b73e-e6aff6bfa2d0"
}
{
"error": "Bad Request",
"message": "[request body]: item_id: Expected string, received number",
"statusCode": 400
}
{
"error": "Unauthorized",
"message": "[security_exception\\n\\tRoot causes:\\n\\t\\tsecurity_exception: unable to authenticate user [elastic] for REST request [/_security/_authenticate]]: unable to authenticate user [elastic] for REST request [/_security/_authenticate]",
"statusCode": 401
}
{
"error": "Forbidden",
"message": "API [PUT /api/exception_lists/items] is unauthorized for user, this action is granted by the Kibana privileges [lists-all]",
"statusCode": 403
}
{
"message": "exception list item item_id: \\\"foo\\\" does not exist",
"status_code": 404
}
{
"message": "Internal Server Error",
"status_code": 500
}