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://localhost:5601/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"
}