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

Syslog Servers

APIs for managing syslog servers

Create a syslog integration

post

Create a new syslog integration.

You must have View/Edit Alert Notification permissions to run this endpoint.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
syslog_integration_idintegerOptional
namestringOptional
post/public_api/v1/integrations/syslog/create
POST /public_api/v1/integrations/syslog/create HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 171

{
  "request_data": {
    "address": "xdr-splunk-qa.traps.company.com",
    "facility": "FAC_USER",
    "name": "Syslog_PAPI_Test_7H55R76T",
    "port": 5006,
    "protocol": "TCP",
    "security_info": "None"
  }
}
{
  "syslog_integration_id": 630,
  "name": "Test PAPI"
}

Get all or filtered syslog servers

post

Get a complete or filtered list of syslog servers.

You must have View Alert Notification permissions to run this endpoint.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
objects_countintegerOptional

The number of syslog servers that are returned.

post/public_api/v1/integrations/syslog/get
POST /public_api/v1/integrations/syslog/get HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 73

{
  "request_data": {
    "filters": [
      {
        "field": "id",
        "operator": "eq",
        "value": 632
      }
    ]
  }
}
{
  "objects_count": 1,
  "objects": [
    {
      "SYSLOG_INTEGRATION_ID": 1,
      "SYSLOG_INTEGRATION_NAME": "text",
      "SYSLOG_INTEGRATION_ADDRESS": "text",
      "SYSLOG_INTEGRATION_PORT": 1,
      "SYSLOG_INTEGRATION_PROTOCOL": "text",
      "FACILITY": "text",
      "SYSLOG_INTEGRATION_STATUS": "text",
      "SYSLOG_INTEGRATION_ERROR": null,
      "SYSLOG_INTEGRATION_CERTIFICATE_NAME": null,
      "SYSLOG_INTEGRATION_IGNORE_CERTIFICATE_ERROR": "text"
    }
  ]
}

Update a syslog integration

post

Update the details of the specified syslog integration.

You must have View/Edit Alert Notification permissions to run this endpoint.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
replybooleanOptional

Whether the update was successful.

Example: true
post/public_api/v1/integrations/syslog/update
POST /public_api/v1/integrations/syslog/update HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 283

{
  "request_data": {
    "syslog_id": "123456789",
    "name": "Test PAPI",
    "address": "34.24.11.16",
    "port": "1234",
    "protocol": "TLS",
    "facility": "FAC_USER",
    "security_info": {
      "certificate_name": "wf-verdict-service.key.pem",
      "ignore_cert_errors": false,
      "certificate_content": "<binary string of the cert>"
    }
  }
}
{
  "reply": true
}

Delete all or filtered syslog integrations

post

Delete all the syslog integrations or the ones who match the filter criteria.

You must have View/Edit Alert Notification permissions to run this endpoint.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

No content

post/public_api/v1/integrations/syslog/delete
POST /public_api/v1/integrations/syslog/delete HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 95

{
  "request_data": {
    "filters": [
      {
        "field": "name",
        "operator": "EQ",
        "value": "Default syslog server"
      }
    ]
  }
}

No content

Test syslog integration

post

Tests a syslog integration's validity.

You must have View Alert Notification permissions to run this endpoint.

Required license: Cortex AgentiX Enterprise or Cortex AgentiX Base

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

No content

post/public_api/v1/integrations/syslog/test
POST /public_api/v1/integrations/syslog/test HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 114

{
  "request_data": {
    "name": "Test PAPI",
    "address": "34.24.11.16",
    "port": "1234",
    "protocol": "TLS",
    "facility": "FAC_USER"
  }
}

No content

Last updated

Was this helpful?