List asset criticality records
Spaces method and path for this operation:
get /s/{space_id}/api/asset_criticality/list
Refer to Spaces for more information.
List asset criticality records, paging, sorting and filtering as needed.
Query parameters
-
The field to sort by.
Values are
id_value,id_field,criticality_level, or@timestamp. -
The order to sort by.
Values are
ascordesc. -
The page number to return.
Minimum value is
1. -
The number of records to return per page.
Minimum value is
1, maximum value is1000. -
The kuery to filter by.
GET /api/asset_criticality/list
curl \ --request GET 'https://localhost:5601/api/asset_criticality/list' \ --header "Authorization: $API_KEY" Response examples (200)
{ "page": 1, "total": 2, "records": [ { "host": { "name": "my_other_host", "asset": { "criticality": "medium_impact" } }, "asset": { "criticality": "medium_impact" }, "id_field": "host.name", "id_value": "my_other_host", "@timestamp": "2024-08-02T14:40:35.705Z", "criticality_level": "medium_impact" }, { "host": { "name": "my_host", "asset": { "criticality": "high_impact" } }, "asset": { "criticality": "high_impact" }, "id_field": "host.name", "id_value": "my_host", "@timestamp": "2024-08-02T11:15:34.290Z", "criticality_level": "high_impact" } ], "per_page": 10 }