Cisco AMP for Endpoints API

GET /v0/computers

Description

Returns a list of computers with agents deployed on them. You can use parameters to narrow the search by IP address or hostname.

Query Parameters

Name Type Example Values Description
group_guid[] GUID 4060cf94-26e5-4176-8dea-cd3d0b68d8bc, bfe6abd0-6591-4bf2-a0d3-02efc1cd268e
limit Integer 10
external_ip String 63.245.227.173, 93.111.140.204
internal_ip String 63.71.135.235, 87.27.44.37
hostname[] String Demo_Dyre, Demo_CozyDuke

Show Response Fields

Name Type Description
version String
metadata.links.self String
metadata.results.total Integer
metadata.results.current_item_count Integer
metadata.results.index Integer
metadata.results.items_per_page Integer
data Array
data[].connector_guid GUID
data[].hostname String
data[].active Boolean
data[].links.computer String
data[].links.trajectory String
data[].links.group String
data[].connector_version String
data[].operating_system String
data[].internal_ips Array
data[].internal_ips[] String
data[].external_ip String
data[].group_guid GUID
data[].install_date String (Time ISO8601)
data[].network_addresses Array
data[].network_addresses[].mac String
data[].network_addresses[].ip String
data[].policy.guid GUID
data[].policy.name String
data[].last_seen String (Time ISO8601)
Write
Preview

Examples

Fetch list of computers
Fetch list of computers filtered by hostname
Fetch list of computers filtered by internal_ip
Fetch list of computers filtered by external_ip
Fetch list of computers filtered by group_guid

Fetch list of computers

Request

Requires Authorization
GET /v0/computers
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.apjc.amp.cisco.com/v0/computers'

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 3596
x-ratelimit-remaining: 2990
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-04-02T22:41:15Z
transfer-encoding: chunked
{
  "version": "v0.2.2",
  "metadata": {
    "links": {
      "self": "https://api.apjc.amp.cisco.com/v0/computers"
    },
    "results": {
      "total": 31,
      "current_item_count": 31,
      "index": 0,
      "items_per_page": 500
    }
  },
  "data": [
    {
      "connector_guid": "9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
      "hostname": "Demo_AMP_Exploit_Prevention_Audit",
      "active": true,
      "links": {
        "computer": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
        "trajectory": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f/trajectory",
        "group": "https://api.apjc.amp.cisco.com/v0/groups/68665863-74d5-4bc1-ac7f-5477b2b6406e"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "3.107.104.89"
      ],
      "external_ip": "25.182.53.104",
      "group_guid": "68665863-74d5-4bc1-ac7f-5477b2b6406e",
      "install_date": "2019-02-26T16:24:47Z",
      "network_addresses": [
        {
          "mac": "ee:24:4f:7e:1b:dc",
          "ip": "3.107.104.89"
        }
      ],
      "policy": {
        "guid": "75f5a2b7-2875-41c1-9a11-0b212f347a08",
        "name": "Triage Policy"
      },
      "last_seen": "2019-03-01T17:49:20Z",
      "faults": [

      ]
    },
    {
      "connector_guid": "0f6de888-e023-4020-8f0b-a82d64de8ef3",
      "hostname": "Demo_AMP_Intel",
      "active": true,
      "links": {
        "computer": "https://api.apjc.amp.cisco.com/v0/computers/0f6de888-e023-4020-8f0b-a82d64de8ef3",
        "trajectory": "https://api.apjc.amp.cisco.com/v0/computers/0f6de888-e023-4020-8f0b-a82d64de8ef3/trajectory",
        "group": "https://api.apjc.amp.cisco.com/v0/groups/6c3c2005-4c74-4ba7-8dbb-c4d5b6bafe03"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "139.210.10.15"
      ],
      "external_ip": "99.254.102.26",
      "group_guid": "6c3c2005-4c74-4ba7-8dbb-c4d5b6bafe03",
      "install_date": "2019-02-08T11:30:41Z",
      "network_addresses": [
        {
          "mac": "10:48:6b:6b:06:74",
          "ip": "139.210.10.15"
        }
      ],
      "policy": {
        "guid": "520c7c68-a637-43b1-b851-7830b0b336b6",
        "name": "Protect Policy"
      },
      "last_seen": "2019-03-01T17:49:21Z",
      "faults": [

      ]
    }
  ]
}

Fetch list of computers filtered by hostname

Request

