You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note**: This endpoint is in preview and is subject to change.
97883
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
97608
97884
/api/v2/datasets:
97609
97885
get:
97610
97886
description: Get all datasets that have been configured for an organization.
@@ -146005,6 +146281,11 @@ tags:
146005
146281
- description: |-
146006
146282
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.
146007
146283
name: Data Deletion
146284
+
- description: |-
146285
+
Configure dataset-level access restrictions per Datadog product type. Dataset restrictions
146286
+
control whether data is visible by default or hidden until explicitly granted, and how
146287
+
ownership-based access is determined.
146288
+
name: Dataset Restrictions
146008
146289
- description: |-
146009
146290
Data Access Controls in Datadog is a feature that allows administrators and access managers to regulate
146010
146291
access to sensitive data. By defining Restricted Datasets, you can ensure that only specific teams or roles can
Configure dataset-level access restrictions per Datadog product type.
4
+
Dataset restrictions control whether data is visible by default or hidden
5
+
until explicitly granted, and how ownership-based access is determined.
6
+
7
+
Background:
8
+
Given a valid "apiKeyAuth" key in the system
9
+
And a valid "appKeyAuth" key in the system
10
+
And an instance of "DatasetRestrictions" API
11
+
12
+
@generated@skip@team:DataDog/access-enforcement
13
+
Scenario: List dataset restrictions returns "Not Found" response
14
+
Given operation "ListDatasetRestrictions" enabled
15
+
And new "ListDatasetRestrictions" request
16
+
When the request is sent
17
+
Then the response status is 404 Not Found
18
+
19
+
@generated@skip@team:DataDog/access-enforcement
20
+
Scenario: List dataset restrictions returns "OK" response
21
+
Given operation "ListDatasetRestrictions" enabled
22
+
And new "ListDatasetRestrictions" request
23
+
When the request is sent
24
+
Then the response status is 200 OK
25
+
26
+
@generated@skip@team:DataDog/access-enforcement
27
+
Scenario: Update a dataset restriction returns "Bad Request" response
28
+
Given operation "UpdateDatasetRestriction" enabled
29
+
And new "UpdateDatasetRestriction" request
30
+
And request contains "product_type" parameter from "REPLACE.ME"
31
+
And body with value {"data": {"attributes": {"ownership_mode": "team_tag_based", "restriction_mode": "default_hide", "unrestricted_principals": []}, "type": "dataset_restrictions"}}
32
+
When the request is sent
33
+
Then the response status is 400 Bad Request
34
+
35
+
@generated@skip@team:DataDog/access-enforcement
36
+
Scenario: Update a dataset restriction returns "Not Found" response
37
+
Given operation "UpdateDatasetRestriction" enabled
38
+
And new "UpdateDatasetRestriction" request
39
+
And request contains "product_type" parameter from "REPLACE.ME"
40
+
And body with value {"data": {"attributes": {"ownership_mode": "team_tag_based", "restriction_mode": "default_hide", "unrestricted_principals": []}, "type": "dataset_restrictions"}}
41
+
When the request is sent
42
+
Then the response status is 404 Not Found
43
+
44
+
@generated@skip@team:DataDog/access-enforcement
45
+
Scenario: Update a dataset restriction returns "OK" response
46
+
Given operation "UpdateDatasetRestriction" enabled
47
+
And new "UpdateDatasetRestriction" request
48
+
And request contains "product_type" parameter from "REPLACE.ME"
49
+
And body with value {"data": {"attributes": {"ownership_mode": "team_tag_based", "restriction_mode": "default_hide", "unrestricted_principals": []}, "type": "dataset_restrictions"}}
0 commit comments