Cisco AMP for Endpoints API

GET /v1/computers/{:connector_guid}/trajectory

Description

Provides list of all activities associated with a particular computer. This is analogous to the Device Trajectory on the FireAMP Console.

Using the q parameter, you can search for an IP Address, SHA256 or URL.

Query Parameters

Name Type Example Values Description
q String 37ceea0922d1177a9de74f4858678acf6afd22706489fcca35a509bca9688cb7
limit Integer 5

Show Response Fields

Name Type Description
version String
metadata.links.self String
data.computer.connector_guid GUID
data.computer.hostname String
data.computer.active Boolean
data.computer.links.computer String
data.computer.links.trajectory String
data.computer.links.group String
data.computer.connector_version String
data.computer.operating_system String
data.computer.internal_ips Array
data.computer.internal_ips[] String
data.computer.external_ip String
data.computer.group_guid GUID
data.computer.install_date String (Time ISO8601)
data.computer.network_addresses Array
data.computer.network_addresses[].mac String
data.computer.network_addresses[].ip String
data.computer.policy.guid GUID
data.computer.policy.name String
data.events Array
data.events[].timestamp Integer
data.events[].timestamp_nanoseconds Integer
data.events[].date String (Time ISO8601)
data.events[].event_type String
data.events[].detection String
data.events[].group_guids Array
data.events[].group_guids[] GUID
data.events[].file.disposition String
data.events[].file.file_name String
data.events[].file.file_path String
data.events[].file.file_type String
data.events[].file.identity.sha256 String
data.events[].file.parent.disposition String
data.events[].file.parent.identity.sha256 String
Write
Preview

Examples

Fetch a specific computer's trajectory with given connector_guid
Fetch a specific computer's trajectory with given connector_guid and filter for files with a SHA-...

Fetch a specific computer's trajectory with given connector_guid

Request

Requires Authorization
GET /v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory
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.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory'

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: 3303
x-ratelimit-remaining: 2727
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-08-02T18:40:25Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory"
    }
  },
  "data": {
    "computer": {
      "connector_guid": "552c40f8-afc1-4eae-85cf-b70c9644a3fe",
      "hostname": "Demo_Qakbot_1",
      "active": true,
      "links": {
        "computer": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe",
        "trajectory": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory",
        "group": "https://api.eu.amp.cisco.com/v1/groups/b077d6bc-bbdf-42f7-8838-a06053fbd98a"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "104.21.179.27"
      ],
      "external_ip": "152.58.0.128",
      "group_guid": "b077d6bc-bbdf-42f7-8838-a06053fbd98a",
      "install_date": "2019-07-31T21:36:52Z",
      "network_addresses": [
        {
          "mac": "07:c5:09:18:62:af",
          "ip": "104.21.179.27"
        }
      ],
      "policy": {
        "guid": "89912c9e-8dbd-4c2b-a1d8-dee8a0c2bb29",
        "name": "Audit Policy"
      },
      "faults": [

      ],
      "isolation": {
        "available": false,
        "status": "not_isolated"
      }
    },
    "events": [
      {
        "timestamp": 1564706484,
        "timestamp_nanoseconds": 75213740,
        "date": "2019-08-02T00:41:24+00:00",
        "event_type": "Executed by",
        "group_guids": [
          "b077d6bc-bbdf-42f7-8838-a06053fbd98a"
        ],
        "file": {
          "disposition": "Clean",
          "file_name": "conhost.exe",
          "file_path": "/c:/windows/system32/conhost.exe",
          "file_type": "PE Executable",
          "identity": {
            "sha256": "4fa06c2d9ffc7102e3c9d7afcbf06704564bf527afd476eac4549c6b4fbb80c3"
          },
          "parent": {
            "disposition": "Clean",
            "identity": {
              "sha256": "cb1c6018fc5c15483ac5bb96e5c2e2e115bb0c0e1314837d77201bab37e8c03a"
            }
          }
        }
      },
      {
        "timestamp": 1564706484,
        "timestamp_nanoseconds": 75213740,
        "date": "2019-08-02T00:41:24+00:00",
        "event_type": "Executed by",
        "group_guids": [
          "b077d6bc-bbdf-42f7-8838-a06053fbd98a"
        ],
        "file": {
          "disposition": "Clean",
          "file_name": "conhost.exe",
          "file_path": "/c:/windows/system32/conhost.exe",
          "file_type": "PE Executable",
          "identity": {
            "sha256": "4fa06c2d9ffc7102e3c9d7afcbf06704564bf527afd476eac4549c6b4fbb80c3"
          },
          "parent": {
            "disposition": "Clean",
            "identity": {
              "sha256": "cb1c6018fc5c15483ac5bb96e5c2e2e115bb0c0e1314837d77201bab37e8c03a"
            }
          }
        }
      }
    ]
  }
}

Fetch a specific computer's trajectory with given connector_guid and filter for files with a SHA-256 value

Request

Requires Authorization
GET /v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory?q=37ceea0922d1177a9de74f4858678acf6afd22706489fcca35a509bca9688cb7&limit=5
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.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory?q=37ceea0922d1177a9de74f4858678acf6afd22706489fcca35a509bca9688cb7&limit=5'

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: 3301
x-ratelimit-remaining: 2725
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-08-02T18:40:25Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory?q=37ceea0922d1177a9de74f4858678acf6afd22706489fcca35a509bca9688cb7&limit=5"
    }
  },
  "data": {
    "computer": {
      "connector_guid": "552c40f8-afc1-4eae-85cf-b70c9644a3fe",
      "hostname": "Demo_Qakbot_1",
      "active": true,
      "links": {
        "computer": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe",
        "trajectory": "https://api.eu.amp.cisco.com/v1/computers/552c40f8-afc1-4eae-85cf-b70c9644a3fe/trajectory",
        "group": "https://api.eu.amp.cisco.com/v1/groups/b077d6bc-bbdf-42f7-8838-a06053fbd98a"
      },
      "connector_version": "6.3.1.10893",
      "operating_system": "Windows 7, SP 1.0",
      "internal_ips": [
        "104.21.179.27"
      ],
      "external_ip": "152.58.0.128",
      "group_guid": "b077d6bc-bbdf-42f7-8838-a06053fbd98a",
      "install_date": "2019-07-31T21:36:52Z",
      "network_addresses": [
        {
          "mac": "07:c5:09:18:62:af",
          "ip": "104.21.179.27"
        }
      ],
      "policy": {
        "guid": "89912c9e-8dbd-4c2b-a1d8-dee8a0c2bb29",
        "name": "Audit Policy"
      },
      "faults": [

      ],
      "isolation": {
        "available": false,
        "status": "not_isolated"
      }
    },
    "events": [

    ]
  }
}