stack kb security-osquery-api osquery-update-saved-query cli command
Auth required
Idempotent
Scope: global
elastic stack kb security-osquery-api osquery-update-saved-query \
--id <id> \
[options]
Update a saved query
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--idstringrequired- The saved query ID.
--bodystring--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