Get an existing Agent Policy
Response
Policy object
Example response
{
"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 10 of the 25 revisions of this API.66
- ▲
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
- ▲
- ○
added the optional property
formatto the response with the201statusresponse-optional-property-added
- ○
added the optional property
policy_datato the response with the201statusresponse-optional-property-added
- ○
- ▲
the
policyresponse's property type/format changed fromstring/toobject/for status201response-property-type-changed
- ▲
- ▲
the
policyresponse's property type/format changed fromobject/tostring/for status201response-property-type-changed
- ▲
- ○
the response optional property
ts_createdbecame read-only for the status201response-optional-property-became-read-only
- ○
the response required property
idbecame read-only for the status201response-required-property-became-read-only
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