List Agent Policies
Query parameters
Size of the subset to retrieve.
Number of items to skip during retrieval.
Name filter. Filtering is performed as a case-insensitive partial match.
Order type.
Order direction.
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"
}
]
}Changes
Changed in 12 of the 25 revisions of this API.1122
- ▲
added the new required
headerrequest parameterAuthorizationto all path's operationsnew-required-request-default-parameter-to-existing-path
- ▲
- ▲
added the new required
headerrequest parameterBearer authorizationto all path's operationsnew-required-request-default-parameter-to-existing-path
- ▲
- ▲
for the
queryrequest parametertags, default value{"key":"value"}was removedrequest-parameter-default-value-removed
- ▲
for the
queryrequest parametertags, the type/format was changed fromstring/toobject/request-parameter-type-changed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
policy/items/formatto the response with the200statusresponse-optional-property-added
- ○
added the optional property
policy/items/policy_datato the response with the200statusresponse-optional-property-added
- ○
- ▲
the
policy/items/policyresponse's property type/format changed fromstring/toobject/for status200response-property-type-changed
- ▲
- ▲
the
policy/items/policyresponse's property type/format changed fromobject/tostring/for status200response-property-type-changed
- ○
added the new optional
queryrequest parametertagsnew-optional-request-parameter
- ▲
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○
- ▲
added the new required
headerrequest parameterAuthorizationto all path's operationsnew-required-request-default-parameter-to-existing-path
- ▲
removed the media type
application/jsonfor the response with the status200response-media-type-removed
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
- ▲
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○
added the media type
application/jsonfor the response with the status500response-media-type-added
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
removed the non-success response with the status
401response-non-success-status-removed
- ○
removed the non-success response with the status
404response-non-success-status-removed
- ○
- ▲
added the new required
headerrequest parameterAuthorizationto all path's operationsnew-required-request-default-parameter-to-existing-path
- ▲
removed the media type
application/jsonfor the response with the status200response-media-type-removed
- ○
added the new optional
queryrequest parameterdirnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterlimitnew-optional-request-parameter
- ○
added the new optional
queryrequest parameternamenew-optional-request-parameter
- ○
added the new optional
queryrequest parameteroffsetnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterordernew-optional-request-parameter
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