Security Monitoring

Add resources to a batch migration

Add 1 to 1000 resources to a draft batch migration. Returns 409 Conflict if the batch migration is not draft, and 400 Bad Request if the batch migration would contain more than 1000 resources.

post/api/v2/security_monitoring/batch-migrations/{batch_id}/resources

Request

Path parameters

batch_idstring uuid required
Example:7cdb3a75-64fb-46ce-9445-41969e78fe8e

The UUID of the batch migration.

Request body

Example request

{
  "data": {
    "attributes": {
      "resources": [
        {
          "description": "Detects repeated failed Windows authentication attempts.",
          "input": "index=wineventlog EventCode=4625",
          "inputType": "spl",
          "name": "Repeated Windows login failures"
        }
      ]
    },
    "type": "batchMigrationResources"
  }
}

Response

Created

Example response

{
  "data": [
    {
      "attributes": {
        "batchId": "7cdb3a75-64fb-46ce-9445-41969e78fe8e",
        "createdAt": "2026-09-21T12:00:00Z",
        "createdBy": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d",
        "description": "Detects repeated failed Windows authentication attempts.",
        "input": "index=wineventlog EventCode=4625",
        "inputType": "spl",
        "lastUpdatedAt": "2026-09-21T12:02:00Z",
        "lastUpdatedBy": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d",
        "name": "Repeated Windows login failures",
        "output": {
          "name": "Repeated Windows login failures",
          "type": "log_detection"
        },
        "outputType": "siem_rule",
        "ruleId": "abc-def-ghi",
        "status": "completed"
      },
      "id": "c968cf83-56c2-4d54-a993-6c86dfb83527",
      "type": "batchMigrationResource"
    }
  ]
}

Changes

Changes to this operation have not been checked yet.