List package policies
GET /api/fleet/package_policies
curl \
-X GET https://localhost:5601/api/fleet/package_policies
Response examples (200)
{
"items": [
{
"id": "string",
"inputs": [
{
"config": {},
"enabled": true,
"processors": [
"string"
],
"streams": [],
"type": "string",
"vars": {}
}
],
"revision": 42.0,
"description": "string",
"enabled": true,
"name": "string",
"namespace": "string",
"output_id": "string",
"overrides": {},
"package": {
"name": "string",
"requires_root": true,
"title": "string",
"version": "string"
},
"policy_id": "string",
"policy_ids": [
"string"
]
}
],
"page": 42.0,
"perPage": 42.0,
"total": 42.0
}
Response examples (400)
{
"error": "string",
"message": "string",
"statusCode": 42.0
}