stack kb security-detections-api read-rule cli command

Auth required Idempotent Scope: global
elastic stack kb security-detections-api read-rule [options]
		

Retrieve a detection rule

Behaviour flags:

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

--id string
The rule's id value.
--rule-id string
The rule's rule_id value.
--input-file string
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