stack kb elastic-agent-policies get-fleet-agent-policies-agentpolicyid-outputs cli command

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

Get outputs for an agent policy

Behaviour flags:

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

--agent-policy-id string required
The ID of the agent policy
--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)
--no-validate
skip input validation and send the request as-is
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON