For the complete documentation index, see llms.txt. This page is also available as Markdown.

CLCS Management

The Cloud Logging and Collection Service (CLCS) Management APIs allow you to programmatically manage Next-Generation Firewalls (NGFWs) connected to your CLCS environment.

List connected NGFW devices

get

Returns a list of all Next-Generation Firewalls (NGFWs) currently connected to the Cloud Logging and Collection Service (CLCS) for the authenticated tenant.

Each device in the response includes its serial number (device_id), the CSP account ID it belongs to, and the region it is deployed in.

Required license: This feature is included with Cortex Cloud Runtime Security or Cortex Cloud Posture Management.

Required permission: Data Collection > Data Sources > View

Header parameters
AuthorizationstringRequired

Your Cortex Cloud API key.

Example: {api_key}
x-xdr-auth-idstringRequired

Your Cortex Cloud API key ID.

Example: {api_key_id}
x-xdr-noncestringOptional

A unique nonce value used for request authentication.

Example: 0123456789abcdef
x-xdr-timestampstringOptional

The Unix timestamp in milliseconds at the time the request is sent.

Example: 1714118400000
Responses
200

A list of NGFW devices currently connected to CLCS.

application/json

The response envelope for the get connected devices operation.

get/public_api/v1/clcs/get_connected_devices
GET /public_api/v1/clcs/get_connected_devices HTTP/1.1
Host: api-yourfqdn
Authorization: {api_key}
x-xdr-auth-id: {api_key_id}
Accept: */*
{
  "reply": {
    "devices": [
      {
        "device_id": "01234567890",
        "csp_account_id": 123456,
        "region": "us"
      },
      {
        "device_id": "01234567891",
        "csp_account_id": 123456,
        "region": "eu"
      }
    ]
  }
}

Disconnect NGFW devices from CLCS

post

Disconnects one or more Next-Generation Firewalls (NGFWs) from the Cloud Logging and Collection Service (CLCS). This operation removes the specified devices from CLCS so they no longer forward logs to Cortex XDR.

The request must specify the target devices by their serial numbers (device_ids), along with the CSP account ID and region that the devices belong to. Up to 1000 device IDs can be submitted in a single request.

If a device ID in the request does not exist or is not connected, it is silently ignored. The response returns only the IDs of devices that were successfully disconnected.

Required license: This feature is included with Cortex Cloud Runtime Security or Cortex Cloud Posture Management.

Required permission: Data Collection > Data Sources > Edit

Validation rules:

  • device_ids: Must contain 1–1000 unique alphanumeric strings, each 1–50 characters long.

  • csp_account_id: Must be a positive integer.

  • region: Must be a non-empty string (not whitespace-only, not a number).

Header parameters
AuthorizationstringRequired

Your Cortex Cloud API key.

Example: {api_key}
x-xdr-auth-idstringRequired

Your Cortex Cloud API key ID.

Example: {api_key_id}
x-xdr-noncestringOptional

A unique nonce value used for request authentication.

Example: 0123456789abcdef
x-xdr-timestampstringOptional

The Unix timestamp in milliseconds at the time the request is sent.

Example: 1714118400000
Body

The request body for disconnecting NGFW devices from CLCS.

Responses
200

The operation completed. The response contains the IDs of devices that were successfully disconnected. Device IDs that were not found are silently omitted from the response.

application/json

The response envelope for the disconnect devices operation.

post/public_api/v1/clcs/disconnect_devices
POST /public_api/v1/clcs/disconnect_devices HTTP/1.1
Host: api-yourfqdn
Authorization: {api_key}
x-xdr-auth-id: {api_key_id}
Content-Type: application/json
Accept: */*
Content-Length: 99

{
  "request_data": {
    "device_ids": [
      "01234567890",
      "01234567891"
    ],
    "csp_account_id": 123456,
    "region": "us"
  }
}
{
  "reply": {
    "device_ids": [
      "01234567890",
      "01234567891"
    ]
  }
}

Last updated

Was this helpful?