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-field enum required

The field representing the ID.

Values: host.name, user.name, service.name, entity.id

--id-value string required
The ID value of the asset.
--criticality-level enum required

Values: low_impact, medium_impact, high_impact, extreme_impact

--refresh enum

If 'wait_for' the request will wait for the index refresh.

Values: wait_for

--input-file string
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