Requires Authorization
GET /v0/computers?hostname[]=Demo_AMP_Exploit_Prevention_Audit&limit=10
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.apjc.amp.cisco.com/v0/computers?hostname[]=Demo_AMP_Exploit_Prevention_Audit&limit=10'

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 3592
x-ratelimit-remaining: 2988
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-04-02T22:41:15Z
transfer-encoding: chunked
{
  "version": "v0.2.2",
  "metadata": {
    "links": {
      "self": "https://api.apjc.amp.cisco.com/v0/computers?hostname[]=Demo_AMP_Exploit_Prevention_Audit&limit=10"
    },
    "results": {
      "total": 1,
      "current_item_count": 1,
      "index": 0,
      "items_per_page": 10
    }
  },
  "data": [
    {
      "connector_guid": "9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
      "hostname": "Demo_AMP_Exploit_Prevention_Audit",
      "active": true,
      "links": {
        "computer": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
        "trajectory": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f/trajectory",
        "group": "https://api.apjc.amp.cisco.com/v0/groups/68665863-74d5-4bc1-ac7f-5477b2b6406e"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "3.107.104.89"
      ],
      "external_ip": "25.182.53.104",
      "group_guid": "68665863-74d5-4bc1-ac7f-5477b2b6406e",
      "install_date": "2019-02-26T16:24:47Z",
      "network_addresses": [
        {
          "mac": "ee:24:4f:7e:1b:dc",
          "ip": "3.107.104.89"
        }
      ],
      "policy": {
        "guid": "75f5a2b7-2875-41c1-9a11-0b212f347a08",
        "name": "Triage Policy"
      },
      "last_seen": "2019-03-01T17:49:20Z",
      "faults": [

      ]
    }
  ]
}

Fetch list of computers filtered by internal_ip

Request

Requires Authorization
GET /v0/computers?internal_ip=3.107.104.89&limit=10
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.apjc.amp.cisco.com/v0/computers?internal_ip=3.107.104.89&limit=10'

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 3591
x-ratelimit-remaining: 2986
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-04-02T22:41:15Z
transfer-encoding: chunked
{
  "version": "v0.2.2",
  "metadata": {
    "links": {
      "self": "https://api.apjc.amp.cisco.com/v0/computers?internal_ip=3.107.104.89&limit=10"
    },
    "results": {
      "total": 1,
      "current_item_count": 1,
      "index": 0,
      "items_per_page": 10
    }
  },
  "data": [
    {
      "connector_guid": "9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
      "hostname": "Demo_AMP_Exploit_Prevention_Audit",
      "active": true,
      "links": {
        "computer": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
        "trajectory": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f/trajectory",
        "group": "https://api.apjc.amp.cisco.com/v0/groups/68665863-74d5-4bc1-ac7f-5477b2b6406e"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "3.107.104.89"
      ],
      "external_ip": "25.182.53.104",
      "group_guid": "68665863-74d5-4bc1-ac7f-5477b2b6406e",
      "install_date": "2019-02-26T16:24:47Z",
      "network_addresses": [
        {
          "mac": "ee:24:4f:7e:1b:dc",
          "ip": "3.107.104.89"
        }
      ],
      "policy": {
        "guid": "75f5a2b7-2875-41c1-9a11-0b212f347a08",
        "name": "Triage Policy"
      },
      "last_seen": "2019-03-01T17:49:20Z",
      "faults": [

      ]
    }
  ]
}

Fetch list of computers filtered by external_ip

Request

Requires Authorization
GET /v0/computers?external_ip=25.182.53.104&limit=10
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.apjc.amp.cisco.com/v0/computers?external_ip=25.182.53.104&limit=10'

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 3590
x-ratelimit-remaining: 2984
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-04-02T22:41:15Z
transfer-encoding: chunked
{
  "version": "v0.2.2",
  "metadata": {
    "links": {
      "self": "https://api.apjc.amp.cisco.com/v0/computers?external_ip=25.182.53.104&limit=10"
    },
    "results": {
      "total": 1,
      "current_item_count": 1,
      "index": 0,
      "items_per_page": 10
    }
  },
  "data": [
    {
      "connector_guid": "9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
      "hostname": "Demo_AMP_Exploit_Prevention_Audit",
      "active": true,
      "links": {
        "computer": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
        "trajectory": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f/trajectory",
        "group": "https://api.apjc.amp.cisco.com/v0/groups/68665863-74d5-4bc1-ac7f-5477b2b6406e"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "3.107.104.89"
      ],
      "external_ip": "25.182.53.104",
      "group_guid": "68665863-74d5-4bc1-ac7f-5477b2b6406e",
      "install_date": "2019-02-26T16:24:47Z",
      "network_addresses": [
        {
          "mac": "ee:24:4f:7e:1b:dc",
          "ip": "3.107.104.89"
        }
      ],
      "policy": {
        "guid": "75f5a2b7-2875-41c1-9a11-0b212f347a08",
        "name": "Triage Policy"
      },
      "last_seen": "2019-03-01T17:49:20Z",
      "faults": [

      ]
    }
  ]
}

