Cisco AMP for Endpoints API

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

Description

Query Parameters

Name Type Example Values Description
q String johndoe
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.events Array
data.events[].id String
data.events[].timestamp Integer
data.events[].timestamp_nanoseconds Integer
data.events[].date String (Time ISO8601)
data.events[].event_type String
data.events[].event_type_id Integer
data.events[].detection String
data.events[].detection_id String
data.events[].severity String
data.events[].file.disposition String
data.events[].file.file_name String
data.events[].file.file_path String
data.events[].file.identity.sha256 String
data.events[].file.identity.sha1 String
data.events[].file.identity.md5 String
data.events[].user_name String
Write
Preview

Examples

Fetch a specific computer's trajectory with given connector_guid and filter for events with user ...

Fetch a specific computer's trajectory with given connector_guid and filter for events with user name activity

Request

Requires Authorization
GET /v1/computers/d8775b6a-3f59-433e-b1ab-3a54d8ccbc46/user_trajectory?q=johndoe&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/d8775b6a-3f59-433e-b1ab-3a54d8ccbc46/user_trajectory?q=johndoe&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: 1845
x-ratelimit-remaining: 2888
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-01-09T17:44:06Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/computers/d8775b6a-3f59-433e-b1ab-3a54d8ccbc46/user_trajectory?q=johndoe&limit=5"
    }
  },
  "data": {
    "computer": {
      "connector_guid": "d8775b6a-3f59-433e-b1ab-3a54d8ccbc46",
      "hostname": "Demo_Stabuniq",
      "active": true,
      "links": {
        "computer": "https://api.eu.amp.cisco.com/v1/computers/d8775b6a-3f59-433e-b1ab-3a54d8ccbc46",
        "trajectory": "https://api.eu.amp.cisco.com/v1/computers/d8775b6a-3f59-433e-b1ab-3a54d8ccbc46/user_trajectory",
        "group": "https://api.eu.amp.cisco.com/v1/groups/b077d6bc-bbdf-42f7-8838-a06053fbd98a"
      }
    },
    "events": [
      {
        "id": "6412680266518626331",
        "timestamp": 1546939085,
        "timestamp_nanoseconds": 478000000,
        "date": "2019-01-08T09:18:05+00:00",
        "event_type": "Threat Detected",
        "event_type_id": 1090519054,
        "detection": "W32.E4FCCBFA69-95.SBX.TG",
        "detection_id": "6412680266518626316",
        "severity": "Medium",
        "file": {
          "disposition": "Unknown",
          "file_name": "28242311.exe",
          "file_path": "\\\\?\\C:\\Users\\johndoe\\AppData\\Local\\Temp\\28242311.exe",
          "identity": {
            "sha256": "e4fccbfa69222c71130a307956df1dd3013ecb1b523e145fab7abf1602330014",
            "sha1": "f504774b72acfb23a46217aec9c6559fd7e4df64",
            "md5": "b5ede95ec8bc4ad6984758be42b152bd"
          }
        },
        "user_name": "johndoe"
      },
      {
        "id": "6412680266518626333",
        "timestamp": 1546939085,
        "timestamp_nanoseconds": 494000000,
        "date": "2019-01-08T09:18:05+00:00",
        "event_type": "Threat Detected",
        "event_type_id": 1090519054,
        "detection": "W32.E4FCCBFA69-95.SBX.TG",
        "detection_id": "6412680266518626317",
        "severity": "Medium",
        "file": {
          "disposition": "Unknown",
          "file_name": "28242311.exe",
          "file_path": "\\\\?\\C:\\Users\\johndoe\\AppData\\Local\\Temp\\28242311.exe",
          "identity": {
            "sha256": "e4fccbfa69222c71130a307956df1dd3013ecb1b523e145fab7abf1602330014"
          },
          "parent": {
            "process_id": 4788,
            "disposition": "Unknown",
            "file_name": "28242311.exe",
            "identity": {
              "sha256": "e4fccbfa69222c71130a307956df1dd3013ecb1b523e145fab7abf1602330014"
            }
          }
        },
        "user_name": "johndoe"
      }
    ]
  }
}