stack kb fleet-package-policies get-fleet-package-policies-packagepolicyid cli command

Auth required Idempotent Scope: global
elastic stack kb fleet-package-policies get-fleet-package-policies-packagepolicyid \
  --package-policy-id <package-policy-id> \
  [options]
		

Get a package policy

Behaviour flags:

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

--package-policy-id string required
The ID of the package policy
--format enum

Format for the response: simplified or legacy

Values: simplified, legacy

--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