Spaces method and path for this operation:
get /s/{space_id}/api/exception_lists/items
Refer to Spaces for more information.
Get the details of an exception list item using the id or item_id field.
Query parameters
-
Exception list item's identifier. Either
idoritem_idmust be specified.Minimum length is
1. -
Human readable exception item string identifier, e.g.
trusted-linux-processes. Eitheridoritem_idmust be specified.Minimum length is
1. -
Determines whether the exception container is available in all Kibana spaces or just the space in which it is created, where:
single: Only available in the Kibana space in which it is created.agnostic: Available in all Kibana spaces.
Values are
agnosticorsingle.
GET /api/exception_lists/items
curl \ --request GET 'https://localhost:5601/api/exception_lists/items' \ --header "Authorization: $API_KEY" Response examples (200)
{ "id": "71a9f4b2-c85c-49b4-866f-c71eb9e67da2", "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", "_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" } Response examples (400)
{ "error": "Bad Request", "message": "[request query]: namespace_type.0: Invalid enum value. Expected 'agnostic' | 'single', received 'blob'", "statusCode": 400 } Response examples (401)
{ "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 } Response examples (403)
{ "error": "Forbidden", "message": "API [GET /api/exception_lists/items?item_id=&namespace_type=single] is unauthorized for user, this action is granted by the Kibana privileges [lists-read]", "statusCode": 403 } Response examples (404)
{ "message": "exception list item item_id: \\\"foo\\\" does not exist", "status_code": 404 } Response examples (500)
{ "message": "Internal Server Error", "status_code": 500 }