v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Security Monitoring

Update a dataset

Update an existing Cloud SIEM dataset. The current version of the dataset can be provided to detect concurrent modifications.

patch/api/v2/security_monitoring/datasets/{dataset_id}

Path parameters

dataset_idstring required
Example:123e4567-e89b-12d3-a456-426614174000

The UUID of the dataset.

Request body

Example request

{
  "data": {
    "attributes": {
      "definition": {
        "columns": [
          {
            "column": "message",
            "type": "string"
          }
        ],
        "data_source": "logs",
        "name": "sample_dataset",
        "query_filter": "status = 'active'",
        "search": {
          "query": "*"
        },
        "storage": "hot",
        "table_name": "my_reference_table",
        "time_window": {
          "from": 1700000000000,
          "to": 1700003600000
        }
      },
      "description": "A sample dataset used for detection rules.",
      "version": 1
    },
    "type": "datasetUpdate"
  }
}

Response

No Content