Cisco AMP for Endpoints API

GET /v1/policies/{:policy_guid}

Description

Using this API, you can retrieve information about a particular policy based on policy_guid.

Show Response Fields

Name Type Description
version String
metadata.links.self String
data.name String
data.description String
data.guid GUID
data.product String
data.default Boolean
data.serial_number Integer
data.links.policy_xml String
data.file_lists Array
data.file_lists[].name String
data.file_lists[].guid GUID
data.file_lists[].type String
data.ip_lists Array
data.ip_lists[].type String
data.ip_lists[].name String
data.ip_lists[].guid GUID
data.exclusion_set.name String
data.exclusion_set.guid GUID
data.used_in_groups Array
data.used_in_groups[].name String
data.used_in_groups[].description String
data.used_in_groups[].guid GUID
Write
Preview

Examples

Fetch policy for given policy_guid

Fetch policy for given policy_guid

Request

Requires Authorization
GET /v1/policies/3dc1435d-bdc8-4a9d-9da5-e7371562378d
Headers
accept: application/json
content-type: application/json
accept-encoding: identity
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'accept-encoding: identity' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.amp.cisco.com/v1/policies/3dc1435d-bdc8-4a9d-9da5-e7371562378d'

Response

Shortened for readability

content-type: application/json; charset=utf-8
transfer-encoding: chunked
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 1956
referrer-policy: strict-origin-when-cross-origin
x-ratelimit-remaining: 2782
x-permitted-cross-domain-policies: none
x-download-options: noopen
etag: W/"9343fcb587b5b8ca805605b047f805b6"
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2021-05-05T23:55:49Z
strict-transport-security: max-age=31536000
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.amp.cisco.com/v1/policies/3dc1435d-bdc8-4a9d-9da5-e7371562378d"
    }
  },
  "data": {
    "name": "00-cat-forensic-mar25",
    "description": "",
    "guid": "3dc1435d-bdc8-4a9d-9da5-e7371562378d",
    "product": "windows",
    "default": false,
    "serial_number": 131,
    "links": {
      "policy_xml": "https://api.amp.cisco.com/v1/policies/3dc1435d-bdc8-4a9d-9da5-e7371562378d.xml"
    },
    "file_lists": [

    ],
    "ip_lists": [

    ],
    "isolation_ip_lists": [

    ],
    "exclusion_sets": [
      {
        "name": "Microsoft Windows Default",
        "guid": "9381546e-1617-46ae-98e7-f92fde16cffe"
      }
    ],
    "used_in_groups": [
      {
        "name": "Audit",
        "description": "Audit Group for FireAMP API Docs",
        "guid": "b077d6bc-bbdf-42f7-8838-a06053fbd98a"
      },
      {
        "name": "00-mar25-forensic-group",
        "description": "",
        "guid": "a4a983ef-91df-428f-9b08-1e88ec5357df"
      }
    ]
  }
}