stack kb security-lists-api create-list-item cli command
Auth required
elastic stack kb security-lists-api create-list-item \
--list-id <list-id> \
--value <value> \
[options]
Create a value list item
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--list-idstringrequired- Value list's identifier.
--valuestringrequired- The value used to evaluate exceptions.
--idstring- Value list item's identifier.
--metastring- Placeholder for metadata about the value list item.
--refreshstring- Determines when changes made by the request are made visible to search.
--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