stack kb security-lists-api update-list-item cli command
Auth required
Idempotent
Scope: global
elastic stack kb security-lists-api update-list-item \
--id <id> \
--value <value> \
[options]
Update a value list item
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--idstringrequired- Value list item's identifier.
--valuestringrequired- The value used to evaluate exceptions.
--versionstring- The version id, normally returned by the API when the document is retrieved. Use it ensure updates are done against the latest version.
--metastring- Placeholder for metadata about the value list item.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON