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