Fetch list of computers filtered by group_guid

Request

Requires Authorization
GET /v0/computers?group_guid[]=68665863-74d5-4bc1-ac7f-5477b2b6406e&limit=10
Headers
accept: application/json
content-type: application/json
authorization: Basic FILTERED

cURL Edit, then copy and paste on your terminal

curl -X GET \
-H 'accept: application/json' \
-H 'content-type: application/json' \
--compressed -H 'Accept-Encoding: gzip, deflate' \
-u YOUR_API_CLIENT_ID \
'https://api.apjc.amp.cisco.com/v0/computers?group_guid[]=68665863-74d5-4bc1-ac7f-5477b2b6406e&limit=10'

Response

Shortened for readability

strict-transport-security: max-age=31536000
content-type: application/json; charset=utf-8
status: 200 OK
x-ratelimit-limit: 3000
x-ratelimit-reset: 3589
x-ratelimit-remaining: 2982
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-04-02T22:41:15Z
transfer-encoding: chunked
{
  "version": "v0.2.2",
  "metadata": {
    "links": {
      "self": "https://api.apjc.amp.cisco.com/v0/computers?group_guid[]=68665863-74d5-4bc1-ac7f-5477b2b6406e&limit=10"
    },
    "results": {
      "total": 9,
      "current_item_count": 9,
      "index": 0,
      "items_per_page": 10
    }
  },
  "data": [
    {
      "connector_guid": "9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
      "hostname": "Demo_AMP_Exploit_Prevention_Audit",
      "active": true,
      "links": {
        "computer": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f",
        "trajectory": "https://api.apjc.amp.cisco.com/v0/computers/9bd40c90-5568-4f35-94ed-fac0d8a33c6f/trajectory",
        "group": "https://api.apjc.amp.cisco.com/v0/groups/68665863-74d5-4bc1-ac7f-5477b2b6406e"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "3.107.104.89"
      ],
      "external_ip": "25.182.53.104",
      "group_guid": "68665863-74d5-4bc1-ac7f-5477b2b6406e",
      "install_date": "2019-02-26T16:24:47Z",
      "network_addresses": [
        {
          "mac": "ee:24:4f:7e:1b:dc",
          "ip": "3.107.104.89"
        }
      ],
      "policy": {
        "guid": "75f5a2b7-2875-41c1-9a11-0b212f347a08",
        "name": "Triage Policy"
      },
      "last_seen": "2019-03-01T17:49:20Z",
      "faults": [

      ]
    },
    {
      "connector_guid": "2dd90e32-1db9-4c66-96ff-3f6efa76fd15",
      "hostname": "Demo_AMP_Threat_Audit",
      "active": true,
      "links": {
        "computer": "https://api.apjc.amp.cisco.com/v0/computers/2dd90e32-1db9-4c66-96ff-3f6efa76fd15",
        "trajectory": "https://api.apjc.amp.cisco.com/v0/computers/2dd90e32-1db9-4c66-96ff-3f6efa76fd15/trajectory",
        "group": "https://api.apjc.amp.cisco.com/v0/groups/68665863-74d5-4bc1-ac7f-5477b2b6406e"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "109.140.123.112"
      ],
      "external_ip": "248.81.51.231",
      "group_guid": "68665863-74d5-4bc1-ac7f-5477b2b6406e",
      "install_date": "2019-03-01T16:08:03Z",
      "network_addresses": [
        {
          "mac": "54:96:0f:07:ec:bb",
          "ip": "109.140.123.112"
        }
      ],
      "policy": {
        "guid": "75f5a2b7-2875-41c1-9a11-0b212f347a08",
        "name": "Triage Policy"
      },
      "last_seen": "2019-03-01T17:49:21Z",
      "faults": [

      ]
    }
  ]
}