Get a full agent policy
Get a full agent policy by ID.
[Required authorization] Route required privileges: ALL of [fleet-agent-policies-read].
Path parameters
-
agentPolicyId
string Required
Query parameters
-
download
boolean -
standalone
boolean -
kubernetes
boolean
Responses
-
200 application/json
Hide response attribute Show response attribute object
item
string | object Required Any of: Hide attributes Show attributes
-
agent
object Additional properties are NOT allowed.
Hide agent attributes Show agent attributes object
-
download
object Required Additional properties are NOT allowed.
Hide download attributes Show download attributes object
-
secrets
object Additional properties are NOT allowed.
-
sourceURI
string Required -
ssl
object Additional properties are NOT allowed.
Hide ssl attributes Show ssl attributes object
-
certificate
string -
certificate_authorities
array[string] -
key
string -
renegotiation
string -
verification_mode
string
-
-
-
features
object Required -
limits
object Additional properties are NOT allowed.
Hide limits attribute Show limits attribute object
-
go_max_procs
number
-
-
logging
object Additional properties are NOT allowed.
-
monitoring
object Required Additional properties are NOT allowed.
-
protection
object Additional properties are NOT allowed.
Hide protection attributes Show protection attributes object
-
enabled
boolean Required -
signing_key
string Required -
uninstall_token_hash
string Required
-
-
fleet
object Any of: Hide attributes Show attributes
-
hosts
array[string] Required -
proxy_url
string -
secrets
object Additional properties are NOT allowed.
-
ssl
object Additional properties are NOT allowed.
Hide ssl attributes Show ssl attributes object
-
certificate
string -
certificate_authorities
array[string] -
key
string -
renegotiation
string -
verification_mode
string
-
-
-
id
string Required -
inputs
array[object] Required Hide inputs attributes Show inputs attributes object
-
data_stream
object Required Additional properties are allowed.
Hide data_stream attribute Show data_stream attribute object
-
namespace
string Required
-
-
id
string Required -
meta
object Additional properties are allowed.
-
name
string Required -
package_policy_id
string Required -
processors
array[object] Hide processors attribute Show processors attribute object
-
add_fields
object Required Additional properties are allowed.
-
-
revision
number Required -
streams
array[object] Hide streams attributes Show streams attributes object
-
data_stream
object Required Additional properties are allowed.
-
id
string Required
-
-
type
string Required -
use_output
string Required
-
-
namespaces
array[string] -
output_permissions
object Hide output_permissions attribute Show output_permissions attribute object
-
*
object Additional properties Additional properties are allowed.
-
-
outputs
object Required -
revision
number -
secret_references
array[object] Hide secret_references attribute Show secret_references attribute object
-
id
string Required
-
-
signed
object Additional properties are NOT allowed.
-
-
400 application/json
Hide response attributes Show response attributes object
-
error
string -
errorType
string -
message
string Required -
statusCode
number
-
GET
/api/fleet/agent_policies/{agentPolicyId}/full
curl \
--request GET 'http://localhost:5622/api/fleet/agent_policies/{agentPolicyId}/full' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"item": "string"
}
Response examples (400)
{
"error": "string",
"errorType": "string",
"message": "string",
"statusCode": 42.0
}