diff --git a/README.md b/README.md index 2063557b..b0b7de3c 100644 --- a/README.md +++ b/README.md @@ -208,6 +208,7 @@ When running againts multiple destination organizations, a seperate working dire | Resource | Description | |----------------------------------------|----------------------------------------------------------| +| authn_mappings | Sync Datadog authn mappings. | | dashboard_lists | Sync Datadog dashboard lists. | | dashboards | Sync Datadog dashboards. | | downtime_schedules | Sync Datadog downtimes. | @@ -249,6 +250,7 @@ See [Supported resources](#supported-resources) section below for potential reso | Resource | Dependencies | |----------------------------------------|------------------------------------------------------------------| +| authn_mappings | roles, teams | | dashboard_lists | dashboards | | dashboards | monitors, roles, powerpacks, service_level_objectives | | downtime_schedules | monitors | diff --git a/datadog_sync/model/authn_mappings.py b/datadog_sync/model/authn_mappings.py new file mode 100644 index 00000000..7ef82dbd --- /dev/null +++ b/datadog_sync/model/authn_mappings.py @@ -0,0 +1,83 @@ +# Unless explicitly stated otherwise all files in this repository are licensed +# under the 3-clause BSD style license (see LICENSE). +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. +from typing import Optional, List, Dict, Tuple + +from datadog_sync.utils.base_resource import BaseResource, ResourceConfig +from datadog_sync.utils.custom_client import CustomClient + + +class AuthNMappings(BaseResource): + resource_type = "authn_mappings" + resource_config = ResourceConfig( + base_path="/api/v2/authn_mappings", + excluded_attributes=[ + "id", + "attributes.created_at", + "attributes.modified_at", + "attributes.saml_assertion_attribute_id", + "relationships.saml_assertion_attribute", + ], + resource_connections={"roles": ["relationships.role.data.id"], "teams": ["relationships.team.data.id"]}, + ) + # Additional AuthNMappings specific attributes + + async def get_resources(self, client: CustomClient) -> List[Dict]: + role_resp = await client.paginated_request(client.get)( + self.resource_config.base_path, params={"resource_type": "role"} + ) + team_resp = await client.paginated_request(client.get)( + self.resource_config.base_path, params={"resource_type": "team"} + ) + + return role_resp + team_resp + + async def import_resource(self, _id: Optional[str] = None, resource: Optional[Dict] = None) -> Tuple[str, Dict]: + if _id: + source_client = self.config.source_client + resource = (await source_client.get(self.resource_config.base_path + f"/{_id}"))["data"] + + return resource["id"], resource + + async def pre_resource_action_hook(self, _id, resource: Dict) -> None: + pass + + async def pre_apply_hook(self) -> None: + pass + + async def create_resource(self, _id: str, resource: Dict) -> Tuple[str, Dict]: + destination_client = self.config.destination_client + payload = {"data": resource} + resp = await destination_client.post(self.resource_config.base_path, payload) + self.remove_null_relationships(resp) + + return _id, resp["data"] + + async def update_resource(self, _id: str, resource: Dict) -> Tuple[str, Dict]: + destination_client = self.config.destination_client + d_id = self.resource_config.destination_resources[_id]["id"] + resource["id"] = d_id + payload = {"data": resource} + resp = await destination_client.patch(self.resource_config.base_path + f"/{d_id}", payload) + self.remove_null_relationships(resp) + + return _id, resp["data"] + + async def delete_resource(self, _id: str) -> None: + destination_client = self.config.destination_client + await destination_client.delete( + self.resource_config.base_path + f"/{self.resource_config.destination_resources[_id]['id']}" + ) + + def connect_id(self, key: str, r_obj: Dict, resource_to_connect: str) -> Optional[List[str]]: + return super(AuthNMappings, self).connect_id(key, r_obj, resource_to_connect) + + @staticmethod + def remove_null_relationships(resp: Dict) -> None: + if resp["data"]["relationships"].get("role", {}).get("data") is None: + resp["data"]["relationships"].pop("role", None) + if resp["data"]["relationships"].get("team", {}).get("data") is None: + resp["data"]["relationships"].pop("team", None) + + return resp diff --git a/datadog_sync/models/__init__.py b/datadog_sync/models/__init__.py index b6c38299..596bafd3 100644 --- a/datadog_sync/models/__init__.py +++ b/datadog_sync/models/__init__.py @@ -4,6 +4,7 @@ # Copyright 2019 Datadog, Inc. # ruff: noqa +from datadog_sync.model.authn_mappings import AuthNMappings from datadog_sync.model.dashboard_lists import DashboardLists from datadog_sync.model.dashboards import Dashboards from datadog_sync.model.downtime_schedules import DowntimeSchedules diff --git a/datadog_sync/utils/custom_client.py b/datadog_sync/utils/custom_client.py index e4ea86fd..1c4936a2 100644 --- a/datadog_sync/utils/custom_client.py +++ b/datadog_sync/utils/custom_client.py @@ -44,9 +44,9 @@ async def wrapper(*args, **kwargs): except ValueError: sleep_duration = retry_count * default_backoff if (sleep_duration + time.time()) > timeout: - log.debug("retry timeout has or will exceed timeout duration") + log.debug(f"{e}. retry timeout has or will exceed timeout duration") raise CustomClientHTTPError(e, message=err_text) - log.debug(f"retrying request after {sleep_duration}s") + log.debug(f"{e}. retrying request after {sleep_duration}s") await asyncio.sleep(sleep_duration) retry_count += 1 continue @@ -55,7 +55,7 @@ async def wrapper(*args, **kwargs): if (sleep_duration + time.time()) > timeout: log.debug("retry timeout has or will exceed timeout duration") raise CustomClientHTTPError(e, message=err_text) - log.debug(f"retrying request after {sleep_duration}s") + log.debug(f"{e}. retrying request after {sleep_duration}s") await asyncio.sleep(retry_count * default_backoff) retry_count += 1 continue diff --git a/scripts/cleanup_org.py b/scripts/cleanup_org.py index 314b12ba..ca8619d8 100644 --- a/scripts/cleanup_org.py +++ b/scripts/cleanup_org.py @@ -24,6 +24,7 @@ def __init__(self): self.validate_org() # Delete all supported resources + self.cleanup_authn_mappings() self.cleanup_service_level_objectives() self.cleanup_slo_corrections() self.cleanup_synthetics_tests() @@ -59,6 +60,15 @@ def validate_org(self): print("Error getting organization. Validate api+app keys %s: %s", url, e) exit(1) + def cleanup_authn_mappings( + self, + ): + path = "/api/v2/authn_mappings" + res_role = self.get_resources(path, params={"resource_type": "role"}) + res_team = self.get_resources(path, params={"resource_type": "team"}) + for resource in res_role["data"] + res_team["data"]: + self.delete_resource(resource["id"], path) + def cleanup_dashboards( self, ): diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_no_resource_diffs.frozen b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_no_resource_diffs.frozen new file mode 100644 index 00000000..5624df1e --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_no_resource_diffs.frozen @@ -0,0 +1 @@ +2024-06-14T13:40:03.401775-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_cleanup.frozen b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_cleanup.frozen new file mode 100644 index 00000000..b181acc1 --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_cleanup.frozen @@ -0,0 +1 @@ +2024-06-14T13:40:03.411769-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_cleanup.yaml b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_cleanup.yaml new file mode 100644 index 00000000..5bc58ae1 --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_cleanup.yaml @@ -0,0 +1,82 @@ +interactions: +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.datadoghq.eu/api/v2/authn_mappings/2158979a-2a75-11ef-b6cb-da7ad0900005 + response: + body: + string: '' + headers: + Content-Type: + - text/html; charset=utf-8 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.datadoghq.eu/api/v2/authn_mappings/2151d2ca-2a75-11ef-9510-da7ad0900005 + response: + body: + string: '' + headers: + Content-Type: + - text/html; charset=utf-8 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.datadoghq.eu/api/v2/authn_mappings/21593696-2a75-11ef-bbf5-da7ad0900005 + response: + body: + string: '' + headers: + Content-Type: + - text/html; charset=utf-8 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.datadoghq.eu/api/v2/authn_mappings/21534c0e-2a75-11ef-8c13-da7ad0900005 + response: + body: + string: '' + headers: + Content-Type: + - text/html; charset=utf-8 + status: + code: 204 + message: No Content +- request: + body: null + headers: + Content-Type: + - application/json + method: DELETE + uri: https://api.datadoghq.eu/api/v2/authn_mappings/214e8a66-2a75-11ef-9113-da7ad0900005 + response: + body: + string: '' + headers: + Content-Type: + - text/html; charset=utf-8 + status: + code: 204 + message: No Content +version: 1 diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_import.frozen b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_import.frozen new file mode 100644 index 00000000..c6ff81e9 --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_import.frozen @@ -0,0 +1 @@ +2024-06-14T13:40:01.957206-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_import.yaml b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_import.yaml new file mode 100644 index 00000000..4c98497f --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_import.yaml @@ -0,0 +1,94 @@ +interactions: +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v2/authn_mappings?page%5Bnumber%5D=0&page%5Bsize%5D=100&resource_type=role + response: + body: + string: '{"data": [{"type": "authn_mappings", "id": "29556498-29bf-11ef-abeb-da7ad0900002", + "attributes": {"attribute_key": "Member-of", "attribute_value": "TestOrgFoo", + "created_at": "2024-06-13T19:57:28.072750+00:00", "modified_at": "2024-06-13T19:58:14.970554+00:00"}, + "relationships": {"role": {"data": {"type": "roles", "id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002"}}}}, + {"type": "authn_mappings", "id": "29562f9a-29bf-11ef-a243-da7ad0900002", "attributes": + {"attribute_key": "Member-of", "attribute_value": "TestOrg", "created_at": + "2024-06-13T19:57:28.077725+00:00", "modified_at": "2024-06-13T19:58:14.967881+00:00"}, + "relationships": {"role": {"data": {"type": "roles", "id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002"}}}}, + {"type": "authn_mappings", "id": "454a4024-29bf-11ef-8d8e-da7ad0900002", "attributes": + {"attribute_key": "Member-of", "attribute_value": "TestOrgFooBar", "created_at": + "2024-06-13T19:58:14.975381+00:00", "modified_at": "2024-06-13T19:58:14.975381+00:00"}, + "relationships": {"role": {"data": {"type": "roles", "id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002"}}}}], + "included": [{"type": "roles", "id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002", + "attributes": {"name": "Datadog Read Only Role", "created_at": "2021-05-28T15:47:16.084615+00:00", + "modified_at": "2021-05-28T15:47:16.084615+00:00"}, "relationships": {"permissions": + {"data": [{"type": "permissions", "id": "5e605652-dd12-11e8-9e53-375565b8970e"}, + {"type": "permissions", "id": "6f66600e-dd12-11e8-9e55-7f30fbb45e73"}, {"type": + "permissions", "id": "d90f6830-d3d8-11e9-a77a-b3404e5e9ee2"}, {"type": "permissions", + "id": "4441648c-d8b1-11e9-a77a-1b899a04b304"}, {"type": "permissions", "id": + "1af86ce4-7823-11ea-93dc-d7cad1b1c6cb"}, {"type": "permissions", "id": "b382b982-8535-11ea-93de-2bf1bdf20798"}, + {"type": "permissions", "id": "7314eb20-aa58-11ea-95e2-6fb6e4a451d5"}, {"type": + "permissions", "id": "80de1ec0-aa58-11ea-95e2-aff381626d5d"}, {"type": "permissions", + "id": "5025ee24-f923-11ea-adbc-576ea241df8d"}, {"type": "permissions", "id": + "417ba636-2dce-11eb-84c0-6bce5b0d9de0"}, {"type": "permissions", "id": "43fa188e-2dce-11eb-84c0-835ad1fd6287"}, + {"type": "permissions", "id": "4916eebe-2dce-11eb-84c0-271cb2c672e8"}, {"type": + "permissions", "id": "edfd5e75-801f-11eb-96d8-da7ad0900002"}, {"type": "permissions", + "id": "98b984f4-b16d-11eb-a2c6-da7ad0900002"}, {"type": "permissions", "id": + "12efc20e-d36c-11eb-a9b8-da7ad0900002"}, {"type": "permissions", "id": "97971c1c-e895-11eb-b13c-da7ad0900002"}, + {"type": "permissions", "id": "7605ef24-f376-11eb-b90b-da7ad0900002"}, {"type": + "permissions", "id": "7605ef25-f376-11eb-b90b-da7ad0900002"}, {"type": "permissions", + "id": "f4473c60-4792-11ec-a27b-da7ad0900002"}, {"type": "permissions", "id": + "8e4d6b6e-5750-11ec-a9f4-da7ad0900002"}, {"type": "permissions", "id": "945b3bb4-5884-11ec-aa6d-da7ad0900002"}, + {"type": "permissions", "id": "f6e917a8-8502-11ec-bf20-da7ad0900002"}, {"type": + "permissions", "id": "f6e917a6-8502-11ec-bf20-da7ad0900002"}, {"type": "permissions", + "id": "b6bf9ac6-9a59-11ec-8480-da7ad0900002"}, {"type": "permissions", "id": + "f8e941cf-e746-11ec-b22d-da7ad0900002"}, {"type": "permissions", "id": "ee68fba8-173a-11ed-b00b-da7ad0900002"}, + {"type": "permissions", "id": "6be119a6-1cd8-11ed-b185-da7ad0900002"}, {"type": + "permissions", "id": "4ee674f6-55d9-11ed-b10d-da7ad0900002"}, {"type": "permissions", + "id": "4ee5731c-55d9-11ed-b10b-da7ad0900002"}, {"type": "permissions", "id": + "8247acc4-7a4c-11ed-958f-da7ad0900002"}, {"type": "permissions", "id": "6c5ad874-7aff-11ed-a5cd-da7ad0900002"}, + {"type": "permissions", "id": "c13a2368-7d61-11ed-b5b7-da7ad0900002"}, {"type": + "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002"}, {"type": "permissions", + "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": "permissions", "id": + "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", "id": "de0e73c2-3d23-11ee-aa7d-da7ad0900002"}, + {"type": "permissions", "id": "a8b4d6e8-4ea4-11ee-b482-da7ad0900002"}, {"type": + "permissions", "id": "50c270de-69ee-11ee-9151-da7ad0900002"}, {"type": "permissions", + "id": "bdda0cea-c1f0-11ee-b427-da7ad0900002"}, {"type": "permissions", "id": + "f5f475d4-0197-11ef-be1f-da7ad0900002"}, {"type": "permissions", "id": "8c3a9cde-0973-11ef-a2be-da7ad0900002"}]}}}], + "meta": {"page": {"total_count": 3, "total_filtered_count": 3}}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v2/authn_mappings?page%5Bnumber%5D=0&page%5Bsize%5D=100&resource_type=team + response: + body: + string: '{"data": [{"type": "authn_mappings", "id": "5f23356e-29bf-11ef-b407-da7ad0900002", + "attributes": {"attribute_key": "Member-of", "attribute_value": "TestOrgFoo", + "created_at": "2024-06-13T19:58:58.340586+00:00", "modified_at": "2024-06-13T19:58:58.340586+00:00"}, + "relationships": {"team": {"data": {"type": "team", "id": "65f966e4-4189-4b52-bff1-ba5f7e572b73"}}}}, + {"type": "authn_mappings", "id": "5f2351fc-29bf-11ef-929a-da7ad0900002", "attributes": + {"attribute_key": "Member-of", "attribute_value": "TestOrg", "created_at": + "2024-06-13T19:58:58.341089+00:00", "modified_at": "2024-06-13T19:58:58.341089+00:00"}, + "relationships": {"team": {"data": {"type": "team", "id": "65f966e4-4189-4b52-bff1-ba5f7e572b73"}}}}], + "included": [{"type": "team", "id": "65f966e4-4189-4b52-bff1-ba5f7e572b73", + "attributes": {"name": "Example team", "handle": "example-team", "summary": + "This is the description of a team", "avatar": null, "banner": 0, "user_count": + 1, "link_count": 0, "is_open_membership": true, "handles": ["example-team"]}}], + "meta": {"page": {"total_count": 2, "total_filtered_count": 2}}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +version: 1 diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_sync.frozen b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_sync.frozen new file mode 100644 index 00000000..bd1bf6a1 --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_sync.frozen @@ -0,0 +1 @@ +2024-06-14T13:40:02.236270-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_sync.yaml b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_sync.yaml new file mode 100644 index 00000000..7e5bf514 --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_sync.yaml @@ -0,0 +1,2164 @@ +interactions: +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v2/permissions + response: + body: + string: '{"data": [{"id": "984a2bd4-d3b4-11e8-a1ff-a7f660d43029", "type": "permissions", + "attributes": {"created": "2018-10-19T15:35:23.734317Z", "description": "Deprecated. + Privileged Access (also known as Admin permission) has been replaced by more + specific permissions: Access Management, Org Management, Billing Read/Write, + Usage Read/Write.", "display_name": "Privileged Access", "display_type": "other", + "group_name": "General", "name": "admin", "restricted": false}}, {"id": "984d2f00-d3b4-11e8-a200-bb47109e9987", + "type": "permissions", "attributes": {"created": "2018-10-19T15:35:23.756736Z", + "description": "Deprecated. Standard Access has been replaced by more specific + permissions.", "display_name": "Standard Access", "display_type": "other", + "group_name": "General", "name": "standard", "restricted": false}}, {"id": + "5e605652-dd12-11e8-9e53-375565b8970e", "type": "permissions", "attributes": + {"created": "2018-10-31T13:39:19.72745Z", "description": "Read log data, possibly + scoped to one or more indexes. In order to read log data, a user must have + both this permission and Logs Read Data. This permission can be granted in + a limited capacity per index from the Logs interface or APIs. If granted via + the Roles interface or API the permission has global scope. Restrictions are + limited to the Log Management product.", "display_name": "Logs Read Index + Data", "display_type": "read", "group_name": "Log Management", "name": "logs_read_index_data", + "restricted": false}}, {"id": "62cc036c-dd12-11e8-9e54-db9995643092", "type": + "permissions", "attributes": {"created": "2018-10-31T13:39:27.148615Z", "description": + "Read and modify all indexes in your account. This includes the ability to + grant the Logs Read Index Data and Logs Write Exclusion Filters permission + to other roles, for some or all indexes.", "display_name": "Logs Modify Indexes", + "display_type": "write", "group_name": "Log Management", "name": "logs_modify_indexes", + "restricted": false}}, {"id": "6f66600e-dd12-11e8-9e55-7f30fbb45e73", "type": + "permissions", "attributes": {"created": "2018-10-31T13:39:48.292879Z", "description": + "View the live tail feed for all log indexes, even if otherwise specifically + restricted.", "display_name": "Logs Live Tail", "display_type": "read", "group_name": + "Log Management", "name": "logs_live_tail", "restricted": false}}, {"id": + "7d7c98ac-dd12-11e8-9e56-93700598622d", "type": "permissions", "attributes": + {"created": "2018-10-31T13:40:11.926613Z", "description": "Add and change + exclusion filters for all or some log indexes. Can be granted in a limited + capacity per index to specific roles via the Logs interface or API. If granted + from the Roles interface or API, the permission has global scope.", "display_name": + "Logs Write Exclusion Filters", "display_type": "write", "group_name": "Log + Management", "name": "logs_write_exclusion_filters", "restricted": false}}, + {"id": "811ac4ca-dd12-11e8-9e57-676a7f0beef9", "type": "permissions", "attributes": + {"created": "2018-10-31T13:40:17.996379Z", "description": "Add and change + log pipeline configurations, including the ability to grant the Logs Write + Processors permission to other roles, for some or all pipelines.", "display_name": + "Logs Write Pipelines", "display_type": "write", "group_name": "Log Management", + "name": "logs_write_pipelines", "restricted": false}}, {"id": "84aa3ae4-dd12-11e8-9e58-a373a514ccd0", + "type": "permissions", "attributes": {"created": "2018-10-31T13:40:23.969725Z", + "description": "Add and change some or all log processor configurations. Can + be granted in a limited capacity per pipeline to specific roles via the Logs + interface or API. If granted via the Roles interface or API the permission + has global scope.", "display_name": "Logs Write Processors", "display_type": + "write", "group_name": "Log Management", "name": "logs_write_processors", + "restricted": false}}, {"id": "87b00304-dd12-11e8-9e59-cbeb5f71f72f", "type": + "permissions", "attributes": {"created": "2018-10-31T13:40:29.040786Z", "description": + "Add and edit Log Archives.", "display_name": "Logs Write Archives", "display_type": + "write", "group_name": "Log Management", "name": "logs_write_archives", "restricted": + false}}, {"id": "979df720-aed7-11e9-99c6-a7eb8373165a", "type": "permissions", + "attributes": {"created": "2019-07-25T12:27:39.640758Z", "description": "Create + custom metrics from logs.", "display_name": "Logs Generate Metrics", "display_type": + "write", "group_name": "Log Management", "name": "logs_generate_metrics", + "restricted": false}}, {"id": "d90f6830-d3d8-11e9-a77a-b3404e5e9ee2", "type": + "permissions", "attributes": {"created": "2019-09-10T14:39:51.955175Z", "description": + "View dashboards.", "display_name": "Dashboards Read", "display_type": "read", + "group_name": "Dashboards", "name": "dashboards_read", "restricted": true}}, + {"id": "d90f6831-d3d8-11e9-a77a-4fd230ddbc6a", "type": "permissions", "attributes": + {"created": "2019-09-10T14:39:51.962944Z", "description": "Create and change + dashboards.", "display_name": "Dashboards Write", "display_type": "write", + "group_name": "Dashboards", "name": "dashboards_write", "restricted": false}}, + {"id": "d90f6832-d3d8-11e9-a77a-bf8a2607f864", "type": "permissions", "attributes": + {"created": "2019-09-10T14:39:51.967094Z", "description": "Generate public + and authenticated links to share dashboards or embeddable graphs externally.", + "display_name": "Dashboards Public Share", "display_type": "write", "group_name": + "Dashboards", "name": "dashboards_public_share", "restricted": false}}, {"id": + "4441648c-d8b1-11e9-a77a-1b899a04b304", "type": "permissions", "attributes": + {"created": "2019-09-16T18:39:07.744297Z", "description": "View monitors.", + "display_name": "Monitors Read", "display_type": "read", "group_name": "Monitors", + "name": "monitors_read", "restricted": true}}, {"id": "48ef71ea-d8b1-11e9-a77a-93f408470ad0", + "type": "permissions", "attributes": {"created": "2019-09-16T18:39:15.597109Z", + "description": "Edit and delete individual monitors.", "display_name": "Monitors + Write", "display_type": "write", "group_name": "Monitors", "name": "monitors_write", + "restricted": false}}, {"id": "4d87d5f8-d8b1-11e9-a77a-eb9c8350d04f", "type": + "permissions", "attributes": {"created": "2019-09-16T18:39:23.306702Z", "description": + "Set downtimes to suppress alerts from any monitor in an organization. Mute + and unmute monitors. The ability to write monitors is not required to set + downtimes.", "display_name": "Manage Downtimes", "display_type": "write", + "group_name": "Monitors", "name": "monitors_downtime", "restricted": false}}, + {"id": "1af86ce4-7823-11ea-93dc-d7cad1b1c6cb", "type": "permissions", "attributes": + {"created": "2020-04-06T16:24:35.989108Z", "description": "Read log data. + In order to read log data, a user must have both this permission and Logs + Read Index Data. This permission can be restricted with restriction queries. + Restrictions are limited to the Log Management product.", "display_name": + "Logs Read Data", "display_type": "read", "group_name": "Log Management", + "name": "logs_read_data", "restricted": false}}, {"id": "b382b982-8535-11ea-93de-2bf1bdf20798", + "type": "permissions", "attributes": {"created": "2020-04-23T07:40:27.966133Z", + "description": "Read Log Archives location and use it for rehydration.", "display_name": + "Logs Read Archives", "display_type": "read", "group_name": "Log Management", + "name": "logs_read_archives", "restricted": false}}, {"id": "7314eb20-aa58-11ea-95e2-6fb6e4a451d5", + "type": "permissions", "attributes": {"created": "2020-06-09T13:52:25.279909Z", + "description": "Read Detection Rules.", "display_name": "Security Rules Read", + "display_type": "read", "group_name": "Cloud Security Platform", "name": "security_monitoring_rules_read", + "restricted": false}}, {"id": "7b516476-aa58-11ea-95e2-93718cd56369", "type": + "permissions", "attributes": {"created": "2020-06-09T13:52:39.099413Z", "description": + "Create and edit Detection Rules.", "display_name": "Security Rules Write", + "display_type": "write", "group_name": "Cloud Security Platform", "name": + "security_monitoring_rules_write", "restricted": false}}, {"id": "80de1ec0-aa58-11ea-95e2-aff381626d5d", + "type": "permissions", "attributes": {"created": "2020-06-09T13:52:48.410398Z", + "description": "View Security Signals.", "display_name": "Security Signals + Read", "display_type": "read", "group_name": "Cloud Security Platform", "name": + "security_monitoring_signals_read", "restricted": false}}, {"id": "58b412cc-ff6d-11eb-bc9c-da7ad0900002", + "type": "permissions", "attributes": {"created": "2021-08-17T15:11:06.963503Z", + "description": "Modify Security Signals.", "display_name": "Security Signals + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "security_monitoring_signals_write", "restricted": false}}, {"id": + "9ac1d8cc-e707-11ea-aa2d-73d37e989a9d", "type": "permissions", "attributes": + {"created": "2020-08-25T19:17:23.539701Z", "description": "Invite other users + to your organization.", "display_name": "User Access Invite", "display_type": + "write", "group_name": "Access Management", "name": "user_access_invite", + "restricted": false}}, {"id": "9de604d8-e707-11ea-aa2d-93f1a783b3a3", "type": + "permissions", "attributes": {"created": "2020-08-25T19:17:28.810412Z", "description": + "Disable users, manage user roles, manage SAML-to-role mappings, and configure + logs restriction queries.", "display_name": "User Access Manage", "display_type": + "write", "group_name": "Access Management", "name": "user_access_manage", + "restricted": false}}, {"id": "46a301da-ec5c-11ea-aa9f-73bedeab67ee", "type": + "permissions", "attributes": {"created": "2020-09-01T14:06:05.444705Z", "description": + "View and manage Application Keys owned by the user.", "display_name": "User + App Keys", "display_type": "write", "group_name": "API and Application Keys", + "name": "user_app_keys", "restricted": false}}, {"id": "46a301db-ec5c-11ea-aa9f-2fe72193d60e", + "type": "permissions", "attributes": {"created": "2020-09-01T14:06:05.444705Z", + "description": "View Application Keys owned by all users in the organization.", + "display_name": "Org App Keys Read", "display_type": "read", "group_name": + "API and Application Keys", "name": "org_app_keys_read", "restricted": false}}, + {"id": "46a301dc-ec5c-11ea-aa9f-13b33f8f46ea", "type": "permissions", "attributes": + {"created": "2020-09-01T14:06:05.444705Z", "description": "Manage Application + Keys owned by all users in the organization.", "display_name": "Org App Keys + Write", "display_type": "write", "group_name": "API and Application Keys", + "name": "org_app_keys_write", "restricted": false}}, {"id": "46a301dd-ec5c-11ea-aa9f-97edfb345bc9", + "type": "permissions", "attributes": {"created": "2020-09-01T14:06:05.444705Z", + "description": "View, search, and use Synthetics private locations.", "display_name": + "Synthetics Private Locations Read", "display_type": "read", "group_name": + "Synthetic Monitoring", "name": "synthetics_private_location_read", "restricted": + false}}, {"id": "46a301de-ec5c-11ea-aa9f-a73252c24806", "type": "permissions", + "attributes": {"created": "2020-09-01T14:06:05.444705Z", "description": "Create + and delete private locations in addition to having access to the associated + installation guidelines.", "display_name": "Synthetics Private Locations Write", + "display_type": "write", "group_name": "Synthetic Monitoring", "name": "synthetics_private_location_write", + "restricted": false}}, {"id": "46a301df-ec5c-11ea-aa9f-970a9ae645e5", "type": + "permissions", "attributes": {"created": "2020-09-01T14:06:05.444705Z", "description": + "View your organization''s subscription and payment method but not make edits.", + "display_name": "Billing Read", "display_type": "read", "group_name": "Billing + and Usage", "name": "billing_read", "restricted": false}}, {"id": "46a301e0-ec5c-11ea-aa9f-6ba6cc675d8c", + "type": "permissions", "attributes": {"created": "2020-09-01T14:06:05.444705Z", + "description": "Manage your organization''s subscription and payment method.", + "display_name": "Billing Edit", "display_type": "write", "group_name": "Billing + and Usage", "name": "billing_edit", "restricted": false}}, {"id": "46a301e1-ec5c-11ea-aa9f-afa39f6f3e36", + "type": "permissions", "attributes": {"created": "2020-09-01T14:06:05.444705Z", + "description": "View your organization''s usage and usage attribution.", "display_name": + "Usage Read", "display_type": "read", "group_name": "Billing and Usage", "name": + "usage_read", "restricted": false}}, {"id": "46a301e2-ec5c-11ea-aa9f-1f511b7305fd", + "type": "permissions", "attributes": {"created": "2020-09-01T14:06:05.444705Z", + "description": "Manage your organization''s usage attribution set-up.", "display_name": + "Usage Edit", "display_type": "write", "group_name": "Billing and Usage", + "name": "usage_edit", "restricted": false}}, {"id": "46a301e4-ec5c-11ea-aa9f-87282b3a50cc", + "type": "permissions", "attributes": {"created": "2020-09-01T14:06:05.444705Z", + "description": "Edit and save tag configurations for custom metrics.", "display_name": + "Metric Tags Write", "display_type": "write", "group_name": "Metrics", "name": + "metric_tags_write", "restricted": false}}, {"id": "07c3c146-f7f8-11ea-acf6-0bd62b9ae60e", + "type": "permissions", "attributes": {"created": "2020-09-16T08:38:44.242076Z", + "description": "Rehydrate logs from Archives.", "display_name": "Logs Write + Historical Views", "display_type": "write", "group_name": "Log Management", + "name": "logs_write_historical_view", "restricted": false}}, {"id": "2fbdac76-f923-11ea-adbc-07f3823e2b43", + "type": "permissions", "attributes": {"created": "2020-09-17T20:20:10.834252Z", + "description": "View Audit Trail in your organization.", "display_name": "Audit + Trail Read", "display_type": "read", "group_name": "Compliance", "name": "audit_logs_read", + "restricted": false}}, {"id": "372896c4-f923-11ea-adbc-4fecd107156d", "type": + "permissions", "attributes": {"created": "2020-09-17T20:20:23.279769Z", "description": + "List and retrieve the key values of all API Keys in your organization.", + "display_name": "API Keys Read", "display_type": "read", "group_name": "API + and Application Keys", "name": "api_keys_read", "restricted": false}}, {"id": + "3e4d4d28-f923-11ea-adbc-e3565938c12e", "type": "permissions", "attributes": + {"created": "2020-09-17T20:20:35.26443Z", "description": "Create and rename + API Keys for your organization.", "display_name": "API Keys Write", "display_type": + "write", "group_name": "API and Application Keys", "name": "api_keys_write", + "restricted": false}}, {"id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", "type": + "permissions", "attributes": {"created": "2020-09-17T20:20:48.446916Z", "description": + "View, search, and use Synthetics global variables.", "display_name": "Synthetics + Global Variable Read", "display_type": "read", "group_name": "Synthetic Monitoring", + "name": "synthetics_global_variable_read", "restricted": false}}, {"id": "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", + "type": "permissions", "attributes": {"created": "2020-09-17T20:20:56.322003Z", + "description": "Create, edit, and delete global variables for Synthetics.", + "display_name": "Synthetics Global Variable Write", "display_type": "write", + "group_name": "Synthetic Monitoring", "name": "synthetics_global_variable_write", + "restricted": false}}, {"id": "5025ee24-f923-11ea-adbc-576ea241df8d", "type": + "permissions", "attributes": {"created": "2020-09-17T20:21:05.205361Z", "description": + "List and view configured Synthetic tests and test results.", "display_name": + "Synthetics Read", "display_type": "read", "group_name": "Synthetic Monitoring", + "name": "synthetics_read", "restricted": false}}, {"id": "55f4b5ec-f923-11ea-adbc-1bfa2334a755", + "type": "permissions", "attributes": {"created": "2020-09-17T20:21:14.94914Z", + "description": "Create, edit, and delete Synthetic tests.", "display_name": + "Synthetics Write", "display_type": "write", "group_name": "Synthetic Monitoring", + "name": "synthetics_write", "restricted": false}}, {"id": "5c6b88e2-f923-11ea-adbc-abf57d079420", + "type": "permissions", "attributes": {"created": "2020-09-17T20:21:25.79416Z", + "description": "View the default settings for Synthetic Monitoring.", "display_name": + "Synthetics Default Settings Read", "display_type": "read", "group_name": + "Synthetic Monitoring", "name": "synthetics_default_settings_read", "restricted": + false}}, {"id": "642eebe6-f923-11ea-adbc-eb617674ea04", "type": "permissions", + "attributes": {"created": "2020-09-17T20:21:38.818771Z", "description": "Edit + the default settings for Synthetic Monitoring.", "display_name": "Synthetics + Default Settings Write", "display_type": "write", "group_name": "Synthetic + Monitoring", "name": "synthetics_default_settings_write", "restricted": false}}, + {"id": "6ba32d22-0e1a-11eb-ba44-bf9a5aafaa39", "type": "permissions", "attributes": + {"created": "2020-10-14T12:40:20.271908Z", "description": "Create or edit + Log Facets.", "display_name": "Logs Write Facets", "display_type": "write", + "group_name": "Log Management", "name": "logs_write_facets", "restricted": + false}}, {"id": "a42e94b2-1476-11eb-bd08-efda28c04248", "type": "permissions", + "attributes": {"created": "2020-10-22T14:55:35.814239Z", "description": "Create, + disable, and use Service Accounts in your organization.", "display_name": + "Service Account Write", "display_type": "write", "group_name": "Access Management", + "name": "service_account_write", "restricted": false}}, {"id": "fcac2ad8-2843-11eb-8315-0fe47949d625", + "type": "permissions", "attributes": {"created": "2020-11-16T19:43:23.198568Z", + "description": "Deprecated. Use the Integrations APIs to configure integrations. + In order to configure integrations from the UI, a user must also have Standard + Access.", "display_name": "Integrations API", "display_type": "other", "group_name": + "Integrations", "name": "integrations_api", "restricted": false}}, {"id": + "417ba636-2dce-11eb-84c0-6bce5b0d9de0", "type": "permissions", "attributes": + {"created": "2020-11-23T20:55:45.00611Z", "description": "Read and query APM + and Trace Analytics.", "display_name": "APM Read", "display_type": "read", + "group_name": "APM", "name": "apm_read", "restricted": true}}, {"id": "43fa188e-2dce-11eb-84c0-835ad1fd6287", + "type": "permissions", "attributes": {"created": "2020-11-23T20:55:49.190595Z", + "description": "Read trace retention filters. A user with this permission + can view the retention filters page, list of filters, their statistics, and + creation info.", "display_name": "APM Retention Filters Read", "display_type": + "read", "group_name": "APM", "name": "apm_retention_filter_read", "restricted": + false}}, {"id": "465cfe66-2dce-11eb-84c0-6baa888239fa", "type": "permissions", + "attributes": {"created": "2020-11-23T20:55:53.194236Z", "description": "Create, + edit, and delete trace retention filters. A user with this permission can + create new retention filters, and update or delete to existing retention filters.", + "display_name": "APM Retention Filters Write", "display_type": "write", "group_name": + "APM", "name": "apm_retention_filter_write", "restricted": false}}, {"id": + "4916eebe-2dce-11eb-84c0-271cb2c672e8", "type": "permissions", "attributes": + {"created": "2020-11-23T20:55:57.768261Z", "description": "Access service + ingestion pages. A user with this permission can view the service ingestion + page, list of root services, their statistics, and creation info.", "display_name": + "APM Service Ingest Read", "display_type": "read", "group_name": "APM", "name": + "apm_service_ingest_read", "restricted": false}}, {"id": "4e3f02b4-2dce-11eb-84c0-2fca946a6efc", + "type": "permissions", "attributes": {"created": "2020-11-23T20:56:06.419518Z", + "description": "Edit service ingestion pages'' root services. A user with + this permission can edit the root service ingestion and generate a code snippet + to increase ingestion per service.", "display_name": "APM Service Ingest Write", + "display_type": "write", "group_name": "APM", "name": "apm_service_ingest_write", + "restricted": false}}, {"id": "53950c54-2dce-11eb-84c0-a79ae108f6f8", "type": + "permissions", "attributes": {"created": "2020-11-23T20:56:15.371926Z", "description": + "Set Apdex T value on any service. A user with this permission can set the + T value from the Apdex graph on the service page.", "display_name": "APM Apdex + Manage Write", "display_type": "write", "group_name": "APM", "name": "apm_apdex_manage_write", + "restricted": false}}, {"id": "5cbe5f9c-2dce-11eb-84c0-872d3e9f1076", "type": + "permissions", "attributes": {"created": "2020-11-23T20:56:30.742299Z", "description": + "Edit second primary tag selection. A user with this permission can modify + the second primary tag dropdown in the APM settings page.", "display_name": + "APM Tag Management Write", "display_type": "write", "group_name": "APM", + "name": "apm_tag_management_write", "restricted": false}}, {"id": "61765026-2dce-11eb-84c0-833e230d1b8f", + "type": "permissions", "attributes": {"created": "2020-11-23T20:56:38.658649Z", + "description": "Edit the operation name value selection. A user with this + permission can modify the operation name list in the APM settings page and + the operation name controller on the service page.", "display_name": "APM + Primary Operation Write", "display_type": "write", "group_name": "APM", "name": + "apm_primary_operation_write", "restricted": false}}, {"id": "04bc1cf2-340a-11eb-873a-43b973c760dd", + "type": "permissions", "attributes": {"created": "2020-12-01T19:18:39.866516Z", + "description": "Configure Audit Trail in your organization.", "display_name": + "Audit Trail Write", "display_type": "write", "group_name": "Compliance", + "name": "audit_logs_write", "restricted": false}}, {"id": "8106300a-54f7-11eb-8cbc-7781a434a67b", + "type": "permissions", "attributes": {"created": "2021-01-12T16:59:16.32448Z", + "description": "Create, edit, and delete RUM applications. Creating a RUM + application automatically generates a Client Token. In order to create Client + Tokens directly, a user needs the Client Tokens Write permission.", "display_name": + "RUM Apps Write", "display_type": "write", "group_name": "Real User Monitoring", + "name": "rum_apps_write", "restricted": false}}, {"id": "edfd5e74-801f-11eb-96d8-da7ad0900002", + "type": "permissions", "attributes": {"created": "2021-03-08T15:06:59.006815Z", + "description": "Edit Dynamic Instrumentation configuration. Create or modify + Dynamic Instrumentation probes that do not capture function state.", "display_name": + "Dynamic Instrumentation Write", "display_type": "write", "group_name": "APM", + "name": "debugger_write", "restricted": false}}, {"id": "edfd5e75-801f-11eb-96d8-da7ad0900002", + "type": "permissions", "attributes": {"created": "2021-03-08T15:06:59.010517Z", + "description": "View Dynamic Instrumentation configuration.", "display_name": + "Dynamic Instrumentation Read", "display_type": "read", "group_name": "APM", + "name": "debugger_read", "restricted": false}}, {"id": "bf0dcf7c-90af-11eb-9b82-da7ad0900002", + "type": "permissions", "attributes": {"created": "2021-03-29T16:56:46.394971Z", + "description": "View Data Scanner configurations.", "display_name": "Data + Scanner Read", "display_type": "read", "group_name": "Compliance", "name": + "data_scanner_read", "restricted": false}}, {"id": "bf0dcf7d-90af-11eb-9b82-da7ad0900002", + "type": "permissions", "attributes": {"created": "2021-03-29T16:56:46.398584Z", + "description": "Edit Data Scanner configurations.", "display_name": "Data + Scanner Write", "display_type": "write", "group_name": "Compliance", "name": + "data_scanner_write", "restricted": false}}, {"id": "7df222b6-a45c-11eb-a0af-da7ad0900002", + "type": "permissions", "attributes": {"created": "2021-04-23T17:51:12.18734Z", + "description": "Edit org configurations, including authentication and certain + security preferences such as configuring SAML, renaming an org, configuring + allowed login methods, creating child orgs, subscribing & unsubscribing from + apps in the marketplace, and enabling & disabling Remote Configuration for + the entire organization.", "display_name": "Org Management", "display_type": + "write", "group_name": "Access Management", "name": "org_management", "restricted": + false}}, {"id": "98b984f4-b16d-11eb-a2c6-da7ad0900002", "type": "permissions", + "attributes": {"created": "2021-05-10T08:56:23.676833Z", "description": "Read + Security Filters.", "display_name": "Security Filters Read", "display_type": + "read", "group_name": "Cloud Security Platform", "name": "security_monitoring_filters_read", + "restricted": false}}, {"id": "98b984f5-b16d-11eb-a2c6-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-05-10T08:56:23.680551Z", "description": + "Create, edit, and delete Security Filters.", "display_name": "Security Filters + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "security_monitoring_filters_write", "restricted": false}}, {"id": + "12efc20e-d36c-11eb-a9b8-da7ad0900002", "type": "permissions", "attributes": + {"created": "2021-06-22T15:11:09.255499Z", "description": "View incidents + in Datadog.", "display_name": "Incidents Read", "display_type": "read", "group_name": + "Case and Incident Management", "name": "incident_read", "restricted": true}}, + {"id": "12efc211-d36c-11eb-a9b8-da7ad0900002", "type": "permissions", "attributes": + {"created": "2021-06-22T15:11:09.264369Z", "description": "Create, view, and + manage incidents in Datadog.", "display_name": "Incidents Write", "display_type": + "write", "group_name": "Case and Incident Management", "name": "incident_write", + "restricted": false}}, {"id": "12efc20f-d36c-11eb-a9b8-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-06-22T15:11:09.259568Z", "description": + "View Incident Settings.", "display_name": "Incident Settings Read", "display_type": + "read", "group_name": "Case and Incident Management", "name": "incident_settings_read", + "restricted": false}}, {"id": "12efc210-d36c-11eb-a9b8-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-06-22T15:11:09.261986Z", "description": + "Configure Incident Settings.", "display_name": "Incident Settings Write", + "display_type": "write", "group_name": "Case and Incident Management", "name": + "incident_settings_write", "restricted": false}}, {"id": "97971c1c-e895-11eb-b13c-da7ad0900002", + "type": "permissions", "attributes": {"created": "2021-07-19T13:31:15.595771Z", + "description": "View Application Security Management Event Rules.", "display_name": + "Application Security Management Event Rules Read", "display_type": "read", + "group_name": "Cloud Security Platform", "name": "appsec_event_rule_read", + "restricted": false}}, {"id": "97971c1d-e895-11eb-b13c-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-07-19T13:31:15.598808Z", "description": + "Edit Application Security Management Event Rules.", "display_name": "Application + Security Management Event Rules Write", "display_type": "write", "group_name": + "Cloud Security Platform", "name": "appsec_event_rule_write", "restricted": + false}}, {"id": "7605ef24-f376-11eb-b90b-da7ad0900002", "type": "permissions", + "attributes": {"created": "2021-08-02T09:46:07.671535Z", "description": "View + RUM Applications data.", "display_name": "RUM Apps Read", "display_type": + "read", "group_name": "Real User Monitoring", "name": "rum_apps_read", "restricted": + true}}, {"id": "7605ef25-f376-11eb-b90b-da7ad0900002", "type": "permissions", + "attributes": {"created": "2021-08-02T09:46:07.67464Z", "description": "View + Session Replays.", "display_name": "RUM Session Replay Read", "display_type": + "read", "group_name": "Real User Monitoring", "name": "rum_session_replay_read", + "restricted": false}}, {"id": "c95412b8-16c7-11ec-85c0-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-09-16T08:26:27.366789Z", "description": + "Read Notification Rules.", "display_name": "Security Notification Rules Read", + "display_type": "read", "group_name": "Cloud Security Platform", "name": "security_monitoring_notification_profiles_read", + "restricted": false}}, {"id": "c95412b9-16c7-11ec-85c0-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-09-16T08:26:27.369359Z", "description": + "Create, edit, and delete Notification Rules.", "display_name": "Security + Notification Rules Write", "display_type": "write", "group_name": "Cloud Security + Platform", "name": "security_monitoring_notification_profiles_write", "restricted": + false}}, {"id": "26c79920-1703-11ec-85d2-da7ad0900002", "type": "permissions", + "attributes": {"created": "2021-09-16T15:31:24.458963Z", "description": "Create + custom metrics from spans.", "display_name": "APM Generate Metrics", "display_type": + "write", "group_name": "APM", "name": "apm_generate_metrics", "restricted": + false}}, {"id": "f4473c60-4792-11ec-a27b-da7ad0900002", "type": "permissions", + "attributes": {"created": "2021-11-17T10:41:43.074031Z", "description": "Read + Cloud Workload Security Agent Rules.", "display_name": "Cloud Workload Security + Agent Rules Read", "display_type": "read", "group_name": "Cloud Security Platform", + "name": "security_monitoring_cws_agent_rules_read", "restricted": false}}, + {"id": "f4473c61-4792-11ec-a27b-da7ad0900002", "type": "permissions", "attributes": + {"created": "2021-11-17T10:41:43.077905Z", "description": "Create, edit, and + delete Cloud Workload Security Agent Rules.", "display_name": "Cloud Workload + Security Agent Rules Write", "display_type": "write", "group_name": "Cloud + Security Platform", "name": "security_monitoring_cws_agent_rules_write", "restricted": + false}}, {"id": "020a563c-56a4-11ec-a982-da7ad0900002", "type": "permissions", + "attributes": {"created": "2021-12-06T14:51:35.049129Z", "description": "Add + and change APM pipeline configurations.", "display_name": "APM Pipelines Write", + "display_type": "write", "group_name": "APM", "name": "apm_pipelines_write", + "restricted": false}}, {"id": "8e4d6b6e-5750-11ec-a9f4-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-12-07T11:26:43.807269Z", "description": + "View APM pipeline configurations.", "display_name": "APM Pipelines Read", + "display_type": "read", "group_name": "APM", "name": "apm_pipelines_read", + "restricted": false}}, {"id": "945b3bb4-5884-11ec-aa6d-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-12-09T00:11:38.956827Z", "description": + "View pipelines in your organization.", "display_name": "Pipeline Read", "display_type": + "read", "group_name": "Observability Pipelines", "name": "observability_pipelines_read", + "restricted": false}}, {"id": "945b3bb5-5884-11ec-aa6d-da7ad0900002", "type": + "permissions", "attributes": {"created": "2021-12-09T00:11:38.960833Z", "description": + "Edit pipelines in your organization.", "display_name": "Pipeline Write", + "display_type": "write", "group_name": "Observability Pipelines", "name": + "observability_pipelines_write", "restricted": false}}, {"id": "f6e917a8-8502-11ec-bf20-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-02-03T15:07:12.058412Z", + "description": "View workflows.", "display_name": "Workflows Read", "display_type": + "read", "group_name": "App Builder & Workflow Automation", "name": "workflows_read", + "restricted": false}}, {"id": "f6e917aa-8502-11ec-bf20-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-02-03T15:07:12.061765Z", "description": + "Create, edit, and delete workflows.", "display_name": "Workflows Write", + "display_type": "write", "group_name": "App Builder & Workflow Automation", + "name": "workflows_write", "restricted": false}}, {"id": "f6e917a9-8502-11ec-bf20-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-02-03T15:07:12.060079Z", + "description": "Run workflows.", "display_name": "Workflows Run", "display_type": + "write", "group_name": "App Builder & Workflow Automation", "name": "workflows_run", + "restricted": false}}, {"id": "f6e917a6-8502-11ec-bf20-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-02-03T15:07:12.053432Z", "description": + "List and view available connections. Connections contain secrets that cannot + be revealed.", "display_name": "Connections Read", "display_type": "read", + "group_name": "App Builder & Workflow Automation", "name": "connections_read", + "restricted": false}}, {"id": "f6e917a7-8502-11ec-bf20-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-02-03T15:07:12.05659Z", "description": + "Create and delete connections.", "display_name": "Connections Write", "display_type": + "write", "group_name": "App Builder & Workflow Automation", "name": "connections_write", + "restricted": false}}, {"id": "7a89ec40-8b69-11ec-812d-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-02-11T18:36:08.531989Z", "description": + "Access all private incidents in Datadog, even when not added as a responder.", + "display_name": "Private Incidents Global Access", "display_type": "read", + "group_name": "Case and Incident Management", "name": "incidents_private_global_access", + "restricted": false}}, {"id": "b6bf9ac6-9a59-11ec-8480-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-03-02T18:51:05.04095Z", "description": + "View notebooks.", "display_name": "Notebooks Read", "display_type": "read", + "group_name": "Notebooks", "name": "notebooks_read", "restricted": true}}, + {"id": "b6bf9ac7-9a59-11ec-8480-da7ad0900002", "type": "permissions", "attributes": + {"created": "2022-03-02T18:51:05.044683Z", "description": "Create and change + notebooks.", "display_name": "Notebooks Write", "display_type": "write", "group_name": + "Notebooks", "name": "notebooks_write", "restricted": false}}, {"id": "e35c06b0-966b-11ec-83c9-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-02-25T18:51:06.176019Z", + "description": "Delete data from your Logs, including entire indexes.", "display_name": + "Logs Delete Data", "display_type": "write", "group_name": "Log Management", + "name": "logs_delete_data", "restricted": false}}, {"id": "2108215e-b9b4-11ec-958e-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-04-11T16:26:24.106645Z", + "description": "Create custom metrics from RUM events.", "display_name": "RUM + Generate Metrics", "display_type": "write", "group_name": "Real User Monitoring", + "name": "rum_generate_metrics", "restricted": false}}, {"id": "7b1f5089-c59e-11ec-aa32-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-04-26T20:21:40.285834Z", + "description": "Install, uninstall, and configure integrations.", "display_name": + "Integrations Manage", "display_type": "write", "group_name": "Integrations", + "name": "manage_integrations", "restricted": false}}, {"id": "1afff448-d5e9-11ec-ae37-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-05-17T13:56:09.870985Z", + "description": "Receive notifications and view currently configured notification + settings.", "display_name": "Usage Notifications Read", "display_type": "read", + "group_name": "Billing and Usage", "name": "usage_notifications_read", "restricted": + false}}, {"id": "1afff449-d5e9-11ec-ae37-da7ad0900002", "type": "permissions", + "attributes": {"created": "2022-05-17T13:56:09.876124Z", "description": "Receive + notifications and configure notification settings.", "display_name": "Usage + Notifications Write", "display_type": "write", "group_name": "Billing and + Usage", "name": "usage_notifications_write", "restricted": false}}, {"id": + "6c87d3da-e5c5-11ec-b1d6-da7ad0900002", "type": "permissions", "attributes": + {"created": "2022-06-06T18:21:03.378896Z", "description": "Schedule PDF reports + from a dashboard.", "display_name": "Dashboards Report Write", "display_type": + "write", "group_name": "Dashboards", "name": "generate_dashboard_reports", + "restricted": false}}, {"id": "f8e941cf-e746-11ec-b22d-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-06-08T16:20:55.142591Z", "description": + "View SLOs and status corrections.", "display_name": "SLOs Read", "display_type": + "read", "group_name": "Service Level Objectives", "name": "slos_read", "restricted": + true}}, {"id": "f8e941d0-e746-11ec-b22d-da7ad0900002", "type": "permissions", + "attributes": {"created": "2022-06-08T16:20:55.143869Z", "description": "Create, + edit, and delete SLOs.", "display_name": "SLOs Write", "display_type": "write", + "group_name": "Service Level Objectives", "name": "slos_write", "restricted": + false}}, {"id": "f8e941ce-e746-11ec-b22d-da7ad0900002", "type": "permissions", + "attributes": {"created": "2022-06-08T16:20:55.13941Z", "description": "Apply, + edit, and delete SLO status corrections. A user with this permission can make + status corrections, even if they do not have permission to edit those SLOs.", + "display_name": "SLOs Status Corrections", "display_type": "write", "group_name": + "Service Level Objectives", "name": "slos_corrections", "restricted": false}}, + {"id": "4784b11c-f311-11ec-a5f5-da7ad0900002", "type": "permissions", "attributes": + {"created": "2022-06-23T16:26:48.150556Z", "description": "Create, update, + and delete monitor configuration policies.", "display_name": "Monitor Configuration + Policy Write", "display_type": "write", "group_name": "Monitors", "name": + "monitor_config_policy_write", "restricted": false}}, {"id": "ee68fba9-173a-11ed-b00b-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-08-08T16:55:39.377188Z", + "description": "Add, modify, and delete service catalog definitions when those + definitions are maintained by Datadog.", "display_name": "Service Catalog + Write", "display_type": "write", "group_name": "APM", "name": "apm_service_catalog_write", + "restricted": false}}, {"id": "ee68fba8-173a-11ed-b00b-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-08-08T16:55:39.374377Z", "description": + "View service catalog and service definitions.", "display_name": "Service + Catalog Read", "display_type": "read", "group_name": "APM", "name": "apm_service_catalog_read", + "restricted": false}}, {"id": "5b2c3e28-1761-11ed-b018-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-08-08T21:30:42.723663Z", "description": + "Add and edit forwarding destinations and rules for logs.", "display_name": + "Logs Write Forwarding Rules", "display_type": "write", "group_name": "Log + Management", "name": "logs_write_forwarding_rules", "restricted": false}}, + {"id": "6be119a6-1cd8-11ed-b185-da7ad0900002", "type": "permissions", "attributes": + {"created": "2022-08-15T20:25:36.677197Z", "description": "Deprecated. View + Watchdog Insights.", "display_name": "Watchdog Insights Read", "display_type": + "read", "group_name": "Watchdog", "name": "watchdog_insights_read", "restricted": + false}}, {"id": "36e2a22e-248a-11ed-b405-da7ad0900002", "type": "permissions", + "attributes": {"created": "2022-08-25T15:25:56.32517Z", "description": "Resolve + connections.", "display_name": "Connections Resolve", "display_type": "read", + "group_name": "App Builder & Workflow Automation", "name": "connections_resolve", + "restricted": false}}, {"id": "4ee674f6-55d9-11ed-b10d-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-10-27T09:25:33.834253Z", "description": + "View blocked attackers.", "display_name": "Application Security Management + Protect Read", "display_type": "read", "group_name": "Cloud Security Platform", + "name": "appsec_protect_read", "restricted": false}}, {"id": "4ee7e46c-55d9-11ed-b10e-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-10-27T09:25:33.843656Z", + "description": "Manage blocked attackers.", "display_name": "Application Security + Management Protect Write", "display_type": "write", "group_name": "Cloud Security + Platform", "name": "appsec_protect_write", "restricted": false}}, {"id": "4ee5731c-55d9-11ed-b10b-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-10-27T09:25:33.827076Z", + "description": "View whether Application Security Management has been enabled + or disabled on services via 1-click enablement with Remote Configuration.", + "display_name": "Application Security Management 1-click Enablement Read", + "display_type": "read", "group_name": "Cloud Security Platform", "name": "appsec_activation_read", + "restricted": false}}, {"id": "4ee60688-55d9-11ed-b10c-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-10-27T09:25:33.831383Z", "description": + "Enable or disable Application Security Management on services via 1-click + enablement.", "display_name": "Application Security Management 1-click Enablement + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "appsec_activation_write", "restricted": false}}, {"id": "99474cc2-5a12-11ed-b547-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-11-01T18:25:44.584393Z", + "description": "View and run Apps in App Builder.", "display_name": "Apps + View", "display_type": "write", "group_name": "App Builder & Workflow Automation", + "name": "apps_run", "restricted": false}}, {"id": "9948271e-5a12-11ed-b548-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-11-01T18:25:44.590588Z", + "description": "Create, edit, and delete Apps in App Builder.", "display_name": + "Apps Write", "display_type": "write", "group_name": "App Builder & Workflow + Automation", "name": "apps_write", "restricted": false}}, {"id": "8247acc4-7a4c-11ed-958f-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-12-12T18:40:54.018521Z", + "description": "View Cases.", "display_name": "Cases Read", "display_type": + "read", "group_name": "Case and Incident Management", "name": "cases_read", + "restricted": false}}, {"id": "824851a6-7a4c-11ed-9590-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-12-12T18:40:54.02328Z", "description": + "Create and update cases.", "display_name": "Cases Write", "display_type": + "write", "group_name": "Case and Incident Management", "name": "cases_write", + "restricted": false}}, {"id": "77d5f45e-7a5a-11ed-8abf-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-12-12T20:20:49.450768Z", "description": + "Edit APM Remote Configuration.", "display_name": "APM Remote Configuration + Write", "display_type": "write", "group_name": "APM", "name": "apm_remote_configuration_write", + "restricted": false}}, {"id": "77d55a44-7a5a-11ed-8abe-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-12-12T20:20:49.446298Z", "description": + "View APM Remote Configuration.", "display_name": "APM Remote Configuration + Read", "display_type": "read", "group_name": "APM", "name": "apm_remote_configuration_read", + "restricted": false}}, {"id": "6c5ad874-7aff-11ed-a5cd-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-12-13T16:01:37.149406Z", "description": + "View CI Visibility.", "display_name": "CI Visibility Read", "display_type": + "read", "group_name": "Software Delivery", "name": "ci_visibility_read", "restricted": + true}}, {"id": "6c5c1090-7aff-11ed-a5cf-da7ad0900002", "type": "permissions", + "attributes": {"created": "2022-12-13T16:01:37.157428Z", "description": "Edit + flaky tests and delete Test Services.", "display_name": "CI Visibility Tests + Write", "display_type": "write", "group_name": "Software Delivery", "name": + "ci_visibility_write", "restricted": false}}, {"id": "6c59ae72-7aff-11ed-a5cc-da7ad0900002", + "type": "permissions", "attributes": {"created": "2022-12-13T16:01:37.141217Z", + "description": "Edit CI Provider settings. Manage GitHub accounts and repositories + for enabling CI Visibility and job logs collection.", "display_name": "CI + Provider Settings Write", "display_type": "write", "group_name": "Software + Delivery", "name": "ci_provider_settings_write", "restricted": false}}, {"id": + "6c5b7428-7aff-11ed-a5ce-da7ad0900002", "type": "permissions", "attributes": + {"created": "2022-12-13T16:01:37.153418Z", "description": "Configure CI Visibility + settings. Set a repository default branch, enable GitHub comments, and delete + test services.", "display_name": "CI Visibility Settings Write", "display_type": + "write", "group_name": "Software Delivery", "name": "ci_visibility_settings_write", + "restricted": false}}, {"id": "6c5d0892-7aff-11ed-a5d0-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-12-13T16:01:37.163771Z", "description": + "Enable or disable Intelligent Test Runner.", "display_name": "Intelligent + Test Runner Activation Write", "display_type": "write", "group_name": "Software + Delivery", "name": "intelligent_test_runner_activation_write", "restricted": + false}}, {"id": "6c5de654-7aff-11ed-a5d1-da7ad0900002", "type": "permissions", + "attributes": {"created": "2022-12-13T16:01:37.16943Z", "description": "Edit + Intelligent Test Runner settings, such as modifying ITR excluded branch list.", + "display_name": "Intelligent Test Runner Settings Write", "display_type": + "write", "group_name": "Software Delivery", "name": "intelligent_test_runner_settings_write", + "restricted": false}}, {"id": "c13a2368-7d61-11ed-b5b7-da7ad0900002", "type": + "permissions", "attributes": {"created": "2022-12-16T16:50:32.545882Z", "description": + "View data in Continuous Profiler.", "display_name": "Continuous Profiler + Read", "display_type": "read", "group_name": "APM", "name": "continuous_profiler_read", + "restricted": false}}, {"id": "1d76ecfa-9771-11ed-9c2f-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-01-18T20:45:59.977837Z", "description": + "Manage Teams. Create, delete, rename, and edit metadata of all Teams. To + control Team membership across all Teams, use the User Access Manage permission.", + "display_name": "Teams Manage", "display_type": "write", "group_name": "Teams", + "name": "teams_manage", "restricted": false}}, {"id": "ca6bfb3a-b44f-11ed-adb2-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-02-24T14:30:30.983679Z", + "description": "View CSPM Findings.", "display_name": "Security Monitoring + Findings Read", "display_type": "read", "group_name": "Cloud Security Platform", + "name": "security_monitoring_findings_read", "restricted": false}}, {"id": + "4dc3eec6-b468-11ed-8539-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-02-24T17:25:59.263037Z", "description": "View Incidents + Notification settings.", "display_name": "Incident Notification Settings Read", + "display_type": "read", "group_name": "Case and Incident Management", "name": + "incident_notification_settings_read", "restricted": false}}, {"id": "4dc4094c-b468-11ed-853a-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-02-24T17:25:59.263037Z", + "description": "Configure Incidents Notification settings.", "display_name": + "Incident Notification Settings Write", "display_type": "write", "group_name": + "Case and Incident Management", "name": "incident_notification_settings_write", + "restricted": false}}, {"id": "35dd33ea-ca2e-11ed-bca0-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-03-24T10:25:33.934187Z", "description": + "Edit CI Ingestion Control exclusion filters.", "display_name": "CI Visibility + Ingestion Control Write", "display_type": "write", "group_name": "Software + Delivery", "name": "ci_ingestion_control_write", "restricted": false}}, {"id": + "36bf3d0a-ccc0-11ed-9453-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-03-27T16:55:44.263627Z", "description": "Edit Error Tracking + issues.", "display_name": "Error Tracking Issue Write", "display_type": "write", + "group_name": "Error Tracking", "name": "error_tracking_write", "restricted": + false}}, {"id": "f416f55e-db3f-11ed-8028-da7ad0900002", "type": "permissions", + "attributes": {"created": "2023-04-15T03:45:24.289668Z", "description": "Manage + Watchdog Alerts.", "display_name": "Watchdog Alerts Write", "display_type": + "write", "group_name": "Watchdog", "name": "watchdog_alerts_write", "restricted": + false}}, {"id": "f416b1ac-db3f-11ed-8027-da7ad0900002", "type": "permissions", + "attributes": {"created": "2023-04-15T03:45:24.289668Z", "description": "Modify + Saved Views across all Datadog products.", "display_name": "Saved Views Write", + "display_type": "write", "group_name": "Cross-Product Features", "name": "saved_views_write", + "restricted": false}}, {"id": "4e61a95e-de98-11ed-aa23-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-04-19T09:55:24.976379Z", "description": + "Read Client Tokens. Unlike API keys, client tokens may be exposed client-side + in JavaScript code for web browsers and other clients to send data to Datadog.", + "display_name": "Client Tokens Read", "display_type": "read", "group_name": + "API and Application Keys", "name": "client_tokens_read", "restricted": false}}, + {"id": "4e61ea18-de98-11ed-aa24-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-04-19T09:55:24.976379Z", "description": "Create and edit + Client Tokens. Unlike API keys, client tokens may be exposed client-side in + JavaScript code for web browsers and other clients to send data to Datadog.", + "display_name": "Client Tokens Write", "display_type": "write", "group_name": + "API and Application Keys", "name": "client_tokens_write", "restricted": false}}, + {"id": "a4316eb8-f438-11ed-8af2-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-05-16T22:26:02.839419Z", "description": "Read Event Correlation + Configuration data such as Correlation Rules and Settings.", "display_name": + "Event Correlation Config Read", "display_type": "read", "group_name": "Events", + "name": "event_correlation_config_read", "restricted": false}}, {"id": "a431bf12-f438-11ed-8af3-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-05-16T22:26:02.839419Z", + "description": "Manage Event Correlation Configuration such as Correlation + Rules and Settings.", "display_name": "Event Correlation Config Write", "display_type": + "write", "group_name": "Events", "name": "event_correlation_config_write", + "restricted": false}}, {"id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-05-20T01:20:31.639587Z", "description": + "Manage general event configuration such as API Emails.", "display_name": + "Event Config Write", "display_type": "write", "group_name": "Events", "name": + "event_config_write", "restricted": false}}, {"id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-05-23T22:50:34.532448Z", + "description": "Mute CSPM Findings.", "display_name": "Security Monitoring + Findings Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "security_monitoring_findings_write", "restricted": false}}, {"id": + "a773e3d8-fff2-11ed-965c-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-05-31T20:35:17.490437Z", "description": "View Cloud Cost + pages. This does not restrict access to the cloud cost data source in dashboards + and notebooks.", "display_name": "Cloud Cost Management Read", "display_type": + "read", "group_name": "Cloud Cost Management", "name": "cloud_cost_management_read", + "restricted": false}}, {"id": "a77452c8-fff2-11ed-965d-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-05-31T20:35:17.490437Z", "description": + "Configure cloud cost accounts and global customizations.", "display_name": + "Cloud Cost Management Write", "display_type": "write", "group_name": "Cloud + Cost Management", "name": "cloud_cost_management_write", "restricted": false}}, + {"id": "a51b375a-ff73-11ed-8c18-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-05-31T05:26:07.469293Z", "description": "Add and change + tags on hosts.", "display_name": "Host Tags Write", "display_type": "write", + "group_name": "Metrics", "name": "host_tags_write", "restricted": false}}, + {"id": "61f9891a-0070-11ee-9c3f-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-06-01T11:35:17.513706Z", "description": "Create CI Visibility + pipeline spans using the API.", "display_name": "CI Visibility Pipelines Write", + "display_type": "write", "group_name": "Software Delivery", "name": "ci_visibility_pipelines_write", + "restricted": false}}, {"id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-06-19T17:31:08.295856Z", "description": + "View Quality Gate Rules.", "display_name": "Quality Gate Rules Read", "display_type": + "read", "group_name": "Software Delivery", "name": "quality_gate_rules_read", + "restricted": false}}, {"id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-06-19T17:31:08.295856Z", "description": + "Edit Quality Gate Rules.", "display_name": "Quality Gate Rules Write", "display_type": + "write", "group_name": "Software Delivery", "name": "quality_gate_rules_write", + "restricted": false}}, {"id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-06-23T17:31:34.182629Z", "description": + "Edit metadata on metrics.", "display_name": "Metrics Metadata Write", "display_type": + "write", "group_name": "Metrics", "name": "metrics_metadata_write", "restricted": + false}}, {"id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "type": "permissions", + "attributes": {"created": "2023-06-12T17:51:01.32545Z", "description": "Delete + data from RUM.", "display_name": "RUM Delete Data", "display_type": "write", + "group_name": "Real User Monitoring", "name": "rum_delete_data", "restricted": + false}}, {"id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "type": "permissions", + "attributes": {"created": "2023-06-12T17:51:01.32545Z", "description": "Update + status or assignee of vulnerabilities.", "display_name": "Vulnerability Management + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "appsec_vm_write", "restricted": false}}, {"id": "b1adb5da-0949-11ee-b2c4-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-06-12T17:51:01.32545Z", + "description": "Create or modify Reference Tables.", "display_name": "Reference + Tables Write", "display_type": "write", "group_name": "Reference Tables", + "name": "reference_tables_write", "restricted": false}}, {"id": "0efeff18-1cec-11ee-992d-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-07-07T17:31:08.450865Z", + "description": "Create, update, and delete RUM playlists. Add and remove sessions + from RUM playlists.", "display_name": "RUM Playlist Write", "display_type": + "write", "group_name": "Real User Monitoring", "name": "rum_playlist_write", + "restricted": false}}, {"id": "6c5ce898-21a4-11ee-99ef-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-07-13T17:40:57.140947Z", "description": + "Delete pipelines from your organization.", "display_name": "Pipeline Delete", + "display_type": "write", "group_name": "Observability Pipelines", "name": + "observability_pipelines_delete", "restricted": false}}, {"id": "6c5ce992-21a4-11ee-99f0-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-07-13T17:40:57.140947Z", + "description": "Deploy pipelines in your organization.", "display_name": "Pipeline + Deploy", "display_type": "write", "group_name": "Observability Pipelines", + "name": "observability_pipelines_deploy", "restricted": false}}, {"id": "785177a6-20da-11ee-bed7-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-07-12T17:35:18.858294Z", + "description": "Create custom metrics from processes.", "display_name": "Processes + Generate Metrics", "display_type": "write", "group_name": "Processes", "name": + "processes_generate_metrics", "restricted": false}}, {"id": "7850e390-20da-11ee-bed6-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-07-12T17:35:18.858294Z", + "description": "Delete API Keys for your organization.", "display_name": "API + Keys Delete", "display_type": "write", "group_name": "API and Application + Keys", "name": "api_keys_delete", "restricted": false}}, {"id": "6c5c79b2-21a4-11ee-99ee-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-07-13T17:40:57.140947Z", + "description": "Collect an Agent flare with Fleet Automation.", "display_name": + "Agent Flare Collection", "display_type": "write", "group_name": "Fleet Automation", + "name": "agent_flare_collection", "restricted": false}}, {"id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-07-27T17:36:24.369352Z", + "description": "Manage facets for products other than Log Management, such + as APM Traces. To modify Log Facets, use Logs Write Facets.", "display_name": + "Facets Write", "display_type": "write", "group_name": "Cross-Product Features", + "name": "facets_write", "restricted": false}}, {"id": "de0e73c2-3d23-11ee-aa7d-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-08-17T17:31:15.369551Z", + "description": "Read Rule Suppressions.", "display_name": "Security Suppressions + Read", "display_type": "read", "group_name": "Cloud Security Platform", "name": + "security_monitoring_suppressions_read", "restricted": false}}, {"id": "de0eb666-3d23-11ee-aa7e-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-08-17T17:31:15.369551Z", + "description": "Write Rule Suppressions.", "display_name": "Security Suppressions + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "security_monitoring_suppressions_write", "restricted": false}}, {"id": + "5356dfd2-3dee-11ee-b07b-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-08-18T17:40:30.474557Z", "description": "Edit Static Analysis + settings.", "display_name": "Static Analysis Settings Write", "display_type": + "write", "group_name": "Software Delivery", "name": "static_analysis_settings_write", + "restricted": false}}, {"id": "a8b4d6e8-4ea4-11ee-b482-da7ad0900002", "type": + "permissions", "attributes": {"created": "2023-09-09T00:06:00.708335Z", "description": + "View CD Visibility.", "display_name": "CD Visibility Read", "display_type": + "read", "group_name": "Software Delivery", "name": "cd_visibility_read", "restricted": + true}}, {"id": "263eff86-6925-11ee-acc0-da7ad0900002", "type": "permissions", + "attributes": {"created": "2023-10-12T17:31:17.142666Z", "description": "Write + NDM Netflow port mappings.", "display_name": "NDM Netflow Port Mappings Write", + "display_type": "write", "group_name": "Network Device Monitoring", "name": + "ndm_netflow_port_mappings_write", "restricted": false}}, {"id": "50c270de-69ee-11ee-9151-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-10-13T17:31:17.311029Z", + "description": "View vulnerabilities. This does not restrict access to the + vulnerability data source through the API or inventory SQL.", "display_name": + "Vulnerability Management Read", "display_type": "read", "group_name": "Cloud + Security Platform", "name": "appsec_vm_read", "restricted": true}}, {"id": + "7c7836fc-6f6e-11ee-8cdd-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-10-20T17:31:22.039614Z", "description": "Create or modify + Dynamic Instrumentation probes that capture function state: local variables, + method arguments, fields, and return value or thrown exception.", "display_name": + "Dynamic Instrumentation Capture Variables", "display_type": "write", "group_name": + "APM", "name": "debugger_capture_variables", "restricted": false}}, {"id": + "10098bc8-984b-11ee-9b69-da7ad0900002", "type": "permissions", "attributes": + {"created": "2023-12-11T17:31:05.405902Z", "description": "Disable Error Tracking, + edit inclusion filters, and edit rate limit.", "display_name": "Error Tracking + Settings Write", "display_type": "write", "group_name": "Error Tracking", + "name": "error_tracking_settings_write", "restricted": false}}, {"id": "10091e90-984b-11ee-9b68-da7ad0900002", + "type": "permissions", "attributes": {"created": "2023-12-11T17:31:05.405902Z", + "description": "Add or change Error Tracking exclusion filters.", "display_name": + "Error Tracking Exclusion Filters Write", "display_type": "write", "group_name": + "Error Tracking", "name": "error_tracking_exclusion_filters_write", "restricted": + false}}, {"id": "1b572396-ba15-11ee-9e19-da7ad0900002", "type": "permissions", + "attributes": {"created": "2024-01-23T17:30:31.083178Z", "description": "View + integrations and their configurations.", "display_name": "Integrations Read", + "display_type": "read", "group_name": "Integrations", "name": "integrations_read", + "restricted": false}}, {"id": "bdda759a-c1f0-11ee-b428-da7ad0900002", "type": + "permissions", "attributes": {"created": "2024-02-02T17:30:21.655244Z", "description": + "Add, modify, and delete API catalog definitions.", "display_name": "API Catalog + Write", "display_type": "write", "group_name": "APM", "name": "apm_api_catalog_write", + "restricted": false}}, {"id": "bdda0cea-c1f0-11ee-b427-da7ad0900002", "type": + "permissions", "attributes": {"created": "2024-02-02T17:30:21.655244Z", "description": + "View API catalog and API definitions.", "display_name": "API Catalog Read", + "display_type": "read", "group_name": "APM", "name": "apm_api_catalog_read", + "restricted": false}}, {"id": "27b95c32-ccf1-11ee-ae65-da7ad0900002", "type": + "permissions", "attributes": {"created": "2024-02-16T17:31:02.07009Z", "description": + "Create or edit trend metrics from container images.", "display_name": "Containers + Write Image Trend Metrics", "display_type": "write", "group_name": "Containers", + "name": "containers_generate_image_metrics", "restricted": false}}, {"id": + "a82d01ce-e228-11ee-870e-da7ad0900002", "type": "permissions", "attributes": + {"created": "2024-03-14T17:31:14.314721Z", "description": "Extend the retention + of Session Replays.", "display_name": "RUM Session Replay Extend Retention", + "display_type": "write", "group_name": "Real User Monitoring", "name": "rum_extend_retention", + "restricted": false}}, {"id": "ca06b2b4-f5cd-11ee-9e77-da7ad0900002", "type": + "permissions", "attributes": {"created": "2024-04-08T17:31:10.159381Z", "description": + "Edit the settings for DORA.", "display_name": "DORA Settings Write", "display_type": + "write", "group_name": "Software Delivery", "name": "dora_settings_write", + "restricted": false}}, {"id": "f5f475d4-0197-11ef-be1f-da7ad0900002", "type": + "permissions", "attributes": {"created": "2024-04-23T17:36:04.989467Z", "description": + "Read and query Continuous Profiler data for Profile-Guided Optimization (PGO).", + "display_name": "Read Continuous Profiler Profile-Guided Optimization (PGO) + Data", "display_type": "read", "group_name": "APM", "name": "continuous_profiler_pgo_read", + "restricted": false}}, {"id": "8c3a9cde-0973-11ef-a2be-da7ad0900002", "type": + "permissions", "attributes": {"created": "2024-05-03T17:35:35.030875Z", "description": + "View LLM Observability.", "display_name": "LLM Observability Read", "display_type": + "read", "group_name": "LLM Observability", "name": "llm_observability_read", + "restricted": false}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v2/team/65f966e4-4189-4b52-bff1-ba5f7e572b73 + response: + body: + string: '{"data": {"type": "team", "id": "65f966e4-4189-4b52-bff1-ba5f7e572b73", + "attributes": {"name": "Example team", "summary": "This is the description + of a team", "user_count": 1, "created_at": "2024-02-08T18:49:25.906368+00:00", + "handle": "example-team", "description": "This is the description of a team", + "link_count": 0, "modified_at": "2024-02-08T18:49:25.906373+00:00"}, "relationships": + {"team_links": {"links": {"related": "/api/v2/team/65f966e4-4189-4b52-bff1-ba5f7e572b73/links"}}, + "user_team_permissions": {"links": {"related": "/api/v2/team/65f966e4-4189-4b52-bff1-ba5f7e572b73/permission-settings"}}}}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v2/roles/fa017a37-bfcb-11eb-a4d7-da7ad0900002 + response: + body: + string: '{"data": {"id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002", "type": "roles", + "attributes": {"created_at": "2021-05-28T15:47:16.084615Z", "modified_at": + "2021-05-28T15:47:16.084615Z", "name": "Datadog Read Only Role", "user_count": + 1}, "relationships": {"permissions": {"data": [{"id": "5e605652-dd12-11e8-9e53-375565b8970e", + "type": "permissions"}, {"id": "6f66600e-dd12-11e8-9e55-7f30fbb45e73", "type": + "permissions"}, {"id": "d90f6830-d3d8-11e9-a77a-b3404e5e9ee2", "type": "permissions"}, + {"id": "4441648c-d8b1-11e9-a77a-1b899a04b304", "type": "permissions"}, {"id": + "1af86ce4-7823-11ea-93dc-d7cad1b1c6cb", "type": "permissions"}, {"id": "b382b982-8535-11ea-93de-2bf1bdf20798", + "type": "permissions"}, {"id": "7314eb20-aa58-11ea-95e2-6fb6e4a451d5", "type": + "permissions"}, {"id": "80de1ec0-aa58-11ea-95e2-aff381626d5d", "type": "permissions"}, + {"id": "5025ee24-f923-11ea-adbc-576ea241df8d", "type": "permissions"}, {"id": + "417ba636-2dce-11eb-84c0-6bce5b0d9de0", "type": "permissions"}, {"id": "43fa188e-2dce-11eb-84c0-835ad1fd6287", + "type": "permissions"}, {"id": "4916eebe-2dce-11eb-84c0-271cb2c672e8", "type": + "permissions"}, {"id": "edfd5e75-801f-11eb-96d8-da7ad0900002", "type": "permissions"}, + {"id": "98b984f4-b16d-11eb-a2c6-da7ad0900002", "type": "permissions"}, {"id": + "12efc20e-d36c-11eb-a9b8-da7ad0900002", "type": "permissions"}, {"id": "97971c1c-e895-11eb-b13c-da7ad0900002", + "type": "permissions"}, {"id": "7605ef24-f376-11eb-b90b-da7ad0900002", "type": + "permissions"}, {"id": "7605ef25-f376-11eb-b90b-da7ad0900002", "type": "permissions"}, + {"id": "f4473c60-4792-11ec-a27b-da7ad0900002", "type": "permissions"}, {"id": + "8e4d6b6e-5750-11ec-a9f4-da7ad0900002", "type": "permissions"}, {"id": "945b3bb4-5884-11ec-aa6d-da7ad0900002", + "type": "permissions"}, {"id": "f6e917a8-8502-11ec-bf20-da7ad0900002", "type": + "permissions"}, {"id": "f6e917a6-8502-11ec-bf20-da7ad0900002", "type": "permissions"}, + {"id": "b6bf9ac6-9a59-11ec-8480-da7ad0900002", "type": "permissions"}, {"id": + "f8e941cf-e746-11ec-b22d-da7ad0900002", "type": "permissions"}, {"id": "ee68fba8-173a-11ed-b00b-da7ad0900002", + "type": "permissions"}, {"id": "6be119a6-1cd8-11ed-b185-da7ad0900002", "type": + "permissions"}, {"id": "4ee674f6-55d9-11ed-b10d-da7ad0900002", "type": "permissions"}, + {"id": "4ee5731c-55d9-11ed-b10b-da7ad0900002", "type": "permissions"}, {"id": + "8247acc4-7a4c-11ed-958f-da7ad0900002", "type": "permissions"}, {"id": "6c5ad874-7aff-11ed-a5cd-da7ad0900002", + "type": "permissions"}, {"id": "c13a2368-7d61-11ed-b5b7-da7ad0900002", "type": + "permissions"}, {"id": "4e61a95e-de98-11ed-aa23-da7ad0900002", "type": "permissions"}, + {"id": "a773e3d8-fff2-11ed-965c-da7ad0900002", "type": "permissions"}, {"id": + "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "type": "permissions"}, {"id": "de0e73c2-3d23-11ee-aa7d-da7ad0900002", + "type": "permissions"}, {"id": "a8b4d6e8-4ea4-11ee-b482-da7ad0900002", "type": + "permissions"}, {"id": "50c270de-69ee-11ee-9151-da7ad0900002", "type": "permissions"}, + {"id": "bdda0cea-c1f0-11ee-b427-da7ad0900002", "type": "permissions"}, {"id": + "f5f475d4-0197-11ef-be1f-da7ad0900002", "type": "permissions"}, {"id": "8c3a9cde-0973-11ef-a2be-da7ad0900002", + "type": "permissions"}]}}}}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.datadoghq.eu/api/v2/team?page%5Bnumber%5D=0&page%5Bsize%5D=100 + response: + body: + string: '{"data": [], "meta": {"pagination": {"number": 0, "first_number": 0, + "prev_number": 0, "next_number": 1, "last_number": 0, "size": 100, "type": + "number_size", "total": 0}}, "links": {"self": "https://api.datadoghq.eu/api/v2/team?page%5Bnumber%5D=0&page%5Bsize%5D=100", + "last": null, "next": "https://api.datadoghq.eu/api/v2/team?page[number]=1&page[size]=100", + "prev": null, "first": "https://api.datadoghq.eu/api/v2/team?page[number]=0&page[size]=100"}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.datadoghq.eu/api/v2/roles?page%5Bnumber%5D=0&page%5Bsize%5D=100 + response: + body: + string: '{"data": [{"type": "roles", "id": "3cdfc26c-9e99-11ee-8e21-da7ad0900005", + "attributes": {"name": "Datadog Admin Role", "created_at": "2023-12-19T18:05:48.353537+00:00", + "modified_at": "2024-04-23T17:01:36.800152+00:00", "user_count": 4}, "relationships": + {"permissions": {"data": [{"type": "permissions", "id": "f1666372-d87d-11e8-acac-6be484ba794a"}, + {"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, {"type": + "permissions", "id": "4fbd1e66-dd15-11e8-9308-53cb90e4ef1c"}, {"type": "permissions", + "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5"}, {"type": "permissions", "id": + "4fc2807c-dd15-11e8-9308-d3bfffb7f039"}, {"type": "permissions", "id": "4fc43656-dd15-11e8-9308-f3e2bb5e31b4"}, + {"type": "permissions", "id": "505f4538-dd15-11e8-9308-47a4732f715f"}, {"type": + "permissions", "id": "505fd138-dd15-11e8-9308-afd2db62791e"}, {"type": "permissions", + "id": "06f715e2-aed9-11e9-aac6-eb5723c0dffc"}, {"type": "permissions", "id": + "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", "id": "2149e512-d3d9-11e9-a614-bb8f0dcf0205"}, + {"type": "permissions", "id": "214c10b2-d3d9-11e9-a614-3759c7ad528f"}, {"type": + "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", + "id": "cdc3e3d2-d8b2-11e9-943b-e70db6c573b8"}, {"type": "permissions", "id": + "d3159858-d8b2-11e9-a336-e363d6ef331b"}, {"type": "permissions", "id": "bfafd0ce-7823-11ea-9689-c3e5118805ee"}, + {"type": "permissions", "id": "5de1e178-8536-11ea-968a-2fd9395bff90"}, {"type": + "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f"}, {"type": "permissions", + "id": "dbd71214-aa58-11ea-8f98-d71d49bb1d14"}, {"type": "permissions", "id": + "e0d31696-aa58-11ea-af96-3b02991750c9"}, {"type": "permissions", "id": "60759a94-ff6d-11eb-a4f0-da7ad0900005"}, + {"type": "permissions", "id": "93654d1c-e706-11ea-9a85-d320ff02824d"}, {"type": + "permissions", "id": "999bc3fa-e706-11ea-9a85-3b29fe548c19"}, {"type": "permissions", + "id": "046682c4-ec5c-11ea-9483-2727954feb30"}, {"type": "permissions", "id": + "04668bde-ec5c-11ea-9483-fb6cb6586c6a"}, {"type": "permissions", "id": "04668d0a-ec5c-11ea-9483-37d199df4587"}, + {"type": "permissions", "id": "04668dd2-ec5c-11ea-9483-f7c5fcc9418b"}, {"type": + "permissions", "id": "04668e9a-ec5c-11ea-9483-8f29a8272bdc"}, {"type": "permissions", + "id": "04668f62-ec5c-11ea-9483-0fe541ab993f"}, {"type": "permissions", "id": + "04669020-ec5c-11ea-9483-db5dbf9f0b02"}, {"type": "permissions", "id": "046690de-ec5c-11ea-9483-bbcd905fcdca"}, + {"type": "permissions", "id": "04669192-ec5c-11ea-9483-e375d2a7bddf"}, {"type": + "permissions", "id": "046692fa-ec5c-11ea-9483-d713671ea3a9"}, {"type": "permissions", + "id": "96a0c17a-f7f8-11ea-add4-d3659d81b152"}, {"type": "permissions", "id": + "8b753262-f925-11ea-82fc-93f07fd96e76"}, {"type": "permissions", "id": "9311970e-f925-11ea-ab4d-1760e76381c1"}, + {"type": "permissions", "id": "998aabac-f925-11ea-b43d-8f1f42f3894e"}, {"type": + "permissions", "id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb"}, {"type": "permissions", + "id": "ae2f8fbe-f925-11ea-b51c-67ba7de17f88"}, {"type": "permissions", "id": + "b6858556-f925-11ea-9222-1f47b8677b93"}, {"type": "permissions", "id": "bd5bb850-f925-11ea-a3a2-77cbb581c92a"}, + {"type": "permissions", "id": "ca8897be-f925-11ea-a3a2-d30492cbe671"}, {"type": + "permissions", "id": "cf223140-f925-11ea-a3a2-df370532bcf7"}, {"type": "permissions", + "id": "5e21e4b6-0e1c-11eb-ab24-a3d385baf4ee"}, {"type": "permissions", "id": + "72bc07d8-1472-11eb-a97b-8bff514d7382"}, {"type": "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, + {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a"}, {"type": + "permissions", "id": "c1598bd4-2dce-11eb-9145-5b865e3c112e"}, {"type": "permissions", + "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5"}, {"type": "permissions", "id": + "c8654332-2dce-11eb-9145-d33d26eeb65f"}, {"type": "permissions", "id": "d23cc894-2dce-11eb-9145-37bf7b2dadc2"}, + {"type": "permissions", "id": "da1b47fc-2dce-11eb-9145-5783a37d467c"}, {"type": + "permissions", "id": "e49aeb24-2dce-11eb-9145-6b8664bc9097"}, {"type": "permissions", + "id": "19570d26-3409-11eb-9ac2-ab9b978f6c4a"}, {"type": "permissions", "id": + "37e36580-5440-11eb-91d4-03a23fd3e1d1"}, {"type": "permissions", "id": "f2f1d31a-801f-11eb-9d41-da7ad0900005"}, + {"type": "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005"}, {"type": + "permissions", "id": "b39da144-90af-11eb-9428-da7ad0900005"}, {"type": "permissions", + "id": "b39fb79a-90af-11eb-9428-da7ad0900005"}, {"type": "permissions", "id": + "841ff6cc-a45c-11eb-9fd4-da7ad0900005"}, {"type": "permissions", "id": "99397470-b16d-11eb-a891-da7ad0900005"}, + {"type": "permissions", "id": "993b34d6-b16d-11eb-a891-da7ad0900005"}, {"type": + "permissions", "id": "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", + "id": "123098f2-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": + "122f7508-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": "122ff9c4-d36c-11eb-b2bf-da7ad0900005"}, + {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005"}, {"type": + "permissions", "id": "f07f557a-e894-11eb-ab79-da7ad0900005"}, {"type": "permissions", + "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", "id": + "7ee7941c-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", "id": "c94811de-16c7-11ec-88cc-da7ad0900005"}, + {"type": "permissions", "id": "c948b30a-16c7-11ec-88cc-da7ad0900005"}, {"type": + "permissions", "id": "294580e0-1703-11ec-9b92-da7ad0900005"}, {"type": "permissions", + "id": "f5e054da-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": + "f5e1489a-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": "fc48661c-56a3-11ec-bd5c-da7ad0900005"}, + {"type": "permissions", "id": "cf873174-574f-11ec-9869-da7ad0900005"}, {"type": + "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005"}, {"type": "permissions", + "id": "95ea50d2-5884-11ec-8b3a-da7ad0900005"}, {"type": "permissions", "id": + "e31e0056-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", "id": "e31f0230-8502-11ec-b266-da7ad0900005"}, + {"type": "permissions", "id": "e31e6b54-8502-11ec-b266-da7ad0900005"}, {"type": + "permissions", "id": "e31cca10-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", + "id": "e31d8e28-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", "id": + "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, {"type": "permissions", "id": "c7acc6a6-9a59-11ec-9cd5-da7ad0900005"}, + {"type": "permissions", "id": "f40ff7be-966b-11ec-8253-da7ad0900005"}, {"type": + "permissions", "id": "24d31064-b9b4-11ec-a2af-da7ad0900005"}, {"type": "permissions", + "id": "7fbea6aa-c59e-11ec-90fb-da7ad0900005"}, {"type": "permissions", "id": + "2674a030-d5e9-11ec-aebc-da7ad0900005"}, {"type": "permissions", "id": "26751d30-d5e9-11ec-aebc-da7ad0900005"}, + {"type": "permissions", "id": "b03b5256-e5c4-11ec-a04e-da7ad0900005"}, {"type": + "permissions", "id": "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", + "id": "f340161c-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": + "f33eaf3e-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": "3ad32264-f311-11ec-a058-da7ad0900005"}, + {"type": "permissions", "id": "f42ef088-173a-11ed-8654-da7ad0900005"}, {"type": + "permissions", "id": "f42e4c6e-173a-11ed-8654-da7ad0900005"}, {"type": "permissions", + "id": "5e83a0ca-1761-11ed-9f31-da7ad0900005"}, {"type": "permissions", "id": + "72d1e2fe-1cd8-11ed-a26b-da7ad0900005"}, {"type": "permissions", "id": "4758d632-248a-11ed-817b-da7ad0900005"}, + {"type": "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005"}, {"type": + "permissions", "id": "5defc9e8-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": + "5dee9f64-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": "c0490360-5a12-11ed-adbe-da7ad0900005"}, + {"type": "permissions", "id": "c04a7614-5a12-11ed-adbe-da7ad0900005"}, {"type": + "permissions", "id": "926612da-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", + "id": "9266e93a-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", "id": + "8a79d4c2-7a5a-11ed-a3ad-da7ad0900005"}, {"type": "permissions", "id": "8a78e224-7a5a-11ed-a3ad-da7ad0900005"}, + {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, {"type": + "permissions", "id": "8b276eb6-7aff-11ed-9d0d-da7ad0900005"}, {"type": "permissions", + "id": "8b254e6a-7aff-11ed-9d0d-da7ad0900005"}, {"type": "permissions", "id": + "8b26e284-7aff-11ed-9d0d-da7ad0900005"}, {"type": "permissions", "id": "8b282770-7aff-11ed-9d0d-da7ad0900005"}, + {"type": "permissions", "id": "8b28b686-7aff-11ed-9d0d-da7ad0900005"}, {"type": + "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005"}, {"type": "permissions", + "id": "1535624c-9771-11ed-ad25-da7ad0900005"}, {"type": "permissions", "id": + "d039cfec-b44f-11ed-8db8-da7ad0900005"}, {"type": "permissions", "id": "77ed7a00-b468-11ed-b0f0-da7ad0900005"}, + {"type": "permissions", "id": "77ed87a2-b468-11ed-b0f0-da7ad0900005"}, {"type": + "permissions", "id": "4129ef9a-ca2e-11ed-b1b8-da7ad0900005"}, {"type": "permissions", + "id": "33ee9a80-ccc0-11ed-861a-da7ad0900005"}, {"type": "permissions", "id": + "81e488c0-db35-11ed-a170-da7ad0900005"}, {"type": "permissions", "id": "81e4434c-db35-11ed-a170-da7ad0900005"}, + {"type": "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005"}, {"type": + "permissions", "id": "94c927e8-de87-11ed-9e92-da7ad0900005"}, {"type": "permissions", + "id": "619b2642-f41b-11ed-b4e1-da7ad0900005"}, {"type": "permissions", "id": + "619b8f9c-f41b-11ed-b4e1-da7ad0900005"}, {"type": "permissions", "id": "65eea998-f6a1-11ed-9953-da7ad0900005"}, + {"type": "permissions", "id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005"}, {"type": + "permissions", "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", + "id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "ace5cc0e-ff71-11ed-b518-da7ad0900005"}, {"type": "permissions", "id": "48d8ce74-0065-11ee-9c16-da7ad0900005"}, + {"type": "permissions", "id": "3276c638-0ebe-11ee-9428-da7ad0900005"}, {"type": + "permissions", "id": "3276cf02-0ebe-11ee-9428-da7ad0900005"}, {"type": "permissions", + "id": "ffb0167e-11e1-11ee-8f46-da7ad0900005"}, {"type": "permissions", "id": + "4316b75c-093f-11ee-98e9-da7ad0900005"}, {"type": "permissions", "id": "4316826e-093f-11ee-98e9-da7ad0900005"}, + {"type": "permissions", "id": "4316b5b8-093f-11ee-98e9-da7ad0900005"}, {"type": + "permissions", "id": "13a7297c-1ce3-11ee-b01a-da7ad0900005"}, {"type": "permissions", + "id": "eadf64b2-2199-11ee-9a0e-da7ad0900005"}, {"type": "permissions", "id": + "eadf675a-2199-11ee-9a0e-da7ad0900005"}, {"type": "permissions", "id": "ef44c426-20d0-11ee-83e9-da7ad0900005"}, + {"type": "permissions", "id": "ef44613e-20d0-11ee-83e9-da7ad0900005"}, {"type": + "permissions", "id": "eaded894-2199-11ee-9a0e-da7ad0900005"}, {"type": "permissions", + "id": "55769e70-2c9a-11ee-a7df-da7ad0900005"}, {"type": "permissions", "id": + "ac2c73f8-3d1a-11ee-8f54-da7ad0900005"}, {"type": "permissions", "id": "ac2cf7d8-3d1a-11ee-8f54-da7ad0900005"}, + {"type": "permissions", "id": "e8c17678-3de3-11ee-a66f-da7ad0900005"}, {"type": + "permissions", "id": "94783714-4e9b-11ee-959b-da7ad0900005"}, {"type": "permissions", + "id": "09a13d52-691c-11ee-b7a4-da7ad0900005"}, {"type": "permissions", "id": + "2de35000-69e5-11ee-996b-da7ad0900005"}, {"type": "permissions", "id": "54f38ef0-6f65-11ee-a094-da7ad0900005"}, + {"type": "permissions", "id": "f2cc9374-9841-11ee-a301-da7ad0900005"}, {"type": + "permissions", "id": "f2cbfc5c-9841-11ee-a301-da7ad0900005"}, {"type": "permissions", + "id": "32f12a0a-ba0c-11ee-b34b-da7ad0900005"}, {"type": "permissions", "id": + "bebbe3b2-c1e7-11ee-b9dc-da7ad0900005"}, {"type": "permissions", "id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005"}, + {"type": "permissions", "id": "11280c24-cce8-11ee-af00-da7ad0900005"}, {"type": + "permissions", "id": "9d6b69dc-e21f-11ee-89d1-da7ad0900005"}, {"type": "permissions", + "id": "ae9c303e-f5c4-11ee-b3e7-da7ad0900005"}, {"type": "permissions", "id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005"}, {"type": "permissions", "id": "e120d4c0-0969-11ef-965e-da7ad0900005"}]}}}], + "meta": {"page": {"total_count": 1, "total_filtered_count": 1}}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: null + headers: + Content-Type: + - application/json + method: GET + uri: https://api.datadoghq.eu/api/v2/permissions + response: + body: + string: '{"data": [{"id": "f1624684-d87d-11e8-acac-efb4dbffab1c", "type": "permissions", + "attributes": {"created": "2018-10-25T17:46:46.704903Z", "description": "Deprecated. + Privileged Access (also known as Admin permission) has been replaced by more + specific permissions: Access Management, Org Management, Billing Read/Write, + Usage Read/Write.", "display_name": "Privileged Access", "display_type": "other", + "group_name": "General", "name": "admin", "restricted": false}}, {"id": "f1666372-d87d-11e8-acac-6be484ba794a", + "type": "permissions", "attributes": {"created": "2018-10-25T17:46:46.73281Z", + "description": "Deprecated. Standard Access has been replaced by more specific + permissions.", "display_name": "Standard Access", "display_type": "other", + "group_name": "General", "name": "standard", "restricted": false}}, {"id": + "4fbb1652-dd15-11e8-9308-77be61fbb2c7", "type": "permissions", "attributes": + {"created": "2018-10-31T14:00:23.650159Z", "description": "Read log data, + possibly scoped to one or more indexes. In order to read log data, a user + must have both this permission and Logs Read Data. This permission can be + granted in a limited capacity per index from the Logs interface or APIs. If + granted via the Roles interface or API the permission has global scope. Restrictions + are limited to the Log Management product.", "display_name": "Logs Read Index + Data", "display_type": "read", "group_name": "Log Management", "name": "logs_read_index_data", + "restricted": false}}, {"id": "4fbd1e66-dd15-11e8-9308-53cb90e4ef1c", "type": + "permissions", "attributes": {"created": "2018-10-31T14:00:23.664332Z", "description": + "Read and modify all indexes in your account. This includes the ability to + grant the Logs Read Index Data and Logs Write Exclusion Filters permission + to other roles, for some or all indexes.", "display_name": "Logs Modify Indexes", + "display_type": "write", "group_name": "Log Management", "name": "logs_modify_indexes", + "restricted": false}}, {"id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5", "type": + "permissions", "attributes": {"created": "2018-10-31T14:00:23.67618Z", "description": + "View the live tail feed for all log indexes, even if otherwise specifically + restricted.", "display_name": "Logs Live Tail", "display_type": "read", "group_name": + "Log Management", "name": "logs_live_tail", "restricted": false}}, {"id": + "4fc2807c-dd15-11e8-9308-d3bfffb7f039", "type": "permissions", "attributes": + {"created": "2018-10-31T14:00:23.699543Z", "description": "Add and change + exclusion filters for all or some log indexes. Can be granted in a limited + capacity per index to specific roles via the Logs interface or API. If granted + from the Roles interface or API, the permission has global scope.", "display_name": + "Logs Write Exclusion Filters", "display_type": "write", "group_name": "Log + Management", "name": "logs_write_exclusion_filters", "restricted": false}}, + {"id": "4fc43656-dd15-11e8-9308-f3e2bb5e31b4", "type": "permissions", "attributes": + {"created": "2018-10-31T14:00:23.710821Z", "description": "Add and change + log pipeline configurations, including the ability to grant the Logs Write + Processors permission to other roles, for some or all pipelines.", "display_name": + "Logs Write Pipelines", "display_type": "write", "group_name": "Log Management", + "name": "logs_write_pipelines", "restricted": false}}, {"id": "505f4538-dd15-11e8-9308-47a4732f715f", + "type": "permissions", "attributes": {"created": "2018-10-31T14:00:24.726927Z", + "description": "Add and change some or all log processor configurations. Can + be granted in a limited capacity per pipeline to specific roles via the Logs + interface or API. If granted via the Roles interface or API the permission + has global scope.", "display_name": "Logs Write Processors", "display_type": + "write", "group_name": "Log Management", "name": "logs_write_processors", + "restricted": false}}, {"id": "505fd138-dd15-11e8-9308-afd2db62791e", "type": + "permissions", "attributes": {"created": "2018-10-31T14:00:24.73057Z", "description": + "Add and edit Log Archives.", "display_name": "Logs Write Archives", "display_type": + "write", "group_name": "Log Management", "name": "logs_write_archives", "restricted": + false}}, {"id": "06f715e2-aed9-11e9-aac6-eb5723c0dffc", "type": "permissions", + "attributes": {"created": "2019-07-25T12:37:55.949477Z", "description": "Create + custom metrics from logs.", "display_name": "Logs Generate Metrics", "display_type": + "write", "group_name": "Log Management", "name": "logs_generate_metrics", + "restricted": false}}, {"id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee", "type": + "permissions", "attributes": {"created": "2019-09-10T14:41:53.120685Z", "description": + "View dashboards.", "display_name": "Dashboards Read", "display_type": "read", + "group_name": "Dashboards", "name": "dashboards_read", "restricted": true}}, + {"id": "2149e512-d3d9-11e9-a614-bb8f0dcf0205", "type": "permissions", "attributes": + {"created": "2019-09-10T14:41:53.136336Z", "description": "Create and change + dashboards.", "display_name": "Dashboards Write", "display_type": "write", + "group_name": "Dashboards", "name": "dashboards_write", "restricted": false}}, + {"id": "214c10b2-d3d9-11e9-a614-3759c7ad528f", "type": "permissions", "attributes": + {"created": "2019-09-10T14:41:53.150548Z", "description": "Generate public + and authenticated links to share dashboards or embeddable graphs externally.", + "display_name": "Dashboards Public Share", "display_type": "write", "group_name": + "Dashboards", "name": "dashboards_public_share", "restricted": false}}, {"id": + "c898551e-d8b2-11e9-a336-e3a79c23bd8d", "type": "permissions", "attributes": + {"created": "2019-09-16T18:49:59.270746Z", "description": "View monitors.", + "display_name": "Monitors Read", "display_type": "read", "group_name": "Monitors", + "name": "monitors_read", "restricted": true}}, {"id": "cdc3e3d2-d8b2-11e9-943b-e70db6c573b8", + "type": "permissions", "attributes": {"created": "2019-09-16T18:50:07.944781Z", + "description": "Edit and delete individual monitors.", "display_name": "Monitors + Write", "display_type": "write", "group_name": "Monitors", "name": "monitors_write", + "restricted": false}}, {"id": "d3159858-d8b2-11e9-a336-e363d6ef331b", "type": + "permissions", "attributes": {"created": "2019-09-16T18:50:16.869407Z", "description": + "Set downtimes to suppress alerts from any monitor in an organization. Mute + and unmute monitors. The ability to write monitors is not required to set + downtimes.", "display_name": "Manage Downtimes", "display_type": "write", + "group_name": "Monitors", "name": "monitors_downtime", "restricted": false}}, + {"id": "bfafd0ce-7823-11ea-9689-c3e5118805ee", "type": "permissions", "attributes": + {"created": "2020-04-06T16:29:12.337169Z", "description": "Read log data. + In order to read log data, a user must have both this permission and Logs + Read Index Data. This permission can be restricted with restriction queries. + Restrictions are limited to the Log Management product.", "display_name": + "Logs Read Data", "display_type": "read", "group_name": "Log Management", + "name": "logs_read_data", "restricted": false}}, {"id": "5de1e178-8536-11ea-968a-2fd9395bff90", + "type": "permissions", "attributes": {"created": "2020-04-23T07:45:13.801938Z", + "description": "Read Log Archives location and use it for rehydration.", "display_name": + "Logs Read Archives", "display_type": "read", "group_name": "Log Management", + "name": "logs_read_archives", "restricted": false}}, {"id": "d68dc046-aa58-11ea-8f98-3f18bf50279f", + "type": "permissions", "attributes": {"created": "2020-06-09T13:55:12.166762Z", + "description": "Read Detection Rules.", "display_name": "Security Rules Read", + "display_type": "read", "group_name": "Cloud Security Platform", "name": "security_monitoring_rules_read", + "restricted": false}}, {"id": "dbd71214-aa58-11ea-8f98-d71d49bb1d14", "type": + "permissions", "attributes": {"created": "2020-06-09T13:55:21.036857Z", "description": + "Create and edit Detection Rules.", "display_name": "Security Rules Write", + "display_type": "write", "group_name": "Cloud Security Platform", "name": + "security_monitoring_rules_write", "restricted": false}}, {"id": "e0d31696-aa58-11ea-af96-3b02991750c9", + "type": "permissions", "attributes": {"created": "2020-06-09T13:55:29.398066Z", + "description": "View Security Signals.", "display_name": "Security Signals + Read", "display_type": "read", "group_name": "Cloud Security Platform", "name": + "security_monitoring_signals_read", "restricted": false}}, {"id": "60759a94-ff6d-11eb-a4f0-da7ad0900005", + "type": "permissions", "attributes": {"created": "2021-08-17T15:11:19.976019Z", + "description": "Modify Security Signals.", "display_name": "Security Signals + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "security_monitoring_signals_write", "restricted": false}}, {"id": + "93654d1c-e706-11ea-9a85-d320ff02824d", "type": "permissions", "attributes": + {"created": "2020-08-25T19:10:01.692112Z", "description": "Invite other users + to your organization.", "display_name": "User Access Invite", "display_type": + "write", "group_name": "Access Management", "name": "user_access_invite", + "restricted": false}}, {"id": "999bc3fa-e706-11ea-9a85-3b29fe548c19", "type": + "permissions", "attributes": {"created": "2020-08-25T19:10:12.116164Z", "description": + "Disable users, manage user roles, manage SAML-to-role mappings, and configure + logs restriction queries.", "display_name": "User Access Manage", "display_type": + "write", "group_name": "Access Management", "name": "user_access_manage", + "restricted": false}}, {"id": "046682c4-ec5c-11ea-9483-2727954feb30", "type": + "permissions", "attributes": {"created": "2020-09-01T14:04:14.317866Z", "description": + "View and manage Application Keys owned by the user.", "display_name": "User + App Keys", "display_type": "write", "group_name": "API and Application Keys", + "name": "user_app_keys", "restricted": false}}, {"id": "04668bde-ec5c-11ea-9483-fb6cb6586c6a", + "type": "permissions", "attributes": {"created": "2020-09-01T14:04:14.317866Z", + "description": "View Application Keys owned by all users in the organization.", + "display_name": "Org App Keys Read", "display_type": "read", "group_name": + "API and Application Keys", "name": "org_app_keys_read", "restricted": false}}, + {"id": "04668d0a-ec5c-11ea-9483-37d199df4587", "type": "permissions", "attributes": + {"created": "2020-09-01T14:04:14.317866Z", "description": "Manage Application + Keys owned by all users in the organization.", "display_name": "Org App Keys + Write", "display_type": "write", "group_name": "API and Application Keys", + "name": "org_app_keys_write", "restricted": false}}, {"id": "04668dd2-ec5c-11ea-9483-f7c5fcc9418b", + "type": "permissions", "attributes": {"created": "2020-09-01T14:04:14.317866Z", + "description": "View, search, and use Synthetics private locations.", "display_name": + "Synthetics Private Locations Read", "display_type": "read", "group_name": + "Synthetic Monitoring", "name": "synthetics_private_location_read", "restricted": + false}}, {"id": "04668e9a-ec5c-11ea-9483-8f29a8272bdc", "type": "permissions", + "attributes": {"created": "2020-09-01T14:04:14.317866Z", "description": "Create + and delete private locations in addition to having access to the associated + installation guidelines.", "display_name": "Synthetics Private Locations Write", + "display_type": "write", "group_name": "Synthetic Monitoring", "name": "synthetics_private_location_write", + "restricted": false}}, {"id": "04668f62-ec5c-11ea-9483-0fe541ab993f", "type": + "permissions", "attributes": {"created": "2020-09-01T14:04:14.317866Z", "description": + "View your organization''s subscription and payment method but not make edits.", + "display_name": "Billing Read", "display_type": "read", "group_name": "Billing + and Usage", "name": "billing_read", "restricted": false}}, {"id": "04669020-ec5c-11ea-9483-db5dbf9f0b02", + "type": "permissions", "attributes": {"created": "2020-09-01T14:04:14.317866Z", + "description": "Manage your organization''s subscription and payment method.", + "display_name": "Billing Edit", "display_type": "write", "group_name": "Billing + and Usage", "name": "billing_edit", "restricted": false}}, {"id": "046690de-ec5c-11ea-9483-bbcd905fcdca", + "type": "permissions", "attributes": {"created": "2020-09-01T14:04:14.317866Z", + "description": "View your organization''s usage and usage attribution.", "display_name": + "Usage Read", "display_type": "read", "group_name": "Billing and Usage", "name": + "usage_read", "restricted": false}}, {"id": "04669192-ec5c-11ea-9483-e375d2a7bddf", + "type": "permissions", "attributes": {"created": "2020-09-01T14:04:14.317866Z", + "description": "Manage your organization''s usage attribution set-up.", "display_name": + "Usage Edit", "display_type": "write", "group_name": "Billing and Usage", + "name": "usage_edit", "restricted": false}}, {"id": "046692fa-ec5c-11ea-9483-d713671ea3a9", + "type": "permissions", "attributes": {"created": "2020-09-01T14:04:14.317866Z", + "description": "Edit and save tag configurations for custom metrics.", "display_name": + "Metric Tags Write", "display_type": "write", "group_name": "Metrics", "name": + "metric_tags_write", "restricted": false}}, {"id": "96a0c17a-f7f8-11ea-add4-d3659d81b152", + "type": "permissions", "attributes": {"created": "2020-09-16T08:42:43.92808Z", + "description": "Rehydrate logs from Archives.", "display_name": "Logs Write + Historical Views", "display_type": "write", "group_name": "Log Management", + "name": "logs_write_historical_view", "restricted": false}}, {"id": "8b753262-f925-11ea-82fc-93f07fd96e76", + "type": "permissions", "attributes": {"created": "2020-09-17T20:37:03.702585Z", + "description": "View Audit Trail in your organization.", "display_name": "Audit + Trail Read", "display_type": "read", "group_name": "Compliance", "name": "audit_logs_read", + "restricted": false}}, {"id": "9311970e-f925-11ea-ab4d-1760e76381c1", "type": + "permissions", "attributes": {"created": "2020-09-17T20:37:16.471514Z", "description": + "List and retrieve the key values of all API Keys in your organization.", + "display_name": "API Keys Read", "display_type": "read", "group_name": "API + and Application Keys", "name": "api_keys_read", "restricted": false}}, {"id": + "998aabac-f925-11ea-b43d-8f1f42f3894e", "type": "permissions", "attributes": + {"created": "2020-09-17T20:37:27.331389Z", "description": "Create and rename + API Keys for your organization.", "display_name": "API Keys Write", "display_type": + "write", "group_name": "API and Application Keys", "name": "api_keys_write", + "restricted": false}}, {"id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb", "type": + "permissions", "attributes": {"created": "2020-09-17T20:37:50.165103Z", "description": + "View, search, and use Synthetics global variables.", "display_name": "Synthetics + Global Variable Read", "display_type": "read", "group_name": "Synthetic Monitoring", + "name": "synthetics_global_variable_read", "restricted": false}}, {"id": "ae2f8fbe-f925-11ea-b51c-67ba7de17f88", + "type": "permissions", "attributes": {"created": "2020-09-17T20:38:01.96623Z", + "description": "Create, edit, and delete global variables for Synthetics.", + "display_name": "Synthetics Global Variable Write", "display_type": "write", + "group_name": "Synthetic Monitoring", "name": "synthetics_global_variable_write", + "restricted": false}}, {"id": "b6858556-f925-11ea-9222-1f47b8677b93", "type": + "permissions", "attributes": {"created": "2020-09-17T20:38:15.951574Z", "description": + "List and view configured Synthetic tests and test results.", "display_name": + "Synthetics Read", "display_type": "read", "group_name": "Synthetic Monitoring", + "name": "synthetics_read", "restricted": false}}, {"id": "bd5bb850-f925-11ea-a3a2-77cbb581c92a", + "type": "permissions", "attributes": {"created": "2020-09-17T20:38:27.421632Z", + "description": "Create, edit, and delete Synthetic tests.", "display_name": + "Synthetics Write", "display_type": "write", "group_name": "Synthetic Monitoring", + "name": "synthetics_write", "restricted": false}}, {"id": "ca8897be-f925-11ea-a3a2-d30492cbe671", + "type": "permissions", "attributes": {"created": "2020-09-17T20:38:49.527477Z", + "description": "View the default settings for Synthetic Monitoring.", "display_name": + "Synthetics Default Settings Read", "display_type": "read", "group_name": + "Synthetic Monitoring", "name": "synthetics_default_settings_read", "restricted": + false}}, {"id": "cf223140-f925-11ea-a3a2-df370532bcf7", "type": "permissions", + "attributes": {"created": "2020-09-17T20:38:57.244987Z", "description": "Edit + the default settings for Synthetic Monitoring.", "display_name": "Synthetics + Default Settings Write", "display_type": "write", "group_name": "Synthetic + Monitoring", "name": "synthetics_default_settings_write", "restricted": false}}, + {"id": "5e21e4b6-0e1c-11eb-ab24-a3d385baf4ee", "type": "permissions", "attributes": + {"created": "2020-10-14T12:54:16.607129Z", "description": "Create or edit + Log Facets.", "display_name": "Logs Write Facets", "display_type": "write", + "group_name": "Log Management", "name": "logs_write_facets", "restricted": + false}}, {"id": "72bc07d8-1472-11eb-a97b-8bff514d7382", "type": "permissions", + "attributes": {"created": "2020-10-22T14:25:34.868208Z", "description": "Create, + disable, and use Service Accounts in your organization.", "display_name": + "Service Account Write", "display_type": "write", "group_name": "Access Management", + "name": "service_account_write", "restricted": false}}, {"id": "1ad6fd30-2844-11eb-a18d-5f72a244f27a", + "type": "permissions", "attributes": {"created": "2020-11-16T19:44:13.810028Z", + "description": "Deprecated. Use the Integrations APIs to configure integrations. + In order to configure integrations from the UI, a user must also have Standard + Access.", "display_name": "Integrations API", "display_type": "other", "group_name": + "Integrations", "name": "integrations_api", "restricted": false}}, {"id": + "b7706de0-2dce-11eb-9145-775e4a0d889a", "type": "permissions", "attributes": + {"created": "2020-11-23T20:59:02.902692Z", "description": "Read and query + APM and Trace Analytics.", "display_name": "APM Read", "display_type": "read", + "group_name": "APM", "name": "apm_read", "restricted": true}}, {"id": "bcc2fb14-2dce-11eb-9145-9b27b816190a", + "type": "permissions", "attributes": {"created": "2020-11-23T20:59:11.833795Z", + "description": "Read trace retention filters. A user with this permission + can view the retention filters page, list of filters, their statistics, and + creation info.", "display_name": "APM Retention Filters Read", "display_type": + "read", "group_name": "APM", "name": "apm_retention_filter_read", "restricted": + false}}, {"id": "c1598bd4-2dce-11eb-9145-5b865e3c112e", "type": "permissions", + "attributes": {"created": "2020-11-23T20:59:19.531425Z", "description": "Create, + edit, and delete trace retention filters. A user with this permission can + create new retention filters, and update or delete to existing retention filters.", + "display_name": "APM Retention Filters Write", "display_type": "write", "group_name": + "APM", "name": "apm_retention_filter_write", "restricted": false}}, {"id": + "c52a6ed6-2dce-11eb-9145-1399370e8bf5", "type": "permissions", "attributes": + {"created": "2020-11-23T20:59:25.933546Z", "description": "Access service + ingestion pages. A user with this permission can view the service ingestion + page, list of root services, their statistics, and creation info.", "display_name": + "APM Service Ingest Read", "display_type": "read", "group_name": "APM", "name": + "apm_service_ingest_read", "restricted": false}}, {"id": "c8654332-2dce-11eb-9145-d33d26eeb65f", + "type": "permissions", "attributes": {"created": "2020-11-23T20:59:31.352238Z", + "description": "Edit service ingestion pages'' root services. A user with + this permission can edit the root service ingestion and generate a code snippet + to increase ingestion per service.", "display_name": "APM Service Ingest Write", + "display_type": "write", "group_name": "APM", "name": "apm_service_ingest_write", + "restricted": false}}, {"id": "d23cc894-2dce-11eb-9145-37bf7b2dadc2", "type": + "permissions", "attributes": {"created": "2020-11-23T20:59:47.864214Z", "description": + "Set Apdex T value on any service. A user with this permission can set the + T value from the Apdex graph on the service page.", "display_name": "APM Apdex + Manage Write", "display_type": "write", "group_name": "APM", "name": "apm_apdex_manage_write", + "restricted": false}}, {"id": "da1b47fc-2dce-11eb-9145-5783a37d467c", "type": + "permissions", "attributes": {"created": "2020-11-23T21:00:01.066421Z", "description": + "Edit second primary tag selection. A user with this permission can modify + the second primary tag dropdown in the APM settings page.", "display_name": + "APM Tag Management Write", "display_type": "write", "group_name": "APM", + "name": "apm_tag_management_write", "restricted": false}}, {"id": "e49aeb24-2dce-11eb-9145-6b8664bc9097", + "type": "permissions", "attributes": {"created": "2020-11-23T21:00:18.680068Z", + "description": "Edit the operation name value selection. A user with this + permission can modify the operation name list in the APM settings page and + the operation name controller on the service page.", "display_name": "APM + Primary Operation Write", "display_type": "write", "group_name": "APM", "name": + "apm_primary_operation_write", "restricted": false}}, {"id": "19570d26-3409-11eb-9ac2-ab9b978f6c4a", + "type": "permissions", "attributes": {"created": "2020-12-01T19:12:04.940111Z", + "description": "Configure Audit Trail in your organization.", "display_name": + "Audit Trail Write", "display_type": "write", "group_name": "Compliance", + "name": "audit_logs_write", "restricted": false}}, {"id": "37e36580-5440-11eb-91d4-03a23fd3e1d1", + "type": "permissions", "attributes": {"created": "2021-01-11T19:07:15.721075Z", + "description": "Create, edit, and delete RUM applications. Creating a RUM + application automatically generates a Client Token. In order to create Client + Tokens directly, a user needs the Client Tokens Write permission.", "display_name": + "RUM Apps Write", "display_type": "write", "group_name": "Real User Monitoring", + "name": "rum_apps_write", "restricted": false}}, {"id": "f2f1d31a-801f-11eb-9d41-da7ad0900005", + "type": "permissions", "attributes": {"created": "2021-03-08T15:07:07.319753Z", + "description": "Edit Dynamic Instrumentation configuration. Create or modify + Dynamic Instrumentation probes that do not capture function state.", "display_name": + "Dynamic Instrumentation Write", "display_type": "write", "group_name": "APM", + "name": "debugger_write", "restricted": false}}, {"id": "f2f3d048-801f-11eb-9d41-da7ad0900005", + "type": "permissions", "attributes": {"created": "2021-03-08T15:07:07.333513Z", + "description": "View Dynamic Instrumentation configuration.", "display_name": + "Dynamic Instrumentation Read", "display_type": "read", "group_name": "APM", + "name": "debugger_read", "restricted": false}}, {"id": "b39da144-90af-11eb-9428-da7ad0900005", + "type": "permissions", "attributes": {"created": "2021-03-29T16:56:27.205044Z", + "description": "View Data Scanner configurations.", "display_name": "Data + Scanner Read", "display_type": "read", "group_name": "Compliance", "name": + "data_scanner_read", "restricted": false}}, {"id": "b39fb79a-90af-11eb-9428-da7ad0900005", + "type": "permissions", "attributes": {"created": "2021-03-29T16:56:27.219481Z", + "description": "Edit Data Scanner configurations.", "display_name": "Data + Scanner Write", "display_type": "write", "group_name": "Compliance", "name": + "data_scanner_write", "restricted": false}}, {"id": "841ff6cc-a45c-11eb-9fd4-da7ad0900005", + "type": "permissions", "attributes": {"created": "2021-04-23T17:51:22.555499Z", + "description": "Edit org configurations, including authentication and certain + security preferences such as configuring SAML, renaming an org, configuring + allowed login methods, creating child orgs, subscribing & unsubscribing from + apps in the marketplace, and enabling & disabling Remote Configuration for + the entire organization.", "display_name": "Org Management", "display_type": + "write", "group_name": "Access Management", "name": "org_management", "restricted": + false}}, {"id": "99397470-b16d-11eb-a891-da7ad0900005", "type": "permissions", + "attributes": {"created": "2021-05-10T08:56:24.514661Z", "description": "Read + Security Filters.", "display_name": "Security Filters Read", "display_type": + "read", "group_name": "Cloud Security Platform", "name": "security_monitoring_filters_read", + "restricted": false}}, {"id": "993b34d6-b16d-11eb-a891-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-05-10T08:56:24.527411Z", "description": + "Create, edit, and delete Security Filters.", "display_name": "Security Filters + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "security_monitoring_filters_write", "restricted": false}}, {"id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005", "type": "permissions", "attributes": + {"created": "2021-06-22T15:11:07.986072Z", "description": "View incidents + in Datadog.", "display_name": "Incidents Read", "display_type": "read", "group_name": + "Case and Incident Management", "name": "incident_read", "restricted": true}}, + {"id": "123098f2-d36c-11eb-b2bf-da7ad0900005", "type": "permissions", "attributes": + {"created": "2021-06-22T15:11:08.003239Z", "description": "Create, view, and + manage incidents in Datadog.", "display_name": "Incidents Write", "display_type": + "write", "group_name": "Case and Incident Management", "name": "incident_write", + "restricted": false}}, {"id": "122f7508-d36c-11eb-b2bf-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-06-22T15:11:07.995787Z", "description": + "View Incident Settings.", "display_name": "Incident Settings Read", "display_type": + "read", "group_name": "Case and Incident Management", "name": "incident_settings_read", + "restricted": false}}, {"id": "122ff9c4-d36c-11eb-b2bf-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-06-22T15:11:07.999194Z", "description": + "Configure Incident Settings.", "display_name": "Incident Settings Write", + "display_type": "write", "group_name": "Case and Incident Management", "name": + "incident_settings_write", "restricted": false}}, {"id": "f07e4234-e894-11eb-ab79-da7ad0900005", + "type": "permissions", "attributes": {"created": "2021-07-19T13:26:35.252432Z", + "description": "View Application Security Management Event Rules.", "display_name": + "Application Security Management Event Rules Read", "display_type": "read", + "group_name": "Cloud Security Platform", "name": "appsec_event_rule_read", + "restricted": false}}, {"id": "f07f557a-e894-11eb-ab79-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-07-19T13:26:35.260787Z", "description": + "Edit Application Security Management Event Rules.", "display_name": "Application + Security Management Event Rules Write", "display_type": "write", "group_name": + "Cloud Security Platform", "name": "appsec_event_rule_write", "restricted": + false}}, {"id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005", "type": "permissions", + "attributes": {"created": "2021-08-02T09:46:22.567371Z", "description": "View + RUM Applications data.", "display_name": "RUM Apps Read", "display_type": + "read", "group_name": "Real User Monitoring", "name": "rum_apps_read", "restricted": + true}}, {"id": "7ee7941c-f376-11eb-a5a7-da7ad0900005", "type": "permissions", + "attributes": {"created": "2021-08-02T09:46:22.572685Z", "description": "View + Session Replays.", "display_name": "RUM Session Replay Read", "display_type": + "read", "group_name": "Real User Monitoring", "name": "rum_session_replay_read", + "restricted": false}}, {"id": "c94811de-16c7-11ec-88cc-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-09-16T08:26:27.28807Z", "description": + "Read Notification Rules.", "display_name": "Security Notification Rules Read", + "display_type": "read", "group_name": "Cloud Security Platform", "name": "security_monitoring_notification_profiles_read", + "restricted": false}}, {"id": "c948b30a-16c7-11ec-88cc-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-09-16T08:26:27.292835Z", "description": + "Create, edit, and delete Notification Rules.", "display_name": "Security + Notification Rules Write", "display_type": "write", "group_name": "Cloud Security + Platform", "name": "security_monitoring_notification_profiles_write", "restricted": + false}}, {"id": "294580e0-1703-11ec-9b92-da7ad0900005", "type": "permissions", + "attributes": {"created": "2021-09-16T15:31:28.639581Z", "description": "Create + custom metrics from spans.", "display_name": "APM Generate Metrics", "display_type": + "write", "group_name": "APM", "name": "apm_generate_metrics", "restricted": + false}}, {"id": "f5e054da-4792-11ec-944b-da7ad0900005", "type": "permissions", + "attributes": {"created": "2021-11-17T10:41:45.755009Z", "description": "Read + Cloud Workload Security Agent Rules.", "display_name": "Cloud Workload Security + Agent Rules Read", "display_type": "read", "group_name": "Cloud Security Platform", + "name": "security_monitoring_cws_agent_rules_read", "restricted": false}}, + {"id": "f5e1489a-4792-11ec-944b-da7ad0900005", "type": "permissions", "attributes": + {"created": "2021-11-17T10:41:45.761956Z", "description": "Create, edit, and + delete Cloud Workload Security Agent Rules.", "display_name": "Cloud Workload + Security Agent Rules Write", "display_type": "write", "group_name": "Cloud + Security Platform", "name": "security_monitoring_cws_agent_rules_write", "restricted": + false}}, {"id": "fc48661c-56a3-11ec-bd5c-da7ad0900005", "type": "permissions", + "attributes": {"created": "2021-12-06T14:51:25.389398Z", "description": "Add + and change APM pipeline configurations.", "display_name": "APM Pipelines Write", + "display_type": "write", "group_name": "APM", "name": "apm_pipelines_write", + "restricted": false}}, {"id": "cf873174-574f-11ec-9869-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-12-07T11:21:23.741014Z", "description": + "View APM pipeline configurations.", "display_name": "APM Pipelines Read", + "display_type": "read", "group_name": "APM", "name": "apm_pipelines_read", + "restricted": false}}, {"id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-12-09T00:11:41.567875Z", "description": + "View pipelines in your organization.", "display_name": "Pipeline Read", "display_type": + "read", "group_name": "Observability Pipelines", "name": "observability_pipelines_read", + "restricted": false}}, {"id": "95ea50d2-5884-11ec-8b3a-da7ad0900005", "type": + "permissions", "attributes": {"created": "2021-12-09T00:11:41.572883Z", "description": + "Edit pipelines in your organization.", "display_name": "Pipeline Write", + "display_type": "write", "group_name": "Observability Pipelines", "name": + "observability_pipelines_write", "restricted": false}}, {"id": "e31e0056-8502-11ec-b266-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-02-03T15:06:38.846399Z", + "description": "View workflows.", "display_name": "Workflows Read", "display_type": + "read", "group_name": "App Builder & Workflow Automation", "name": "workflows_read", + "restricted": false}}, {"id": "e31f0230-8502-11ec-b266-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-02-03T15:06:38.853003Z", "description": + "Create, edit, and delete workflows.", "display_name": "Workflows Write", + "display_type": "write", "group_name": "App Builder & Workflow Automation", + "name": "workflows_write", "restricted": false}}, {"id": "e31e6b54-8502-11ec-b266-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-02-03T15:06:38.849099Z", + "description": "Run workflows.", "display_name": "Workflows Run", "display_type": + "write", "group_name": "App Builder & Workflow Automation", "name": "workflows_run", + "restricted": false}}, {"id": "e31cca10-8502-11ec-b266-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-02-03T15:06:38.837721Z", "description": + "List and view available connections. Connections contain secrets that cannot + be revealed.", "display_name": "Connections Read", "display_type": "read", + "group_name": "App Builder & Workflow Automation", "name": "connections_read", + "restricted": false}}, {"id": "e31d8e28-8502-11ec-b266-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-02-03T15:06:38.843395Z", "description": + "Create and delete connections.", "display_name": "Connections Write", "display_type": + "write", "group_name": "App Builder & Workflow Automation", "name": "connections_write", + "restricted": false}}, {"id": "80b47bb2-8b69-11ec-a597-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-02-11T18:36:18.877166Z", "description": + "Access all private incidents in Datadog, even when not added as a responder.", + "display_name": "Private Incidents Global Access", "display_type": "read", + "group_name": "Case and Incident Management", "name": "incidents_private_global_access", + "restricted": false}}, {"id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-03-02T18:51:33.435297Z", "description": + "View notebooks.", "display_name": "Notebooks Read", "display_type": "read", + "group_name": "Notebooks", "name": "notebooks_read", "restricted": true}}, + {"id": "c7acc6a6-9a59-11ec-9cd5-da7ad0900005", "type": "permissions", "attributes": + {"created": "2022-03-02T18:51:33.43964Z", "description": "Create and change + notebooks.", "display_name": "Notebooks Write", "display_type": "write", "group_name": + "Notebooks", "name": "notebooks_write", "restricted": false}}, {"id": "f40ff7be-966b-11ec-8253-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-02-25T18:51:34.198635Z", + "description": "Delete data from your Logs, including entire indexes.", "display_name": + "Logs Delete Data", "display_type": "write", "group_name": "Log Management", + "name": "logs_delete_data", "restricted": false}}, {"id": "24d31064-b9b4-11ec-a2af-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-04-11T16:26:30.469616Z", + "description": "Create custom metrics from RUM events.", "display_name": "RUM + Generate Metrics", "display_type": "write", "group_name": "Real User Monitoring", + "name": "rum_generate_metrics", "restricted": false}}, {"id": "7fbea6aa-c59e-11ec-90fb-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-04-26T20:21:48.034453Z", + "description": "Install, uninstall, and configure integrations.", "display_name": + "Integrations Manage", "display_type": "write", "group_name": "Integrations", + "name": "manage_integrations", "restricted": false}}, {"id": "2674a030-d5e9-11ec-aebc-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-05-17T13:56:29.090665Z", + "description": "Receive notifications and view currently configured notification + settings.", "display_name": "Usage Notifications Read", "display_type": "read", + "group_name": "Billing and Usage", "name": "usage_notifications_read", "restricted": + false}}, {"id": "26751d30-d5e9-11ec-aebc-da7ad0900005", "type": "permissions", + "attributes": {"created": "2022-05-17T13:56:29.094457Z", "description": "Receive + notifications and configure notification settings.", "display_name": "Usage + Notifications Write", "display_type": "write", "group_name": "Billing and + Usage", "name": "usage_notifications_write", "restricted": false}}, {"id": + "b03b5256-e5c4-11ec-a04e-da7ad0900005", "type": "permissions", "attributes": + {"created": "2022-06-06T18:15:47.465864Z", "description": "Schedule PDF reports + from a dashboard.", "display_name": "Dashboards Report Write", "display_type": + "write", "group_name": "Dashboards", "name": "generate_dashboard_reports", + "restricted": false}}, {"id": "f33f74be-e746-11ec-87e3-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-06-08T16:20:45.638848Z", "description": + "View SLOs and status corrections.", "display_name": "SLOs Read", "display_type": + "read", "group_name": "Service Level Objectives", "name": "slos_read", "restricted": + true}}, {"id": "f340161c-e746-11ec-87e3-da7ad0900005", "type": "permissions", + "attributes": {"created": "2022-06-08T16:20:45.643085Z", "description": "Create, + edit, and delete SLOs.", "display_name": "SLOs Write", "display_type": "write", + "group_name": "Service Level Objectives", "name": "slos_write", "restricted": + false}}, {"id": "f33eaf3e-e746-11ec-87e3-da7ad0900005", "type": "permissions", + "attributes": {"created": "2022-06-08T16:20:45.63282Z", "description": "Apply, + edit, and delete SLO status corrections. A user with this permission can make + status corrections, even if they do not have permission to edit those SLOs.", + "display_name": "SLOs Status Corrections", "display_type": "write", "group_name": + "Service Level Objectives", "name": "slos_corrections", "restricted": false}}, + {"id": "3ad32264-f311-11ec-a058-da7ad0900005", "type": "permissions", "attributes": + {"created": "2022-06-23T16:26:26.854058Z", "description": "Create, update, + and delete monitor configuration policies.", "display_name": "Monitor Configuration + Policy Write", "display_type": "write", "group_name": "Monitors", "name": + "monitor_config_policy_write", "restricted": false}}, {"id": "f42ef088-173a-11ed-8654-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-08-08T16:55:49.060954Z", + "description": "Add, modify, and delete service catalog definitions when those + definitions are maintained by Datadog.", "display_name": "Service Catalog + Write", "display_type": "write", "group_name": "APM", "name": "apm_service_catalog_write", + "restricted": false}}, {"id": "f42e4c6e-173a-11ed-8654-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-08-08T16:55:49.05593Z", "description": + "View service catalog and service definitions.", "display_name": "Service + Catalog Read", "display_type": "read", "group_name": "APM", "name": "apm_service_catalog_read", + "restricted": false}}, {"id": "5e83a0ca-1761-11ed-9f31-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-08-08T21:30:48.32874Z", "description": + "Add and edit forwarding destinations and rules for logs.", "display_name": + "Logs Write Forwarding Rules", "display_type": "write", "group_name": "Log + Management", "name": "logs_write_forwarding_rules", "restricted": false}}, + {"id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005", "type": "permissions", "attributes": + {"created": "2022-08-15T20:25:48.321553Z", "description": "Deprecated. View + Watchdog Insights.", "display_name": "Watchdog Insights Read", "display_type": + "read", "group_name": "Watchdog", "name": "watchdog_insights_read", "restricted": + false}}, {"id": "4758d632-248a-11ed-817b-da7ad0900005", "type": "permissions", + "attributes": {"created": "2022-08-25T15:26:23.943459Z", "description": "Resolve + connections.", "display_name": "Connections Resolve", "display_type": "read", + "group_name": "App Builder & Workflow Automation", "name": "connections_resolve", + "restricted": false}}, {"id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-10-27T09:25:59.057166Z", "description": + "View blocked attackers.", "display_name": "Application Security Management + Protect Read", "display_type": "read", "group_name": "Cloud Security Platform", + "name": "appsec_protect_read", "restricted": false}}, {"id": "5defc9e8-55d9-11ed-9ccb-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-10-27T09:25:59.060959Z", + "description": "Manage blocked attackers.", "display_name": "Application Security + Management Protect Write", "display_type": "write", "group_name": "Cloud Security + Platform", "name": "appsec_protect_write", "restricted": false}}, {"id": "5dedec22-55d9-11ed-9ccb-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-10-27T09:25:59.047444Z", + "description": "View whether Application Security Management has been enabled + or disabled on services via 1-click enablement with Remote Configuration.", + "display_name": "Application Security Management 1-click Enablement Read", + "display_type": "read", "group_name": "Cloud Security Platform", "name": "appsec_activation_read", + "restricted": false}}, {"id": "5dee9f64-55d9-11ed-9ccb-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-10-27T09:25:59.053394Z", "description": + "Enable or disable Application Security Management on services via 1-click + enablement.", "display_name": "Application Security Management 1-click Enablement + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "appsec_activation_write", "restricted": false}}, {"id": "c0490360-5a12-11ed-adbe-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-11-01T18:26:50.026179Z", + "description": "View and run Apps in App Builder.", "display_name": "Apps + View", "display_type": "write", "group_name": "App Builder & Workflow Automation", + "name": "apps_run", "restricted": false}}, {"id": "c04a7614-5a12-11ed-adbe-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-11-01T18:26:50.036655Z", + "description": "Create, edit, and delete Apps in App Builder.", "display_name": + "Apps Write", "display_type": "write", "group_name": "App Builder & Workflow + Automation", "name": "apps_write", "restricted": false}}, {"id": "926612da-7a4c-11ed-b809-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-12-12T18:41:21.060748Z", + "description": "View Cases.", "display_name": "Cases Read", "display_type": + "read", "group_name": "Case and Incident Management", "name": "cases_read", + "restricted": false}}, {"id": "9266e93a-7a4c-11ed-b809-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-12-12T18:41:21.06715Z", "description": + "Create and update cases.", "display_name": "Cases Write", "display_type": + "write", "group_name": "Case and Incident Management", "name": "cases_write", + "restricted": false}}, {"id": "8a79d4c2-7a5a-11ed-a3ad-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-12-12T20:21:20.723147Z", "description": + "Edit APM Remote Configuration.", "display_name": "APM Remote Configuration + Write", "display_type": "write", "group_name": "APM", "name": "apm_remote_configuration_write", + "restricted": false}}, {"id": "8a78e224-7a5a-11ed-a3ad-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-12-12T20:21:20.71656Z", "description": + "View APM Remote Configuration.", "display_name": "APM Remote Configuration + Read", "display_type": "read", "group_name": "APM", "name": "apm_remote_configuration_read", + "restricted": false}}, {"id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-12-13T16:02:28.814628Z", "description": + "View CI Visibility.", "display_name": "CI Visibility Read", "display_type": + "read", "group_name": "Software Delivery", "name": "ci_visibility_read", "restricted": + true}}, {"id": "8b276eb6-7aff-11ed-9d0d-da7ad0900005", "type": "permissions", + "attributes": {"created": "2022-12-13T16:02:28.821529Z", "description": "Edit + flaky tests and delete Test Services.", "display_name": "CI Visibility Tests + Write", "display_type": "write", "group_name": "Software Delivery", "name": + "ci_visibility_write", "restricted": false}}, {"id": "8b254e6a-7aff-11ed-9d0d-da7ad0900005", + "type": "permissions", "attributes": {"created": "2022-12-13T16:02:28.806929Z", + "description": "Edit CI Provider settings. Manage GitHub accounts and repositories + for enabling CI Visibility and job logs collection.", "display_name": "CI + Provider Settings Write", "display_type": "write", "group_name": "Software + Delivery", "name": "ci_provider_settings_write", "restricted": false}}, {"id": + "8b26e284-7aff-11ed-9d0d-da7ad0900005", "type": "permissions", "attributes": + {"created": "2022-12-13T16:02:28.818035Z", "description": "Configure CI Visibility + settings. Set a repository default branch, enable GitHub comments, and delete + test services.", "display_name": "CI Visibility Settings Write", "display_type": + "write", "group_name": "Software Delivery", "name": "ci_visibility_settings_write", + "restricted": false}}, {"id": "8b282770-7aff-11ed-9d0d-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-12-13T16:02:28.826271Z", "description": + "Enable or disable Intelligent Test Runner.", "display_name": "Intelligent + Test Runner Activation Write", "display_type": "write", "group_name": "Software + Delivery", "name": "intelligent_test_runner_activation_write", "restricted": + false}}, {"id": "8b28b686-7aff-11ed-9d0d-da7ad0900005", "type": "permissions", + "attributes": {"created": "2022-12-13T16:02:28.830112Z", "description": "Edit + Intelligent Test Runner settings, such as modifying ITR excluded branch list.", + "display_name": "Intelligent Test Runner Settings Write", "display_type": + "write", "group_name": "Software Delivery", "name": "intelligent_test_runner_settings_write", + "restricted": false}}, {"id": "55f64460-7d61-11ed-9c36-da7ad0900005", "type": + "permissions", "attributes": {"created": "2022-12-16T16:47:32.584514Z", "description": + "View data in Continuous Profiler.", "display_name": "Continuous Profiler + Read", "display_type": "read", "group_name": "APM", "name": "continuous_profiler_read", + "restricted": false}}, {"id": "1535624c-9771-11ed-ad25-da7ad0900005", "type": + "permissions", "attributes": {"created": "2023-01-18T20:45:46.126002Z", "description": + "Manage Teams. Create, delete, rename, and edit metadata of all Teams. To + control Team membership across all Teams, use the User Access Manage permission.", + "display_name": "Teams Manage", "display_type": "write", "group_name": "Teams", + "name": "teams_manage", "restricted": false}}, {"id": "d039cfec-b44f-11ed-8db8-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-02-24T14:30:40.720618Z", + "description": "View CSPM Findings.", "display_name": "Security Monitoring + Findings Read", "display_type": "read", "group_name": "Cloud Security Platform", + "name": "security_monitoring_findings_read", "restricted": false}}, {"id": + "77ed7a00-b468-11ed-b0f0-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-02-24T17:27:09.998449Z", "description": "View Incidents + Notification settings.", "display_name": "Incident Notification Settings Read", + "display_type": "read", "group_name": "Case and Incident Management", "name": + "incident_notification_settings_read", "restricted": false}}, {"id": "77ed87a2-b468-11ed-b0f0-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-02-24T17:27:09.998449Z", + "description": "Configure Incidents Notification settings.", "display_name": + "Incident Notification Settings Write", "display_type": "write", "group_name": + "Case and Incident Management", "name": "incident_notification_settings_write", + "restricted": false}}, {"id": "4129ef9a-ca2e-11ed-b1b8-da7ad0900005", "type": + "permissions", "attributes": {"created": "2023-03-24T10:25:52.891502Z", "description": + "Edit CI Ingestion Control exclusion filters.", "display_name": "CI Visibility + Ingestion Control Write", "display_type": "write", "group_name": "Software + Delivery", "name": "ci_ingestion_control_write", "restricted": false}}, {"id": + "33ee9a80-ccc0-11ed-861a-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-03-27T16:55:39.540192Z", "description": "Edit Error Tracking + issues.", "display_name": "Error Tracking Issue Write", "display_type": "write", + "group_name": "Error Tracking", "name": "error_tracking_write", "restricted": + false}}, {"id": "81e488c0-db35-11ed-a170-da7ad0900005", "type": "permissions", + "attributes": {"created": "2023-04-15T02:30:37.731056Z", "description": "Manage + Watchdog Alerts.", "display_name": "Watchdog Alerts Write", "display_type": + "write", "group_name": "Watchdog", "name": "watchdog_alerts_write", "restricted": + false}}, {"id": "81e4434c-db35-11ed-a170-da7ad0900005", "type": "permissions", + "attributes": {"created": "2023-04-15T02:30:37.731056Z", "description": "Modify + Saved Views across all Datadog products.", "display_name": "Saved Views Write", + "display_type": "write", "group_name": "Cross-Product Features", "name": "saved_views_write", + "restricted": false}}, {"id": "94c8a4da-de87-11ed-9e92-da7ad0900005", "type": + "permissions", "attributes": {"created": "2023-04-19T07:55:41.646942Z", "description": + "Read Client Tokens. Unlike API keys, client tokens may be exposed client-side + in JavaScript code for web browsers and other clients to send data to Datadog.", + "display_name": "Client Tokens Read", "display_type": "read", "group_name": + "API and Application Keys", "name": "client_tokens_read", "restricted": false}}, + {"id": "94c927e8-de87-11ed-9e92-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-04-19T07:55:41.646942Z", "description": "Create and edit + Client Tokens. Unlike API keys, client tokens may be exposed client-side in + JavaScript code for web browsers and other clients to send data to Datadog.", + "display_name": "Client Tokens Write", "display_type": "write", "group_name": + "API and Application Keys", "name": "client_tokens_write", "restricted": false}}, + {"id": "619b2642-f41b-11ed-b4e1-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-05-16T18:56:35.71915Z", "description": "Read Event Correlation + Configuration data such as Correlation Rules and Settings.", "display_name": + "Event Correlation Config Read", "display_type": "read", "group_name": "Events", + "name": "event_correlation_config_read", "restricted": false}}, {"id": "619b8f9c-f41b-11ed-b4e1-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-05-16T18:56:35.71915Z", + "description": "Manage Event Correlation Configuration such as Correlation + Rules and Settings.", "display_name": "Event Correlation Config Write", "display_type": + "write", "group_name": "Events", "name": "event_correlation_config_write", + "restricted": false}}, {"id": "65eea998-f6a1-11ed-9953-da7ad0900005", "type": + "permissions", "attributes": {"created": "2023-05-20T00:00:57.864864Z", "description": + "Manage general event configuration such as API Emails.", "display_name": + "Event Config Write", "display_type": "write", "group_name": "Events", "name": + "event_config_write", "restricted": false}}, {"id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-05-23T21:45:42.705754Z", + "description": "Mute CSPM Findings.", "display_name": "Security Monitoring + Findings Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "security_monitoring_findings_write", "restricted": false}}, {"id": + "3c05b450-ffe8-11ed-b4b4-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-05-31T19:20:42.284425Z", "description": "View Cloud Cost + pages. This does not restrict access to the cloud cost data source in dashboards + and notebooks.", "display_name": "Cloud Cost Management Read", "display_type": + "read", "group_name": "Cloud Cost Management", "name": "cloud_cost_management_read", + "restricted": false}}, {"id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005", "type": + "permissions", "attributes": {"created": "2023-05-31T19:20:42.284425Z", "description": + "Configure cloud cost accounts and global customizations.", "display_name": + "Cloud Cost Management Write", "display_type": "write", "group_name": "Cloud + Cost Management", "name": "cloud_cost_management_write", "restricted": false}}, + {"id": "ace5cc0e-ff71-11ed-b518-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-05-31T05:12:01.54707Z", "description": "Add and change tags + on hosts.", "display_name": "Host Tags Write", "display_type": "write", "group_name": + "Metrics", "name": "host_tags_write", "restricted": false}}, {"id": "48d8ce74-0065-11ee-9c16-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-06-01T10:15:50.891463Z", + "description": "Create CI Visibility pipeline spans using the API.", "display_name": + "CI Visibility Pipelines Write", "display_type": "write", "group_name": "Software + Delivery", "name": "ci_visibility_pipelines_write", "restricted": false}}, + {"id": "3276c638-0ebe-11ee-9428-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-06-19T16:27:34.826612Z", "description": "View Quality Gate + Rules.", "display_name": "Quality Gate Rules Read", "display_type": "read", + "group_name": "Software Delivery", "name": "quality_gate_rules_read", "restricted": + false}}, {"id": "3276cf02-0ebe-11ee-9428-da7ad0900005", "type": "permissions", + "attributes": {"created": "2023-06-19T16:27:34.826612Z", "description": "Edit + Quality Gate Rules.", "display_name": "Quality Gate Rules Write", "display_type": + "write", "group_name": "Software Delivery", "name": "quality_gate_rules_write", + "restricted": false}}, {"id": "ffb0167e-11e1-11ee-8f46-da7ad0900005", "type": + "permissions", "attributes": {"created": "2023-06-23T16:21:25.009293Z", "description": + "Edit metadata on metrics.", "display_name": "Metrics Metadata Write", "display_type": + "write", "group_name": "Metrics", "name": "metrics_metadata_write", "restricted": + false}}, {"id": "4316b75c-093f-11ee-98e9-da7ad0900005", "type": "permissions", + "attributes": {"created": "2023-06-12T16:36:20.819036Z", "description": "Delete + data from RUM.", "display_name": "RUM Delete Data", "display_type": "write", + "group_name": "Real User Monitoring", "name": "rum_delete_data", "restricted": + false}}, {"id": "4316826e-093f-11ee-98e9-da7ad0900005", "type": "permissions", + "attributes": {"created": "2023-06-12T16:36:20.819036Z", "description": "Update + status or assignee of vulnerabilities.", "display_name": "Vulnerability Management + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "appsec_vm_write", "restricted": false}}, {"id": "4316b5b8-093f-11ee-98e9-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-06-12T16:36:20.819036Z", + "description": "Create or modify Reference Tables.", "display_name": "Reference + Tables Write", "display_type": "write", "group_name": "Reference Tables", + "name": "reference_tables_write", "restricted": false}}, {"id": "13a7297c-1ce3-11ee-b01a-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-07-07T16:26:50.792866Z", + "description": "Create, update, and delete RUM playlists. Add and remove sessions + from RUM playlists.", "display_name": "RUM Playlist Write", "display_type": + "write", "group_name": "Real User Monitoring", "name": "rum_playlist_write", + "restricted": false}}, {"id": "eadf64b2-2199-11ee-9a0e-da7ad0900005", "type": + "permissions", "attributes": {"created": "2023-07-13T16:25:44.923503Z", "description": + "Delete pipelines from your organization.", "display_name": "Pipeline Delete", + "display_type": "write", "group_name": "Observability Pipelines", "name": + "observability_pipelines_delete", "restricted": false}}, {"id": "eadf675a-2199-11ee-9a0e-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-07-13T16:25:44.923503Z", + "description": "Deploy pipelines in your organization.", "display_name": "Pipeline + Deploy", "display_type": "write", "group_name": "Observability Pipelines", + "name": "observability_pipelines_deploy", "restricted": false}}, {"id": "ef44c426-20d0-11ee-83e9-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-07-12T16:27:03.457484Z", + "description": "Create custom metrics from processes.", "display_name": "Processes + Generate Metrics", "display_type": "write", "group_name": "Processes", "name": + "processes_generate_metrics", "restricted": false}}, {"id": "ef44613e-20d0-11ee-83e9-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-07-12T16:27:03.457484Z", + "description": "Delete API Keys for your organization.", "display_name": "API + Keys Delete", "display_type": "write", "group_name": "API and Application + Keys", "name": "api_keys_delete", "restricted": false}}, {"id": "eaded894-2199-11ee-9a0e-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-07-13T16:25:44.923503Z", + "description": "Collect an Agent flare with Fleet Automation.", "display_name": + "Agent Flare Collection", "display_type": "write", "group_name": "Fleet Automation", + "name": "agent_flare_collection", "restricted": false}}, {"id": "55769e70-2c9a-11ee-a7df-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-07-27T16:26:26.546986Z", + "description": "Manage facets for products other than Log Management, such + as APM Traces. To modify Log Facets, use Logs Write Facets.", "display_name": + "Facets Write", "display_type": "write", "group_name": "Cross-Product Features", + "name": "facets_write", "restricted": false}}, {"id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-08-17T16:25:26.209216Z", + "description": "Read Rule Suppressions.", "display_name": "Security Suppressions + Read", "display_type": "read", "group_name": "Cloud Security Platform", "name": + "security_monitoring_suppressions_read", "restricted": false}}, {"id": "ac2cf7d8-3d1a-11ee-8f54-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-08-17T16:25:26.209216Z", + "description": "Write Rule Suppressions.", "display_name": "Security Suppressions + Write", "display_type": "write", "group_name": "Cloud Security Platform", + "name": "security_monitoring_suppressions_write", "restricted": false}}, {"id": + "e8c17678-3de3-11ee-a66f-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-08-18T16:25:56.6885Z", "description": "Edit Static Analysis + settings.", "display_name": "Static Analysis Settings Write", "display_type": + "write", "group_name": "Software Delivery", "name": "static_analysis_settings_write", + "restricted": false}}, {"id": "94783714-4e9b-11ee-959b-da7ad0900005", "type": + "permissions", "attributes": {"created": "2023-09-08T23:01:01.28513Z", "description": + "View CD Visibility.", "display_name": "CD Visibility Read", "display_type": + "read", "group_name": "Software Delivery", "name": "cd_visibility_read", "restricted": + true}}, {"id": "09a13d52-691c-11ee-b7a4-da7ad0900005", "type": "permissions", + "attributes": {"created": "2023-10-12T16:26:03.661255Z", "description": "Write + NDM Netflow port mappings.", "display_name": "NDM Netflow Port Mappings Write", + "display_type": "write", "group_name": "Network Device Monitoring", "name": + "ndm_netflow_port_mappings_write", "restricted": false}}, {"id": "2de35000-69e5-11ee-996b-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-10-13T16:25:53.335225Z", + "description": "View vulnerabilities. This does not restrict access to the + vulnerability data source through the API or inventory SQL.", "display_name": + "Vulnerability Management Read", "display_type": "read", "group_name": "Cloud + Security Platform", "name": "appsec_vm_read", "restricted": true}}, {"id": + "54f38ef0-6f65-11ee-a094-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-10-20T16:25:50.268064Z", "description": "Create or modify + Dynamic Instrumentation probes that capture function state: local variables, + method arguments, fields, and return value or thrown exception.", "display_name": + "Dynamic Instrumentation Capture Variables", "display_type": "write", "group_name": + "APM", "name": "debugger_capture_variables", "restricted": false}}, {"id": + "f2cc9374-9841-11ee-a301-da7ad0900005", "type": "permissions", "attributes": + {"created": "2023-12-11T16:25:50.880331Z", "description": "Disable Error Tracking, + edit inclusion filters, and edit rate limit.", "display_name": "Error Tracking + Settings Write", "display_type": "write", "group_name": "Error Tracking", + "name": "error_tracking_settings_write", "restricted": false}}, {"id": "f2cbfc5c-9841-11ee-a301-da7ad0900005", + "type": "permissions", "attributes": {"created": "2023-12-11T16:25:50.880331Z", + "description": "Add or change Error Tracking exclusion filters.", "display_name": + "Error Tracking Exclusion Filters Write", "display_type": "write", "group_name": + "Error Tracking", "name": "error_tracking_exclusion_filters_write", "restricted": + false}}, {"id": "32f12a0a-ba0c-11ee-b34b-da7ad0900005", "type": "permissions", + "attributes": {"created": "2024-01-23T16:26:45.209142Z", "description": "View + integrations and their configurations.", "display_name": "Integrations Read", + "display_type": "read", "group_name": "Integrations", "name": "integrations_read", + "restricted": false}}, {"id": "bebbe3b2-c1e7-11ee-b9dc-da7ad0900005", "type": + "permissions", "attributes": {"created": "2024-02-02T16:25:57.659403Z", "description": + "Add, modify, and delete API catalog definitions.", "display_name": "API Catalog + Write", "display_type": "write", "group_name": "APM", "name": "apm_api_catalog_write", + "restricted": false}}, {"id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005", "type": + "permissions", "attributes": {"created": "2024-02-02T16:25:57.659403Z", "description": + "View API catalog and API definitions.", "display_name": "API Catalog Read", + "display_type": "read", "group_name": "APM", "name": "apm_api_catalog_read", + "restricted": false}}, {"id": "11280c24-cce8-11ee-af00-da7ad0900005", "type": + "permissions", "attributes": {"created": "2024-02-16T16:25:58.73636Z", "description": + "Create or edit trend metrics from container images.", "display_name": "Containers + Write Image Trend Metrics", "display_type": "write", "group_name": "Containers", + "name": "containers_generate_image_metrics", "restricted": false}}, {"id": + "9d6b69dc-e21f-11ee-89d1-da7ad0900005", "type": "permissions", "attributes": + {"created": "2024-03-14T16:26:30.797793Z", "description": "Extend the retention + of Session Replays.", "display_name": "RUM Session Replay Extend Retention", + "display_type": "write", "group_name": "Real User Monitoring", "name": "rum_extend_retention", + "restricted": false}}, {"id": "ae9c303e-f5c4-11ee-b3e7-da7ad0900005", "type": + "permissions", "attributes": {"created": "2024-04-08T16:25:58.692075Z", "description": + "Edit the settings for DORA.", "display_name": "DORA Settings Write", "display_type": + "write", "group_name": "Software Delivery", "name": "dora_settings_write", + "restricted": false}}, {"id": "cccfe6c4-018e-11ef-afb6-da7ad0900005", "type": + "permissions", "attributes": {"created": "2024-04-23T16:30:30.492439Z", "description": + "Read and query Continuous Profiler data for Profile-Guided Optimization (PGO).", + "display_name": "Read Continuous Profiler Profile-Guided Optimization (PGO) + Data", "display_type": "read", "group_name": "APM", "name": "continuous_profiler_pgo_read", + "restricted": false}}, {"id": "e120d4c0-0969-11ef-965e-da7ad0900005", "type": + "permissions", "attributes": {"created": "2024-05-03T16:26:22.500447Z", "description": + "View LLM Observability.", "display_name": "LLM Observability Read", "display_type": + "read", "group_name": "LLM Observability", "name": "llm_observability_read", + "restricted": false}}]}' + headers: + Content-Type: + - application/vnd.api+json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "team", "attributes": {"name": "Example team", "handle": + "example-team", "description": "This is the description of a team"}}}' + headers: + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.eu/api/v2/team + response: + body: + string: '{"data": {"type": "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b", + "attributes": {"name": "Example team", "handle": "example-team", "summary": + "This is the description of a team", "description": "This is the description + of a team", "avatar": null, "banner": 2, "visible_modules": [], "hidden_modules": + [], "created_at": "2024-06-14T17:40:02.726276+00:00", "modified_at": "2024-06-14T17:40:02.726288+00:00", + "user_count": 0, "link_count": 0}, "relationships": {"team_links": {"links": + {"related": "/api/v2/team/51fa54f0-d4db-49d4-bc56-523647fd352b/links"}}, "user_team_permissions": + {"links": {"related": "/api/v2/team/51fa54f0-d4db-49d4-bc56-523647fd352b/permission-settings"}}}}}' + headers: + Content-Type: + - application/json + status: + code: 201 + message: Created +- request: + body: '{"data": {"type": "roles", "attributes": {"name": "Datadog Read Only Role"}, + "relationships": {"permissions": {"data": [{"id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7", + "type": "permissions"}, {"id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5", "type": + "permissions"}, {"id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee", "type": "permissions"}, + {"id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d", "type": "permissions"}, {"id": + "bfafd0ce-7823-11ea-9689-c3e5118805ee", "type": "permissions"}, {"id": "5de1e178-8536-11ea-968a-2fd9395bff90", + "type": "permissions"}, {"id": "d68dc046-aa58-11ea-8f98-3f18bf50279f", "type": + "permissions"}, {"id": "e0d31696-aa58-11ea-af96-3b02991750c9", "type": "permissions"}, + {"id": "b6858556-f925-11ea-9222-1f47b8677b93", "type": "permissions"}, {"id": + "b7706de0-2dce-11eb-9145-775e4a0d889a", "type": "permissions"}, {"id": "bcc2fb14-2dce-11eb-9145-9b27b816190a", + "type": "permissions"}, {"id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5", "type": + "permissions"}, {"id": "f2f3d048-801f-11eb-9d41-da7ad0900005", "type": "permissions"}, + {"id": "99397470-b16d-11eb-a891-da7ad0900005", "type": "permissions"}, {"id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005", "type": "permissions"}, {"id": "f07e4234-e894-11eb-ab79-da7ad0900005", + "type": "permissions"}, {"id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005", "type": + "permissions"}, {"id": "7ee7941c-f376-11eb-a5a7-da7ad0900005", "type": "permissions"}, + {"id": "f5e054da-4792-11ec-944b-da7ad0900005", "type": "permissions"}, {"id": + "cf873174-574f-11ec-9869-da7ad0900005", "type": "permissions"}, {"id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005", + "type": "permissions"}, {"id": "e31e0056-8502-11ec-b266-da7ad0900005", "type": + "permissions"}, {"id": "e31cca10-8502-11ec-b266-da7ad0900005", "type": "permissions"}, + {"id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005", "type": "permissions"}, {"id": + "f33f74be-e746-11ec-87e3-da7ad0900005", "type": "permissions"}, {"id": "f42e4c6e-173a-11ed-8654-da7ad0900005", + "type": "permissions"}, {"id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005", "type": + "permissions"}, {"id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "type": "permissions"}, + {"id": "5dedec22-55d9-11ed-9ccb-da7ad0900005", "type": "permissions"}, {"id": + "926612da-7a4c-11ed-b809-da7ad0900005", "type": "permissions"}, {"id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005", + "type": "permissions"}, {"id": "55f64460-7d61-11ed-9c36-da7ad0900005", "type": + "permissions"}, {"id": "94c8a4da-de87-11ed-9e92-da7ad0900005", "type": "permissions"}, + {"id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", "type": "permissions"}, {"id": + "3276c638-0ebe-11ee-9428-da7ad0900005", "type": "permissions"}, {"id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005", + "type": "permissions"}, {"id": "94783714-4e9b-11ee-959b-da7ad0900005", "type": + "permissions"}, {"id": "2de35000-69e5-11ee-996b-da7ad0900005", "type": "permissions"}, + {"id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005", "type": "permissions"}, {"id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005", "type": "permissions"}, {"id": "e120d4c0-0969-11ef-965e-da7ad0900005", + "type": "permissions"}]}}}}' + headers: + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.eu/api/v2/roles + response: + body: + string: '{"data": {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005", + "attributes": {"name": "Datadog Read Only Role", "created_at": "2024-06-14T17:40:02.876918+00:00", + "modified_at": "2024-06-14T17:40:02.877733+00:00"}, "relationships": {"permissions": + {"data": [{"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, + {"type": "permissions", "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5"}, {"type": + "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", + "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": + "bfafd0ce-7823-11ea-9689-c3e5118805ee"}, {"type": "permissions", "id": "5de1e178-8536-11ea-968a-2fd9395bff90"}, + {"type": "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f"}, {"type": + "permissions", "id": "e0d31696-aa58-11ea-af96-3b02991750c9"}, {"type": "permissions", + "id": "b6858556-f925-11ea-9222-1f47b8677b93"}, {"type": "permissions", "id": + "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a"}, + {"type": "permissions", "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5"}, {"type": + "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005"}, {"type": "permissions", + "id": "99397470-b16d-11eb-a891-da7ad0900005"}, {"type": "permissions", "id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005"}, + {"type": "permissions", "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": + "permissions", "id": "7ee7941c-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", + "id": "f5e054da-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": + "cf873174-574f-11ec-9869-da7ad0900005"}, {"type": "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005"}, + {"type": "permissions", "id": "e31e0056-8502-11ec-b266-da7ad0900005"}, {"type": + "permissions", "id": "e31cca10-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", + "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, {"type": "permissions", "id": + "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": "f42e4c6e-173a-11ed-8654-da7ad0900005"}, + {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005"}, {"type": + "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": + "926612da-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005"}, {"type": + "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}, {"type": "permissions", "id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005"}, + {"type": "permissions", "id": "94783714-4e9b-11ee-959b-da7ad0900005"}, {"type": + "permissions", "id": "2de35000-69e5-11ee-996b-da7ad0900005"}, {"type": "permissions", + "id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005"}, {"type": "permissions", "id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005"}, {"type": "permissions", "id": "e120d4c0-0969-11ef-965e-da7ad0900005"}]}}}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrgFoo"}, "relationships": {"team": {"data": {"type": + "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b"}}}}}' + headers: + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.eu/api/v2/authn_mappings + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "214e8a66-2a75-11ef-9113-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36907", "attribute_key": "Member-of", + "attribute_value": "TestOrgFoo", "created_at": "2024-06-14T17:40:03.009631+00:00", + "modified_at": "2024-06-14T17:40:03.009631+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36907"}}, "role": {"data": + null}, "team": {"data": {"type": "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b"}}}}, + "included": [{"type": "saml_assertion_attributes", "id": "36907", "attributes": + {"attribute_key": "Member-of", "attribute_value": "TestOrgFoo"}}, {"type": + "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b", "attributes": {"name": + "Example team", "handle": "example-team", "summary": "This is the description + of a team", "avatar": null, "banner": 2, "user_count": 0, "link_count": 0, + "is_open_membership": true, "handles": ["example-team"]}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrgFoo"}, "relationships": {"role": {"data": {"type": + "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}}}}' + headers: + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.eu/api/v2/authn_mappings + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "21534c0e-2a75-11ef-8c13-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36907", "attribute_key": "Member-of", + "attribute_value": "TestOrgFoo", "created_at": "2024-06-14T17:40:03.040988+00:00", + "modified_at": "2024-06-14T17:40:03.040988+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36907"}}, "role": {"data": + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}, "team": + {"data": null}}}, "included": [{"type": "saml_assertion_attributes", "id": + "36907", "attributes": {"attribute_key": "Member-of", "attribute_value": "TestOrgFoo"}}, + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2024-06-14T17:40:02.876918+00:00", + "modified_at": "2024-06-14T17:40:02.877733+00:00"}, "relationships": {"permissions": + {"data": [{"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, + {"type": "permissions", "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5"}, {"type": + "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", + "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": + "bfafd0ce-7823-11ea-9689-c3e5118805ee"}, {"type": "permissions", "id": "5de1e178-8536-11ea-968a-2fd9395bff90"}, + {"type": "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f"}, {"type": + "permissions", "id": "e0d31696-aa58-11ea-af96-3b02991750c9"}, {"type": "permissions", + "id": "b6858556-f925-11ea-9222-1f47b8677b93"}, {"type": "permissions", "id": + "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a"}, + {"type": "permissions", "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5"}, {"type": + "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005"}, {"type": "permissions", + "id": "99397470-b16d-11eb-a891-da7ad0900005"}, {"type": "permissions", "id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005"}, + {"type": "permissions", "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": + "permissions", "id": "7ee7941c-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", + "id": "f5e054da-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": + "cf873174-574f-11ec-9869-da7ad0900005"}, {"type": "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005"}, + {"type": "permissions", "id": "e31e0056-8502-11ec-b266-da7ad0900005"}, {"type": + "permissions", "id": "e31cca10-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", + "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, {"type": "permissions", "id": + "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": "f42e4c6e-173a-11ed-8654-da7ad0900005"}, + {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005"}, {"type": + "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": + "926612da-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005"}, {"type": + "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}, {"type": "permissions", "id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005"}, + {"type": "permissions", "id": "94783714-4e9b-11ee-959b-da7ad0900005"}, {"type": + "permissions", "id": "2de35000-69e5-11ee-996b-da7ad0900005"}, {"type": "permissions", + "id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005"}, {"type": "permissions", "id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005"}, {"type": "permissions", "id": "e120d4c0-0969-11ef-965e-da7ad0900005"}]}}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrg"}, "relationships": {"team": {"data": {"type": "team", + "id": "51fa54f0-d4db-49d4-bc56-523647fd352b"}}}}}' + headers: + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.eu/api/v2/authn_mappings + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "2151d2ca-2a75-11ef-9510-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36908", "attribute_key": "Member-of", + "attribute_value": "TestOrg", "created_at": "2024-06-14T17:40:03.031520+00:00", + "modified_at": "2024-06-14T17:40:03.031520+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36908"}}, "role": {"data": + null}, "team": {"data": {"type": "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b"}}}}, + "included": [{"type": "saml_assertion_attributes", "id": "36908", "attributes": + {"attribute_key": "Member-of", "attribute_value": "TestOrg"}}, {"type": "team", + "id": "51fa54f0-d4db-49d4-bc56-523647fd352b", "attributes": {"name": "Example + team", "handle": "example-team", "summary": "This is the description of a + team", "avatar": null, "banner": 2, "user_count": 0, "link_count": 0, "is_open_membership": + true, "handles": ["example-team"]}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrgFooBar"}, "relationships": {"role": {"data": {"type": + "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}}}}' + headers: + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.eu/api/v2/authn_mappings + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "2158979a-2a75-11ef-b6cb-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36909", "attribute_key": "Member-of", + "attribute_value": "TestOrgFooBar", "created_at": "2024-06-14T17:40:03.076111+00:00", + "modified_at": "2024-06-14T17:40:03.076111+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36909"}}, "role": {"data": + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}, "team": + {"data": null}}}, "included": [{"type": "saml_assertion_attributes", "id": + "36909", "attributes": {"attribute_key": "Member-of", "attribute_value": "TestOrgFooBar"}}, + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2024-06-14T17:40:02.876918+00:00", + "modified_at": "2024-06-14T17:40:02.877733+00:00"}, "relationships": {"permissions": + {"data": [{"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, + {"type": "permissions", "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5"}, {"type": + "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", + "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": + "bfafd0ce-7823-11ea-9689-c3e5118805ee"}, {"type": "permissions", "id": "5de1e178-8536-11ea-968a-2fd9395bff90"}, + {"type": "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f"}, {"type": + "permissions", "id": "e0d31696-aa58-11ea-af96-3b02991750c9"}, {"type": "permissions", + "id": "b6858556-f925-11ea-9222-1f47b8677b93"}, {"type": "permissions", "id": + "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a"}, + {"type": "permissions", "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5"}, {"type": + "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005"}, {"type": "permissions", + "id": "99397470-b16d-11eb-a891-da7ad0900005"}, {"type": "permissions", "id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005"}, + {"type": "permissions", "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": + "permissions", "id": "7ee7941c-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", + "id": "f5e054da-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": + "cf873174-574f-11ec-9869-da7ad0900005"}, {"type": "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005"}, + {"type": "permissions", "id": "e31e0056-8502-11ec-b266-da7ad0900005"}, {"type": + "permissions", "id": "e31cca10-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", + "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, {"type": "permissions", "id": + "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": "f42e4c6e-173a-11ed-8654-da7ad0900005"}, + {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005"}, {"type": + "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": + "926612da-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005"}, {"type": + "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}, {"type": "permissions", "id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005"}, + {"type": "permissions", "id": "94783714-4e9b-11ee-959b-da7ad0900005"}, {"type": + "permissions", "id": "2de35000-69e5-11ee-996b-da7ad0900005"}, {"type": "permissions", + "id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005"}, {"type": "permissions", "id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005"}, {"type": "permissions", "id": "e120d4c0-0969-11ef-965e-da7ad0900005"}]}}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrg"}, "relationships": {"role": {"data": {"type": "roles", + "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}}}}' + headers: + Content-Type: + - application/json + method: POST + uri: https://api.datadoghq.eu/api/v2/authn_mappings + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "21593696-2a75-11ef-bbf5-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36908", "attribute_key": "Member-of", + "attribute_value": "TestOrg", "created_at": "2024-06-14T17:40:03.079612+00:00", + "modified_at": "2024-06-14T17:40:03.079612+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36908"}}, "role": {"data": + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}, "team": + {"data": null}}}, "included": [{"type": "saml_assertion_attributes", "id": + "36908", "attributes": {"attribute_key": "Member-of", "attribute_value": "TestOrg"}}, + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2024-06-14T17:40:02.876918+00:00", + "modified_at": "2024-06-14T17:40:02.877733+00:00"}, "relationships": {"permissions": + {"data": [{"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, + {"type": "permissions", "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5"}, {"type": + "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", + "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": + "bfafd0ce-7823-11ea-9689-c3e5118805ee"}, {"type": "permissions", "id": "5de1e178-8536-11ea-968a-2fd9395bff90"}, + {"type": "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f"}, {"type": + "permissions", "id": "e0d31696-aa58-11ea-af96-3b02991750c9"}, {"type": "permissions", + "id": "b6858556-f925-11ea-9222-1f47b8677b93"}, {"type": "permissions", "id": + "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a"}, + {"type": "permissions", "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5"}, {"type": + "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005"}, {"type": "permissions", + "id": "99397470-b16d-11eb-a891-da7ad0900005"}, {"type": "permissions", "id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005"}, + {"type": "permissions", "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": + "permissions", "id": "7ee7941c-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", + "id": "f5e054da-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": + "cf873174-574f-11ec-9869-da7ad0900005"}, {"type": "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005"}, + {"type": "permissions", "id": "e31e0056-8502-11ec-b266-da7ad0900005"}, {"type": + "permissions", "id": "e31cca10-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", + "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, {"type": "permissions", "id": + "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": "f42e4c6e-173a-11ed-8654-da7ad0900005"}, + {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005"}, {"type": + "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": + "926612da-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005"}, {"type": + "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}, {"type": "permissions", "id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005"}, + {"type": "permissions", "id": "94783714-4e9b-11ee-959b-da7ad0900005"}, {"type": + "permissions", "id": "2de35000-69e5-11ee-996b-da7ad0900005"}, {"type": "permissions", + "id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005"}, {"type": "permissions", "id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005"}, {"type": "permissions", "id": "e120d4c0-0969-11ef-965e-da7ad0900005"}]}}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +version: 1 diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_update_sync.frozen b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_update_sync.frozen new file mode 100644 index 00000000..682d7112 --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_update_sync.frozen @@ -0,0 +1 @@ +2024-06-14T13:40:03.142326-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_update_sync.yaml b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_update_sync.yaml new file mode 100644 index 00000000..bf1b94a5 --- /dev/null +++ b/tests/integration/resources/cassettes/test_authn_mappings/TestAuthNMappingsResources.test_resource_update_sync.yaml @@ -0,0 +1,243 @@ +interactions: +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrgFooBarupdated"}, "relationships": {"role": {"data": + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}}, "id": "2158979a-2a75-11ef-b6cb-da7ad0900005"}}' + headers: + Content-Type: + - application/json + method: PATCH + uri: https://api.datadoghq.eu/api/v2/authn_mappings/2158979a-2a75-11ef-b6cb-da7ad0900005 + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "2158979a-2a75-11ef-b6cb-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36921", "attribute_key": "Member-of", + "attribute_value": "TestOrgFooBarupdated", "created_at": "2024-06-14T17:40:03.076111+00:00", + "modified_at": "2024-06-14T17:40:03.299775+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36921"}}, "role": {"data": + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}, "team": + {"data": null}}}, "included": [{"type": "saml_assertion_attributes", "id": + "36921", "attributes": {"attribute_key": "Member-of", "attribute_value": "TestOrgFooBarupdated"}}, + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2024-06-14T17:40:02.876918+00:00", + "modified_at": "2024-06-14T17:40:02.877733+00:00"}, "relationships": {"permissions": + {"data": [{"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, + {"type": "permissions", "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5"}, {"type": + "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", + "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": + "bfafd0ce-7823-11ea-9689-c3e5118805ee"}, {"type": "permissions", "id": "5de1e178-8536-11ea-968a-2fd9395bff90"}, + {"type": "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f"}, {"type": + "permissions", "id": "e0d31696-aa58-11ea-af96-3b02991750c9"}, {"type": "permissions", + "id": "b6858556-f925-11ea-9222-1f47b8677b93"}, {"type": "permissions", "id": + "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a"}, + {"type": "permissions", "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5"}, {"type": + "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005"}, {"type": "permissions", + "id": "99397470-b16d-11eb-a891-da7ad0900005"}, {"type": "permissions", "id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005"}, + {"type": "permissions", "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": + "permissions", "id": "7ee7941c-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", + "id": "f5e054da-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": + "cf873174-574f-11ec-9869-da7ad0900005"}, {"type": "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005"}, + {"type": "permissions", "id": "e31e0056-8502-11ec-b266-da7ad0900005"}, {"type": + "permissions", "id": "e31cca10-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", + "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, {"type": "permissions", "id": + "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": "f42e4c6e-173a-11ed-8654-da7ad0900005"}, + {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005"}, {"type": + "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": + "926612da-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005"}, {"type": + "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}, {"type": "permissions", "id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005"}, + {"type": "permissions", "id": "94783714-4e9b-11ee-959b-da7ad0900005"}, {"type": + "permissions", "id": "2de35000-69e5-11ee-996b-da7ad0900005"}, {"type": "permissions", + "id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005"}, {"type": "permissions", "id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005"}, {"type": "permissions", "id": "e120d4c0-0969-11ef-965e-da7ad0900005"}]}}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrgupdated"}, "relationships": {"role": {"data": {"type": + "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}}, "id": "21593696-2a75-11ef-bbf5-da7ad0900005"}}' + headers: + Content-Type: + - application/json + method: PATCH + uri: https://api.datadoghq.eu/api/v2/authn_mappings/21593696-2a75-11ef-bbf5-da7ad0900005 + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "21593696-2a75-11ef-bbf5-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36922", "attribute_key": "Member-of", + "attribute_value": "TestOrgupdated", "created_at": "2024-06-14T17:40:03.079612+00:00", + "modified_at": "2024-06-14T17:40:03.313248+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36922"}}, "role": {"data": + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}, "team": + {"data": null}}}, "included": [{"type": "saml_assertion_attributes", "id": + "36922", "attributes": {"attribute_key": "Member-of", "attribute_value": "TestOrgupdated"}}, + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2024-06-14T17:40:02.876918+00:00", + "modified_at": "2024-06-14T17:40:02.877733+00:00"}, "relationships": {"permissions": + {"data": [{"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, + {"type": "permissions", "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5"}, {"type": + "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", + "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": + "bfafd0ce-7823-11ea-9689-c3e5118805ee"}, {"type": "permissions", "id": "5de1e178-8536-11ea-968a-2fd9395bff90"}, + {"type": "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f"}, {"type": + "permissions", "id": "e0d31696-aa58-11ea-af96-3b02991750c9"}, {"type": "permissions", + "id": "b6858556-f925-11ea-9222-1f47b8677b93"}, {"type": "permissions", "id": + "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a"}, + {"type": "permissions", "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5"}, {"type": + "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005"}, {"type": "permissions", + "id": "99397470-b16d-11eb-a891-da7ad0900005"}, {"type": "permissions", "id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005"}, + {"type": "permissions", "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": + "permissions", "id": "7ee7941c-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", + "id": "f5e054da-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": + "cf873174-574f-11ec-9869-da7ad0900005"}, {"type": "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005"}, + {"type": "permissions", "id": "e31e0056-8502-11ec-b266-da7ad0900005"}, {"type": + "permissions", "id": "e31cca10-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", + "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, {"type": "permissions", "id": + "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": "f42e4c6e-173a-11ed-8654-da7ad0900005"}, + {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005"}, {"type": + "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": + "926612da-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005"}, {"type": + "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}, {"type": "permissions", "id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005"}, + {"type": "permissions", "id": "94783714-4e9b-11ee-959b-da7ad0900005"}, {"type": + "permissions", "id": "2de35000-69e5-11ee-996b-da7ad0900005"}, {"type": "permissions", + "id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005"}, {"type": "permissions", "id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005"}, {"type": "permissions", "id": "e120d4c0-0969-11ef-965e-da7ad0900005"}]}}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrgFooupdated"}, "relationships": {"role": {"data": + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}}, "id": "21534c0e-2a75-11ef-8c13-da7ad0900005"}}' + headers: + Content-Type: + - application/json + method: PATCH + uri: https://api.datadoghq.eu/api/v2/authn_mappings/21534c0e-2a75-11ef-8c13-da7ad0900005 + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "21534c0e-2a75-11ef-8c13-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36920", "attribute_key": "Member-of", + "attribute_value": "TestOrgFooupdated", "created_at": "2024-06-14T17:40:03.040988+00:00", + "modified_at": "2024-06-14T17:40:03.316209+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36920"}}, "role": {"data": + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005"}}, "team": + {"data": null}}}, "included": [{"type": "saml_assertion_attributes", "id": + "36920", "attributes": {"attribute_key": "Member-of", "attribute_value": "TestOrgFooupdated"}}, + {"type": "roles", "id": "213a44d4-2a75-11ef-9f66-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2024-06-14T17:40:02.876918+00:00", + "modified_at": "2024-06-14T17:40:02.877733+00:00"}, "relationships": {"permissions": + {"data": [{"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, + {"type": "permissions", "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5"}, {"type": + "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", + "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": + "bfafd0ce-7823-11ea-9689-c3e5118805ee"}, {"type": "permissions", "id": "5de1e178-8536-11ea-968a-2fd9395bff90"}, + {"type": "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f"}, {"type": + "permissions", "id": "e0d31696-aa58-11ea-af96-3b02991750c9"}, {"type": "permissions", + "id": "b6858556-f925-11ea-9222-1f47b8677b93"}, {"type": "permissions", "id": + "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a"}, + {"type": "permissions", "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5"}, {"type": + "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005"}, {"type": "permissions", + "id": "99397470-b16d-11eb-a891-da7ad0900005"}, {"type": "permissions", "id": + "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005"}, + {"type": "permissions", "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": + "permissions", "id": "7ee7941c-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", + "id": "f5e054da-4792-11ec-944b-da7ad0900005"}, {"type": "permissions", "id": + "cf873174-574f-11ec-9869-da7ad0900005"}, {"type": "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005"}, + {"type": "permissions", "id": "e31e0056-8502-11ec-b266-da7ad0900005"}, {"type": + "permissions", "id": "e31cca10-8502-11ec-b266-da7ad0900005"}, {"type": "permissions", + "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, {"type": "permissions", "id": + "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": "permissions", "id": "f42e4c6e-173a-11ed-8654-da7ad0900005"}, + {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005"}, {"type": + "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005"}, {"type": "permissions", "id": + "926612da-7a4c-11ed-b809-da7ad0900005"}, {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005"}, {"type": + "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}, {"type": "permissions", "id": "ac2c73f8-3d1a-11ee-8f54-da7ad0900005"}, + {"type": "permissions", "id": "94783714-4e9b-11ee-959b-da7ad0900005"}, {"type": + "permissions", "id": "2de35000-69e5-11ee-996b-da7ad0900005"}, {"type": "permissions", + "id": "bebb2bca-c1e7-11ee-b9dc-da7ad0900005"}, {"type": "permissions", "id": + "cccfe6c4-018e-11ef-afb6-da7ad0900005"}, {"type": "permissions", "id": "e120d4c0-0969-11ef-965e-da7ad0900005"}]}}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrgFooupdated"}, "relationships": {"team": {"data": + {"type": "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b"}}}, "id": "214e8a66-2a75-11ef-9113-da7ad0900005"}}' + headers: + Content-Type: + - application/json + method: PATCH + uri: https://api.datadoghq.eu/api/v2/authn_mappings/214e8a66-2a75-11ef-9113-da7ad0900005 + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "214e8a66-2a75-11ef-9113-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36920", "attribute_key": "Member-of", + "attribute_value": "TestOrgFooupdated", "created_at": "2024-06-14T17:40:03.009631+00:00", + "modified_at": "2024-06-14T17:40:03.299764+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36920"}}, "role": {"data": + null}, "team": {"data": {"type": "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b"}}}}, + "included": [{"type": "saml_assertion_attributes", "id": "36920", "attributes": + {"attribute_key": "Member-of", "attribute_value": "TestOrgFooupdated"}}, {"type": + "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b", "attributes": {"name": + "Example team", "handle": "example-team", "summary": "This is the description + of a team", "avatar": null, "banner": 2, "user_count": 0, "link_count": 0, + "is_open_membership": true, "handles": ["example-team"]}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: '{"data": {"type": "authn_mappings", "attributes": {"attribute_key": "Member-of", + "attribute_value": "TestOrgupdated"}, "relationships": {"team": {"data": {"type": + "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b"}}}, "id": "2151d2ca-2a75-11ef-9510-da7ad0900005"}}' + headers: + Content-Type: + - application/json + method: PATCH + uri: https://api.datadoghq.eu/api/v2/authn_mappings/2151d2ca-2a75-11ef-9510-da7ad0900005 + response: + body: + string: '{"data": {"type": "authn_mappings", "id": "2151d2ca-2a75-11ef-9510-da7ad0900005", + "attributes": {"saml_assertion_attribute_id": "36922", "attribute_key": "Member-of", + "attribute_value": "TestOrgupdated", "created_at": "2024-06-14T17:40:03.031520+00:00", + "modified_at": "2024-06-14T17:40:03.320078+00:00"}, "relationships": {"saml_assertion_attribute": + {"data": {"type": "saml_assertion_attributes", "id": "36922"}}, "role": {"data": + null}, "team": {"data": {"type": "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b"}}}}, + "included": [{"type": "saml_assertion_attributes", "id": "36922", "attributes": + {"attribute_key": "Member-of", "attribute_value": "TestOrgupdated"}}, {"type": + "team", "id": "51fa54f0-d4db-49d4-bc56-523647fd352b", "attributes": {"name": + "Example team", "handle": "example-team", "summary": "This is the description + of a team", "avatar": null, "banner": 2, "user_count": 0, "link_count": 0, + "is_open_membership": true, "handles": ["example-team"]}}]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +version: 1 diff --git a/tests/integration/resources/test_authn_mappings.py b/tests/integration/resources/test_authn_mappings.py new file mode 100644 index 00000000..6dcd07b5 --- /dev/null +++ b/tests/integration/resources/test_authn_mappings.py @@ -0,0 +1,13 @@ +# Unless explicitly stated otherwise all files in this repository are licensed +# under the 3-clause BSD style license (see LICENSE). +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019 Datadog, Inc. + +from tests.integration.helpers import BaseResourcesTestClass +from datadog_sync.models import AuthNMappings + + +class TestAuthNMappingsResources(BaseResourcesTestClass): + resource_type = AuthNMappings.resource_type + field_to_update = "attributes.attribute_value" + force_missing_deps = True