Detections

Manage Detections in Bulk

Enables, disables, or deletes multiple detections asynchronously.

post/connect/detection/bulk/{newStatus}

Path parameters

newStatus'enable' | 'disable' | 'delete' required

The new status of the detection

Request body

idsstring[]

The list of detection IDs to bulk update when a specific query is not provided

querystring

The query string to use for matching detections, or leave empty if providing a list of internal detection IDs"

Example request

{
  "ids": [
    "zC73PJABrNRFAsnEYkqy",
    "XgaI6o8B-vS4HfrbYcce"
  ],
  "query": "severity: low AND ruleset: ETOPEN"
}

Response

Returns the bulk operation response

countinteger

The count of detections that were submitted to be updated or deleted in bulk

Example response

{
  "count": 120
}

Changes

Changed in 2 of the 23 revisions of this API.22

    • removed the success response with the status 200

      response-success-status-removed

    • added the success response with the status 202

      response-success-status-added

    This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • ee1120fd1e2011See the full diff
    • removed the success response with the status 202

      response-success-status-removed

    • added the success response with the status 200

      response-success-status-added

    This revision also has 35 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog