Cisco AMP for Endpoints API

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

Description

Returns a fine grained isolation status for a computer.

The available flag is set to true if isolation can be performed on the computer.

status will be set to one of:

  • not_isolated
  • pending_start
  • isolated
  • pending_stop

Show Response Fields

Name Type Description
version String
metadata.links.self String
data.available Boolean
data.status String
Write
Preview

Examples

Show the isolation status of a computer

Show the isolation status of a computer

Request

Requires Authorization
GET /v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation
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/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation'

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: 2981
x-frame-options: SAMEORIGIN
x-ratelimit-resetdate: 2019-11-22T19:40:39Z
transfer-encoding: chunked
{
  "version": "v1.2.0",
  "metadata": {
    "links": {
      "self": "https://api.eu.amp.cisco.com/v1/computers/9cc16b53-6e61-4e9a-b93a-2ec21a3d741f/isolation"
    }
  },
  "data": {
    "available": true,
    "status": "pending_stop",
    "unlock_code": "unlockme",
    "comment": "this is a comment about unlocking",
    "ccms_message_guid": "6e9c8879-069e-8ab5-8d93-d6d866622a3a",
    "ccms_job_guid": "924d3aac-9ab4-409b-9f02-248cdb4a4628"
  }
}