stack kb elastic-agent-policies post-fleet-agent-policies-bulk-get cli command

Auth required
elastic stack kb elastic-agent-policies post-fleet-agent-policies-bulk-get \
  --ids <ids> \
  [options]
		

Bulk get agent policies

Behaviour flags:

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

--ids string[] required

list of package policy ids

Repeatable: pass --ids multiple times to supply more than one value

--format enum

Format for the response: simplified or legacy

Values: simplified, legacy

--full
get full policies with package policies populated
--ignore-missing
--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