stack kb security-entity-analytics-api create-asset-criticality-record cli command
Auth required
elastic stack kb security-entity-analytics-api create-asset-criticality-record \
--id-field <id-field> \
--id-value <id-value> \
--criticality-level <criticality-level> \
[options]
Upsert an asset criticality record
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--id-fieldenumrequired-
The field representing the ID.
Values: host.name, user.name, service.name, entity.id
--id-valuestringrequired- The ID value of the asset.
--criticality-levelenumrequired-
Values: low_impact, medium_impact, high_impact, extreme_impact
--refreshenum-
If 'wait_for' the request will wait for the index refresh.
Values: wait_for
--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON