Get a full agent policy
- Base URL
-
https://{kibana_url}
Auth
Get a full agent policy by ID.
-
Privileges
fleet-agent-policies-read
and
integrations-read
-
space_id
string
optional
-
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
-
agentPolicyId
string
required
-
The ID of the agent policy
-
download
boolean
-
If true, returns the policy as a downloadable file
-
standalone
boolean
-
If true, returns the policy formatted for standalone agents
-
kubernetes
boolean
-
If true, returns the policy formatted for Kubernetes deployment
-
revision
number
-
If provided, returns the policy at the specified revision. Cannot be used with standalone or kubernetes flags.
-
item
union anyOf
required
-
Any of:
-
agent
object
-
-
download
object
required
-
-
auth
object
-
-
secrets
object
-
-
ssl
object
-
-
key
object
required
-
-
sources
string[] · max items: 3
-
sourceURI
string
required
-
ssl
object
-
-
certificate_authorities
string[] · max items: 10
-
features
map string to object
required
-
<string>
object
-
-
limits
object
-
-
logging
object
-
-
files
object
-
-
metrics
object
-
-
monitoring
object
required
-
-
_runtime_experimental
string
-
diagnostics
object
-
-
limit
object
-
-
uploader
object
-
-
http
object
-
-
pprof
object
-
-
protection
object
-
-
signing_key
string
required
-
uninstall_token_hash
string
required
-
connectors
map string to object
-
exporters
map string to object
-
extensions
map string to object
-
fleet
union anyOf
-
Any of:
-
hosts
string[] · max items: 100
required
-
secrets
object
-
-
ssl
object
-
-
key
object
required
-
-
ssl
object
-
-
certificate_authorities
string[] · max items: 10
-
kibana
object
required
-
-
hosts
string[] · max items: 100
required
-
inputs
object[] · max items: 10000
required
-
-
namespaces
string[] · max items: 100
-
output_permissions
map string to string to object
-
outputs
map string to object
required
-
<string>
object
-
-
ca_sha256
string
nullable
-
hosts
string[] · max items: 100
-
processors
map string to object
-
receivers
map string to object
-
secret_references
object[] · max items: 10000
-
-
service
object
-
-
extensions
string[] · max items: 1000
-
pipelines
map string to object
-
<string>
object
-
-
exporters
string[] · max items: 1000
-
processors
string[] · max items: 1000
-
receivers
string[] · max items: 1000
-
signed
object
-
-
signature
string
required
-
attributes
object
required
Thank you for your feedback.