Security Entity Analytics API
Bulk upsert asset criticality records
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/asset_criticality/bulk</span></div>Refer to Spaces for more information.
Deprecated in 9.4.0. Use the Entity Store APIs to bulk assign asset criticality.
Bulk upsert up to 1000 asset criticality records.
If asset criticality records already exist for the specified entities, those records are overwritten with the specified values. If asset criticality records don't exist for the specified entities, new records are created.
post/api/asset_criticality/bulk
Request body
Example request
{
"records": [
{
"criticality_level": "low_impact",
"id_field": "host.name",
"id_value": "host-1"
},
{
"criticality_level": "medium_impact",
"id_field": "host.name",
"id_value": "host-2"
}
]
}Response
Bulk upload successful
Example response
{
"errors": [
{
"index": 0,
"message": "Invalid ID field"
}
],
"stats": {
"failed": 1,
"successful": 1,
"total": 2
}
}