Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 20 additions & 32 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19695,7 +19695,7 @@ components:
properties:
name:
description: Name of the dataset.
example: "Security Audit Dataset"
example: "Security Audit DAC"
type: string
principals:
description: |-
Expand Down Expand Up @@ -19731,7 +19731,7 @@ components:
type: string
name:
description: Name of the dataset.
example: "Security Audit Dataset"
example: "Security Audit DAC"
type: string
principals:
description: |-
Expand Down Expand Up @@ -81697,16 +81697,13 @@ paths:
appKeyAuth: []
- AuthZ:
- user_access_read
summary: Get all datasets
summary: Get all Data Access Control datasets
tags:
- Datasets
- Data Access Controls
"x-permission":
operator: OR
permissions:
- user_access_read
x-unstable: |-
**Note: Data Access is in preview. If you have any feedback,
contact [Datadog support](https://docs.datadoghq.com/help/).**
post:
description: |-
Create a dataset with the configurations in the request.
Expand Down Expand Up @@ -81749,17 +81746,14 @@ paths:
appKeyAuth: []
- AuthZ:
- user_access_manage
summary: Create a dataset
summary: Create a Data Access Control dataset
tags:
- Datasets
- Data Access Controls
x-codegen-request-body-name: body
x-permission:
operator: OR
permissions:
- user_access_manage
x-unstable: |-
**Note: Data Access is in preview. If you have any feedback,
contact [Datadog support](https://docs.datadoghq.com/help/).**
/api/v2/datasets/{dataset_id}:
delete:
description: Deletes the dataset associated with the ID.
Expand All @@ -81782,16 +81776,13 @@ paths:
appKeyAuth: []
- AuthZ:
- user_access_manage
summary: Delete a dataset
summary: Delete a Data Access Control dataset
tags:
- Datasets
- Data Access Controls
"x-permission":
operator: OR
permissions:
- user_access_manage
x-unstable: |-
**Note: Data Access is in preview. If you have any feedback,
contact [Datadog support](https://docs.datadoghq.com/help/).**
get:
description: Retrieves the dataset associated with the ID.
operationId: GetDataset
Expand All @@ -81817,15 +81808,12 @@ paths:
appKeyAuth: []
- AuthZ:
- user_access_read
summary: Get a single dataset by ID
summary: Get a Data Access Control dataset by ID
tags:
- Datasets
- Data Access Controls
"x-permission":
operator: OPEN
permissions: []
x-unstable: |-
**Note: Data Access is in preview. If you have any feedback,
contact [Datadog support](https://docs.datadoghq.com/help/).**
put:
description: |-
Edits the dataset associated with the ID.
Expand Down Expand Up @@ -81859,17 +81847,14 @@ paths:
appKeyAuth: []
- AuthZ:
- user_access_manage
summary: Edit a dataset
summary: Edit a Data Access Control dataset
tags:
- Datasets
- Data Access Controls
x-codegen-request-body-name: body
"x-permission":
operator: OR
permissions:
- user_access_manage
x-unstable: |-
**Note: Data Access is in preview. If you have any feedback,
contact [Datadog support](https://docs.datadoghq.com/help/).**
/api/v2/deletion/data/{product}:
post:
description: Creates a data deletion request by providing a query and a timeframe targeting the proper data.
Expand Down Expand Up @@ -111625,13 +111610,16 @@ tags:
organization.
name: Dashboard Lists
- description: |-
The Data Deletion API allows the user to target and delete data from the allowed products. It's currently enabled for Logs and RUM and depends on `logs_delete_data` and `rum_delete_data` permissions respectively.
name: Data Deletion
- description: |-
Data Access Controls in Datadog is a feature that allows administrators and access managers to regulate
Manage [Data Access Controls](https://docs.datadoghq.com/account_management/rbac/data_access/)
programmatically using Datasets.

Data Access Controls in Datadog allows administrators and access managers to regulate
access to sensitive data. By defining Restricted Datasets, you can ensure that only specific teams or roles can
view certain types of telemetry (for example, logs, traces, metrics, and RUM data).
name: Datasets
name: Data Access Controls
- description: |-
The Data Deletion API allows the user to target and delete data from the allowed products. It's currently enabled for Logs and RUM and depends on `logs_delete_data` and `rum_delete_data` permissions respectively.
name: Data Deletion
- description: |-
Manage Deployment Gates using this API to reduce the likelihood and impact of incidents caused by deployments. See the [Deployment Gates documentation](https://docs.datadoghq.com/deployment_gates/) for more information.
name: Deployment Gates
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-03-26T21:30:07.702Z"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"log": {
"_recordingName": "Datasets/Create a dataset returns \"Bad Request\" response",
"_recordingName": "Data Access Controls/Create a Data Access Control dataset returns \"Bad Request\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
Expand Down Expand Up @@ -57,8 +57,8 @@
"status": 400,
"statusText": "Bad Request"
},
"startedDateTime": "2025-07-29T20:35:57.148Z",
"time": 169
"startedDateTime": "2026-03-26T21:30:08.165Z",
"time": 199
}
],
"pages": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-03-26T21:30:08.373Z"
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"log": {
"_recordingName": "Datasets/Create a dataset returns \"Conflict\" response",
"_recordingName": "Data Access Controls/Create a Data Access Control dataset returns \"Conflict\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "32c558cf4a2ef914f443ab94000addc9",
"_id": "9afbe4de1a01216793a5958a7f6a808d",
"_order": 0,
"cache": {},
"request": {
"bodySize": 210,
"bodySize": 203,
"cookies": [],
"headers": [
{
Expand All @@ -32,17 +32,17 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}"
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit DAC\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"logs\"}]},\"type\":\"dataset\"}}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/datasets"
},
"response": {
"bodySize": 255,
"bodySize": 248,
"content": {
"mimeType": "application/json",
"size": 255,
"text": "{\"data\":{\"type\":\"dataset\",\"id\":\"7cbada94-7d01-4e73-8c74-ea70fb3b3088\",\"attributes\":{\"name\":\"Security Audit Dataset\",\"product_filters\":[{\"product\":\"metrics\",\"filters\":[\"@application.id:ABCD\"]}],\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"]}}}\n"
"size": 248,
"text": "{\"data\":{\"type\":\"dataset\",\"id\":\"fc61b4b4-d05a-4cba-b109-0d123141056e\",\"attributes\":{\"name\":\"Security Audit DAC\",\"product_filters\":[{\"product\":\"logs\",\"filters\":[\"@application.id:ABCD\"]}],\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"]}}}\n"
},
"cookies": [],
"headers": [
Expand All @@ -57,15 +57,15 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2025-07-29T20:35:57.326Z",
"time": 176
"startedDateTime": "2026-03-26T21:30:08.376Z",
"time": 303
},
{
"_id": "32c558cf4a2ef914f443ab94000addc9",
"_id": "9afbe4de1a01216793a5958a7f6a808d",
"_order": 1,
"cache": {},
"request": {
"bodySize": 210,
"bodySize": 203,
"cookies": [],
"headers": [
{
Expand All @@ -85,17 +85,17 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}"
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit DAC\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"logs\"}]},\"type\":\"dataset\"}}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/datasets"
},
"response": {
"bodySize": 114,
"bodySize": 110,
"content": {
"mimeType": "application/json",
"size": 114,
"text": "{\"errors\":[\"Invalid request: [DatasetNameConflict] dataset with name \\\"Security Audit Dataset\\\" already exists\"]}\n"
"size": 110,
"text": "{\"errors\":[\"Invalid request: [DatasetNameConflict] dataset with name \\\"Security Audit DAC\\\" already exists\"]}\n"
},
"cookies": [],
"headers": [
Expand All @@ -110,11 +110,11 @@
"status": 409,
"statusText": "Conflict"
},
"startedDateTime": "2025-07-29T20:35:57.509Z",
"time": 167
"startedDateTime": "2026-03-26T21:30:08.684Z",
"time": 185
},
{
"_id": "f569dd34ba2b185ce3320a771e7e15c2",
"_id": "7b7b60d3c568c7753c0a34c20939b781",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -127,11 +127,11 @@
"value": "*/*"
}
],
"headersSize": 529,
"headersSize": 528,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/datasets/7cbada94-7d01-4e73-8c74-ea70fb3b3088"
"url": "https://api.datadoghq.com/api/v2/datasets/fc61b4b4-d05a-4cba-b109-0d123141056e"
},
"response": {
"bodySize": 0,
Expand All @@ -152,8 +152,8 @@
"status": 204,
"statusText": "No Content"
},
"startedDateTime": "2025-07-29T20:35:57.685Z",
"time": 148
"startedDateTime": "2026-03-26T21:30:08.874Z",
"time": 262
}
],
"pages": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-03-26T21:30:09.140Z"
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"log": {
"_recordingName": "Datasets/Create a dataset returns \"OK\" response",
"_recordingName": "Data Access Controls/Create a Data Access Control dataset returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "32c558cf4a2ef914f443ab94000addc9",
"_id": "9afbe4de1a01216793a5958a7f6a808d",
"_order": 0,
"cache": {},
"request": {
"bodySize": 210,
"bodySize": 203,
"cookies": [],
"headers": [
{
Expand All @@ -32,17 +32,17 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}"
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit DAC\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"logs\"}]},\"type\":\"dataset\"}}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/datasets"
},
"response": {
"bodySize": 255,
"bodySize": 248,
"content": {
"mimeType": "application/json",
"size": 255,
"text": "{\"data\":{\"type\":\"dataset\",\"id\":\"86f67664-8b7b-49ae-b671-919ebe11886c\",\"attributes\":{\"name\":\"Security Audit Dataset\",\"product_filters\":[{\"product\":\"metrics\",\"filters\":[\"@application.id:ABCD\"]}],\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"]}}}\n"
"size": 248,
"text": "{\"data\":{\"type\":\"dataset\",\"id\":\"badc1f6e-ad2e-46f3-91bb-63af60d40b43\",\"attributes\":{\"name\":\"Security Audit DAC\",\"product_filters\":[{\"product\":\"logs\",\"filters\":[\"@application.id:ABCD\"]}],\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"]}}}\n"
},
"cookies": [],
"headers": [
Expand All @@ -57,11 +57,11 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2025-07-29T20:35:57.843Z",
"time": 214
"startedDateTime": "2026-03-26T21:30:09.143Z",
"time": 241
},
{
"_id": "e15cf98473c5d05e382ba27da41631f3",
"_id": "c29199a6e3ef4bc3be2b0dbc8b4ac123",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -78,7 +78,7 @@
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/datasets/86f67664-8b7b-49ae-b671-919ebe11886c"
"url": "https://api.datadoghq.com/api/v2/datasets/badc1f6e-ad2e-46f3-91bb-63af60d40b43"
},
"response": {
"bodySize": 0,
Expand All @@ -99,8 +99,8 @@
"status": 204,
"statusText": "No Content"
},
"startedDateTime": "2025-07-29T20:35:58.064Z",
"time": 181
"startedDateTime": "2026-03-26T21:30:09.388Z",
"time": 256
}
],
"pages": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-03-26T21:30:09.647Z"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"log": {
"_recordingName": "Datasets/Delete a dataset returns \"Bad Request\" response",
"_recordingName": "Data Access Controls/Delete a Data Access Control dataset returns \"Bad Request\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
Expand All @@ -21,7 +21,7 @@
"value": "*/*"
}
],
"headersSize": 505,
"headersSize": 504,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
Expand All @@ -47,8 +47,8 @@
"status": 400,
"statusText": "Bad Request"
},
"startedDateTime": "2025-07-29T20:35:58.255Z",
"time": 167
"startedDateTime": "2026-03-26T21:30:09.649Z",
"time": 233
}
],
"pages": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-03-26T21:30:09.887Z"
Loading
Loading