Upsert an asset criticality record
Create or update an asset criticality record for a specific entity.
If a record already exists for the specified entity, that record is overwritten with the specified value. If a record doesn't exist for the specified entity, a new record is created.
POST /api/asset_criticality
curl \ --request POST 'https://<KIBANA_URL>/api/asset_criticality' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --data '{"id_field":"host.name","id_value":"my_host","criticality_level":"high_impact"}'
Request example
{ "id_field": "host.name", "id_value": "my_host", "criticality_level": "high_impact" }
Response examples (200)
{ "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" }