Get an exception list summary
Get a summary of the specified exception list.
Query parameters
-
id string(nonempty)
Exception list's identifier generated upon creation.
Minimum length is
1
. -
list_id string(nonempty)
Exception list's human readable identifier.
Minimum length is
1
. -
namespace_type string
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
agnostic
orsingle
. Default value issingle
. -
filter string
Search filter clause
Responses
-
200 application/json
Successful response
-
400 application/json
Invalid input data response
-
401 application/json
Unsuccessful authentication response
-
403 application/json
Not enough privileges response
-
404 application/json
Exception list not found response
-
500 application/json
Internal server error response
GET
/api/exception_lists/summary
curl \
--request GET https://localhost:5601/api/exception_lists/summary
Response examples (200)
{
"linux": 0,
"macos": 0,
"total": 0,
"windows": 0
}
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/summary?list_id=simple_list&namespace_type=agnostic] is unauthorized for user, this action is granted by the Kibana privileges [lists-summary]",
"statusCode": 403
}
Response examples (404)
{
"message\"": "exception list id: \"foo\" does not exist",
"status_code\"": 404
}
Response examples (500)
{
"message": "Internal Server Error",
"status_code": 500
}