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}
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/security_monitoring/datasets/{dataset_id}
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: security_monitoring_rules_write
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
Changes
No recorded changes to this operation across all 1 revision of this API.