Cisco AMP for Endpoints API

GET /v1/file_lists/{:file_list_guid}

Description

Returns a particular file list for application blocking or simple custom detection. You need to provide a file_list_guid to retrieve information about a particular file_list.

Show Response Fields

Name Type Description
version String
metadata.links.self String
data.name String
data.guid GUID
data.type String
data.links.details String
Write
Preview

Examples

Fetch application_blocking file list with given file_list_guid
Fetch simple_custom_detection file list with given file_list_guid

Fetch application_blocking file list with given file_list_guid

Request

Requires Authorization
GET /v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d
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/file_lists/e773a9eb-296c-40df-98d8-bed46322589d'

Response

Shortened for readability

x-ratelimit-limit: 3000
x-ratelimit-reset: 3314
x-ratelimit-remaining: 2862
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2017-08-18T03:52:38Z
strict-transport-security: max-age=31536000
status: 200 OK
transfer-encoding: chunked
content-type: application/json; charset=utf-8
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d"
    }
  },
  "data": {
    "name": "Sample Application Blocking List",
    "guid": "e773a9eb-296c-40df-98d8-bed46322589d",
    "type": "application_blocking",
    "links": {
      "details": "https://api.eu.amp.cisco.com/v1/file_lists/e773a9eb-296c-40df-98d8-bed46322589d/files"
    }
  }
}

Fetch simple_custom_detection file list with given file_list_guid

Request

Requires Authorization
GET /v1/file_lists/03097bae-53f9-44b1-a0e5-d23b1f33a94a
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/file_lists/03097bae-53f9-44b1-a0e5-d23b1f33a94a'

Response

Shortened for readability

x-ratelimit-limit: 3000
x-ratelimit-reset: 3313
x-ratelimit-remaining: 2859
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2017-08-18T03:52:38Z
strict-transport-security: max-age=31536000
status: 200 OK
transfer-encoding: chunked
content-type: application/json; charset=utf-8
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/file_lists/03097bae-53f9-44b1-a0e5-d23b1f33a94a"
    }
  },
  "data": {
    "name": "Quick SCD",
    "guid": "03097bae-53f9-44b1-a0e5-d23b1f33a94a",
    "type": "simple_custom_detections",
    "links": {
      "details": "https://api.eu.amp.cisco.com/v1/file_lists/03097bae-53f9-44b1-a0e5-d23b1f33a94a/files"
    }
  }
}