Skip to content

Commit aec28f6

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ab2e37d of spec repo
1 parent 8a37d0d commit aec28f6

45 files changed

Lines changed: 257 additions & 315 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.generator/schemas/v2/openapi.yaml

Lines changed: 20 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -19660,7 +19660,7 @@ components:
1966019660
properties:
1966119661
name:
1966219662
description: Name of the dataset.
19663-
example: "Security Audit Dataset"
19663+
example: "Security Audit DAC"
1966419664
type: string
1966519665
principals:
1966619666
description: |-
@@ -19696,7 +19696,7 @@ components:
1969619696
type: string
1969719697
name:
1969819698
description: Name of the dataset.
19699-
example: "Security Audit Dataset"
19699+
example: "Security Audit DAC"
1970019700
type: string
1970119701
principals:
1970219702
description: |-
@@ -81022,16 +81022,13 @@ paths:
8102281022
appKeyAuth: []
8102381023
- AuthZ:
8102481024
- user_access_read
81025-
summary: Get all datasets
81025+
summary: Get all Data Access Control datasets
8102681026
tags:
81027-
- Datasets
81027+
- Data Access Controls
8102881028
"x-permission":
8102981029
operator: OR
8103081030
permissions:
8103181031
- user_access_read
81032-
x-unstable: |-
81033-
**Note: Data Access is in preview. If you have any feedback,
81034-
contact [Datadog support](https://docs.datadoghq.com/help/).**
8103581032
post:
8103681033
description: |-
8103781034
Create a dataset with the configurations in the request.
@@ -81074,17 +81071,14 @@ paths:
8107481071
appKeyAuth: []
8107581072
- AuthZ:
8107681073
- user_access_manage
81077-
summary: Create a dataset
81074+
summary: Create a Data Access Control dataset
8107881075
tags:
81079-
- Datasets
81076+
- Data Access Controls
8108081077
x-codegen-request-body-name: body
8108181078
x-permission:
8108281079
operator: OR
8108381080
permissions:
8108481081
- user_access_manage
81085-
x-unstable: |-
81086-
**Note: Data Access is in preview. If you have any feedback,
81087-
contact [Datadog support](https://docs.datadoghq.com/help/).**
8108881082
/api/v2/datasets/{dataset_id}:
8108981083
delete:
8109081084
description: Deletes the dataset associated with the ID.
@@ -81107,16 +81101,13 @@ paths:
8110781101
appKeyAuth: []
8110881102
- AuthZ:
8110981103
- user_access_manage
81110-
summary: Delete a dataset
81104+
summary: Delete a Data Access Control dataset
8111181105
tags:
81112-
- Datasets
81106+
- Data Access Controls
8111381107
"x-permission":
8111481108
operator: OR
8111581109
permissions:
8111681110
- user_access_manage
81117-
x-unstable: |-
81118-
**Note: Data Access is in preview. If you have any feedback,
81119-
contact [Datadog support](https://docs.datadoghq.com/help/).**
8112081111
get:
8112181112
description: Retrieves the dataset associated with the ID.
8112281113
operationId: GetDataset
@@ -81142,15 +81133,12 @@ paths:
8114281133
appKeyAuth: []
8114381134
- AuthZ:
8114481135
- user_access_read
81145-
summary: Get a single dataset by ID
81136+
summary: Get a Data Access Control dataset by ID
8114681137
tags:
81147-
- Datasets
81138+
- Data Access Controls
8114881139
"x-permission":
8114981140
operator: OPEN
8115081141
permissions: []
81151-
x-unstable: |-
81152-
**Note: Data Access is in preview. If you have any feedback,
81153-
contact [Datadog support](https://docs.datadoghq.com/help/).**
8115481142
put:
8115581143
description: |-
8115681144
Edits the dataset associated with the ID.
@@ -81184,17 +81172,14 @@ paths:
8118481172
appKeyAuth: []
8118581173
- AuthZ:
8118681174
- user_access_manage
81187-
summary: Edit a dataset
81175+
summary: Edit a Data Access Control dataset
8118881176
tags:
81189-
- Datasets
81177+
- Data Access Controls
8119081178
x-codegen-request-body-name: body
8119181179
"x-permission":
8119281180
operator: OR
8119381181
permissions:
8119481182
- user_access_manage
81195-
x-unstable: |-
81196-
**Note: Data Access is in preview. If you have any feedback,
81197-
contact [Datadog support](https://docs.datadoghq.com/help/).**
8119881183
/api/v2/deletion/data/{product}:
8119981184
post:
8120081185
description: Creates a data deletion request by providing a query and a timeframe targeting the proper data.
@@ -110342,13 +110327,16 @@ tags:
110342110327
organization.
110343110328
name: Dashboard Lists
110344110329
- description: |-
110345-
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.
110346-
name: Data Deletion
110347-
- description: |-
110348-
Data Access Controls in Datadog is a feature that allows administrators and access managers to regulate
110330+
Manage [Data Access Controls](https://docs.datadoghq.com/account_management/rbac/data_access/)
110331+
programmatically using Datasets.
110332+
110333+
Data Access Controls in Datadog allows administrators and access managers to regulate
110349110334
access to sensitive data. By defining Restricted Datasets, you can ensure that only specific teams or roles can
110350110335
view certain types of telemetry (for example, logs, traces, metrics, and RUM data).
110351-
name: Datasets
110336+
name: Data Access Controls
110337+
- description: |-
110338+
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.
110339+
name: Data Deletion
110352110340
- description: |-
110353110341
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.
110354110342
name: Deployment Gates
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-03-26T21:30:07.702Z"

cassettes/v2/Datasets_304632144/Create-a-dataset-returns-Bad-Request-response_430521186/recording.har renamed to cassettes/v2/Data-Access-Controls_1094776657/Create-a-Data-Access-Control-dataset-returns-Bad-Request-response_3993532435/recording.har

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"log": {
3-
"_recordingName": "Datasets/Create a dataset returns \"Bad Request\" response",
3+
"_recordingName": "Data Access Controls/Create a Data Access Control dataset returns \"Bad Request\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
@@ -57,8 +57,8 @@
5757
"status": 400,
5858
"statusText": "Bad Request"
5959
},
60-
"startedDateTime": "2025-07-29T20:35:57.148Z",
61-
"time": 169
60+
"startedDateTime": "2026-03-26T21:30:08.165Z",
61+
"time": 199
6262
}
6363
],
6464
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-03-26T21:30:08.373Z"

cassettes/v2/Datasets_304632144/Create-a-dataset-returns-Conflict-response_2550608988/recording.har renamed to cassettes/v2/Data-Access-Controls_1094776657/Create-a-Data-Access-Control-dataset-returns-Conflict-response_3895691767/recording.har

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"log": {
3-
"_recordingName": "Datasets/Create a dataset returns \"Conflict\" response",
3+
"_recordingName": "Data Access Controls/Create a Data Access Control dataset returns \"Conflict\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
77
"version": "6.0.5"
88
},
99
"entries": [
1010
{
11-
"_id": "32c558cf4a2ef914f443ab94000addc9",
11+
"_id": "9afbe4de1a01216793a5958a7f6a808d",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 210,
15+
"bodySize": 203,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit DAC\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"logs\"}]},\"type\":\"dataset\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/datasets"
3939
},
4040
"response": {
41-
"bodySize": 255,
41+
"bodySize": 248,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 255,
45-
"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"
44+
"size": 248,
45+
"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"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,15 +57,15 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2025-07-29T20:35:57.326Z",
61-
"time": 176
60+
"startedDateTime": "2026-03-26T21:30:08.376Z",
61+
"time": 303
6262
},
6363
{
64-
"_id": "32c558cf4a2ef914f443ab94000addc9",
64+
"_id": "9afbe4de1a01216793a5958a7f6a808d",
6565
"_order": 1,
6666
"cache": {},
6767
"request": {
68-
"bodySize": 210,
68+
"bodySize": 203,
6969
"cookies": [],
7070
"headers": [
7171
{
@@ -85,17 +85,17 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}"
88+
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit DAC\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"logs\"}]},\"type\":\"dataset\"}}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v2/datasets"
9292
},
9393
"response": {
94-
"bodySize": 114,
94+
"bodySize": 110,
9595
"content": {
9696
"mimeType": "application/json",
97-
"size": 114,
98-
"text": "{\"errors\":[\"Invalid request: [DatasetNameConflict] dataset with name \\\"Security Audit Dataset\\\" already exists\"]}\n"
97+
"size": 110,
98+
"text": "{\"errors\":[\"Invalid request: [DatasetNameConflict] dataset with name \\\"Security Audit DAC\\\" already exists\"]}\n"
9999
},
100100
"cookies": [],
101101
"headers": [
@@ -110,11 +110,11 @@
110110
"status": 409,
111111
"statusText": "Conflict"
112112
},
113-
"startedDateTime": "2025-07-29T20:35:57.509Z",
114-
"time": 167
113+
"startedDateTime": "2026-03-26T21:30:08.684Z",
114+
"time": 185
115115
},
116116
{
117-
"_id": "f569dd34ba2b185ce3320a771e7e15c2",
117+
"_id": "7b7b60d3c568c7753c0a34c20939b781",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -127,11 +127,11 @@
127127
"value": "*/*"
128128
}
129129
],
130-
"headersSize": 529,
130+
"headersSize": 528,
131131
"httpVersion": "HTTP/1.1",
132132
"method": "DELETE",
133133
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v2/datasets/7cbada94-7d01-4e73-8c74-ea70fb3b3088"
134+
"url": "https://api.datadoghq.com/api/v2/datasets/fc61b4b4-d05a-4cba-b109-0d123141056e"
135135
},
136136
"response": {
137137
"bodySize": 0,
@@ -152,8 +152,8 @@
152152
"status": 204,
153153
"statusText": "No Content"
154154
},
155-
"startedDateTime": "2025-07-29T20:35:57.685Z",
156-
"time": 148
155+
"startedDateTime": "2026-03-26T21:30:08.874Z",
156+
"time": 262
157157
}
158158
],
159159
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-03-26T21:30:09.140Z"

cassettes/v2/Datasets_304632144/Create-a-dataset-returns-OK-response_1489201120/recording.har renamed to cassettes/v2/Data-Access-Controls_1094776657/Create-a-Data-Access-Control-dataset-returns-OK-response_3448877847/recording.har

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"log": {
3-
"_recordingName": "Datasets/Create a dataset returns \"OK\" response",
3+
"_recordingName": "Data Access Controls/Create a Data Access Control dataset returns \"OK\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
77
"version": "6.0.5"
88
},
99
"entries": [
1010
{
11-
"_id": "32c558cf4a2ef914f443ab94000addc9",
11+
"_id": "9afbe4de1a01216793a5958a7f6a808d",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 210,
15+
"bodySize": 203,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"name\":\"Security Audit DAC\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"logs\"}]},\"type\":\"dataset\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/datasets"
3939
},
4040
"response": {
41-
"bodySize": 255,
41+
"bodySize": 248,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 255,
45-
"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"
44+
"size": 248,
45+
"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"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2025-07-29T20:35:57.843Z",
61-
"time": 214
60+
"startedDateTime": "2026-03-26T21:30:09.143Z",
61+
"time": 241
6262
},
6363
{
64-
"_id": "e15cf98473c5d05e382ba27da41631f3",
64+
"_id": "c29199a6e3ef4bc3be2b0dbc8b4ac123",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -78,7 +78,7 @@
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/datasets/86f67664-8b7b-49ae-b671-919ebe11886c"
81+
"url": "https://api.datadoghq.com/api/v2/datasets/badc1f6e-ad2e-46f3-91bb-63af60d40b43"
8282
},
8383
"response": {
8484
"bodySize": 0,
@@ -99,8 +99,8 @@
9999
"status": 204,
100100
"statusText": "No Content"
101101
},
102-
"startedDateTime": "2025-07-29T20:35:58.064Z",
103-
"time": 181
102+
"startedDateTime": "2026-03-26T21:30:09.388Z",
103+
"time": 256
104104
}
105105
],
106106
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-03-26T21:30:09.647Z"

cassettes/v2/Datasets_304632144/Delete-a-dataset-returns-Bad-Request-response_3463824271/recording.har renamed to cassettes/v2/Data-Access-Controls_1094776657/Delete-a-Data-Access-Control-dataset-returns-Bad-Request-response_1838809586/recording.har

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"log": {
3-
"_recordingName": "Datasets/Delete a dataset returns \"Bad Request\" response",
3+
"_recordingName": "Data Access Controls/Delete a Data Access Control dataset returns \"Bad Request\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
@@ -21,7 +21,7 @@
2121
"value": "*/*"
2222
}
2323
],
24-
"headersSize": 505,
24+
"headersSize": 504,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "DELETE",
2727
"queryString": [],
@@ -47,8 +47,8 @@
4747
"status": 400,
4848
"statusText": "Bad Request"
4949
},
50-
"startedDateTime": "2025-07-29T20:35:58.255Z",
51-
"time": 167
50+
"startedDateTime": "2026-03-26T21:30:09.649Z",
51+
"time": 233
5252
}
5353
],
5454
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-03-26T21:30:09.887Z"

0 commit comments

Comments
 (0)