v1
latestOpenAPI 3.0.02026-07-17131527.3 KBpolicy
List Agent Policies
get/policies/agent
Query parameters
limitinteger
Size of the subset to retrieve.
offsetinteger
Number of items to skip during retrieval.
namestring
Name filter. Filtering is performed as a case-insensitive partial match.
order'name' | 'id'
Order type.
dir'asc' | 'desc'
Order direction.
tagsobject
Tags filter. Filtering is performed as a case-insensitive partial key value match.
Response
Data retrieved.
Example response
{
"policy": [
{
"name": "my-policy",
"description": "An example policy",
"tags": {
"region": "eu",
"node_type": "dns"
},
"backend": "pktvisor",
"policy": {
"handlers": {
"modules": {
"default_dns": {
"type": "dns"
},
"default_net": {
"type": "net"
}
}
},
"input": {
"input_type": "pcap",
"tap": "default_pcap"
},
"kind": "collection"
},
"format": "yaml",
"policy_data": "handlers:\n modules:\n default_dns:\n type: dns\n default_net:\n type: net\ninput:\n input_type: pcap\n tap: default_pcap\nkind: collection"
}
]
}