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
--idsstring[]required-
list of package policy ids
Repeatable: pass
--idsmultiple times to supply more than one value --formatenum-
Format for the response: simplified or legacy
Values: simplified, legacy
--full- get full policies with package policies populated
--ignore-missing--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