Spaces method and path for this operation:
Refer to Spaces for more information.
Create an exception item and associate it with the specified exception list.
Before creating exception items, you must create an exception list.
Body
object
Required
Exception list item's properties
-
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.
-
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.
-
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.
-
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).
-
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.
-
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).
-
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.
-
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).
-
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.
-
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).
-
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.
-
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).
-
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.
-
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).
-
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.
-
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.
-
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.
-
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.
-
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.
-
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).
-
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.
-
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).
-
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.
-
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).
-
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.
-
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 already exists response
-
Internal server error response
curl \
--request POST 'https://localhost:5601/api/exception_lists/items' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"Sample Exception List Item","tags":["malware"],"type":"simple","entries":[{"type":"exists","field":"actingProcess.file.signer","operator":"excluded"},{"type":"match_any","field":"host.name","value":["saturn","jupiter"],"operator":"included"}],"item_id":"simple_list_item","list_id":"simple_list","os_types":["linux"],"description":"This is a sample detection type exception item.","namespace_type":"single"}'
{
"id": "323faa75-c657-4fa0-9084-8827612c207b",
"name": "Sample Autogenerated Exception List Item ID",
"tags": [
"malware"
],
"type": "simple",
"entries": [
{
"type": "exists",
"field": "actingProcess.file.signer",
"operator": "excluded"
}
],
"item_id": "80e6edf7-4b13-4414-858f-2fa74aa52b37",
"list_id": "8c1aae4c-1ef5-4bce-a2e3-16584b501783",
"_version": "WzYsMV0=",
"comments": [],
"os_types": [],
"created_at": "2025-01-09T01:16:23.322Z",
"created_by": "elastic",
"updated_at": "2025-01-09T01:16:23.322Z",
"updated_by": "elastic",
"description": "This is a sample exception that has no item_id so it is autogenerated.",
"namespace_type": "single",
"tie_breaker_id": "d6799986-3a23-4213-bc6d-ed9463a32f23"
}
{
"id": "71a9f4b2-c85c-49b4-866f-c71eb9e67da2",
"name": "Sample Exception List Item",
"tags": [
"malware"
],
"type": "simple",
"entries": [
{
"type": "exists",
"field": "actingProcess.file.signer",
"operator": "excluded"
}
],
"item_id": "simple_list_item",
"list_id": "simple_list",
"_version": "WzQsMV0=",
"comments": [],
"os_types": [
"linux"
],
"created_at": "2025-01-07T20:07:33.119Z",
"created_by": "elastic",
"updated_at": "2025-01-07T20:07:33.119Z",
"updated_by": "elastic",
"description": "This is a sample detection type exception item.",
"namespace_type": "single",
"tie_breaker_id": "09434836-9db9-4942-a234-5a9268e0b34c"
}
{
"id": "71a9f4b2-c85c-49b4-866f-c71eb9e67da2",
"name": "Sample Exception List Item",
"tags": [
"malware"
],
"type": "simple",
"entries": [
{
"type": "exists",
"field": "actingProcess.file.signer",
"operator": "excluded"
}
],
"item_id": "simple_list_item",
"list_id": "simple_list",
"_version": "WzQsMV0=",
"comments": [],
"os_types": [
"linux"
],
"created_at": "2025-01-07T20:07:33.119Z",
"created_by": "elastic",
"updated_at": "2025-01-07T20:07:33.119Z",
"updated_by": "elastic",
"description": "This is a sample detection type exception item.",
"namespace_type": "single",
"tie_breaker_id": "09434836-9db9-4942-a234-5a9268e0b34c"
}
{
"id": "71a9f4b2-c85c-49b4-866f-c71eb9e67da2",
"name": "Sample Exception List Item",
"tags": [
"malware"
],
"type": "simple",
"entries": [
{
"type": "match_any",
"field": "host.name",
"value": [
"saturn",
"jupiter"
],
"operator": "included"
}
],
"item_id": "simple_list_item",
"list_id": "simple_list",
"_version": "WzQsMV0=",
"comments": [],
"os_types": [
"linux"
],
"created_at": "2025-01-07T20:07:33.119Z",
"created_by": "elastic",
"updated_at": "2025-01-07T20:07:33.119Z",
"updated_by": "elastic",
"description": "This is a sample detection type exception item.",
"namespace_type": "single",
"tie_breaker_id": "09434836-9db9-4942-a234-5a9268e0b34c"
}
{
"id": "71a9f4b2-c85c-49b4-866f-c71eb9e67da2",
"name": "Sample Exception List Item",
"tags": [
"malware"
],
"type": "simple",
"entries": [
{
"type": "match",
"field": "actingProcess.file.signer",
"value": "Elastic N.V.",
"operator": "included"
}
],
"item_id": "simple_list_item",
"list_id": "simple_list",
"_version": "WzQsMV0=",
"comments": [],
"os_types": [
"linux"
],
"created_at": "2025-01-07T20:07:33.119Z",
"created_by": "elastic",
"updated_at": "2025-01-07T20:07:33.119Z",
"updated_by": "elastic",
"description": "This is a sample detection type exception item.",
"namespace_type": "single",
"tie_breaker_id": "09434836-9db9-4942-a234-5a9268e0b34c"
}
{
"id": "71a9f4b2-c85c-49b4-866f-c71eb9e67da2",
"name": "Sample Exception List Item",
"tags": [
"malware"
],
"type": "simple",
"entries": [
{
"type": "nested",
"field": "file.signature",
"entries": [
{
"type": "match",
"field": "signer",
"value": "Evil",
"operator": "included"
},
{
"type": "match",
"field": "trusted",
"value": true,
"operator": "included"
}
]
}
],
"item_id": "simple_list_item",
"list_id": "simple_list",
"_version": "WzQsMV0=",
"comments": [],
"os_types": [
"linux"
],
"created_at": "2025-01-07T20:07:33.119Z",
"created_by": "elastic",
"updated_at": "2025-01-07T20:07:33.119Z",
"updated_by": "elastic",
"description": "This is a sample detection type exception item.",
"namespace_type": "single",
"tie_breaker_id": "09434836-9db9-4942-a234-5a9268e0b34c"
}
{
"id": "deb26876-297d-4677-8a1f-35467d2f1c4f",
"name": "Filter out good guys ip and agent.name rock01",
"tags": [
"malware"
],
"type": "simple",
"entries": [
{
"list": {
"id": "goodguys.txt",
"type": "ip"
},
"type": "list",
"field": "source.ip",
"operator": "excluded"
}
],
"item_id": "686b129e-9b8d-4c59-8d8d-c93a9ea82c71",
"list_id": "8c1aae4c-1ef5-4bce-a2e3-16584b501783",
"_version": "WzcsMV0=",
"comments": [],
"os_types": [],
"created_at": "2025-01-09T01:31:12.614Z",
"created_by": "elastic",
"updated_at": "2025-01-09T01:31:12.614Z",
"updated_by": "elastic",
"description": "Don't signal when agent.name is rock01 and source.ip is in the goodguys.txt list",
"namespace_type": "single",
"tie_breaker_id": "5e0288ce-6657-4c18-9dcc-00ec9e8cc6c8"
}
{
"error": "Bad Request,",
"message": "[request body]: list_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 [POST /api/exception_lists/items] is unauthorized for user, this action is granted by the Kibana privileges [lists-all]",
"statusCode": 403
}
{
"message": "exception list item id: \\\"simple_list_item\\\" already exists",
"status_code": 409
}
{
"message": "Internal Server Error",
"status_code": 500
}