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

IOCs

APIs for managing IOCs

Get Indicators (IOCs)

post

Get a list of IOCs. You can return all IOCs or filter results. You can also return extended results with all details included.

  • The response is concatenated using AND condition (OR is not supported).

  • The maximum result set size is >100.

  • Offset is the zero-based number of incidents from the start of the result set.

UI navigation: CORTEX > Threat Management > Detection Rules > IOC.

You must have Rules Edit permissions to run this endpoint.

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
objects_countintegerOptional
objects_typestringOptional
post/public_api/v1/indicators/get
POST /public_api/v1/indicators/get HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 103

{
  "request_data": {
    "extended_view": false,
    "filters": [
      {
        "field": "indicator",
        "operator": "IN",
        "value": [
          57
        ]
      }
    ]
  }
}
{
  "objects_count": 1,
  "objects": [
    {
      "rule_id": 57,
      "indicator": "virus1.exe",
      "type": "FILENAME",
      "severity": "SEV_040_HIGH",
      "expiration_date": -1,
      "comment": "test"
    }
  ],
  "objects_type": "indicator"
}

Insert or update IOCs

post

Insert new IOCs or update existing IOCs.

Note: The IOC rule_id is tenant specific and can't be used across tenants. Inserting IOCs with the same rule_id as an existing IOC on that tenant will overwrite the existing IOC.

Requires the granular RBAC permission for this feature.

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
errorsstring[]Optional

List of errors, if any.

post/public_api/v1/indicators/insert
POST /public_api/v1/indicators/insert HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 386

{
  "request_data": [
    {
      "indicator": "virus1.exe",
      "type": "FILENAME",
      "severity": "SEV_040_HIGH",
      "expiration_date": 1234567891234,
      "default_expiration_enabled": false,
      "comment": "test",
      "reputation": "GOOD",
      "reliability": "A"
    },
    {
      "indicator": "test.exe",
      "type": "FILENAME",
      "severity": "SEV_030_MEDIUM",
      "expiration_date": 1234567891234,
      "default_expiration_enabled": true,
      "reputation": "GOOD",
      "reliability": "B"
    }
  ]
}
{
  "added_objects": [
    {
      "id": 69,
      "status": "Created a new IOC rule with the ID: 69 successfully"
    }
  ],
  "updated_objects": [
    {
      "id": 57,
      "status": "Updated the IOC rule with the indicator: 'virus1.exe' successfully"
    }
  ],
  "errors": []
}

Delete Indicators (IOCs)

post

Delete IOCs selected by filter.

Requires the granular RBAC permission for this feature.

Header parameters
AuthorizationstringRequired

{api_key}

x-xdr-auth-idstringRequired

{api_key_id}

Body
Responses
200

OK

application/json
objects_countintegerOptional
objectsinteger[]Optional
post/public_api/v1/indicators/delete
POST /public_api/v1/indicators/delete HTTP/1.1
Host: api-yourfqdn
Authorization: text
x-xdr-auth-id: text
Content-Type: application/json
Accept: */*
Content-Length: 101

{
  "request_data": {
    "extended_view": false,
    "filters": [
      {
        "field": "indicator",
        "operator": "EQ",
        "value": 57
      }
    ]
  }
}
{
  "objects_count": 1,
  "objects": [
    57
  ]
}

Last updated

Was this helpful?