Loading

stack kb security-detections-api export-rules cli command

Auth required
elastic stack kb security-detections-api export-rules [options]
		

Export detection rules

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--[no-]exclude-export-details
Determines whether a summary of the exported rules is returned.
--file-name string

File name for saving the exported rules.

info When using cURL to export rules to a file, use the -O and -J options to save the rules to the file name specified in the URL.

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