diff --git a/datadog_sync/model/monitors.py b/datadog_sync/model/monitors.py index 0a12de0b..2e931a94 100644 --- a/datadog_sync/model/monitors.py +++ b/datadog_sync/model/monitors.py @@ -8,6 +8,7 @@ from typing import TYPE_CHECKING, Optional, List, Dict, cast from datadog_sync.utils.base_resource import BaseResource, ResourceConfig +from datadog_sync.utils.custom_client import PaginationConfig if TYPE_CHECKING: from datadog_sync.utils.custom_client import CustomClient @@ -36,9 +37,18 @@ class Monitors(BaseResource): ], ) # Additional Monitors specific attributes + pagination_config = PaginationConfig( + page_size=100, + page_number_param="page", + page_size_param="page_size", + remaining_func=lambda *args: 1, + response_list_accessor=None, + ) def get_resources(self, client: CustomClient) -> List[Dict]: - resp = client.get(self.resource_config.base_path).json() + resp = client.paginated_request(client.get)( + self.resource_config.base_path, pagination_config=self.pagination_config + ) return resp diff --git a/datadog_sync/utils/custom_client.py b/datadog_sync/utils/custom_client.py index d8b5580a..cb2ac530 100644 --- a/datadog_sync/utils/custom_client.py +++ b/datadog_sync/utils/custom_client.py @@ -111,10 +111,17 @@ def wrapper(*args, **kwargs): resp.raise_for_status() resp_json = resp.json() - resources.extend(resp_json["data"]) - if len(resp_json["data"]) < page_size: - remaining = 0 - continue + resp_len = 0 + if pagination_config.response_list_accessor: + resources.extend(resp_json[pagination_config.response_list_accessor]) + resp_len = len(resp_json[pagination_config.response_list_accessor]) + else: + resources.extend(resp_json) + resp_len = len(resp_json) + + if resp_len < page_size: + break + remaining = pagination_config.remaining_func(idx, resp_json, page_size, page_number) page_number = pagination_config.page_number_func(idx, page_size, page_number) idx += 1 @@ -163,3 +170,4 @@ class PaginationConfig(object): page_number_param: Optional[str] = "page[number]" remaining_func: Optional[Callable] = remaining_func page_number_func: Optional[Callable] = page_number_func + response_list_accessor: Optional[str] = "data" diff --git a/tests/conftest.py b/tests/conftest.py index b07fbe86..7ac31cd2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,11 +19,12 @@ tracer = None try: - from ddtrace import config, patch + if os.getenv("DD_AGENT_HOST"): + from ddtrace import config, patch - config.httplib["distributed_tracing"] = True - config.requests["distributed_tracing"] = True - patch(httplib=True, requests=True) + config.httplib["distributed_tracing"] = True + config.requests["distributed_tracing"] = True + patch(httplib=True, requests=True) except ImportError: pass diff --git a/tests/integration/cassettes/test_cli/TestCli.test_cleanup.frozen b/tests/integration/cassettes/test_cli/TestCli.test_cleanup.frozen index 3c1bfdcb..835d8503 100644 --- a/tests/integration/cassettes/test_cli/TestCli.test_cleanup.frozen +++ b/tests/integration/cassettes/test_cli/TestCli.test_cleanup.frozen @@ -1 +1 @@ -2023-07-13T11:45:13.357791-04:00 \ No newline at end of file +2023-08-24T10:06:43.745795-04:00 \ No newline at end of file diff --git a/tests/integration/cassettes/test_cli/TestCli.test_cleanup.yaml b/tests/integration/cassettes/test_cli/TestCli.test_cleanup.yaml index bc504605..3739fcdc 100644 --- a/tests/integration/cassettes/test_cli/TestCli.test_cleanup.yaml +++ b/tests/integration/cassettes/test_cli/TestCli.test_cleanup.yaml @@ -9,17 +9,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000685449e17eadc95f-0c202674dd7a7625-01 + - 00-00000000000000004d577ffaf392074c-049ea1a43b818997-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '873740611083728421' + - '332881149217048983' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '7517714910829988191' + - '5573063779699263308' method: GET uri: https://api.datadoghq.com/api/v2/roles?page%5Bnumber%5D=0&page%5Bsize%5D=100 response: @@ -128,18 +128,24 @@ interactions: "permissions", "id": "f416f55e-db3f-11ed-8028-da7ad0900002"}, {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002"}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002"}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002"}, - {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": - "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", - "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": "permissions", "id": - "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, - {"type": "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": - "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", - "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002"}, {"type": "permissions", "id": - "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002"}, - {"type": "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": - "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002"}]}}}, {"type": - "roles", "id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002", "attributes": {"name": - "Datadog Read Only Role", "created_at": "2021-05-28T15:47:16.084615+00:00", + {"type": "permissions", "id": "a4316eb8-f438-11ed-8af2-da7ad0900002"}, {"type": + "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002"}, {"type": "permissions", + "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": "permissions", "id": + "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, + {"type": "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": + "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, {"type": "permissions", + "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": "permissions", "id": + "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002"}, + {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": + "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002"}, {"type": "permissions", + "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": "permissions", "id": + "b1adb5da-0949-11ee-b2c4-da7ad0900002"}, {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002"}, + {"type": "permissions", "id": "6c5ce898-21a4-11ee-99ef-da7ad0900002"}, {"type": + "permissions", "id": "6c5ce992-21a4-11ee-99f0-da7ad0900002"}, {"type": "permissions", + "id": "785177a6-20da-11ee-bed7-da7ad0900002"}, {"type": "permissions", "id": + "7850e390-20da-11ee-bed6-da7ad0900002"}, {"type": "permissions", "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002"}]}}}, + {"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", "user_count": 1}, "relationships": {"permissions": {"data": [{"type": "permissions", "id": "5e605652-dd12-11e8-9e53-375565b8970e"}, {"type": "permissions", "id": "6f66600e-dd12-11e8-9e55-7f30fbb45e73"}, {"type": @@ -248,14 +254,18 @@ interactions: {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002"}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002"}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002"}, {"type": "permissions", "id": - "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, - {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": - "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": "permissions", - "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, {"type": "permissions", "id": - "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, - {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": - "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": "permissions", - "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002"}]}}}, {"type": "roles", "id": + "a4316eb8-f438-11ed-8af2-da7ad0900002"}, {"type": "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002"}, + {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": + "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", + "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": "permissions", "id": + "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, + {"type": "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": + "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", + "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": "permissions", "id": + "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002"}, + {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002"}, {"type": + "permissions", "id": "785177a6-20da-11ee-bed7-da7ad0900002"}, {"type": "permissions", + "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002"}]}}}, {"type": "roles", "id": "b33b7b6c-760f-11ed-a7cf-da7ad0900002", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1670404530", "created_at": "2022-12-07T09:15:32.195315+00:00", "modified_at": "2022-12-07T09:15:32.312728+00:00", "user_count": 0}, "relationships": {"permissions": {"data": [{"type": "permissions", @@ -375,17 +385,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000009337efd2ec1552d4-86ed5f75731781d2-01 + - 00-00000000000000008d38eb7f168d6e78-9aeb5fe696e4751c-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '9722532128609501650' + - '11163121545346577692' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10608211136477483732' + - '10176142289115377272' method: GET uri: https://api.datadoghq.com/api/v2/permissions response: @@ -567,36 +577,35 @@ interactions: "created": "2020-09-17T20:20:23.279769+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "3e4d4d28-f923-11ea-adbc-e3565938c12e", "attributes": {"name": "api_keys_write", - "display_name": "API Keys Write", "description": "Create, rename, and revoke - API Keys for your organization.", "created": "2020-09-17T20:20:35.264430+00:00", - "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", - "attributes": {"name": "synthetics_global_variable_read", "display_name": - "Synthetics Global Variable Read", "description": "View, search, and use Synthetics - global variables.", "created": "2020-09-17T20:20:48.446916+00:00", "group_name": - "Synthetic Monitoring", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", "attributes": - {"name": "synthetics_global_variable_write", "display_name": "Synthetics Global - Variable Write", "description": "Create, edit, and delete global variables - for Synthetics.", "created": "2020-09-17T20:20:56.322003+00:00", "group_name": - "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "5025ee24-f923-11ea-adbc-576ea241df8d", "attributes": - {"name": "synthetics_read", "display_name": "Synthetics Read", "description": - "List and view configured Synthetic tests and test results.", "created": "2020-09-17T20:21:05.205361+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "55f4b5ec-f923-11ea-adbc-1bfa2334a755", - "attributes": {"name": "synthetics_write", "display_name": "Synthetics Write", - "description": "Create, edit, and delete Synthetic tests.", "created": "2020-09-17T20:21:14.949140+00:00", + "display_name": "API Keys Write", "description": "Create and rename API Keys + for your organization.", "created": "2020-09-17T20:20:35.264430+00:00", "group_name": + "API and Application Keys", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", "attributes": + {"name": "synthetics_global_variable_read", "display_name": "Synthetics Global + Variable Read", "description": "View, search, and use Synthetics global variables.", + "created": "2020-09-17T20:20:48.446916+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", "attributes": {"name": "synthetics_global_variable_write", + "display_name": "Synthetics Global Variable Write", "description": "Create, + edit, and delete global variables for Synthetics.", "created": "2020-09-17T20:20:56.322003+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "5c6b88e2-f923-11ea-adbc-abf57d079420", - "attributes": {"name": "synthetics_default_settings_read", "display_name": - "Synthetics Default Settings Read", "description": "View the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:21:25.794160+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "642eebe6-f923-11ea-adbc-eb617674ea04", - "attributes": {"name": "synthetics_default_settings_write", "display_name": - "Synthetics Default Settings Write", "description": "Edit the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:21:38.818771+00:00", + false}}, {"type": "permissions", "id": "5025ee24-f923-11ea-adbc-576ea241df8d", + "attributes": {"name": "synthetics_read", "display_name": "Synthetics Read", + "description": "List and view configured Synthetic tests and test results.", + "created": "2020-09-17T20:21:05.205361+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "55f4b5ec-f923-11ea-adbc-1bfa2334a755", "attributes": {"name": "synthetics_write", + "display_name": "Synthetics Write", "description": "Create, edit, and delete + Synthetic tests.", "created": "2020-09-17T20:21:14.949140+00:00", "group_name": + "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "5c6b88e2-f923-11ea-adbc-abf57d079420", "attributes": + {"name": "synthetics_default_settings_read", "display_name": "Synthetics Default + Settings Read", "description": "View the default settings for Synthetic Monitoring.", + "created": "2020-09-17T20:21:25.794160+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "642eebe6-f923-11ea-adbc-eb617674ea04", "attributes": {"name": "synthetics_default_settings_write", + "display_name": "Synthetics Default Settings Write", "description": "Edit + the default settings for Synthetic Monitoring.", "created": "2020-09-17T20:21:38.818771+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "6ba32d22-0e1a-11eb-ba44-bf9a5aafaa39", "attributes": {"name": "logs_write_facets", "display_name": "Logs Write Facets", @@ -867,15 +876,16 @@ interactions: logs.", "created": "2022-08-08T21:30:42.723663+00:00", "group_name": "Log Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "6be119a6-1cd8-11ed-b185-da7ad0900002", "attributes": {"name": "watchdog_insights_read", - "display_name": "Watchdog Insights Read", "description": "View Watchdog Insights.", - "created": "2022-08-15T20:25:36.677197+00:00", "group_name": "Watchdog", "display_type": - "read", "restricted": false}}, {"type": "permissions", "id": "36e2a22e-248a-11ed-b405-da7ad0900002", - "attributes": {"name": "connections_resolve", "display_name": "Connections - Resolve", "description": "Resolve connections.", "created": "2022-08-25T15:25:56.325170+00:00", - "group_name": "Workflows", "display_type": "read", "restricted": false}}, - {"type": "permissions", "id": "4ee674f6-55d9-11ed-b10d-da7ad0900002", "attributes": - {"name": "appsec_protect_read", "display_name": "Application Security Management - Protect Read", "description": "View blocked attackers.", "created": "2022-10-27T09:25:33.834253+00:00", + "display_name": "Watchdog Insights Read", "description": "Deprecated. View + Watchdog Insights.", "created": "2022-08-15T20:25:36.677197+00:00", "group_name": + "Watchdog", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "36e2a22e-248a-11ed-b405-da7ad0900002", "attributes": {"name": "connections_resolve", + "display_name": "Connections Resolve", "description": "Resolve connections.", + "created": "2022-08-25T15:25:56.325170+00:00", "group_name": "Workflows", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "4ee674f6-55d9-11ed-b10d-da7ad0900002", "attributes": {"name": "appsec_protect_read", + "display_name": "Application Security Management Protect Read", "description": + "View blocked attackers.", "created": "2022-10-27T09:25:33.834253+00:00", "group_name": "Cloud Security Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "4ee7e46c-55d9-11ed-b10e-da7ad0900002", "attributes": {"name": "appsec_protect_write", "display_name": "Application @@ -975,12 +985,12 @@ interactions: "write", "restricted": false}}, {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002", "attributes": {"name": "saved_views_write", "display_name": "Saved Views Write", "description": "Modify Saved Views across all Datadog products.", "created": - "2023-04-15T03:45:24.289668+00:00", "group_name": "Saved Views", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002", - "attributes": {"name": "client_tokens_read", "display_name": "Client Tokens - Read", "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.", "created": "2023-04-19T09:55:24.976379+00:00", + "2023-04-15T03:45:24.289668+00:00", "group_name": "Cross-Product Features", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "4e61a95e-de98-11ed-aa23-da7ad0900002", "attributes": {"name": "client_tokens_read", + "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T09:55:24.976379+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002", "attributes": {"name": "client_tokens_write", "display_name": "Client Tokens @@ -988,58 +998,95 @@ interactions: tokens may be exposed client-side in JavaScript code for web browsers and other clients to send data to Datadog.", "created": "2023-04-19T09:55:24.976379+00:00", "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", - "attributes": {"name": "event_config_write", "display_name": "Event Config - Write", "description": "Manage general event configuration such as API Emails.", - "created": "2023-05-20T01:20:31.639587+00:00", "group_name": "Events", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", - "attributes": {"name": "security_monitoring_findings_write", "display_name": - "Security Monitoring Findings Write", "description": "Mute CSPM Findings.", - "created": "2023-05-23T22:50:34.532448+00:00", "group_name": "Cloud Security - Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "a773e3d8-fff2-11ed-965c-da7ad0900002", "attributes": {"name": "cloud_cost_management_read", - "display_name": "Cloud Cost Management Read", "description": "Read cloud cost - data such as cost metrics and tags.", "created": "2023-05-31T20:35:17.490437+00:00", - "group_name": "Cloud Cost Management", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002", - "attributes": {"name": "cloud_cost_management_write", "display_name": "Cloud - Cost Management Write", "description": "Configure cloud cost accounts and - global customizations.", "created": "2023-05-31T20:35:17.490437+00:00", "group_name": - "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002", "attributes": - {"name": "host_tags_write", "display_name": "Host Tags Write", "description": - "Add and change tags on hosts.", "created": "2023-05-31T05:26:07.469293+00:00", - "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002", "attributes": - {"name": "ci_visibility_pipelines_write", "display_name": "CI Visibility Pipelines - Write", "description": "Create CI Visibility pipeline spans using the API.", - "created": "2023-06-01T11:35:17.513706+00:00", "group_name": "CI Visibility", - "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "attributes": {"name": "quality_gate_rules_read", - "display_name": "Quality Gate Rules Read", "description": "View Quality Gate - Rules.", "created": "2023-06-19T17:31:08.295856+00:00", "group_name": "CI - Visibility", "display_type": "read", "restricted": false}}, {"type": "permissions", - "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "attributes": {"name": "quality_gate_rules_write", - "display_name": "Quality Gate Rules Write", "description": "Edit Quality Gate - Rules.", "created": "2023-06-19T17:31:08.295856+00:00", "group_name": "CI - Visibility", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "attributes": {"name": "metrics_metadata_write", - "display_name": "Metrics Metadata Write", "description": "Edit metadata on - metrics.", "created": "2023-06-23T17:31:34.182629+00:00", "group_name": "Metrics", + false}}, {"type": "permissions", "id": "a4316eb8-f438-11ed-8af2-da7ad0900002", + "attributes": {"name": "event_correlation_config_read", "display_name": "Event + Correlation Config Read", "description": "Read Event Correlation Configuration + data such as Correlation Rules and Settings.", "created": "2023-05-16T22:26:02.839419+00:00", + "group_name": "Events", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002", "attributes": + {"name": "event_correlation_config_write", "display_name": "Event Correlation + Config Write", "description": "Manage Event Correlation Configuration such + as Correlation Rules and Settings.", "created": "2023-05-16T22:26:02.839419+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", "attributes": + {"name": "event_config_write", "display_name": "Event Config Write", "description": + "Manage general event configuration such as API Emails.", "created": "2023-05-20T01:20:31.639587+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", "attributes": + {"name": "security_monitoring_findings_write", "display_name": "Security Monitoring + Findings Write", "description": "Mute CSPM Findings.", "created": "2023-05-23T22:50:34.532448+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002", + "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud + Cost Management Read", "description": "Read cloud cost data such as cost metrics + and tags.", "created": "2023-05-31T20:35:17.490437+00:00", "group_name": "Cloud + Cost Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002", "attributes": + {"name": "cloud_cost_management_write", "display_name": "Cloud Cost Management + Write", "description": "Configure cloud cost accounts and global customizations.", + "created": "2023-05-31T20:35:17.490437+00:00", "group_name": "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "attributes": {"name": "rum_delete_data", - "display_name": "RUM Delete Data", "description": "Delete data from RUM.", - "created": "2023-06-12T17:51:01.325450+00:00", "group_name": "Real User Monitoring", + "a51b375a-ff73-11ed-8c18-da7ad0900002", "attributes": {"name": "host_tags_write", + "display_name": "Host Tags Write", "description": "Add and change tags on + hosts.", "created": "2023-05-31T05:26:07.469293+00:00", "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "attributes": {"name": "appsec_vm_write", - "display_name": "Application Security Vulnerability Management Write", "description": - "Update status or assignee of Application Security vulnerabilities.", "created": - "2023-06-12T17:51:01.325450+00:00", "group_name": "Cloud Security Platform", + "61f9891a-0070-11ee-9c3f-da7ad0900002", "attributes": {"name": "ci_visibility_pipelines_write", + "display_name": "CI Visibility Pipelines Write", "description": "Create CI + Visibility pipeline spans using the API.", "created": "2023-06-01T11:35:17.513706+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "attributes": + {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", + "description": "View Quality Gate Rules.", "created": "2023-06-19T17:31:08.295856+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "attributes": + {"name": "quality_gate_rules_write", "display_name": "Quality Gate Rules Write", + "description": "Edit Quality Gate Rules.", "created": "2023-06-19T17:31:08.295856+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "attributes": + {"name": "metrics_metadata_write", "display_name": "Metrics Metadata Write", + "description": "Edit metadata on metrics.", "created": "2023-06-23T17:31:34.182629+00:00", + "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "attributes": + {"name": "rum_delete_data", "display_name": "RUM Delete Data", "description": + "Delete data from RUM.", "created": "2023-06-12T17:51:01.325450+00:00", "group_name": + "Real User Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "attributes": + {"name": "appsec_vm_write", "display_name": "Application Security Vulnerability + Management Write", "description": "Update status or assignee of Application + Security vulnerabilities.", "created": "2023-06-12T17:51:01.325450+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002", + "attributes": {"name": "reference_tables_write", "display_name": "Reference + Tables Write", "description": "Create or modify Reference Tables.", "created": + "2023-06-12T17:51:01.325450+00:00", "group_name": "Reference Tables", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002", + "attributes": {"name": "rum_playlist_write", "display_name": "RUM Playlist + Write", "description": "Create, update, and delete RUM playlists. Add and + remove sessions from RUM playlists.", "created": "2023-07-07T17:31:08.450865+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "6c5ce898-21a4-11ee-99ef-da7ad0900002", + "attributes": {"name": "observability_pipelines_delete", "display_name": "Pipeline + Delete", "description": "Delete pipelines from your organization.", "created": + "2023-07-13T17:40:57.140947+00:00", "group_name": "Observability Pipelines", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1adb5da-0949-11ee-b2c4-da7ad0900002", "attributes": {"name": "reference_tables_write", - "display_name": "Reference Tables Write", "description": "Create or modify - Reference Tables.", "created": "2023-06-12T17:51:01.325450+00:00", "group_name": - "Reference Tables", "display_type": "write", "restricted": false}}]}' + "6c5ce992-21a4-11ee-99f0-da7ad0900002", "attributes": {"name": "observability_pipelines_deploy", + "display_name": "Pipeline Deploy", "description": "Deploy pipelines in your + organization.", "created": "2023-07-13T17:40:57.140947+00:00", "group_name": + "Observability Pipelines", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "785177a6-20da-11ee-bed7-da7ad0900002", "attributes": + {"name": "processes_generate_metrics", "display_name": "Processes Generate + Metrics", "description": "Create custom metrics from processes.", "created": + "2023-07-12T17:35:18.858294+00:00", "group_name": "Processes", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "7850e390-20da-11ee-bed6-da7ad0900002", + "attributes": {"name": "api_keys_delete", "display_name": "API Keys Delete", + "description": "Delete API Keys for your organization.", "created": "2023-07-12T17:35:18.858294+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002", + "attributes": {"name": "facets_write", "display_name": "Facets Write", "description": + "Manage facets for products other than Log Management, such as APM Traces. + To modify Log Facets, use Logs Write Facets.", "created": "2023-07-27T17:36:24.369352+00:00", + "group_name": "Cross-Product Features", "display_type": "write", "restricted": + false}}]}' headers: Content-Type: - application/json @@ -1056,17 +1103,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000008af7404b6d91e770-e6be82fafcd51314-01 + - 00-0000000000000000d0a17285b33d070e-2c1ec9e06e9d5c35-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '16626870888793707284' + - '3179200352735812661' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10013542989186590576' + - '15033422949702764302' method: GET uri: https://api.datadoghq.com/api/v2/users?page%5Bnumber%5D=0&page%5Bsize%5D=100 response: @@ -1237,17 +1284,23 @@ interactions: "permissions", "id": "f416f55e-db3f-11ed-8028-da7ad0900002"}, {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002"}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002"}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002"}, - {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": - "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", - "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": "permissions", "id": - "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, - {"type": "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": - "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", - "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002"}, {"type": "permissions", "id": - "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002"}, - {"type": "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": - "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002"}]}}}, {"type": - "permissions", "id": "984d2f00-d3b4-11e8-a200-bb47109e9987", "attributes": + {"type": "permissions", "id": "a4316eb8-f438-11ed-8af2-da7ad0900002"}, {"type": + "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002"}, {"type": "permissions", + "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": "permissions", "id": + "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, + {"type": "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": + "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, {"type": "permissions", + "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": "permissions", "id": + "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002"}, + {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": + "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002"}, {"type": "permissions", + "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": "permissions", "id": + "b1adb5da-0949-11ee-b2c4-da7ad0900002"}, {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002"}, + {"type": "permissions", "id": "6c5ce898-21a4-11ee-99ef-da7ad0900002"}, {"type": + "permissions", "id": "6c5ce992-21a4-11ee-99f0-da7ad0900002"}, {"type": "permissions", + "id": "785177a6-20da-11ee-bed7-da7ad0900002"}, {"type": "permissions", "id": + "7850e390-20da-11ee-bed6-da7ad0900002"}, {"type": "permissions", "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002"}]}}}, + {"type": "permissions", "id": "984d2f00-d3b4-11e8-a200-bb47109e9987", "attributes": {"name": "standard", "display_name": "Standard Access", "description": "View and edit components in your Datadog organization that do not have explicitly defined permissions.", "created": "2018-10-19T15:35:23.756736+00:00", "group_name": @@ -1418,36 +1471,35 @@ interactions: "created": "2020-09-17T20:20:23.279769+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "3e4d4d28-f923-11ea-adbc-e3565938c12e", "attributes": {"name": "api_keys_write", - "display_name": "API Keys Write", "description": "Create, rename, and revoke - API Keys for your organization.", "created": "2020-09-17T20:20:35.264430+00:00", - "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", - "attributes": {"name": "synthetics_global_variable_read", "display_name": - "Synthetics Global Variable Read", "description": "View, search, and use Synthetics - global variables.", "created": "2020-09-17T20:20:48.446916+00:00", "group_name": - "Synthetic Monitoring", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", "attributes": - {"name": "synthetics_global_variable_write", "display_name": "Synthetics Global - Variable Write", "description": "Create, edit, and delete global variables - for Synthetics.", "created": "2020-09-17T20:20:56.322003+00:00", "group_name": - "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "5025ee24-f923-11ea-adbc-576ea241df8d", "attributes": - {"name": "synthetics_read", "display_name": "Synthetics Read", "description": - "List and view configured Synthetic tests and test results.", "created": "2020-09-17T20:21:05.205361+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "55f4b5ec-f923-11ea-adbc-1bfa2334a755", - "attributes": {"name": "synthetics_write", "display_name": "Synthetics Write", - "description": "Create, edit, and delete Synthetic tests.", "created": "2020-09-17T20:21:14.949140+00:00", + "display_name": "API Keys Write", "description": "Create and rename API Keys + for your organization.", "created": "2020-09-17T20:20:35.264430+00:00", "group_name": + "API and Application Keys", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", "attributes": + {"name": "synthetics_global_variable_read", "display_name": "Synthetics Global + Variable Read", "description": "View, search, and use Synthetics global variables.", + "created": "2020-09-17T20:20:48.446916+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", "attributes": {"name": "synthetics_global_variable_write", + "display_name": "Synthetics Global Variable Write", "description": "Create, + edit, and delete global variables for Synthetics.", "created": "2020-09-17T20:20:56.322003+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "5c6b88e2-f923-11ea-adbc-abf57d079420", - "attributes": {"name": "synthetics_default_settings_read", "display_name": - "Synthetics Default Settings Read", "description": "View the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:21:25.794160+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "642eebe6-f923-11ea-adbc-eb617674ea04", - "attributes": {"name": "synthetics_default_settings_write", "display_name": - "Synthetics Default Settings Write", "description": "Edit the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:21:38.818771+00:00", + false}}, {"type": "permissions", "id": "5025ee24-f923-11ea-adbc-576ea241df8d", + "attributes": {"name": "synthetics_read", "display_name": "Synthetics Read", + "description": "List and view configured Synthetic tests and test results.", + "created": "2020-09-17T20:21:05.205361+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "55f4b5ec-f923-11ea-adbc-1bfa2334a755", "attributes": {"name": "synthetics_write", + "display_name": "Synthetics Write", "description": "Create, edit, and delete + Synthetic tests.", "created": "2020-09-17T20:21:14.949140+00:00", "group_name": + "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "5c6b88e2-f923-11ea-adbc-abf57d079420", "attributes": + {"name": "synthetics_default_settings_read", "display_name": "Synthetics Default + Settings Read", "description": "View the default settings for Synthetic Monitoring.", + "created": "2020-09-17T20:21:25.794160+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "642eebe6-f923-11ea-adbc-eb617674ea04", "attributes": {"name": "synthetics_default_settings_write", + "display_name": "Synthetics Default Settings Write", "description": "Edit + the default settings for Synthetic Monitoring.", "created": "2020-09-17T20:21:38.818771+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "6ba32d22-0e1a-11eb-ba44-bf9a5aafaa39", "attributes": {"name": "logs_write_facets", "display_name": "Logs Write Facets", @@ -1707,15 +1759,16 @@ interactions: logs.", "created": "2022-08-08T21:30:42.723663+00:00", "group_name": "Log Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "6be119a6-1cd8-11ed-b185-da7ad0900002", "attributes": {"name": "watchdog_insights_read", - "display_name": "Watchdog Insights Read", "description": "View Watchdog Insights.", - "created": "2022-08-15T20:25:36.677197+00:00", "group_name": "Watchdog", "display_type": - "read", "restricted": false}}, {"type": "permissions", "id": "36e2a22e-248a-11ed-b405-da7ad0900002", - "attributes": {"name": "connections_resolve", "display_name": "Connections - Resolve", "description": "Resolve connections.", "created": "2022-08-25T15:25:56.325170+00:00", - "group_name": "Workflows", "display_type": "read", "restricted": false}}, - {"type": "permissions", "id": "4ee674f6-55d9-11ed-b10d-da7ad0900002", "attributes": - {"name": "appsec_protect_read", "display_name": "Application Security Management - Protect Read", "description": "View blocked attackers.", "created": "2022-10-27T09:25:33.834253+00:00", + "display_name": "Watchdog Insights Read", "description": "Deprecated. View + Watchdog Insights.", "created": "2022-08-15T20:25:36.677197+00:00", "group_name": + "Watchdog", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "36e2a22e-248a-11ed-b405-da7ad0900002", "attributes": {"name": "connections_resolve", + "display_name": "Connections Resolve", "description": "Resolve connections.", + "created": "2022-08-25T15:25:56.325170+00:00", "group_name": "Workflows", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "4ee674f6-55d9-11ed-b10d-da7ad0900002", "attributes": {"name": "appsec_protect_read", + "display_name": "Application Security Management Protect Read", "description": + "View blocked attackers.", "created": "2022-10-27T09:25:33.834253+00:00", "group_name": "Cloud Security Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "4ee7e46c-55d9-11ed-b10e-da7ad0900002", "attributes": {"name": "appsec_protect_write", "display_name": "Application @@ -1815,12 +1868,12 @@ interactions: "write", "restricted": false}}, {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002", "attributes": {"name": "saved_views_write", "display_name": "Saved Views Write", "description": "Modify Saved Views across all Datadog products.", "created": - "2023-04-15T03:45:24.289668+00:00", "group_name": "Saved Views", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002", - "attributes": {"name": "client_tokens_read", "display_name": "Client Tokens - Read", "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.", "created": "2023-04-19T09:55:24.976379+00:00", + "2023-04-15T03:45:24.289668+00:00", "group_name": "Cross-Product Features", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "4e61a95e-de98-11ed-aa23-da7ad0900002", "attributes": {"name": "client_tokens_read", + "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T09:55:24.976379+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002", "attributes": {"name": "client_tokens_write", "display_name": "Client Tokens @@ -1828,60 +1881,96 @@ interactions: tokens may be exposed client-side in JavaScript code for web browsers and other clients to send data to Datadog.", "created": "2023-04-19T09:55:24.976379+00:00", "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", - "attributes": {"name": "event_config_write", "display_name": "Event Config - Write", "description": "Manage general event configuration such as API Emails.", - "created": "2023-05-20T01:20:31.639587+00:00", "group_name": "Events", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", - "attributes": {"name": "security_monitoring_findings_write", "display_name": - "Security Monitoring Findings Write", "description": "Mute CSPM Findings.", - "created": "2023-05-23T22:50:34.532448+00:00", "group_name": "Cloud Security - Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "a773e3d8-fff2-11ed-965c-da7ad0900002", "attributes": {"name": "cloud_cost_management_read", - "display_name": "Cloud Cost Management Read", "description": "Read cloud cost - data such as cost metrics and tags.", "created": "2023-05-31T20:35:17.490437+00:00", - "group_name": "Cloud Cost Management", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002", - "attributes": {"name": "cloud_cost_management_write", "display_name": "Cloud - Cost Management Write", "description": "Configure cloud cost accounts and - global customizations.", "created": "2023-05-31T20:35:17.490437+00:00", "group_name": - "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002", "attributes": - {"name": "host_tags_write", "display_name": "Host Tags Write", "description": - "Add and change tags on hosts.", "created": "2023-05-31T05:26:07.469293+00:00", - "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002", "attributes": - {"name": "ci_visibility_pipelines_write", "display_name": "CI Visibility Pipelines - Write", "description": "Create CI Visibility pipeline spans using the API.", - "created": "2023-06-01T11:35:17.513706+00:00", "group_name": "CI Visibility", - "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "attributes": {"name": "quality_gate_rules_read", - "display_name": "Quality Gate Rules Read", "description": "View Quality Gate - Rules.", "created": "2023-06-19T17:31:08.295856+00:00", "group_name": "CI - Visibility", "display_type": "read", "restricted": false}}, {"type": "permissions", - "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "attributes": {"name": "quality_gate_rules_write", - "display_name": "Quality Gate Rules Write", "description": "Edit Quality Gate - Rules.", "created": "2023-06-19T17:31:08.295856+00:00", "group_name": "CI - Visibility", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "attributes": {"name": "metrics_metadata_write", - "display_name": "Metrics Metadata Write", "description": "Edit metadata on - metrics.", "created": "2023-06-23T17:31:34.182629+00:00", "group_name": "Metrics", + false}}, {"type": "permissions", "id": "a4316eb8-f438-11ed-8af2-da7ad0900002", + "attributes": {"name": "event_correlation_config_read", "display_name": "Event + Correlation Config Read", "description": "Read Event Correlation Configuration + data such as Correlation Rules and Settings.", "created": "2023-05-16T22:26:02.839419+00:00", + "group_name": "Events", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002", "attributes": + {"name": "event_correlation_config_write", "display_name": "Event Correlation + Config Write", "description": "Manage Event Correlation Configuration such + as Correlation Rules and Settings.", "created": "2023-05-16T22:26:02.839419+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", "attributes": + {"name": "event_config_write", "display_name": "Event Config Write", "description": + "Manage general event configuration such as API Emails.", "created": "2023-05-20T01:20:31.639587+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", "attributes": + {"name": "security_monitoring_findings_write", "display_name": "Security Monitoring + Findings Write", "description": "Mute CSPM Findings.", "created": "2023-05-23T22:50:34.532448+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002", + "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud + Cost Management Read", "description": "Read cloud cost data such as cost metrics + and tags.", "created": "2023-05-31T20:35:17.490437+00:00", "group_name": "Cloud + Cost Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002", "attributes": + {"name": "cloud_cost_management_write", "display_name": "Cloud Cost Management + Write", "description": "Configure cloud cost accounts and global customizations.", + "created": "2023-05-31T20:35:17.490437+00:00", "group_name": "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "attributes": {"name": "rum_delete_data", - "display_name": "RUM Delete Data", "description": "Delete data from RUM.", - "created": "2023-06-12T17:51:01.325450+00:00", "group_name": "Real User Monitoring", + "a51b375a-ff73-11ed-8c18-da7ad0900002", "attributes": {"name": "host_tags_write", + "display_name": "Host Tags Write", "description": "Add and change tags on + hosts.", "created": "2023-05-31T05:26:07.469293+00:00", "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "attributes": {"name": "appsec_vm_write", - "display_name": "Application Security Vulnerability Management Write", "description": - "Update status or assignee of Application Security vulnerabilities.", "created": - "2023-06-12T17:51:01.325450+00:00", "group_name": "Cloud Security Platform", + "61f9891a-0070-11ee-9c3f-da7ad0900002", "attributes": {"name": "ci_visibility_pipelines_write", + "display_name": "CI Visibility Pipelines Write", "description": "Create CI + Visibility pipeline spans using the API.", "created": "2023-06-01T11:35:17.513706+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "attributes": + {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", + "description": "View Quality Gate Rules.", "created": "2023-06-19T17:31:08.295856+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "attributes": + {"name": "quality_gate_rules_write", "display_name": "Quality Gate Rules Write", + "description": "Edit Quality Gate Rules.", "created": "2023-06-19T17:31:08.295856+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "attributes": + {"name": "metrics_metadata_write", "display_name": "Metrics Metadata Write", + "description": "Edit metadata on metrics.", "created": "2023-06-23T17:31:34.182629+00:00", + "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "attributes": + {"name": "rum_delete_data", "display_name": "RUM Delete Data", "description": + "Delete data from RUM.", "created": "2023-06-12T17:51:01.325450+00:00", "group_name": + "Real User Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "attributes": + {"name": "appsec_vm_write", "display_name": "Application Security Vulnerability + Management Write", "description": "Update status or assignee of Application + Security vulnerabilities.", "created": "2023-06-12T17:51:01.325450+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002", + "attributes": {"name": "reference_tables_write", "display_name": "Reference + Tables Write", "description": "Create or modify Reference Tables.", "created": + "2023-06-12T17:51:01.325450+00:00", "group_name": "Reference Tables", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002", + "attributes": {"name": "rum_playlist_write", "display_name": "RUM Playlist + Write", "description": "Create, update, and delete RUM playlists. Add and + remove sessions from RUM playlists.", "created": "2023-07-07T17:31:08.450865+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "6c5ce898-21a4-11ee-99ef-da7ad0900002", + "attributes": {"name": "observability_pipelines_delete", "display_name": "Pipeline + Delete", "description": "Delete pipelines from your organization.", "created": + "2023-07-13T17:40:57.140947+00:00", "group_name": "Observability Pipelines", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1adb5da-0949-11ee-b2c4-da7ad0900002", "attributes": {"name": "reference_tables_write", - "display_name": "Reference Tables Write", "description": "Create or modify - Reference Tables.", "created": "2023-06-12T17:51:01.325450+00:00", "group_name": - "Reference Tables", "display_type": "write", "restricted": false}}, {"type": - "roles", "id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002", "attributes": {"name": - "Datadog Read Only Role", "created_at": "2021-05-28T15:47:16.084615+00:00", + "6c5ce992-21a4-11ee-99f0-da7ad0900002", "attributes": {"name": "observability_pipelines_deploy", + "display_name": "Pipeline Deploy", "description": "Deploy pipelines in your + organization.", "created": "2023-07-13T17:40:57.140947+00:00", "group_name": + "Observability Pipelines", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "785177a6-20da-11ee-bed7-da7ad0900002", "attributes": + {"name": "processes_generate_metrics", "display_name": "Processes Generate + Metrics", "description": "Create custom metrics from processes.", "created": + "2023-07-12T17:35:18.858294+00:00", "group_name": "Processes", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "7850e390-20da-11ee-bed6-da7ad0900002", + "attributes": {"name": "api_keys_delete", "display_name": "API Keys Delete", + "description": "Delete API Keys for your organization.", "created": "2023-07-12T17:35:18.858294+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002", + "attributes": {"name": "facets_write", "display_name": "Facets Write", "description": + "Manage facets for products other than Log Management, such as APM Traces. + To modify Log Facets, use Logs Write Facets.", "created": "2023-07-27T17:36:24.369352+00:00", + "group_name": "Cross-Product Features", "display_type": "write", "restricted": + false}}, {"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": @@ -1920,7 +2009,7 @@ interactions: code: 200 message: OK - request: - body: '{"public_ids": ["2ha-4cg-qrg"]}' + body: null headers: Accept: - '*/*' @@ -1929,28 +2018,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000aa20aa1df4dc4835-cc377a387af67b45-01 + - 00-0000000000000000d32a787edde9ce1c-f8c95dd1113f97ec-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '14715364690456116037' + - '17926962944243898348' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '12258985231341340725' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete + - '15216106777308941852' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/monitor/12742222?force=True response: body: - string: '{"deleted_tests": [{"public_id": "2ha-4cg-qrg", "deleted_at": "2023-07-13T15:45:14.005341+00:00"}]}' + string: '{"deleted_monitor_id": 12742222}' headers: {} status: code: 200 message: OK - request: - body: '{"public_ids": ["saw-jc6-qhk"]}' + body: null headers: Accept: - '*/*' @@ -1959,28 +2048,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000d5115f9bda97743c-439f069472010579-01 + - 00-000000000000000011ffead5f1ae26a4-e56e36fb78760190-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '4872620556475762041' + - '16532211735809360272' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '15353157727674659900' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete + - '1297013422309648036' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/monitor/12742223?force=True response: body: - string: '{"deleted_tests": [{"public_id": "saw-jc6-qhk", "deleted_at": "2023-07-13T15:45:14.458969+00:00"}]}' + string: '{"deleted_monitor_id": 12742223}' headers: {} status: code: 200 message: OK - request: - body: '{"public_ids": ["nyw-u8b-gfd"]}' + body: null headers: Accept: - '*/*' @@ -1989,28 +2078,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000007528201b4b37990-b62a914fc6c40316-01 + - 00-0000000000000000a6fc2dcc92f5e4ae-09588415246c2a61-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '13126463835747910422' + - '673433370632137313' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '527627050194008464' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete + - '12032542661089289390' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/monitor/12742202?force=True response: body: - string: '{"deleted_tests": [{"public_id": "nyw-u8b-gfd", "deleted_at": "2023-07-13T15:45:15.541977+00:00"}]}' + string: '{"deleted_monitor_id": 12742202}' headers: {} status: code: 200 message: OK - request: - body: '{"public_ids": ["vi2-mns-2uh"]}' + body: null headers: Accept: - '*/*' @@ -2019,28 +2108,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000a37a44915ea6fa43-7b524041b08e184d-01 + - 00-0000000000000000d509b0c76a54411a-41e1c7f1ccfc386e-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '8886235665634564173' + - '4747295323565340782' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11779803166489901635' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete + - '15350995175397933338' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/monitor/12742203?force=True response: body: - string: '{"deleted_tests": [{"public_id": "vi2-mns-2uh", "deleted_at": "2023-07-13T15:45:15.872687+00:00"}]}' + string: '{"deleted_monitor_id": 12742203}' headers: {} status: code: 200 message: OK - request: - body: '{"public_ids": ["3zu-dch-xv6"]}' + body: null headers: Accept: - '*/*' @@ -2049,28 +2138,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000e8f91e934504bd4a-0505cb4d5d6468dc-01 + - 00-000000000000000016800a7f8ca29467-a4342a317c2a3033-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '361918878212974812' + - '11832128513034039347' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16787482703867198794' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete + - '1621307408789967975' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/monitor/12742204?force=True response: body: - string: '{"deleted_tests": [{"public_id": "3zu-dch-xv6", "deleted_at": "2023-07-13T15:45:16.186194+00:00"}]}' + string: '{"deleted_monitor_id": 12742204}' headers: {} status: code: 200 message: OK - request: - body: '{"public_ids": ["np5-nmb-hvt"]}' + body: null headers: Accept: - '*/*' @@ -2079,28 +2168,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000046c693b77cfe4bef-a38ec38f2e848673-01 + - 00-0000000000000000dd37564661b731f8-881f0ceca8c7eb6d-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '11785572294603343475' + - '9808572724019719021' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '5099926044329004015' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete + - '15940304266388255224' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/monitor/12742201?force=True response: body: - string: '{"deleted_tests": [{"public_id": "np5-nmb-hvt", "deleted_at": "2023-07-13T15:45:16.582358+00:00"}]}' + string: '{"deleted_monitor_id": 12742201}' headers: {} status: code: 200 message: OK - request: - body: '{"public_ids": ["vws-tex-mrw"]}' + body: null headers: Accept: - '*/*' @@ -2109,28 +2198,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000003137f1d79f93a78a-1e4e5dc296d83660-01 + - 00-0000000000000000927783bfd85e8c96-c7f5a0a7c36b982e-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '2183785959657059936' + - '14408599225240361006' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '3546569139975071626' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete + - '10554049111758113942' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/monitor/12742200?force=True response: body: - string: '{"deleted_tests": [{"public_id": "vws-tex-mrw", "deleted_at": "2023-07-13T15:45:17.400451+00:00"}]}' + string: '{"deleted_monitor_id": 12742200}' headers: {} status: code: 200 message: OK - request: - body: '{"public_ids": ["szc-8rx-848"]}' + body: null headers: Accept: - '*/*' @@ -2139,22 +2228,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000027e185ff22f0821c-8a70472d5ab7dac7-01 + - 00-00000000000000002ad493e92ae8d197-0dd3caae445c8a26-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '9975551434746747591' + - '996362792399047206' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2873725368088429084' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete + - '3086254274312196503' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/monitor/12742199?force=True response: body: - string: '{"deleted_tests": [{"public_id": "szc-8rx-848", "deleted_at": "2023-07-13T15:45:17.727165+00:00"}]}' + string: '{"deleted_monitor_id": 12742199}' headers: {} status: code: 200 @@ -2169,22 +2258,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000006f0a29c4f655ded2-efd0437c3e660de4-01 + - 00-0000000000000000fbcd5edb60250e87-0447b2ce240cedb1-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '17280385971122474468' + - '308411697936002481' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '8001253613900259026' + - '18144262770049486471' method: DELETE - uri: https://api.datadoghq.eu/api/v1/slo/22c2335dc3fe567496f602844803c7b3?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742205?force=True response: body: - string: '{"data": ["22c2335dc3fe567496f602844803c7b3"], "error": null}' + string: '{"deleted_monitor_id": 12742205}' headers: {} status: code: 200 @@ -2199,22 +2288,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000050f0b075685c233a-3b5a983ac57577a8-01 + - 00-00000000000000002890d12300593dd0-78105ac79610fa28-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '4276898174330042280' + - '8651514697441409576' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '5832355535753323322' + - '2923066106423360976' method: DELETE - uri: https://api.datadoghq.eu/api/v1/slo/6440a931dd1d5f6bbe0eb21a830eecc0?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742206?force=True response: body: - string: '{"data": ["6440a931dd1d5f6bbe0eb21a830eecc0"], "error": null}' + string: '{"deleted_monitor_id": 12742206}' headers: {} status: code: 200 @@ -2229,26 +2318,26 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000ab86f5cbc23622cd-13b003de62fb5647-01 + - 00-000000000000000071bacd6102470ef1-2ab82389194b4ed3-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '1418638136299968071' + - '3078249417049591507' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '12359836482850398925' + - '8195088288487771889' method: DELETE - uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual/27618 + uri: https://api.datadoghq.eu/api/v1/downtime/282028173 response: body: - string: '{"deleted_dashboard_list_id": 27618}' + string: '' headers: {} status: - code: 200 - message: OK + code: 204 + message: No Content - request: body: null headers: @@ -2259,26 +2348,26 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000922361992eaad7b8-d370a3d53975283f-01 + - 00-000000000000000049e4b0f410599675-d06d4b9a734b7baf-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '15235857675581728831' + - '15018743459081845679' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10530367664263190456' + - '5324575221751584373' method: DELETE - uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual/27617 + uri: https://api.datadoghq.eu/api/v1/downtime/282028174 response: body: - string: '{"deleted_dashboard_list_id": 27617}' + string: '' headers: {} status: - code: 200 - message: OK + code: 204 + message: No Content - request: body: null headers: @@ -2289,26 +2378,26 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000e278796cd8a78613-1687d7d8e7d21534-01 + - 00-00000000000000004885601d6e8af9b2-d0c7e3863c7e4804-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '1623503517292565812' + - '15044243245934462980' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16318926758175278611' + - '5225688622158248370' method: DELETE - uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual/27616 + uri: https://api.datadoghq.eu/api/v1/synthetics/private-locations/pl:test-private-variable-b8998566d656416b67ce17e8a68a1070 response: body: - string: '{"deleted_dashboard_list_id": 27616}' + string: '' headers: {} status: - code: 200 - message: OK + code: 204 + message: No Content - request: body: null headers: @@ -2319,22 +2408,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000008f79907079b17426-6b2f534e80527846-01 + - 00-0000000000000000d0487461425f6cd0-5d2e72cc4ac3321b-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7723483482589132870' + - '6714430316209189403' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10338453232358093862' + - '15008373719286377680' method: DELETE - uri: https://api.datadoghq.eu/api/v1/synthetics/variables/d1b9d99d-756a-45b1-a6aa-8a92158b18b6 + uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual/29200 response: body: - string: '' + string: '{"deleted_dashboard_list_id": 29200}' headers: {} status: code: 200 @@ -2349,22 +2438,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000009f9af31bf453da34-00b4d5561a5a0fbb-01 + - 00-00000000000000000ced690e0f195417-adb0bb691129f9b0-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '50900061593931707' + - '12515709424396532144' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11500771899832785460' + - '931516207039337495' method: DELETE - uri: https://api.datadoghq.eu/api/v1/synthetics/variables/4857f0a3-fe82-4744-baf1-55cfc387d554 + uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual/29198 response: body: - string: '' + string: '{"deleted_dashboard_list_id": 29198}' headers: {} status: code: 200 @@ -2379,22 +2468,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000e8ffb56aecabd14c-390f84b29c60f5dd-01 + - 00-0000000000000000e51efd94f61fa7ef-5910f4e4b111bdc6-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '4111650887475197405' + - '6417898732063407558' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16789337406702342476' + - '16509912100213073903' method: DELETE - uri: https://api.datadoghq.eu/api/v1/synthetics/variables/23711b02-52c1-4481-802b-c01c5fabe6ca + uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual/29199 response: body: - string: '' + string: '{"deleted_dashboard_list_id": 29199}' headers: {} status: code: 200 @@ -2409,22 +2498,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000010ab02180e815da9-5b9b7d7420b75dc7-01 + - 00-0000000000000000f9b92708957e277a-fe5417e817b9f842-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '6601007616560160199' + - '18326299069275306050' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '1201056027970198953' + - '17994456703956821882' method: DELETE - uri: https://api.datadoghq.eu/api/v1/synthetics/variables/13f3c7ff-4500-4e56-8880-442d2c50c305 + uri: https://api.datadoghq.eu/api/v1/slo/9fb35ed46b6b5014961afe6928206468?force=True response: body: - string: '' + string: '{"data": ["9fb35ed46b6b5014961afe6928206468"], "error": null}' headers: {} status: code: 200 @@ -2439,22 +2528,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000b621c31cb0a57edf-152321024abe713d-01 + - 00-0000000000000000934ea16c2963e45e-8cd29f0173179754-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '1523097392709005629' + - '10147347738993858388' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '13123985317124472543' + - '10614598857681790046' method: DELETE - uri: https://api.datadoghq.eu/api/v1/synthetics/variables/ee816852-c247-4729-be2d-306d9b799bf9 + uri: https://api.datadoghq.eu/api/v1/slo/c72541bf2417583d9e7a5730ebeac188?force=True response: body: - string: '' + string: '{"data": ["c72541bf2417583d9e7a5730ebeac188"], "error": null}' headers: {} status: code: 200 @@ -2469,22 +2558,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000238d7c5f88f80882-4c722593f97399af-01 + - 00-0000000000000000266ea3b70d3e5b04-b27830a20d16d268-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5508506611703060911' + - '12860082208518885992' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2561840512805374082' + - '2769330827475966724' method: DELETE - uri: https://api.datadoghq.eu/api/v1/synthetics/variables/095d5357-f276-49fa-97ac-41c15472dff5 + uri: https://api.datadoghq.eu/api/v1/dashboard/7qh-mz6-twu response: body: - string: '' + string: '{"deleted_dashboard_id": "7qh-mz6-twu"}' headers: {} status: code: 200 @@ -2499,22 +2588,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000ed1e96637c6ac0f4-2524b3acb6122ec8-01 + - 00-0000000000000000a1bde5df8fb7497d-ef413bf31aa67b85-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '2676461632935309000' + - '17240126763861179269' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '17086259390323540212' + - '11654724159056333181' method: DELETE - uri: https://api.datadoghq.eu/api/v1/synthetics/variables/4c03f18c-2b33-4d36-830b-26c96a099dce + uri: https://api.datadoghq.eu/api/v1/dashboard/e3e-tx5-q4t response: body: - string: '' + string: '{"deleted_dashboard_id": "e3e-tx5-q4t"}' headers: {} status: code: 200 @@ -2529,26 +2618,26 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000039149434e0695851-6d67181a68a4c240-01 + - 00-000000000000000085d7f06c360de351-29aeb61188e6d3fb-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7883296174439187008' + - '3003538187930227707' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4113075314520315985' + - '9644441474591220561' method: DELETE - uri: https://api.datadoghq.eu/api/v2/roles/3036ea2c-2194-11ee-9fe6-da7ad0900005 + uri: https://api.datadoghq.eu/api/v1/dashboard/cz4-biz-ddq response: body: - string: '' + string: '{"deleted_dashboard_id": "cz4-biz-ddq"}' headers: {} status: - code: 204 - message: No Content + code: 200 + message: OK - request: body: null headers: @@ -2559,19 +2648,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000840beb4f746a0887-63f8fd17f6d7ede9-01 + - 00-0000000000000000ef33b531f8779f18-13c375743471dffb-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7203785883346529769' + - '1424111049135742971' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '9514957364238354567' + - '17236319425103634200' method: DELETE - uri: https://api.datadoghq.eu/api/v2/roles/2aadca3a-2194-11ee-824f-da7ad0900005 + uri: https://api.datadoghq.eu/api/v2/roles/667e08d6-4287-11ee-ab18-da7ad0900005 response: body: string: '' @@ -2589,19 +2678,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000067de58cd2f81155c-b424a8a9b88e6aba-01 + - 00-0000000000000000864560a300d84e2f-b6da836d14decd99-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '12980685472887892666' + - '13175988164350627225' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '7484517269024871772' + - '9675245627685490223' method: DELETE - uri: https://api.datadoghq.eu/api/v2/roles/2fe4371e-2194-11ee-ae06-da7ad0900005 + uri: https://api.datadoghq.eu/api/v2/roles/6768049a-4287-11ee-b388-da7ad0900005 response: body: string: '' @@ -2619,19 +2708,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000004d4cca7451ced40e-3ac5079059a760c6-01 + - 00-00000000000000009bc0d1235e8aadd4-731296e2a5758707-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '4234799341172646086' + - '8291855764125222663' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '5570049440087987214' + - '11223200221247483348' method: DELETE - uri: https://api.datadoghq.eu/api/v2/roles/30e8d502-2194-11ee-9236-da7ad0900005 + uri: https://api.datadoghq.eu/api/v2/roles/67acb6da-4287-11ee-a5af-da7ad0900005 response: body: string: '' @@ -2649,19 +2738,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000fff310b5524906c4-70bd26fc14512c66-01 + - 00-0000000000000000f717eb310f8986fa-4f395e1f051614cc-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '8123692166960720998' + - '5708697489991144652' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '18443103269967955652' + - '17804958247779141370' method: DELETE - uri: https://api.datadoghq.eu/api/v2/roles/3094653a-2194-11ee-ba3d-da7ad0900005 + uri: https://api.datadoghq.eu/api/v2/roles/65df7e32-4287-11ee-b1dd-da7ad0900005 response: body: string: '' @@ -2679,19 +2768,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000e96ab3fa49271fd5-300470b1620064a2-01 + - 00-0000000000000000b0c707616fdc77f8-c360633331ec40da-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3460014320883098786' + - '14078361506692219098' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16819453645919035349' + - '12738158186110679032' method: DELETE - uri: https://api.datadoghq.eu/api/v2/roles/313e56e4-2194-11ee-8664-da7ad0900005 + uri: https://api.datadoghq.eu/api/v2/roles/662ffcf4-4287-11ee-8a81-da7ad0900005 response: body: string: '' @@ -2709,19 +2798,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000000bf7bdc715aeb221-781d0ffe35ae2b45-01 + - 00-00000000000000009d8d461011b1f7fc-1472b58bb396241b-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '8655091643372677957' + - '1473439639721616411' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '862366516424651297' + - '11352807270501185532' method: DELETE - uri: https://api.datadoghq.eu/api/v2/roles/2f792a64-2194-11ee-a2c8-da7ad0900005 + uri: https://api.datadoghq.eu/api/v2/roles/66c039b8-4287-11ee-92e9-da7ad0900005 response: body: string: '' @@ -2739,19 +2828,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000d219abd2b473894c-ee75df57a5370dba-01 + - 00-000000000000000061f5202869f2a145-af1f4bd577aa099a-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '17182885520828992954' + - '12618888061123168666' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '15139320543841585484' + - '7058583348921409861' method: DELETE - uri: https://api.datadoghq.eu/api/v2/roles/319e2146-2194-11ee-a25a-da7ad0900005 + uri: https://api.datadoghq.eu/api/v2/roles/659272f4-4287-11ee-92e9-da7ad0900005 response: body: string: '' @@ -2769,19 +2858,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000785ee194f7462dc0-5a6a84b04bfb2f25-01 + - 00-0000000000000000454be37ea11d1b5c-2356a2258e5e5dce-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '6515165703668707109' + - '2546400921510632910' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '8673617962282134976' + - '4993334744878750556' method: DELETE - uri: https://api.datadoghq.eu/api/v1/synthetics/private-locations/pl:test-private-variable-a1e80ea24f360435819c2c71a3bcf7b0 + uri: https://api.datadoghq.eu/api/v2/roles/67094e00-4287-11ee-84eb-da7ad0900005 response: body: string: '' @@ -2799,26 +2888,26 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000005632a09fd60a93fc-481447cae6ada223-01 + - 00-00000000000000002ed8194087e0857e-55403c59fa4518c6-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5193855207044129315' + - '6142976248881944774' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '6211203444448596988' + - '3375475685662426494' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076941?force=True + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/1638b76c-6529-4449-b272-6694dddcc595 response: body: - string: '{"deleted_monitor_id": 12076941}' + string: '{"errors": ["Synthetics global variable in use"]}' headers: {} status: - code: 200 - message: OK + code: 400 + message: Bad Request - request: body: null headers: @@ -2829,22 +2918,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000ea7a642abc1f530d-f4a7a5b1faf36f8f-01 + - 00-00000000000000004dabf1fe75576ca9-04f4c652f9552ce1-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '17629241450203148175' + - '357128330141838561' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16895927086741410573' + - '5596833037130624169' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076940?force=True + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/63a199c7-1aea-49c5-b7ab-c98b30afc4ac response: body: - string: '{"deleted_monitor_id": 12076940}' + string: '' headers: {} status: code: 200 @@ -2859,26 +2948,26 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000040d9dd51627dbd7e-939718f0a83c944b-01 + - 00-000000000000000039a9121c0e67d741-665843d31faed70f-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '10634996466952475723' + - '7374718963867899663' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4673009429988097406' + - '4154872042936063809' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076938?force=True + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/18538429-d66f-4c41-9526-909e438249f0 response: body: - string: '{"deleted_monitor_id": 12076938}' + string: '{"errors": ["Synthetics global variable in use"]}' headers: {} status: - code: 200 - message: OK + code: 400 + message: Bad Request - request: body: null headers: @@ -2889,22 +2978,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000daebf54cf6ad17d3-2aa7771cfc56a0f0-01 + - 00-00000000000000006b21584591b3ab21-d754817555c84100-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3073556237079978224' + - '15516168957148545280' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '15774971830700152787' + - '7719548292110199585' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076934?force=True + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/645dac59-d16a-4f76-b743-934a5f4488f8 response: body: - string: '{"deleted_monitor_id": 12076934}' + string: '' headers: {} status: code: 200 @@ -2919,22 +3008,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000086b562d6789c74d0-7819efc7f7b41be2-01 + - 00-0000000000000000e706532227bed002-e94f625b8688cf29-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '8654211801102425058' + - '16811764079236009769' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '9706773245153014992' + - '16647084478782427138' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076951?force=True + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/a0f59d57-a801-4aab-9c1e-10c059d895d8 response: body: - string: '{"deleted_monitor_id": 12076951}' + string: '' headers: {} status: code: 200 @@ -2949,22 +3038,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000031de4a7cca2c1f01-add45556f32280c7-01 + - 00-000000000000000044c48d659f4ae9fd-05deba20bc7226de-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '12525730295558865095' + - '422980064782722782' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '3593391452516523777' + - '4955240957618088445' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076943?force=True + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/bff466e2-e7f7-4686-80eb-8275ef8cd4ab response: body: - string: '{"deleted_monitor_id": 12076943}' + string: '' headers: {} status: code: 200 @@ -2979,28 +3068,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000939a7cd74483be23-0cd5ea0c68d5709e-01 + - 00-0000000000000000af70a04aecb90872-cf1ee84668c7b8c1-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '924902637513830558' + - '14924621604255676609' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10635950733998145059' + - '12641780397688555634' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076950?force=True + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/0382c2f8-8e7a-4471-bc8d-8f8ddb7215bc response: body: - string: '{"errors": ["Monitor not found"]}' + string: '' headers: {} status: - code: 404 - message: Not Found + code: 200 + message: OK - request: - body: null + body: '{"public_ids": ["zuw-h5t-mn2"]}' headers: Accept: - '*/*' @@ -3009,28 +3098,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000fff48663cd341b7a-a6618546e6ff44f5-01 + - 00-0000000000000000232065cb0a2535fa-48c37e5019291007-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '11989010222606664949' + - '5243173273673994247' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '18443514137191652218' - method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076939?force=True + - '2531134913305196026' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete response: body: - string: '{"deleted_monitor_id": 12076939}' + string: '{"deleted_tests": [{"public_id": "zuw-h5t-mn2", "deleted_at": "2023-08-24T14:06:54.231748+00:00"}]}' headers: {} status: code: 200 message: OK - request: - body: null + body: '{"public_ids": ["73c-8ud-fhw"]}' headers: Accept: - '*/*' @@ -3039,28 +3128,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000044d05128060f2be8-dc0b87808346a569-01 + - 00-00000000000000004fe5e7d225d6b751-69199cec27dcb428-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '15855915899115971945' + - '7573256786495190056' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4958552422077115368' - method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076942?force=True + - '5757262588427024209' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete response: body: - string: '{"deleted_monitor_id": 12076942}' + string: '{"deleted_tests": [{"public_id": "73c-8ud-fhw", "deleted_at": "2023-08-24T14:06:54.632773+00:00"}]}' headers: {} status: code: 200 message: OK - request: - body: null + body: '{"public_ids": ["wys-ph9-qyp"]}' headers: Accept: - '*/*' @@ -3069,28 +3158,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000005a1e19fa5a323be8-702c335073d047cd-01 + - 00-00000000000000003cea20cf64668499-8d754bcebc41010c-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '8082891851856627661' + - '10193136682916708620' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '6493656275760593896' - method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/12076935?force=True + - '4389356861940728985' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete response: body: - string: '{"deleted_monitor_id": 12076935}' + string: '{"deleted_tests": [{"public_id": "wys-ph9-qyp", "deleted_at": "2023-08-24T14:06:55.049081+00:00"}]}' headers: {} status: code: 200 message: OK - request: - body: null + body: '{"public_ids": ["68x-e34-mra"]}' headers: Accept: - '*/*' @@ -3099,28 +3188,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000c0dfd866f127ab25-b1e1c6efe9318d44-01 + - 00-000000000000000062fb3c10cc81b809-0b436efdff159eba-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '12817744748184964420' + - '811614395042209466' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '13898064911732812581' - method: DELETE - uri: https://api.datadoghq.eu/api/v1/dashboard/p2y-4tr-hqr + - '7132360477719509001' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete response: body: - string: '{"deleted_dashboard_id": "p2y-4tr-hqr"}' + string: '{"deleted_tests": [{"public_id": "68x-e34-mra", "deleted_at": "2023-08-24T14:06:55.411405+00:00"}]}' headers: {} status: code: 200 message: OK - request: - body: null + body: '{"public_ids": ["duf-hf9-drg"]}' headers: Accept: - '*/*' @@ -3129,28 +3218,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000003eb1fe4f10809556-2c3776e277b4a2e5-01 + - 00-0000000000000000ec32f86117462ec1-eb3b992ddc1cadb9-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3186145976430928613' + - '16950310044784438713' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4517671516762051926' - method: DELETE - uri: https://api.datadoghq.eu/api/v1/dashboard/wcu-wji-cxz + - '17019939037672517313' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete response: body: - string: '{"deleted_dashboard_id": "wcu-wji-cxz"}' + string: '{"deleted_tests": [{"public_id": "duf-hf9-drg", "deleted_at": "2023-08-24T14:06:56.678680+00:00"}]}' headers: {} status: code: 200 message: OK - request: - body: null + body: '{"public_ids": ["nmj-4gg-tru"]}' headers: Accept: - '*/*' @@ -3159,28 +3248,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000d596268082a1fc0c-ad529e15b43e7ef0-01 + - 00-00000000000000007eb0dfdb81526f8a-d2f74b1c687cbdea-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '12489218532707303152' + - '15201701652596571626' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '15390531109974572044' - method: DELETE - uri: https://api.datadoghq.eu/api/v1/dashboard/xn2-g53-25n + - '9129042578540490634' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete response: body: - string: '{"deleted_dashboard_id": "xn2-g53-25n"}' + string: '{"deleted_tests": [{"public_id": "nmj-4gg-tru", "deleted_at": "2023-08-24T14:06:57.022972+00:00"}]}' headers: {} status: code: 200 message: OK - request: - body: null + body: '{"public_ids": ["zvy-qiu-97k"]}' headers: Accept: - '*/*' @@ -3189,28 +3278,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000996b4a1273b9a430-8f6974eb36fa5aa6-01 + - 00-000000000000000076feb88afc3f1654-81646eb8e9182d6d-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '10333919373566827174' + - '9323698869027482989' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11055011153422427184' - method: DELETE - uri: https://api.datadoghq.eu/api/v1/downtime/266435777 + - '8574493647636993620' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete response: body: - string: '' + string: '{"deleted_tests": [{"public_id": "zvy-qiu-97k", "deleted_at": "2023-08-24T14:06:57.515667+00:00"}]}' headers: {} status: - code: 204 - message: No Content + code: 200 + message: OK - request: - body: null + body: '{"public_ids": ["chh-988-mvc"]}' headers: Accept: - '*/*' @@ -3219,26 +3308,26 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000008db59ce93804c360-e1b48fe9d70ca4ac-01 + - 00-000000000000000017b3bc528d24a831-7d9c9e55b9d41933-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '16263782388839785644' + - '9051283442134948147' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10211240255613616992' - method: DELETE - uri: https://api.datadoghq.eu/api/v1/downtime/266435774 + - '1707915746444879921' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests/delete response: body: - string: '' + string: '{"deleted_tests": [{"public_id": "chh-988-mvc", "deleted_at": "2023-08-24T14:06:57.879427+00:00"}]}' headers: {} status: - code: 204 - message: No Content + code: 200 + message: OK - request: body: null headers: @@ -3249,17 +3338,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000001f037cec361d3520-fb31d9d659e7df58-01 + - 00-0000000000000000500ce1307c9948a5-74908944db703385-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '18100487892033331032' + - '8399364233878320005' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2234767194067907872' + - '5768232821119862949' method: DELETE uri: https://api.datadoghq.eu/api/v2/users/5a322106-c891-11eb-873a-da7ad0900005 response: @@ -3279,17 +3368,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000000bf2e2491bb3c705-e65df0b191eb2836-01 + - 00-0000000000000000cb24381f0d5af5e9-bfb1e013c3ba2e0c-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '16599688447005501494' + - '13813067907614780940' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '860999282406442757' + - '14637886394880161257' method: DELETE uri: https://api.datadoghq.eu/api/v2/users/e0c5d064-c7b0-11eb-944d-da7ad0900005 response: @@ -3309,17 +3398,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000004a6d50c3a6ccc000-05e87ee55a7f8696-01 + - 00-0000000000000000bea4931c02093fb1-9646274568e21fdf-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '425729688317429398' + - '10828385533124812767' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '5363031532515409920' + - '13737266511889383345' method: GET uri: https://api.datadoghq.eu/api/v2/roles?page%5Bnumber%5D=0&page%5Bsize%5D=100 response: @@ -3428,19 +3517,25 @@ interactions: "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": "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": - "roles", "id": "2e9fd49e-2194-11ee-91d5-da7ad0900005", "attributes": {"name": - "Datadog Read Only Role", "created_at": "2023-07-13T15:44:41.615717+00:00", - "modified_at": "2023-07-13T15:44:41.665725+00:00", "user_count": 0}, "relationships": + {"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": "55769e70-2c9a-11ee-a7df-da7ad0900005"}]}}}, + {"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2023-08-24T14:06:17.669971+00:00", + "modified_at": "2023-08-24T14:06:17.720654+00:00", "user_count": 0}, "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", @@ -3485,22 +3580,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000000096bcac039f8a0-9d446233b5add045-01 + - 00-000000000000000092be06a42c385cb9-7da3d5f96a1fde32-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '11332290536601931845' + - '9053314943148875314' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2651793342986400' + - '10573896277298797753' method: GET uri: https://api.datadoghq.eu/api/v2/users?page%5Bnumber%5D=0&page%5Bsize%5D=100 response: body: - string: '{"data": [{"type": "users", "id": "3af5af64-bfcd-11eb-b483-da7ad0900005", "attributes": + string: '{"data": ["relationships": {"roles": + {"data": []}, "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, + {"type": "users", "id": "3af5af64-bfcd-11eb-b483-da7ad0900005", "attributes": {"name": "Frog", "handle": "frog@datadoghq.com", "created_at": "2021-05-28T15:56:14.326839+00:00", "modified_at": "2023-03-21T15:15:23.136706+00:00", "email": "frog@datadoghq.com", "icon": "https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro", @@ -3525,7 +3622,7 @@ interactions: "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, {"type": "users", "id": "5a322106-c891-11eb-873a-da7ad0900005", "attributes": {"name": "test-user", "handle": "new@example.com", "created_at": "2021-06-08T19:40:17.395117+00:00", - "modified_at": "2023-07-13T15:45:28.032428+00:00", "email": "new@example.com", + "modified_at": "2023-08-24T14:06:58.322923+00:00", "email": "new@example.com", "icon": "https://secure.gravatar.com/avatar/b681d72feaf8bf6a93d9a8ab86679ec3?s=48&d=retro", "title": null, "verified": false, "service_account": false, "disabled": true, "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": @@ -3548,11 +3645,11 @@ interactions: "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, {"type": "users", "id": "e0c5d064-c7b0-11eb-944d-da7ad0900005", "attributes": {"name": "None+ updated", "handle": "test-user-example@datadoghq.com", "created_at": - "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-07-13T15:45:28.291767+00:00", + "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-08-24T14:06:58.599878+00:00", "email": "test-user-example@datadoghq.com", "icon": "https://secure.gravatar.com/avatar/034ab28ed9a3b29bccdb4d7b94cd7e03?s=48&d=retro", "title": null, "verified": false, "service_account": false, "disabled": true, "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": - {"data": [{"type": "roles", "id": "2e9fd49e-2194-11ee-91d5-da7ad0900005"}]}, + {"data": [{"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005"}]}, "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, {"type": "users", "id": "9ea447a8-ebdf-11eb-8ad5-da7ad0900005", "attributes": {"name": "Updated", "handle": "user_without_role@example.com", "created_at": @@ -3665,17 +3762,23 @@ interactions: "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": "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": "f1666372-d87d-11e8-acac-6be484ba794a", "attributes": + {"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": "55769e70-2c9a-11ee-a7df-da7ad0900005"}]}}}, + {"type": "permissions", "id": "f1666372-d87d-11e8-acac-6be484ba794a", "attributes": {"name": "standard", "display_name": "Standard Access", "description": "View and edit components in your Datadog organization that do not have explicitly defined permissions.", "created": "2018-10-25T17:46:46.732810+00:00", "group_name": @@ -3846,36 +3949,35 @@ interactions: "created": "2020-09-17T20:37:16.471514+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "998aabac-f925-11ea-b43d-8f1f42f3894e", "attributes": {"name": "api_keys_write", - "display_name": "API Keys Write", "description": "Create, rename, and revoke - API Keys for your organization.", "created": "2020-09-17T20:37:27.331389+00:00", - "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb", - "attributes": {"name": "synthetics_global_variable_read", "display_name": - "Synthetics Global Variable Read", "description": "View, search, and use Synthetics - global variables.", "created": "2020-09-17T20:37:50.165103+00:00", "group_name": - "Synthetic Monitoring", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "ae2f8fbe-f925-11ea-b51c-67ba7de17f88", "attributes": - {"name": "synthetics_global_variable_write", "display_name": "Synthetics Global - Variable Write", "description": "Create, edit, and delete global variables - for Synthetics.", "created": "2020-09-17T20:38:01.966230+00:00", "group_name": - "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "b6858556-f925-11ea-9222-1f47b8677b93", "attributes": - {"name": "synthetics_read", "display_name": "Synthetics Read", "description": - "List and view configured Synthetic tests and test results.", "created": "2020-09-17T20:38:15.951574+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "bd5bb850-f925-11ea-a3a2-77cbb581c92a", - "attributes": {"name": "synthetics_write", "display_name": "Synthetics Write", - "description": "Create, edit, and delete Synthetic tests.", "created": "2020-09-17T20:38:27.421632+00:00", + "display_name": "API Keys Write", "description": "Create and rename API Keys + for your organization.", "created": "2020-09-17T20:37:27.331389+00:00", "group_name": + "API and Application Keys", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb", "attributes": + {"name": "synthetics_global_variable_read", "display_name": "Synthetics Global + Variable Read", "description": "View, search, and use Synthetics global variables.", + "created": "2020-09-17T20:37:50.165103+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "ae2f8fbe-f925-11ea-b51c-67ba7de17f88", "attributes": {"name": "synthetics_global_variable_write", + "display_name": "Synthetics Global Variable Write", "description": "Create, + edit, and delete global variables for Synthetics.", "created": "2020-09-17T20:38:01.966230+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "ca8897be-f925-11ea-a3a2-d30492cbe671", - "attributes": {"name": "synthetics_default_settings_read", "display_name": - "Synthetics Default Settings Read", "description": "View the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:38:49.527477+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "cf223140-f925-11ea-a3a2-df370532bcf7", - "attributes": {"name": "synthetics_default_settings_write", "display_name": - "Synthetics Default Settings Write", "description": "Edit the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:38:57.244987+00:00", + false}}, {"type": "permissions", "id": "b6858556-f925-11ea-9222-1f47b8677b93", + "attributes": {"name": "synthetics_read", "display_name": "Synthetics Read", + "description": "List and view configured Synthetic tests and test results.", + "created": "2020-09-17T20:38:15.951574+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "bd5bb850-f925-11ea-a3a2-77cbb581c92a", "attributes": {"name": "synthetics_write", + "display_name": "Synthetics Write", "description": "Create, edit, and delete + Synthetic tests.", "created": "2020-09-17T20:38:27.421632+00:00", "group_name": + "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "ca8897be-f925-11ea-a3a2-d30492cbe671", "attributes": + {"name": "synthetics_default_settings_read", "display_name": "Synthetics Default + Settings Read", "description": "View the default settings for Synthetic Monitoring.", + "created": "2020-09-17T20:38:49.527477+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "cf223140-f925-11ea-a3a2-df370532bcf7", "attributes": {"name": "synthetics_default_settings_write", + "display_name": "Synthetics Default Settings Write", "description": "Edit + the default settings for Synthetic Monitoring.", "created": "2020-09-17T20:38:57.244987+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "5e21e4b6-0e1c-11eb-ab24-a3d385baf4ee", "attributes": {"name": "logs_write_facets", "display_name": "Logs Write Facets", @@ -4135,15 +4237,16 @@ interactions: logs.", "created": "2022-08-08T21:30:48.328740+00:00", "group_name": "Log Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005", "attributes": {"name": "watchdog_insights_read", - "display_name": "Watchdog Insights Read", "description": "View Watchdog Insights.", - "created": "2022-08-15T20:25:48.321553+00:00", "group_name": "Watchdog", "display_type": - "read", "restricted": false}}, {"type": "permissions", "id": "4758d632-248a-11ed-817b-da7ad0900005", - "attributes": {"name": "connections_resolve", "display_name": "Connections - Resolve", "description": "Resolve connections.", "created": "2022-08-25T15:26:23.943459+00:00", - "group_name": "Workflows", "display_type": "read", "restricted": false}}, - {"type": "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "attributes": - {"name": "appsec_protect_read", "display_name": "Application Security Management - Protect Read", "description": "View blocked attackers.", "created": "2022-10-27T09:25:59.057166+00:00", + "display_name": "Watchdog Insights Read", "description": "Deprecated. View + Watchdog Insights.", "created": "2022-08-15T20:25:48.321553+00:00", "group_name": + "Watchdog", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "4758d632-248a-11ed-817b-da7ad0900005", "attributes": {"name": "connections_resolve", + "display_name": "Connections Resolve", "description": "Resolve connections.", + "created": "2022-08-25T15:26:23.943459+00:00", "group_name": "Workflows", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_protect_read", + "display_name": "Application Security Management Protect Read", "description": + "View blocked attackers.", "created": "2022-10-27T09:25:59.057166+00:00", "group_name": "Cloud Security Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "5defc9e8-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_protect_write", "display_name": "Application @@ -4243,12 +4346,12 @@ interactions: "write", "restricted": false}}, {"type": "permissions", "id": "81e4434c-db35-11ed-a170-da7ad0900005", "attributes": {"name": "saved_views_write", "display_name": "Saved Views Write", "description": "Modify Saved Views across all Datadog products.", "created": - "2023-04-15T02:30:37.731056+00:00", "group_name": "Saved Views", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005", - "attributes": {"name": "client_tokens_read", "display_name": "Client Tokens - Read", "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.", "created": "2023-04-19T07:55:41.646942+00:00", + "2023-04-15T02:30:37.731056+00:00", "group_name": "Cross-Product Features", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "94c8a4da-de87-11ed-9e92-da7ad0900005", "attributes": {"name": "client_tokens_read", + "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T07:55:41.646942+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "94c927e8-de87-11ed-9e92-da7ad0900005", "attributes": {"name": "client_tokens_write", "display_name": "Client Tokens @@ -4256,61 +4359,1251 @@ interactions: tokens may be exposed client-side in JavaScript code for web browsers and other clients to send data to Datadog.", "created": "2023-04-19T07:55:41.646942+00:00", "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "65eea998-f6a1-11ed-9953-da7ad0900005", - "attributes": {"name": "event_config_write", "display_name": "Event Config - Write", "description": "Manage general event configuration such as API Emails.", - "created": "2023-05-20T00:00:57.864864+00:00", "group_name": "Events", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005", - "attributes": {"name": "security_monitoring_findings_write", "display_name": - "Security Monitoring Findings Write", "description": "Mute CSPM Findings.", - "created": "2023-05-23T21:45:42.705754+00:00", "group_name": "Cloud Security - Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", "attributes": {"name": "cloud_cost_management_read", - "display_name": "Cloud Cost Management Read", "description": "Read cloud cost - data such as cost metrics and tags.", "created": "2023-05-31T19:20:42.284425+00:00", - "group_name": "Cloud Cost Management", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005", - "attributes": {"name": "cloud_cost_management_write", "display_name": "Cloud - Cost Management Write", "description": "Configure cloud cost accounts and - global customizations.", "created": "2023-05-31T19:20:42.284425+00:00", "group_name": - "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "ace5cc0e-ff71-11ed-b518-da7ad0900005", "attributes": - {"name": "host_tags_write", "display_name": "Host Tags Write", "description": - "Add and change tags on hosts.", "created": "2023-05-31T05:12:01.547070+00:00", - "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "48d8ce74-0065-11ee-9c16-da7ad0900005", "attributes": - {"name": "ci_visibility_pipelines_write", "display_name": "CI Visibility Pipelines - Write", "description": "Create CI Visibility pipeline spans using the API.", - "created": "2023-06-01T10:15:50.891463+00:00", "group_name": "CI Visibility", - "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "3276c638-0ebe-11ee-9428-da7ad0900005", "attributes": {"name": "quality_gate_rules_read", - "display_name": "Quality Gate Rules Read", "description": "View Quality Gate - Rules.", "created": "2023-06-19T16:27:34.826612+00:00", "group_name": "CI - Visibility", "display_type": "read", "restricted": false}}, {"type": "permissions", - "id": "3276cf02-0ebe-11ee-9428-da7ad0900005", "attributes": {"name": "quality_gate_rules_write", - "display_name": "Quality Gate Rules Write", "description": "Edit Quality Gate - Rules.", "created": "2023-06-19T16:27:34.826612+00:00", "group_name": "CI - Visibility", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "ffb0167e-11e1-11ee-8f46-da7ad0900005", "attributes": {"name": "metrics_metadata_write", - "display_name": "Metrics Metadata Write", "description": "Edit metadata on - metrics.", "created": "2023-06-23T16:21:25.009293+00:00", "group_name": "Metrics", + false}}, {"type": "permissions", "id": "619b2642-f41b-11ed-b4e1-da7ad0900005", + "attributes": {"name": "event_correlation_config_read", "display_name": "Event + Correlation Config Read", "description": "Read Event Correlation Configuration + data such as Correlation Rules and Settings.", "created": "2023-05-16T18:56:35.719150+00:00", + "group_name": "Events", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "619b8f9c-f41b-11ed-b4e1-da7ad0900005", "attributes": + {"name": "event_correlation_config_write", "display_name": "Event Correlation + Config Write", "description": "Manage Event Correlation Configuration such + as Correlation Rules and Settings.", "created": "2023-05-16T18:56:35.719150+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "65eea998-f6a1-11ed-9953-da7ad0900005", "attributes": + {"name": "event_config_write", "display_name": "Event Config Write", "description": + "Manage general event configuration such as API Emails.", "created": "2023-05-20T00:00:57.864864+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005", "attributes": + {"name": "security_monitoring_findings_write", "display_name": "Security Monitoring + Findings Write", "description": "Mute CSPM Findings.", "created": "2023-05-23T21:45:42.705754+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", + "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud + Cost Management Read", "description": "Read cloud cost data such as cost metrics + and tags.", "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud + Cost Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005", "attributes": + {"name": "cloud_cost_management_write", "display_name": "Cloud Cost Management + Write", "description": "Configure cloud cost accounts and global customizations.", + "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316b75c-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "rum_delete_data", - "display_name": "RUM Delete Data", "description": "Delete data from RUM.", - "created": "2023-06-12T16:36:20.819036+00:00", "group_name": "Real User Monitoring", + "ace5cc0e-ff71-11ed-b518-da7ad0900005", "attributes": {"name": "host_tags_write", + "display_name": "Host Tags Write", "description": "Add and change tags on + hosts.", "created": "2023-05-31T05:12:01.547070+00:00", "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316826e-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "appsec_vm_write", - "display_name": "Application Security Vulnerability Management Write", "description": - "Update status or assignee of Application Security vulnerabilities.", "created": - "2023-06-12T16:36:20.819036+00:00", "group_name": "Cloud Security Platform", + "48d8ce74-0065-11ee-9c16-da7ad0900005", "attributes": {"name": "ci_visibility_pipelines_write", + "display_name": "CI Visibility Pipelines Write", "description": "Create CI + Visibility pipeline spans using the API.", "created": "2023-06-01T10:15:50.891463+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "3276c638-0ebe-11ee-9428-da7ad0900005", "attributes": + {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", + "description": "View Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "3276cf02-0ebe-11ee-9428-da7ad0900005", "attributes": + {"name": "quality_gate_rules_write", "display_name": "Quality Gate Rules Write", + "description": "Edit Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "ffb0167e-11e1-11ee-8f46-da7ad0900005", "attributes": + {"name": "metrics_metadata_write", "display_name": "Metrics Metadata Write", + "description": "Edit metadata on metrics.", "created": "2023-06-23T16:21:25.009293+00:00", + "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "4316b75c-093f-11ee-98e9-da7ad0900005", "attributes": + {"name": "rum_delete_data", "display_name": "RUM Delete Data", "description": + "Delete data from RUM.", "created": "2023-06-12T16:36:20.819036+00:00", "group_name": + "Real User Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "4316826e-093f-11ee-98e9-da7ad0900005", "attributes": + {"name": "appsec_vm_write", "display_name": "Application Security Vulnerability + Management Write", "description": "Update status or assignee of Application + Security vulnerabilities.", "created": "2023-06-12T16:36:20.819036+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "4316b5b8-093f-11ee-98e9-da7ad0900005", + "attributes": {"name": "reference_tables_write", "display_name": "Reference + Tables Write", "description": "Create or modify Reference Tables.", "created": + "2023-06-12T16:36:20.819036+00:00", "group_name": "Reference Tables", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "13a7297c-1ce3-11ee-b01a-da7ad0900005", + "attributes": {"name": "rum_playlist_write", "display_name": "RUM Playlist + Write", "description": "Create, update, and delete RUM playlists. Add and + remove sessions from RUM playlists.", "created": "2023-07-07T16:26:50.792866+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "eadf64b2-2199-11ee-9a0e-da7ad0900005", + "attributes": {"name": "observability_pipelines_delete", "display_name": "Pipeline + Delete", "description": "Delete pipelines from your organization.", "created": + "2023-07-13T16:25:44.923503+00:00", "group_name": "Observability Pipelines", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316b5b8-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "reference_tables_write", - "display_name": "Reference Tables Write", "description": "Create or modify - Reference Tables.", "created": "2023-06-12T16:36:20.819036+00:00", "group_name": - "Reference Tables", "display_type": "write", "restricted": false}}, {"type": - "roles", "id": "2e9fd49e-2194-11ee-91d5-da7ad0900005", "attributes": {"name": - "Datadog Read Only Role", "created_at": "2023-07-13T15:44:41.615717+00:00", - "modified_at": "2023-07-13T15:44:41.665725+00:00"}, "relationships": {"permissions": + "eadf675a-2199-11ee-9a0e-da7ad0900005", "attributes": {"name": "observability_pipelines_deploy", + "display_name": "Pipeline Deploy", "description": "Deploy pipelines in your + organization.", "created": "2023-07-13T16:25:44.923503+00:00", "group_name": + "Observability Pipelines", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "ef44c426-20d0-11ee-83e9-da7ad0900005", "attributes": + {"name": "processes_generate_metrics", "display_name": "Processes Generate + Metrics", "description": "Create custom metrics from processes.", "created": + "2023-07-12T16:27:03.457484+00:00", "group_name": "Processes", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "ef44613e-20d0-11ee-83e9-da7ad0900005", + "attributes": {"name": "api_keys_delete", "display_name": "API Keys Delete", + "description": "Delete API Keys for your organization.", "created": "2023-07-12T16:27:03.457484+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "55769e70-2c9a-11ee-a7df-da7ad0900005", + "attributes": {"name": "facets_write", "display_name": "Facets Write", "description": + "Manage facets for products other than Log Management, such as APM Traces. + To modify Log Facets, use Logs Write Facets.", "created": "2023-07-27T16:26:26.546986+00:00", + "group_name": "Cross-Product Features", "display_type": "write", "restricted": + false}}, {"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2023-08-24T14:06:17.669971+00:00", + "modified_at": "2023-08-24T14:06:17.720654+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"}]}}}], "meta": {"page": {"total_count": + 76, "total_filtered_count": 76}}}' + headers: {} + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-0000000000000000c2f438a58da39983-0a339efb3736b34a-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '735105965991834442' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '14047915421372488067' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/1638b76c-6529-4449-b272-6694dddcc595 + response: + body: + string: '' + headers: {} + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-0000000000000000d3d70bcea815fe24-5c9ceec1cc9d0b3d-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '6673471263985175357' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '15264682444206767652' + method: DELETE + uri: https://api.datadoghq.eu/api/v1/synthetics/variables/18538429-d66f-4c41-9526-909e438249f0 + response: + body: + string: '' + headers: {} + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-00000000000000003adcc5b5aacfecb1-4f741fc9bbb9a944-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '5725235977593137476' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '4241482333121670321' + 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": "138d5c0c-bfcc-11eb-8e11-da7ad0900005", + "attributes": {"name": "Datadog Admin Role", "created_at": "2021-05-28T15:47:58.719345+00:00", + "modified_at": "2023-05-03T14:57:19.540899+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": "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": "55769e70-2c9a-11ee-a7df-da7ad0900005"}]}}}, + {"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2023-08-24T14:06:17.669971+00:00", + "modified_at": "2023-08-24T14:06:17.720654+00:00", "user_count": 0}, "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"}]}}}], "meta": {"page": {"total_count": + 2, "total_filtered_count": 2}}}' + headers: {} + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-0000000000000000f143eff4cf32c4d1-5ba262899d8eb25b-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '6602948346871984731' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '17385002821307516113' + method: GET + uri: https://api.datadoghq.eu/api/v2/users?page%5Bnumber%5D=0&page%5Bsize%5D=100 + response: + body: + string: '{"data": [{"type": "users", "id": "3af5af64-bfcd-11eb-b483-da7ad0900005", "attributes": + {"name": "Frog", "handle": "frog@datadoghq.com", "created_at": "2021-05-28T15:56:14.326839+00:00", + "modified_at": "2023-03-21T15:15:23.136706+00:00", "email": "frog@datadoghq.com", + "icon": "https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro", + "title": null, "verified": true, "service_account": false, "disabled": false, + "allowed_login_methods": [], "status": "Active"}, "relationships": {"roles": + {"data": [{"type": "roles", "id": "138d5c0c-bfcc-11eb-8e11-da7ad0900005"}]}, + "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, + {"type": "users", "id": "edd03150-c562-11eb-bf1f-da7ad0900005", "attributes": + {"name": null, "handle": "karimovj@gmail.com", "created_at": "2021-06-04T18:30:25.220601+00:00", + "modified_at": "2021-06-07T16:05:58.627697+00:00", "email": "karimovj@gmail.com", + "icon": "https://secure.gravatar.com/avatar/4df2a0457aa2d2f4bff089e88d1ed8e4?s=48&d=retro", + "title": null, "verified": false, "service_account": false, "disabled": true, + "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": + {"data": []}, "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, + {"type": "users", "id": "3f974eb6-e9ec-11ed-8dce-e61a9bb2f626", "attributes": + {"name": "Kevin Zou", "handle": "kevin.zou@datadoghq.com", "created_at": "2023-05-03T19:54:00.680883+00:00", + "modified_at": "2023-05-04T15:26:11.259395+00:00", "email": "kevin.zou@datadoghq.com", + "icon": "https://secure.gravatar.com/avatar/927e28676d353bcee29248ed2ca7ad9c?s=48&d=retro", + "title": null, "verified": true, "service_account": false, "disabled": false, + "allowed_login_methods": [], "status": "Active"}, "relationships": {"roles": + {"data": [{"type": "roles", "id": "138d5c0c-bfcc-11eb-8e11-da7ad0900005"}]}, + "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, + {"type": "users", "id": "5a322106-c891-11eb-873a-da7ad0900005", "attributes": + {"name": "test-user", "handle": "new@example.com", "created_at": "2021-06-08T19:40:17.395117+00:00", + "modified_at": "2023-08-24T14:06:58.322923+00:00", "email": "new@example.com", + "icon": "https://secure.gravatar.com/avatar/b681d72feaf8bf6a93d9a8ab86679ec3?s=48&d=retro", + "title": null, "verified": false, "service_account": false, "disabled": true, + "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": + {"data": []}, "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, + {"type": "users", "id": "8538c2fe-c7cb-11eb-8f0a-da7ad0900005", "attributes": + {"name": "Noueman Khalikine", "handle": "noueman.khalikine@datadoghq.com", + "created_at": "2021-06-07T20:04:09.228318+00:00", "modified_at": "2023-03-21T18:18:05.876918+00:00", + "email": "noueman.khalikine@datadoghq.com", "icon": "https://secure.gravatar.com/avatar/92d6421ea95d9f7b8d60c8270c95d84a?s=48&d=retro", + "title": null, "verified": true, "service_account": false, "disabled": false, + "allowed_login_methods": [], "status": "Active"}, "relationships": {"roles": + {"data": [{"type": "roles", "id": "138d5c0c-bfcc-11eb-8e11-da7ad0900005"}]}, + "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, + {"type": "users", "id": "1458158c-bfcc-11eb-8e11-da7ad0900005", "attributes": + {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "created_at": + "2021-05-28T15:48:00.045949+00:00", "modified_at": "2023-05-03T14:39:05.451362+00:00", + "email": "sherzod.karimov@datadoghq.com", "icon": "https://secure.gravatar.com/avatar/993f2cc00ad75833dbc76f2a93bb227d?s=48&d=retro", + "title": null, "verified": true, "service_account": false, "disabled": false, + "allowed_login_methods": [], "status": "Active"}, "relationships": {"roles": + {"data": [{"type": "roles", "id": "138d5c0c-bfcc-11eb-8e11-da7ad0900005"}]}, + "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, + {"type": "users", "id": "e0c5d064-c7b0-11eb-944d-da7ad0900005", "attributes": + {"name": "None+ updated", "handle": "test-user-example@datadoghq.com", "created_at": + "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-08-24T14:06:58.599878+00:00", + "email": "test-user-example@datadoghq.com", "icon": "https://secure.gravatar.com/avatar/034ab28ed9a3b29bccdb4d7b94cd7e03?s=48&d=retro", + "title": null, "verified": false, "service_account": false, "disabled": true, + "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": + {"data": [{"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005"}]}, + "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, + {"type": "users", "id": "9ea447a8-ebdf-11eb-8ad5-da7ad0900005", "attributes": + {"name": "Updated", "handle": "user_without_role@example.com", "created_at": + "2021-07-23T17:58:43.669432+00:00", "modified_at": "2022-02-25T20:44:43.801729+00:00", + "email": "user_without_role@example.com", "icon": "https://secure.gravatar.com/avatar/a0985e94ca4206b92a3504c0222b3f7e?s=48&d=retro", + "title": null, "verified": false, "service_account": false, "disabled": true, + "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": + {"data": []}, "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}], + "included": [{"type": "roles", "id": "138d5c0c-bfcc-11eb-8e11-da7ad0900005", + "attributes": {"name": "Datadog Admin Role", "created_at": "2021-05-28T15:47:58.719345+00:00", + "modified_at": "2023-05-03T14:57:19.540899+00:00"}, "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": "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": "55769e70-2c9a-11ee-a7df-da7ad0900005"}]}}}, + {"type": "permissions", "id": "f1666372-d87d-11e8-acac-6be484ba794a", "attributes": + {"name": "standard", "display_name": "Standard Access", "description": "View + and edit components in your Datadog organization that do not have explicitly + defined permissions.", "created": "2018-10-25T17:46:46.732810+00:00", "group_name": + "General", "display_type": "other", "restricted": false}}, {"type": "permissions", + "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7", "attributes": {"name": "logs_read_index_data", + "display_name": "Logs Read Index Data", "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.", "created": "2018-10-31T14:00:23.650159+00:00", + "group_name": "Log Management", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "4fbd1e66-dd15-11e8-9308-53cb90e4ef1c", "attributes": + {"name": "logs_modify_indexes", "display_name": "Logs Modify Indexes", "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.", "created": "2018-10-31T14:00:23.664332+00:00", + "group_name": "Log Management", "display_type": "other", "restricted": false}}, + {"type": "permissions", "id": "4fbeec96-dd15-11e8-9308-d3aac44f93e5", "attributes": + {"name": "logs_live_tail", "display_name": "Logs Live Tail", "description": + "View the live tail feed for all log indexes, even if otherwise specifically + restricted.", "created": "2018-10-31T14:00:23.676180+00:00", "group_name": + "Log Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "4fc2807c-dd15-11e8-9308-d3bfffb7f039", "attributes": + {"name": "logs_write_exclusion_filters", "display_name": "Logs Write Exclusion + Filters", "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.", "created": "2018-10-31T14:00:23.699543+00:00", + "group_name": "Log Management", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "4fc43656-dd15-11e8-9308-f3e2bb5e31b4", "attributes": + {"name": "logs_write_pipelines", "display_name": "Logs Write Pipelines", "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.", + "created": "2018-10-31T14:00:23.710821+00:00", "group_name": "Log Management", + "display_type": "other", "restricted": false}}, {"type": "permissions", "id": + "505f4538-dd15-11e8-9308-47a4732f715f", "attributes": {"name": "logs_write_processors", + "display_name": "Logs Write Processors", "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.", "created": "2018-10-31T14:00:24.726927+00:00", + "group_name": "Log Management", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "505fd138-dd15-11e8-9308-afd2db62791e", "attributes": + {"name": "logs_write_archives", "display_name": "Logs Write Archives", "description": + "Add and edit Log Archives.", "created": "2018-10-31T14:00:24.730570+00:00", + "group_name": "Log Management", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "06f715e2-aed9-11e9-aac6-eb5723c0dffc", "attributes": + {"name": "logs_generate_metrics", "display_name": "Logs Generate Metrics", + "description": "Create custom metrics from logs.", "created": "2019-07-25T12:37:55.949477+00:00", + "group_name": "Log Management", "display_type": "other", "restricted": false}}, + {"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee", "attributes": + {"name": "dashboards_read", "display_name": "Dashboards Read", "description": + "View dashboards.", "created": "2019-09-10T14:41:53.120685+00:00", "group_name": + "Dashboards", "display_type": "read", "restricted": true}}, {"type": "permissions", + "id": "2149e512-d3d9-11e9-a614-bb8f0dcf0205", "attributes": {"name": "dashboards_write", + "display_name": "Dashboards Write", "description": "Create and change dashboards.", + "created": "2019-09-10T14:41:53.136336+00:00", "group_name": "Dashboards", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "214c10b2-d3d9-11e9-a614-3759c7ad528f", "attributes": {"name": "dashboards_public_share", + "display_name": "Dashboards Public Share", "description": "Generate public + and authenticated links to share dashboards or embeddable graphs externally.", + "created": "2019-09-10T14:41:53.150548+00:00", "group_name": "Dashboards", + "display_type": "other", "restricted": false}}, {"type": "permissions", "id": + "c898551e-d8b2-11e9-a336-e3a79c23bd8d", "attributes": {"name": "monitors_read", + "display_name": "Monitors Read", "description": "View monitors.", "created": + "2019-09-16T18:49:59.270746+00:00", "group_name": "Monitors", "display_type": + "read", "restricted": true}}, {"type": "permissions", "id": "cdc3e3d2-d8b2-11e9-943b-e70db6c573b8", + "attributes": {"name": "monitors_write", "display_name": "Monitors Write", + "description": "Edit, mute, and delete individual monitors.", "created": "2019-09-16T18:50:07.944781+00:00", + "group_name": "Monitors", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "d3159858-d8b2-11e9-a336-e363d6ef331b", "attributes": + {"name": "monitors_downtime", "display_name": "Manage Downtimes", "description": + "Set downtimes to suppress alerts from any monitor in an organization. Mute + and unmute hosts. The ability to write monitors is not required to set downtimes.", + "created": "2019-09-16T18:50:16.869407+00:00", "group_name": "Monitors", "display_type": + "other", "restricted": false}}, {"type": "permissions", "id": "bfafd0ce-7823-11ea-9689-c3e5118805ee", + "attributes": {"name": "logs_read_data", "display_name": "Logs Read Data", + "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.", + "created": "2020-04-06T16:29:12.337169+00:00", "group_name": "Log Management", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "5de1e178-8536-11ea-968a-2fd9395bff90", "attributes": {"name": "logs_read_archives", + "display_name": "Logs Read Archives", "description": "Read Log Archives location + and use it for rehydration.", "created": "2020-04-23T07:45:13.801938+00:00", + "group_name": "Log Management", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "d68dc046-aa58-11ea-8f98-3f18bf50279f", "attributes": + {"name": "security_monitoring_rules_read", "display_name": "Security Rules + Read", "description": "Read Detection Rules.", "created": "2020-06-09T13:55:12.166762+00:00", + "group_name": "Cloud Security Platform", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "dbd71214-aa58-11ea-8f98-d71d49bb1d14", + "attributes": {"name": "security_monitoring_rules_write", "display_name": + "Security Rules Write", "description": "Create and edit Detection Rules.", + "created": "2020-06-09T13:55:21.036857+00:00", "group_name": "Cloud Security + Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "e0d31696-aa58-11ea-af96-3b02991750c9", "attributes": {"name": "security_monitoring_signals_read", + "display_name": "Security Signals Read", "description": "View Security Signals.", + "created": "2020-06-09T13:55:29.398066+00:00", "group_name": "Cloud Security + Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "60759a94-ff6d-11eb-a4f0-da7ad0900005", "attributes": {"name": "security_monitoring_signals_write", + "display_name": "Security Signals Write", "description": "Modify Security + Signals.", "created": "2021-08-17T15:11:19.976019+00:00", "group_name": "Cloud + Security Platform", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "93654d1c-e706-11ea-9a85-d320ff02824d", "attributes": + {"name": "user_access_invite", "display_name": "User Access Invite", "description": + "Invite other users to your organization.", "created": "2020-08-25T19:10:01.692112+00:00", + "group_name": "Access Management", "display_type": "other", "restricted": + false}}, {"type": "permissions", "id": "999bc3fa-e706-11ea-9a85-3b29fe548c19", + "attributes": {"name": "user_access_manage", "display_name": "User Access + Manage", "description": "Disable users, manage user roles, manage SAML-to-role + mappings, and configure logs restriction queries.", "created": "2020-08-25T19:10:12.116164+00:00", + "group_name": "Access Management", "display_type": "other", "restricted": + false}}, {"type": "permissions", "id": "046682c4-ec5c-11ea-9483-2727954feb30", + "attributes": {"name": "user_app_keys", "display_name": "User App Keys", "description": + "View and manage Application Keys owned by the user.", "created": "2020-09-01T14:04:14.317866+00:00", + "group_name": "API and Application Keys", "display_type": "other", "restricted": + false}}, {"type": "permissions", "id": "04668bde-ec5c-11ea-9483-fb6cb6586c6a", + "attributes": {"name": "org_app_keys_read", "display_name": "Org App Keys + Read", "description": "View Application Keys owned by all users in the organization.", + "created": "2020-09-01T14:04:14.317866+00:00", "group_name": "API and Application + Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "04668d0a-ec5c-11ea-9483-37d199df4587", "attributes": {"name": "org_app_keys_write", + "display_name": "Org App Keys Write", "description": "Manage Application Keys + owned by all users in the organization.", "created": "2020-09-01T14:04:14.317866+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "04668dd2-ec5c-11ea-9483-f7c5fcc9418b", + "attributes": {"name": "synthetics_private_location_read", "display_name": + "Synthetics Private Locations Read", "description": "View, search, and use + Synthetics private locations.", "created": "2020-09-01T14:04:14.317866+00:00", + "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "04668e9a-ec5c-11ea-9483-8f29a8272bdc", + "attributes": {"name": "synthetics_private_location_write", "display_name": + "Synthetics Private Locations Write", "description": "Create and delete private + locations in addition to having access to the associated installation guidelines.", + "created": "2020-09-01T14:04:14.317866+00:00", "group_name": "Synthetic Monitoring", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "04668f62-ec5c-11ea-9483-0fe541ab993f", "attributes": {"name": "billing_read", + "display_name": "Billing Read", "description": "View your organization''s + subscription and payment method but not make edits.", "created": "2020-09-01T14:04:14.317866+00:00", + "group_name": "Billing and Usage", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "04669020-ec5c-11ea-9483-db5dbf9f0b02", "attributes": + {"name": "billing_edit", "display_name": "Billing Edit", "description": "Manage + your organization''s subscription and payment method.", "created": "2020-09-01T14:04:14.317866+00:00", + "group_name": "Billing and Usage", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "046690de-ec5c-11ea-9483-bbcd905fcdca", + "attributes": {"name": "usage_read", "display_name": "Usage Read", "description": + "View your organization''s usage and usage attribution.", "created": "2020-09-01T14:04:14.317866+00:00", + "group_name": "Billing and Usage", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "04669192-ec5c-11ea-9483-e375d2a7bddf", "attributes": + {"name": "usage_edit", "display_name": "Usage Edit", "description": "Manage + your organization''s usage attribution set-up.", "created": "2020-09-01T14:04:14.317866+00:00", + "group_name": "Billing and Usage", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "046692fa-ec5c-11ea-9483-d713671ea3a9", + "attributes": {"name": "metric_tags_write", "display_name": "Metric Tags Write", + "description": "Edit and save tag configurations for custom metrics.", "created": + "2020-09-01T14:04:14.317866+00:00", "group_name": "Metrics", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "96a0c17a-f7f8-11ea-add4-d3659d81b152", + "attributes": {"name": "logs_write_historical_view", "display_name": "Logs + Write Historical Views", "description": "Rehydrate logs from Archives.", "created": + "2020-09-16T08:42:43.928080+00:00", "group_name": "Log Management", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "8b753262-f925-11ea-82fc-93f07fd96e76", + "attributes": {"name": "audit_logs_read", "display_name": "Audit Trail Read", + "description": "View Audit Trail in your organization.", "created": "2020-09-17T20:37:03.702585+00:00", + "group_name": "Compliance", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "9311970e-f925-11ea-ab4d-1760e76381c1", "attributes": + {"name": "api_keys_read", "display_name": "API Keys Read", "description": + "List and retrieve the key values of all API Keys in your organization.", + "created": "2020-09-17T20:37:16.471514+00:00", "group_name": "API and Application + Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "998aabac-f925-11ea-b43d-8f1f42f3894e", "attributes": {"name": "api_keys_write", + "display_name": "API Keys Write", "description": "Create and rename API Keys + for your organization.", "created": "2020-09-17T20:37:27.331389+00:00", "group_name": + "API and Application Keys", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb", "attributes": + {"name": "synthetics_global_variable_read", "display_name": "Synthetics Global + Variable Read", "description": "View, search, and use Synthetics global variables.", + "created": "2020-09-17T20:37:50.165103+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "ae2f8fbe-f925-11ea-b51c-67ba7de17f88", "attributes": {"name": "synthetics_global_variable_write", + "display_name": "Synthetics Global Variable Write", "description": "Create, + edit, and delete global variables for Synthetics.", "created": "2020-09-17T20:38:01.966230+00:00", + "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "b6858556-f925-11ea-9222-1f47b8677b93", + "attributes": {"name": "synthetics_read", "display_name": "Synthetics Read", + "description": "List and view configured Synthetic tests and test results.", + "created": "2020-09-17T20:38:15.951574+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "bd5bb850-f925-11ea-a3a2-77cbb581c92a", "attributes": {"name": "synthetics_write", + "display_name": "Synthetics Write", "description": "Create, edit, and delete + Synthetic tests.", "created": "2020-09-17T20:38:27.421632+00:00", "group_name": + "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "ca8897be-f925-11ea-a3a2-d30492cbe671", "attributes": + {"name": "synthetics_default_settings_read", "display_name": "Synthetics Default + Settings Read", "description": "View the default settings for Synthetic Monitoring.", + "created": "2020-09-17T20:38:49.527477+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "cf223140-f925-11ea-a3a2-df370532bcf7", "attributes": {"name": "synthetics_default_settings_write", + "display_name": "Synthetics Default Settings Write", "description": "Edit + the default settings for Synthetic Monitoring.", "created": "2020-09-17T20:38:57.244987+00:00", + "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "5e21e4b6-0e1c-11eb-ab24-a3d385baf4ee", + "attributes": {"name": "logs_write_facets", "display_name": "Logs Write Facets", + "description": "Create or edit Log Facets.", "created": "2020-10-14T12:54:16.607129+00:00", + "group_name": "Log Management", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "72bc07d8-1472-11eb-a97b-8bff514d7382", "attributes": + {"name": "service_account_write", "display_name": "Service Account Write", + "description": "Create, disable, and use Service Accounts in your organization.", + "created": "2020-10-22T14:25:34.868208+00:00", "group_name": "Access Management", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "b7706de0-2dce-11eb-9145-775e4a0d889a", "attributes": {"name": "apm_read", + "display_name": "APM Read", "description": "Read and query APM and Trace Analytics.", + "created": "2020-11-23T20:59:02.902692+00:00", "group_name": "APM", "display_type": + "read", "restricted": true}}, {"type": "permissions", "id": "bcc2fb14-2dce-11eb-9145-9b27b816190a", + "attributes": {"name": "apm_retention_filter_read", "display_name": "APM Retention + Filters Read", "description": "Read trace retention filters. A user with this + permission can view the retention filters page, list of filters, their statistics, + and creation info.", "created": "2020-11-23T20:59:11.833795+00:00", "group_name": + "APM", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "c1598bd4-2dce-11eb-9145-5b865e3c112e", "attributes": {"name": "apm_retention_filter_write", + "display_name": "APM Retention Filters Write", "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.", + "created": "2020-11-23T20:59:19.531425+00:00", "group_name": "APM", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "c52a6ed6-2dce-11eb-9145-1399370e8bf5", + "attributes": {"name": "apm_service_ingest_read", "display_name": "APM Service + Ingest Read", "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.", "created": "2020-11-23T20:59:25.933546+00:00", + "group_name": "APM", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "c8654332-2dce-11eb-9145-d33d26eeb65f", "attributes": + {"name": "apm_service_ingest_write", "display_name": "APM Service Ingest Write", + "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.", "created": "2020-11-23T20:59:31.352238+00:00", + "group_name": "APM", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "d23cc894-2dce-11eb-9145-37bf7b2dadc2", "attributes": + {"name": "apm_apdex_manage_write", "display_name": "APM Apdex Manage Write", + "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.", "created": + "2020-11-23T20:59:47.864214+00:00", "group_name": "APM", "display_type": "write", + "restricted": false}}, {"type": "permissions", "id": "da1b47fc-2dce-11eb-9145-5783a37d467c", + "attributes": {"name": "apm_tag_management_write", "display_name": "APM Tag + Management Write", "description": "Edit second primary tag selection. A user + with this permission can modify the second primary tag dropdown in the APM + settings page.", "created": "2020-11-23T21:00:01.066421+00:00", "group_name": + "APM", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "e49aeb24-2dce-11eb-9145-6b8664bc9097", "attributes": {"name": "apm_primary_operation_write", + "display_name": "APM Primary Operation Write", "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.", "created": "2020-11-23T21:00:18.680068+00:00", "group_name": + "APM", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "19570d26-3409-11eb-9ac2-ab9b978f6c4a", "attributes": {"name": "audit_logs_write", + "display_name": "Audit Trail Write", "description": "Configure Audit Trail + in your organization.", "created": "2020-12-01T19:12:04.940111+00:00", "group_name": + "Compliance", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "37e36580-5440-11eb-91d4-03a23fd3e1d1", "attributes": {"name": "rum_apps_write", + "display_name": "RUM Apps Write", "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.", "created": "2021-01-11T19:07:15.721075+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "f2f1d31a-801f-11eb-9d41-da7ad0900005", + "attributes": {"name": "debugger_write", "display_name": "Dynamic Instrumentation + Write Configuration", "description": "Edit Dynamic Instrumentation configuration.", + "created": "2021-03-08T15:07:07.319753+00:00", "group_name": "APM", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "f2f3d048-801f-11eb-9d41-da7ad0900005", + "attributes": {"name": "debugger_read", "display_name": "Dynamic Instrumentation + Read Configuration", "description": "View Dynamic Instrumentation configuration.", + "created": "2021-03-08T15:07:07.333513+00:00", "group_name": "APM", "display_type": + "read", "restricted": false}}, {"type": "permissions", "id": "b39da144-90af-11eb-9428-da7ad0900005", + "attributes": {"name": "data_scanner_read", "display_name": "Data Scanner + Read", "description": "View Data Scanner configurations.", "created": "2021-03-29T16:56:27.205044+00:00", + "group_name": "Compliance", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "b39fb79a-90af-11eb-9428-da7ad0900005", "attributes": + {"name": "data_scanner_write", "display_name": "Data Scanner Write", "description": + "Edit Data Scanner configurations.", "created": "2021-03-29T16:56:27.219481+00:00", + "group_name": "Compliance", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "841ff6cc-a45c-11eb-9fd4-da7ad0900005", "attributes": + {"name": "org_management", "display_name": "Org Management", "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.", + "created": "2021-04-23T17:51:22.555499+00:00", "group_name": "Access Management", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "99397470-b16d-11eb-a891-da7ad0900005", "attributes": {"name": "security_monitoring_filters_read", + "display_name": "Security Filters Read", "description": "Read Security Filters.", + "created": "2021-05-10T08:56:24.514661+00:00", "group_name": "Cloud Security + Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "993b34d6-b16d-11eb-a891-da7ad0900005", "attributes": {"name": "security_monitoring_filters_write", + "display_name": "Security Filters Write", "description": "Create, edit, and + delete Security Filters.", "created": "2021-05-10T08:56:24.527411+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "122e20a4-d36c-11eb-b2bf-da7ad0900005", + "attributes": {"name": "incident_read", "display_name": "Incidents Read", + "description": "View incidents in Datadog.", "created": "2021-06-22T15:11:07.986072+00:00", + "group_name": "Case and Incident Management", "display_type": "read", "restricted": + true}}, {"type": "permissions", "id": "123098f2-d36c-11eb-b2bf-da7ad0900005", + "attributes": {"name": "incident_write", "display_name": "Incidents Write", + "description": "Create, view, and manage incidents in Datadog.", "created": + "2021-06-22T15:11:08.003239+00:00", "group_name": "Case and Incident Management", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "122f7508-d36c-11eb-b2bf-da7ad0900005", "attributes": {"name": "incident_settings_read", + "display_name": "Incident Settings Read", "description": "View Incident Settings.", + "created": "2021-06-22T15:11:07.995787+00:00", "group_name": "Case and Incident + Management", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "122ff9c4-d36c-11eb-b2bf-da7ad0900005", "attributes": {"name": "incident_settings_write", + "display_name": "Incident Settings Write", "description": "Configure Incident + Settings.", "created": "2021-06-22T15:11:07.999194+00:00", "group_name": "Case + and Incident Management", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "f07e4234-e894-11eb-ab79-da7ad0900005", "attributes": + {"name": "appsec_event_rule_read", "display_name": "Application Security Management + Event Rules Read", "description": "View Application Security Management Event + Rules.", "created": "2021-07-19T13:26:35.252432+00:00", "group_name": "Cloud + Security Platform", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "f07f557a-e894-11eb-ab79-da7ad0900005", "attributes": + {"name": "appsec_event_rule_write", "display_name": "Application Security + Management Event Rules Write", "description": "Edit Application Security Management + Event Rules.", "created": "2021-07-19T13:26:35.260787+00:00", "group_name": + "Cloud Security Platform", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "7ee6e4ea-f376-11eb-a5a7-da7ad0900005", "attributes": + {"name": "rum_apps_read", "display_name": "RUM Apps Read", "description": + "View RUM Applications data.", "created": "2021-08-02T09:46:22.567371+00:00", + "group_name": "Real User Monitoring", "display_type": "read", "restricted": + true}}, {"type": "permissions", "id": "7ee7941c-f376-11eb-a5a7-da7ad0900005", + "attributes": {"name": "rum_session_replay_read", "display_name": "RUM Session + Replay Read", "description": "View Session Replays.", "created": "2021-08-02T09:46:22.572685+00:00", + "group_name": "Real User Monitoring", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "c94811de-16c7-11ec-88cc-da7ad0900005", + "attributes": {"name": "security_monitoring_notification_profiles_read", "display_name": + "Security Notification Rules Read", "description": "Read Notification Rules.", + "created": "2021-09-16T08:26:27.288070+00:00", "group_name": "Cloud Security + Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "c948b30a-16c7-11ec-88cc-da7ad0900005", "attributes": {"name": "security_monitoring_notification_profiles_write", + "display_name": "Security Notification Rules Write", "description": "Create, + edit, and delete Notification Rules.", "created": "2021-09-16T08:26:27.292835+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "294580e0-1703-11ec-9b92-da7ad0900005", + "attributes": {"name": "apm_generate_metrics", "display_name": "APM Generate + Metrics", "description": "Create custom metrics from spans.", "created": "2021-09-16T15:31:28.639581+00:00", + "group_name": "APM", "display_type": "other", "restricted": false}}, {"type": + "permissions", "id": "f5e054da-4792-11ec-944b-da7ad0900005", "attributes": + {"name": "security_monitoring_cws_agent_rules_read", "display_name": "Cloud + Workload Security Agent Rules Read", "description": "Read Cloud Workload Security + Agent Rules.", "created": "2021-11-17T10:41:45.755009+00:00", "group_name": + "Cloud Security Platform", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "f5e1489a-4792-11ec-944b-da7ad0900005", "attributes": + {"name": "security_monitoring_cws_agent_rules_write", "display_name": "Cloud + Workload Security Agent Rules Write", "description": "Create, edit, and delete + Cloud Workload Security Agent Rules.", "created": "2021-11-17T10:41:45.761956+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "fc48661c-56a3-11ec-bd5c-da7ad0900005", + "attributes": {"name": "apm_pipelines_write", "display_name": "APM Pipelines + Write", "description": "Add and change APM pipeline configurations.", "created": + "2021-12-06T14:51:25.389398+00:00", "group_name": "APM", "display_type": "write", + "restricted": false}}, {"type": "permissions", "id": "cf873174-574f-11ec-9869-da7ad0900005", + "attributes": {"name": "apm_pipelines_read", "display_name": "APM Pipelines + Read", "description": "View APM pipeline configurations.", "created": "2021-12-07T11:21:23.741014+00:00", + "group_name": "APM", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "95e9a5ce-5884-11ec-8b3a-da7ad0900005", "attributes": + {"name": "observability_pipelines_read", "display_name": "Pipeline Configurations + Read", "description": "View pipeline configurations.", "created": "2021-12-09T00:11:41.567875+00:00", + "group_name": "Observability Pipelines", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "95ea50d2-5884-11ec-8b3a-da7ad0900005", + "attributes": {"name": "observability_pipelines_write", "display_name": "Pipeline + Configurations Write", "description": "Create, edit, and delete pipeline configurations.", + "created": "2021-12-09T00:11:41.572883+00:00", "group_name": "Observability + Pipelines", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "e31e0056-8502-11ec-b266-da7ad0900005", "attributes": {"name": "workflows_read", + "display_name": "Workflows Read", "description": "View workflows.", "created": + "2022-02-03T15:06:38.846399+00:00", "group_name": "Workflows", "display_type": + "read", "restricted": false}}, {"type": "permissions", "id": "e31f0230-8502-11ec-b266-da7ad0900005", + "attributes": {"name": "workflows_write", "display_name": "Workflows Write", + "description": "Create, edit, and delete workflows.", "created": "2022-02-03T15:06:38.853003+00:00", + "group_name": "Workflows", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "e31e6b54-8502-11ec-b266-da7ad0900005", "attributes": + {"name": "workflows_run", "display_name": "Workflows Run", "description": + "Run workflows.", "created": "2022-02-03T15:06:38.849099+00:00", "group_name": + "Workflows", "display_type": "other", "restricted": false}}, {"type": "permissions", + "id": "e31cca10-8502-11ec-b266-da7ad0900005", "attributes": {"name": "connections_read", + "display_name": "Connections Read", "description": "List and view available + connections. Connections contain secrets that cannot be revealed.", "created": + "2022-02-03T15:06:38.837721+00:00", "group_name": "Workflows", "display_type": + "read", "restricted": false}}, {"type": "permissions", "id": "e31d8e28-8502-11ec-b266-da7ad0900005", + "attributes": {"name": "connections_write", "display_name": "Connections Write", + "description": "Create and delete connections.", "created": "2022-02-03T15:06:38.843395+00:00", + "group_name": "Workflows", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005", "attributes": + {"name": "notebooks_read", "display_name": "Notebooks Read", "description": + "View notebooks.", "created": "2022-03-02T18:51:33.435297+00:00", "group_name": + "Notebooks", "display_type": "read", "restricted": true}}, {"type": "permissions", + "id": "c7acc6a6-9a59-11ec-9cd5-da7ad0900005", "attributes": {"name": "notebooks_write", + "display_name": "Notebooks Write", "description": "Create and change notebooks.", + "created": "2022-03-02T18:51:33.439640+00:00", "group_name": "Notebooks", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "f40ff7be-966b-11ec-8253-da7ad0900005", "attributes": {"name": "logs_delete_data", + "display_name": "Logs Delete Data", "description": "Delete data from your + Logs, including entire indexes.", "created": "2022-02-25T18:51:34.198635+00:00", + "group_name": "Log Management", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "24d31064-b9b4-11ec-a2af-da7ad0900005", "attributes": + {"name": "rum_generate_metrics", "display_name": "RUM Generate Metrics", "description": + "Create custom metrics from RUM events.", "created": "2022-04-11T16:26:30.469616+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "7fbea6aa-c59e-11ec-90fb-da7ad0900005", + "attributes": {"name": "manage_integrations", "display_name": "Integrations + Manage", "description": "Install, uninstall, and configure integrations.", + "created": "2022-04-26T20:21:48.034453+00:00", "group_name": "Integrations", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "2674a030-d5e9-11ec-aebc-da7ad0900005", "attributes": {"name": "usage_notifications_read", + "display_name": "Usage Notifications Read", "description": "Receive notifications + and view currently configured notification settings.", "created": "2022-05-17T13:56:29.090665+00:00", + "group_name": "Billing and Usage", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "26751d30-d5e9-11ec-aebc-da7ad0900005", "attributes": + {"name": "usage_notifications_write", "display_name": "Usage Notifications + Write", "description": "Receive notifications and configure notification settings.", + "created": "2022-05-17T13:56:29.094457+00:00", "group_name": "Billing and + Usage", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "b03b5256-e5c4-11ec-a04e-da7ad0900005", "attributes": {"name": "generate_dashboard_reports", + "display_name": "Dashboards Report Write", "description": "Schedule custom + reports from a dashboard. These reports will display any viewable data regardless + of any granular restrictions (restriction queries, scoped indexes) applied + to the report''s creator.", "created": "2022-06-06T18:15:47.465864+00:00", + "group_name": "Dashboards", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "f33f74be-e746-11ec-87e3-da7ad0900005", "attributes": + {"name": "slos_read", "display_name": "SLOs Read", "description": "View SLOs + and status corrections.", "created": "2022-06-08T16:20:45.638848+00:00", "group_name": + "Service Level Objectives", "display_type": "read", "restricted": true}}, + {"type": "permissions", "id": "f340161c-e746-11ec-87e3-da7ad0900005", "attributes": + {"name": "slos_write", "display_name": "SLOs Write", "description": "Create, + edit, and delete SLOs.", "created": "2022-06-08T16:20:45.643085+00:00", "group_name": + "Service Level Objectives", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "f33eaf3e-e746-11ec-87e3-da7ad0900005", "attributes": + {"name": "slos_corrections", "display_name": "SLOs Status Corrections", "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.", "created": "2022-06-08T16:20:45.632820+00:00", "group_name": "Service + Level Objectives", "display_type": "other", "restricted": false}}, {"type": + "permissions", "id": "3ad32264-f311-11ec-a058-da7ad0900005", "attributes": + {"name": "monitor_config_policy_write", "display_name": "Monitor Configuration + Policy Write", "description": "Create, update, and delete monitor configuration + policies.", "created": "2022-06-23T16:26:26.854058+00:00", "group_name": "Monitors", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "f42ef088-173a-11ed-8654-da7ad0900005", "attributes": {"name": "apm_service_catalog_write", + "display_name": "Service Catalog Write", "description": "Add, modify, and + delete service catalog definitions when those definitions are maintained by + Datadog.", "created": "2022-08-08T16:55:49.060954+00:00", "group_name": "APM", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "f42e4c6e-173a-11ed-8654-da7ad0900005", "attributes": {"name": "apm_service_catalog_read", + "display_name": "Service Catalog Read", "description": "View service catalog + and service definitions.", "created": "2022-08-08T16:55:49.055930+00:00", + "group_name": "APM", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "5e83a0ca-1761-11ed-9f31-da7ad0900005", "attributes": + {"name": "logs_write_forwarding_rules", "display_name": "Logs Write Forwarding + Rules", "description": "Add and edit forwarding destinations and rules for + logs.", "created": "2022-08-08T21:30:48.328740+00:00", "group_name": "Log + Management", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005", "attributes": {"name": "watchdog_insights_read", + "display_name": "Watchdog Insights Read", "description": "Deprecated. View + Watchdog Insights.", "created": "2022-08-15T20:25:48.321553+00:00", "group_name": + "Watchdog", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "4758d632-248a-11ed-817b-da7ad0900005", "attributes": {"name": "connections_resolve", + "display_name": "Connections Resolve", "description": "Resolve connections.", + "created": "2022-08-25T15:26:23.943459+00:00", "group_name": "Workflows", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_protect_read", + "display_name": "Application Security Management Protect Read", "description": + "View blocked attackers.", "created": "2022-10-27T09:25:59.057166+00:00", + "group_name": "Cloud Security Platform", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "5defc9e8-55d9-11ed-9ccb-da7ad0900005", + "attributes": {"name": "appsec_protect_write", "display_name": "Application + Security Management Protect Write", "description": "Manage blocked attackers.", + "created": "2022-10-27T09:25:59.060959+00:00", "group_name": "Cloud Security + Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_activation_read", + "display_name": "Application Security Management 1-click Enablement Read", + "description": "View whether Application Security Management has been enabled + or disabled on services via 1-click enablement with Remote Configuration.", + "created": "2022-10-27T09:25:59.047444+00:00", "group_name": "Cloud Security + Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "5dee9f64-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_activation_write", + "display_name": "Application Security Management 1-click Enablement Write", + "description": "Enable or disable Application Security Management on services + via 1-click enablement with Remote Configuration.", "created": "2022-10-27T09:25:59.053394+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "926612da-7a4c-11ed-b809-da7ad0900005", + "attributes": {"name": "cases_read", "display_name": "Cases Read", "description": + "View Cases.", "created": "2022-12-12T18:41:21.060748+00:00", "group_name": + "Case and Incident Management", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "9266e93a-7a4c-11ed-b809-da7ad0900005", "attributes": + {"name": "cases_write", "display_name": "Cases Write", "description": "Create + and update cases.", "created": "2022-12-12T18:41:21.067150+00:00", "group_name": + "Case and Incident Management", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "8a79d4c2-7a5a-11ed-a3ad-da7ad0900005", "attributes": + {"name": "apm_remote_configuration_write", "display_name": "APM Remote Configuration + Write", "description": "Edit APM Remote Configuration.", "created": "2022-12-12T20:21:20.723147+00:00", + "group_name": "APM", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "8a78e224-7a5a-11ed-a3ad-da7ad0900005", "attributes": + {"name": "apm_remote_configuration_read", "display_name": "APM Remote Configuration + Read", "description": "View APM Remote Configuration.", "created": "2022-12-12T20:21:20.716560+00:00", + "group_name": "APM", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005", "attributes": + {"name": "ci_visibility_read", "display_name": "CI Visibility Read", "description": + "View CI Visibility.", "created": "2022-12-13T16:02:28.814628+00:00", "group_name": + "CI Visibility", "display_type": "read", "restricted": true}}, {"type": "permissions", + "id": "8b276eb6-7aff-11ed-9d0d-da7ad0900005", "attributes": {"name": "ci_visibility_write", + "display_name": "CI Visibility Tests Write", "description": "Edit flaky tests + and delete Test Services.", "created": "2022-12-13T16:02:28.821529+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "8b254e6a-7aff-11ed-9d0d-da7ad0900005", "attributes": + {"name": "ci_provider_settings_write", "display_name": "CI Provider Settings + Write", "description": "Edit CI Provider settings. Manage GitHub accounts + and repositories for enabling CI Visibility and job logs collection.", "created": + "2022-12-13T16:02:28.806929+00:00", "group_name": "CI Visibility", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "8b26e284-7aff-11ed-9d0d-da7ad0900005", + "attributes": {"name": "ci_visibility_settings_write", "display_name": "CI + Visibility Settings Write", "description": "Configure CI Visibility settings. + Set a repository default branch, enable GitHub comments, and delete test services.", + "created": "2022-12-13T16:02:28.818035+00:00", "group_name": "CI Visibility", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "8b282770-7aff-11ed-9d0d-da7ad0900005", "attributes": {"name": "intelligent_test_runner_activation_write", + "display_name": "Intelligent Test Runner Activation Write", "description": + "Enable or disable Intelligent Test Runner.", "created": "2022-12-13T16:02:28.826271+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "8b28b686-7aff-11ed-9d0d-da7ad0900005", "attributes": + {"name": "intelligent_test_runner_settings_write", "display_name": "Intelligent + Test Runner Settings Write", "description": "Edit Intelligent Test Runner + settings, such as modifying ITR excluded branch list.", "created": "2022-12-13T16:02:28.830112+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005", "attributes": + {"name": "continuous_profiler_read", "display_name": "Continuous Profiler + Read", "description": "View data in Continuous Profiler.", "created": "2022-12-16T16:47:32.584514+00:00", + "group_name": "APM", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "1535624c-9771-11ed-ad25-da7ad0900005", "attributes": + {"name": "teams_manage", "display_name": "Teams Manage", "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.", + "created": "2023-01-18T20:45:46.126002+00:00", "group_name": "Teams", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "d039cfec-b44f-11ed-8db8-da7ad0900005", + "attributes": {"name": "security_monitoring_findings_read", "display_name": + "Security Monitoring Findings Read", "description": "View CSPM Findings.", + "created": "2023-02-24T14:30:40.720618+00:00", "group_name": "Cloud Security + Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "77ed7a00-b468-11ed-b0f0-da7ad0900005", "attributes": {"name": "incident_notification_settings_read", + "display_name": "Incident Notification Settings Read", "description": "View + Incidents Notification settings.", "created": "2023-02-24T17:27:09.998449+00:00", + "group_name": "Case and Incident Management", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "77ed87a2-b468-11ed-b0f0-da7ad0900005", + "attributes": {"name": "incident_notification_settings_write", "display_name": + "Incident Notification Settings Write", "description": "Configure Incidents + Notification settings.", "created": "2023-02-24T17:27:09.998449+00:00", "group_name": + "Case and Incident Management", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "4129ef9a-ca2e-11ed-b1b8-da7ad0900005", "attributes": + {"name": "ci_ingestion_control_write", "display_name": "CI Visibility Ingestion + Control Write", "description": "Edit CI Ingestion Control exclusion filters.", + "created": "2023-03-24T10:25:52.891502+00:00", "group_name": "CI Visibility", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "33ee9a80-ccc0-11ed-861a-da7ad0900005", "attributes": {"name": "error_tracking_write", + "display_name": "Error Tracking Write", "description": "Edit Error Tracking + settings.", "created": "2023-03-27T16:55:39.540192+00:00", "group_name": "Error + Tracking", "display_type": "write", "restricted": false}}, {"type": "permissions", + "id": "81e488c0-db35-11ed-a170-da7ad0900005", "attributes": {"name": "watchdog_alerts_write", + "display_name": "Watchdog Alerts Write", "description": "Manage Watchdog Alerts.", + "created": "2023-04-15T02:30:37.731056+00:00", "group_name": "Watchdog", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "81e4434c-db35-11ed-a170-da7ad0900005", + "attributes": {"name": "saved_views_write", "display_name": "Saved Views Write", + "description": "Modify Saved Views across all Datadog products.", "created": + "2023-04-15T02:30:37.731056+00:00", "group_name": "Cross-Product Features", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "94c8a4da-de87-11ed-9e92-da7ad0900005", "attributes": {"name": "client_tokens_read", + "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T07:55:41.646942+00:00", + "group_name": "API and Application Keys", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "94c927e8-de87-11ed-9e92-da7ad0900005", + "attributes": {"name": "client_tokens_write", "display_name": "Client Tokens + Write", "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.", "created": "2023-04-19T07:55:41.646942+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "619b2642-f41b-11ed-b4e1-da7ad0900005", + "attributes": {"name": "event_correlation_config_read", "display_name": "Event + Correlation Config Read", "description": "Read Event Correlation Configuration + data such as Correlation Rules and Settings.", "created": "2023-05-16T18:56:35.719150+00:00", + "group_name": "Events", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "619b8f9c-f41b-11ed-b4e1-da7ad0900005", "attributes": + {"name": "event_correlation_config_write", "display_name": "Event Correlation + Config Write", "description": "Manage Event Correlation Configuration such + as Correlation Rules and Settings.", "created": "2023-05-16T18:56:35.719150+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "65eea998-f6a1-11ed-9953-da7ad0900005", "attributes": + {"name": "event_config_write", "display_name": "Event Config Write", "description": + "Manage general event configuration such as API Emails.", "created": "2023-05-20T00:00:57.864864+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005", "attributes": + {"name": "security_monitoring_findings_write", "display_name": "Security Monitoring + Findings Write", "description": "Mute CSPM Findings.", "created": "2023-05-23T21:45:42.705754+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", + "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud + Cost Management Read", "description": "Read cloud cost data such as cost metrics + and tags.", "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud + Cost Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005", "attributes": + {"name": "cloud_cost_management_write", "display_name": "Cloud Cost Management + Write", "description": "Configure cloud cost accounts and global customizations.", + "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud Cost Management", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "ace5cc0e-ff71-11ed-b518-da7ad0900005", "attributes": {"name": "host_tags_write", + "display_name": "Host Tags Write", "description": "Add and change tags on + hosts.", "created": "2023-05-31T05:12:01.547070+00:00", "group_name": "Metrics", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "48d8ce74-0065-11ee-9c16-da7ad0900005", "attributes": {"name": "ci_visibility_pipelines_write", + "display_name": "CI Visibility Pipelines Write", "description": "Create CI + Visibility pipeline spans using the API.", "created": "2023-06-01T10:15:50.891463+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "3276c638-0ebe-11ee-9428-da7ad0900005", "attributes": + {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", + "description": "View Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "3276cf02-0ebe-11ee-9428-da7ad0900005", "attributes": + {"name": "quality_gate_rules_write", "display_name": "Quality Gate Rules Write", + "description": "Edit Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "ffb0167e-11e1-11ee-8f46-da7ad0900005", "attributes": + {"name": "metrics_metadata_write", "display_name": "Metrics Metadata Write", + "description": "Edit metadata on metrics.", "created": "2023-06-23T16:21:25.009293+00:00", + "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "4316b75c-093f-11ee-98e9-da7ad0900005", "attributes": + {"name": "rum_delete_data", "display_name": "RUM Delete Data", "description": + "Delete data from RUM.", "created": "2023-06-12T16:36:20.819036+00:00", "group_name": + "Real User Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "4316826e-093f-11ee-98e9-da7ad0900005", "attributes": + {"name": "appsec_vm_write", "display_name": "Application Security Vulnerability + Management Write", "description": "Update status or assignee of Application + Security vulnerabilities.", "created": "2023-06-12T16:36:20.819036+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "4316b5b8-093f-11ee-98e9-da7ad0900005", + "attributes": {"name": "reference_tables_write", "display_name": "Reference + Tables Write", "description": "Create or modify Reference Tables.", "created": + "2023-06-12T16:36:20.819036+00:00", "group_name": "Reference Tables", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "13a7297c-1ce3-11ee-b01a-da7ad0900005", + "attributes": {"name": "rum_playlist_write", "display_name": "RUM Playlist + Write", "description": "Create, update, and delete RUM playlists. Add and + remove sessions from RUM playlists.", "created": "2023-07-07T16:26:50.792866+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "eadf64b2-2199-11ee-9a0e-da7ad0900005", + "attributes": {"name": "observability_pipelines_delete", "display_name": "Pipeline + Delete", "description": "Delete pipelines from your organization.", "created": + "2023-07-13T16:25:44.923503+00:00", "group_name": "Observability Pipelines", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "eadf675a-2199-11ee-9a0e-da7ad0900005", "attributes": {"name": "observability_pipelines_deploy", + "display_name": "Pipeline Deploy", "description": "Deploy pipelines in your + organization.", "created": "2023-07-13T16:25:44.923503+00:00", "group_name": + "Observability Pipelines", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "ef44c426-20d0-11ee-83e9-da7ad0900005", "attributes": + {"name": "processes_generate_metrics", "display_name": "Processes Generate + Metrics", "description": "Create custom metrics from processes.", "created": + "2023-07-12T16:27:03.457484+00:00", "group_name": "Processes", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "ef44613e-20d0-11ee-83e9-da7ad0900005", + "attributes": {"name": "api_keys_delete", "display_name": "API Keys Delete", + "description": "Delete API Keys for your organization.", "created": "2023-07-12T16:27:03.457484+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "55769e70-2c9a-11ee-a7df-da7ad0900005", + "attributes": {"name": "facets_write", "display_name": "Facets Write", "description": + "Manage facets for products other than Log Management, such as APM Traces. + To modify Log Facets, use Logs Write Facets.", "created": "2023-07-27T16:26:26.546986+00:00", + "group_name": "Cross-Product Features", "display_type": "write", "restricted": + false}}, {"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005", "attributes": + {"name": "Datadog Read Only Role", "created_at": "2023-08-24T14:06:17.669971+00:00", + "modified_at": "2023-08-24T14:06:17.720654+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", diff --git a/tests/integration/cassettes/test_cli/TestCli.test_import.frozen b/tests/integration/cassettes/test_cli/TestCli.test_import.frozen index 6426005c..b140a1ff 100644 --- a/tests/integration/cassettes/test_cli/TestCli.test_import.frozen +++ b/tests/integration/cassettes/test_cli/TestCli.test_import.frozen @@ -1 +1 @@ -2023-07-13T11:44:26.267672-04:00 \ No newline at end of file +2023-08-24T10:05:52.402421-04:00 \ No newline at end of file diff --git a/tests/integration/cassettes/test_cli/TestCli.test_import.yaml b/tests/integration/cassettes/test_cli/TestCli.test_import.yaml index 60f0e46a..7034920b 100644 --- a/tests/integration/cassettes/test_cli/TestCli.test_import.yaml +++ b/tests/integration/cassettes/test_cli/TestCli.test_import.yaml @@ -9,158 +9,227 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000fbdb3344e68ce326-c9f12027a02bebca-01 + - 00-0000000000000000c3c17acb09086aed-ba597460ec61d5a3-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '14551447225573829578' + - '13427891723613361571' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '18148155494438331174' + - '14105690520349600493' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests + uri: https://api.datadoghq.com/api/v1/monitor?page=0&page_size=100 response: body: - string: '{"tests": [{"public_id": "9kt-p3e-he4", "name": "HTTP Test", "status": - "paused", "type": "api", "tags": [], "created_at": "2022-11-15T21:05:04.474438+00:00", - "modified_at": "2022-11-15T21:05:04.474438+00:00", "config": {"request": {"url": - "https://google.com", "method": "GET"}, "assertions": [{"operator": "lessThan", - "type": "responseTime", "target": 1000}, {"operator": "is", "type": "statusCode", - "target": 301}, {"operator": "is", "property": "content-type", "type": "header", - "target": "text/html; charset=UTF-8"}]}, "message": "Test synthetics ", "options": - {"retry": {"count": 1, "interval": 300}, "tick_every": 604800, "monitor_options": - {"include_tags": true, "notify_audit": false, "new_host_delay": 300, "on_missing_data": - "show_no_data", "renotify_interval": 120}, "monitor_priority": 3, "min_location_failed": - 1, "min_failure_duration": 120}, "locations": ["aws:ca-central-1"], "subtype": - "http", "monitor_id": 103095757, "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}, - {"public_id": "e6x-9uf-7vc", "name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "status": "live", "type": "api", "tags": ["testing:api"], "created_at": "2022-11-15T21:05:04.493127+00:00", - "modified_at": "2022-11-15T21:05:04.493127+00:00", "config": {"request": {"certificate": - {"cert": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "cert-filename"}, - "key": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "key-filename"}}, - "url": "https://datadoghq.com", "headers": {"unique": "testtriggersyntheticstestsreturnsokresponse1666783270"}, - "proxy": {"url": "https://datadoghq.com", "headers": {}}, "timeout": 10, "method": - "GET"}, "assertions": [{"operator": "is", "property": "{{ PROPERTY }}", "type": - "header", "target": "text/html"}, {"operator": "lessThan", "type": "responseTime", - "target": 2000}, {"operator": "validatesJSONPath", "type": "body", "target": - {"operator": "isNot", "targetValue": "0", "jsonPath": "topKey"}}], "configVariables": - [{"pattern": "content-type", "type": "text", "example": "content-type", "name": - "PROPERTY"}]}, "message": "BDD test payload: synthetics_api_http_test_payload.json", - "options": {"accept_self_signed": false, "retry": {"count": 3, "interval": - 10}, "min_location_failed": 1, "allow_insecure": true, "follow_redirects": - true, "min_failure_duration": 10, "monitor_priority": 5, "monitor_name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "tick_every": 60}, "locations": ["aws:us-east-2"], "subtype": "http", "monitor_id": - 103095761, "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com"}}, {"public_id": "shp-p4u-z5t", "name": - "TCP Test", "status": "live", "type": "api", "tags": ["foo:bar", "foo", "env:test"], - "created_at": "2022-11-15T21:05:04.516477+00:00", "modified_at": "2022-11-15T21:05:04.516477+00:00", - "config": {"request": {"host": "example.org", "port": 443}, "assertions": - [{"operator": "lessThan", "type": "responseTime", "target": 2000}]}, "message": - "Notify @pagerduty", "options": {"monitor_options": {"notify_audit": false, - "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0}, "tick_every": 900, "min_location_failed": 1}, "locations": - ["aws:eu-central-1"], "subtype": "tcp", "monitor_id": 103095759, "creator": - {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": - "sherzod.karimov@datadoghq.com"}}, {"public_id": "sac-hdw-2vm", "name": "SSL - Test", "status": "live", "type": "api", "tags": ["foo:bar", "foo", "env:test"], - "created_at": "2022-11-15T21:05:04.539022+00:00", "modified_at": "2022-11-15T21:05:04.539022+00:00", - "config": {"request": {"host": "example.org", "port": 443}, "assertions": - [{"operator": "isInMoreThan", "type": "certificate", "target": 30}]}, "message": - "Notify @pagerduty", "options": {"accept_self_signed": true, "monitor_options": - {"notify_audit": false, "include_tags": true, "new_host_delay": 300, "on_missing_data": - "show_no_data", "renotify_interval": 0}, "min_location_failed": 1, "tick_every": - 900}, "locations": ["aws:eu-central-1"], "subtype": "ssl", "monitor_id": 103095758, - "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com"}}, {"public_id": "4mg-pxb-ze4", "name": - "Browser Test (cloned)", "status": "live", "type": "browser", "tags": [], - "created_at": "2022-11-15T21:05:04.564415+00:00", "modified_at": "2022-11-15T21:05:04.564415+00:00", - "config": {"variables": [], "setCookie": "", "request": {"url": "https://docs.datadoghq.com", - "headers": {"test": "{{ TEST_VARIABLE }}", "test_two": "{{ TEST_VAR_LOCAL - }}"}, "method": "GET"}, "assertions": [], "configVariables": [{"pattern": - "TEST_VAR_LOCAL", "type": "text", "name": "TEST_VAR_LOCAL", "example": "TEST_VAR_LOCAL"}, - {"type": "global", "id": "7478e601-cbe3-4a7d-babf-d48702b6b833", "name": "TEST_VARIABLE"}]}, - "message": "", "options": {"enableSecurityTesting": false, "retry": {"count": - 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": 0, - "noScreenshot": false, "tick_every": 604800, "disableCsp": false, "disableCors": - false, "enableProfiling": false, "rumSettings": {"isEnabled": false}, "device_ids": - ["chrome.laptop_large", "firefox.laptop_large", "chrome.tablet", "chrome.mobile_small", - "firefox.mobile_small", "firefox.tablet"], "monitor_options": {"notify_audit": + string: '[{"id": 36230659, "org_id": 569509, "type": "query alert", "name": + "Composite monitor - Child 2", "message": "Test monitor ----------------", + "tags": ["test:foo", "test_two:bar"], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} + > 50", "options": {"thresholds": {"critical": 50.0}, "notify_audit": false, + "require_full_window": true, "notify_no_data": false, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "new_host_delay": 300, "silenced": {}}, "multi": false, "created_at": + 1622364217000, "created": "2021-05-30T08:43:37.940520+00:00", "modified": + "2023-08-10T20:39:26.357089+00:00", "deleted": null, "restricted_roles": null, + "priority": null, "overall_state_modified": "2021-05-30T08:45:28+00:00", "overall_state": + "OK", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", + "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": + []}, {"id": 36239262, "org_id": 569509, "type": "query alert", "name": "Composite + monitor - child 1", "message": "Composite monitor - child 1", "tags": ["test:foo"], + "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} > 20", "options": + {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": false, + "require_full_window": true, "notify_no_data": false, "renotify_interval": + 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, + "multi": false, "created_at": 1622404151000, "created": "2021-05-30T19:49:11.945913+00:00", + "modified": "2023-08-10T20:39:47.053119+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": "2021-05-30T19:52:07+00:00", + "overall_state": "OK", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", + "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": + []}, {"id": 36593201, "org_id": 569509, "type": "composite", "name": "Composite + monitor", "message": "test", "tags": [], "query": "( 36239262 && 36230659 + ) || !36239262", "options": {"notify_audit": false, "locked": false, "include_tags": + false, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": + 0, "escalation_message": "", "silenced": {}}, "multi": false, "created_at": + 1622746548000, "created": "2021-06-03T18:55:48.515861+00:00", "modified": + "2021-06-08T18:13:50.284433+00:00", "deleted": null, "restricted_roles": null, + "priority": null, "overall_state_modified": "2021-06-03T18:56:43+00:00", "overall_state": + "Alert", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", + "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": + []}, {"id": 37284891, "org_id": 569509, "type": "service check", "name": "Host + monitor", "message": "Test host monitor", "tags": ["service:daimler-health-service"], + "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", + "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": + false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": + {}}, "multi": true, "created_at": 1623176221000, "created": "2021-06-08T18:17:01.656132+00:00", + "modified": "2023-05-16T22:15:12.393592+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": "2023-05-05T17:14:51+00:00", + "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 37284965, "org_id": 569509, + "type": "query alert", "name": "Anomaly monitor", "message": "Anomaly monitor", + "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, + ''basic'', 2, direction=''both'', alert_window=''last_15m'', interval=60, + count_default_zero=''true'') >= 1", "options": {"notify_audit": false, "locked": + false, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "require_full_window": + true, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": + 0, "escalation_message": "", "threshold_windows": {"recovery_window": "last_15m", + "trigger_window": "last_15m"}, "thresholds": {"critical": 1.0, "critical_recovery": + 0.0}, "silenced": {}}, "multi": false, "created_at": 1623176273000, "created": + "2021-06-08T18:17:53.020925+00:00", "modified": "2021-06-08T18:17:53.020925+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2021-06-08T18:19:16+00:00", "overall_state": "OK", "creator": {"name": "Sherzod + Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 52549314, "org_id": 569509, + "type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} + stopped reporting", "message": "Private location {{location_id.name}} stopped + reporting to Datadog.", "tags": [], "query": "min(last_5m):avg:synthetics.pl.worker.running{*} + by {location_id} < 1", "options": {"notify_audit": false, "locked": false, + "include_tags": true, "thresholds": {"critical": 1.0}, "new_host_delay": 300, + "notify_no_data": true, "silenced": {}}, "multi": true, "created_at": 1635860538000, + "created": "2021-11-02T13:42:18.175788+00:00", "modified": "2021-11-02T13:42:18.175788+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2021-11-02T13:45:14+00:00", "overall_state": "No Data", "creator": {"name": + "Noueman Khalikine", "handle": "noueman.khalikine@datadoghq.com", "email": + "noueman.khalikine@datadoghq.com", "id": 2808025}, "matching_downtimes": []}, + {"id": 52549315, "org_id": 569509, "type": "metric alert", "name": "[Synthetic + Private Locations] {{location_id.name}} uses an outdated image version", "message": + "Private location {{location_id.name}} is running an outdated image version. + Learn more about the current version in use on your [Private locations page](https://app.datadoghq.com/synthetics/settings/private-locations?id={{location_id.name}}) + and upgrade workers to the most recent version of the image by pulling the + `datadog/synthetics-private-location-worker` image with the `latest` tag.", + "tags": [], "query": "max(last_15m):sum:synthetics.pl.worker.outdated{*} by + {location_id} > 0", "options": {"notify_audit": false, "locked": false, "include_tags": + true, "thresholds": {"critical": 0.0}, "new_host_delay": 300, "notify_no_data": + false, "silenced": {}}, "multi": true, "created_at": 1635860538000, "created": + "2021-11-02T13:42:18.219169+00:00", "modified": "2021-11-02T13:42:18.219169+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2021-11-02T13:45:05+00:00", "overall_state": "No Data", "creator": {"name": + "Noueman Khalikine", "handle": "noueman.khalikine@datadoghq.com", "email": + "noueman.khalikine@datadoghq.com", "id": 2808025}, "matching_downtimes": []}, + {"id": 52549316, "org_id": 569509, "type": "metric alert", "name": "[Synthetic + Private Locations] {{location_id.name}} is underprovisioned", "message": "Private + location {{location_id.name}} is underprovisioned.\nVisit this [documentation + page](https://docs.datadoghq.com/synthetics/private_locations/?tab=docker#dimension-your-private-location) + to learn how to scale your private location.", "tags": [], "query": "avg(last_30m):avg:synthetics.pl.worker.remaining_slots{*} + by {location_id} < 1.5", "options": {"notify_audit": false, "locked": false, + "include_tags": true, "thresholds": {"critical": 1.5}, "new_host_delay": 300, + "notify_no_data": false, "silenced": {}}, "multi": true, "created_at": 1635860538000, + "created": "2021-11-02T13:42:18.259196+00:00", "modified": "2021-11-02T13:42:18.259196+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2021-11-02T13:45:07+00:00", "overall_state": "No Data", "creator": {"name": + "Noueman Khalikine", "handle": "noueman.khalikine@datadoghq.com", "email": + "noueman.khalikine@datadoghq.com", "id": 2808025}, "matching_downtimes": []}, + {"id": 66666697, "org_id": 569509, "type": "event-v2 alert", "name": "Test + event monitor", "message": "Test event monitor", "tags": [], "query": "events(\"\").rollup(\"count\").last(\"5m\") + > 100", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, + "include_tags": true, "restriction_query": null, "new_host_delay": 300, "notify_no_data": + false, "renotify_interval": 0, "groupby_simple_monitor": true, "enable_logs_sample": + false, "escalation_message": "", "thresholds": {"critical": 100.0}, "silenced": + {}}, "multi": false, "created_at": 1647980371000, "created": "2022-03-22T20:19:31.437344+00:00", + "modified": "2022-03-22T20:19:31.437344+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": "2022-03-22T20:22:09+00:00", + "overall_state": "OK", "creator": {"name": "Datadog Support", "handle": "support-datadogsynccliustestorg-1137936", + "email": "support-user-prod@datadoghq.com", "id": 3205966}, "matching_downtimes": + []}, {"id": 103095757, "org_id": 569509, "type": "synthetics alert", "name": + "[Synthetics] HTTP Test", "message": "Test synthetics", "tags": ["probe_dc:aws:ca-central-1", + "check_type:api", "check_status:paused", "ci_execution_rule:blocking"], "query": + "no_query", "options": {"notify_audit": false, "include_tags": true, "new_host_delay": + 300, "on_missing_data": "show_no_data", "renotify_interval": 120, "silenced": + {}}, "multi": false, "created_at": 1668546304000, "created": "2022-11-15T21:05:04.457904+00:00", + "modified": "2022-11-15T21:05:04.457904+00:00", "deleted": null, "restricted_roles": + null, "priority": 3, "overall_state_modified": "2022-11-15T21:05:38+00:00", + "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 103095758, "org_id": 569509, + "type": "synthetics alert", "name": "[Synthetics] SSL Test", "message": "Notify + @pagerduty", "tags": ["foo:bar", "foo", "env:test", "probe_dc:aws:eu-central-1", + "check_type:api-ssl", "check_status:live", "ci_execution_rule:blocking"], + "query": "no_query", "options": {"notify_audit": false, "include_tags": true, + "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": + "2022-11-15T21:05:04.460432+00:00", "modified": "2022-11-15T21:05:04.460432+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2023-07-14T05:05:08+00:00", "overall_state": "OK", "creator": {"name": "Sherzod + Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 103095759, "org_id": 569509, + "type": "synthetics alert", "name": "[Synthetics] TCP Test", "message": "Notify + @pagerduty", "tags": ["foo:bar", "foo", "env:test", "probe_dc:aws:eu-central-1", + "check_type:api-tcp", "check_status:live", "ci_execution_rule:blocking"], + "query": "no_query", "options": {"notify_audit": false, "include_tags": true, + "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": + "2022-11-15T21:05:04.469143+00:00", "modified": "2022-11-15T21:05:04.469143+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2023-07-24T13:35:10+00:00", "overall_state": "OK", "creator": {"name": "Sherzod + Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 103095760, "org_id": 569509, + "type": "synthetics alert", "name": "[Synthetics] Browser Test (cloned)", + "message": "", "tags": ["probe_dc:aws:us-west-1", "check_type:browser", "check_status:live", + "ci_execution_rule:blocking"], "query": "no_query", "options": {"notify_audit": false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0}, "ignoreServerCertificateError": false}, "locations": - ["aws:us-west-1"], "monitor_id": 103095760, "creator": {"name": "Sherzod Karimov", - "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}, - {"public_id": "n65-rw3-5ta", "name": "DNS Test", "status": "live", "type": - "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2022-11-15T21:05:04.640424+00:00", - "modified_at": "2022-11-15T21:05:04.640424+00:00", "config": {"request": {"host": - "example.org"}, "assertions": [{"operator": "is", "property": "A", "type": - "recordSome", "target": "0.0.0.0"}]}, "message": "Notify @pagerduty", "options": - {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": - 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": - 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": - "dns", "monitor_id": 103095763, "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}, - {"public_id": "ct9-df9-7cy", "name": "Multistep API Test", "status": "live", - "type": "api", "tags": ["check_type:api", "env:test", "test:update"], "created_at": - "2022-11-15T21:05:04.669579+00:00", "modified_at": "2022-11-15T21:05:04.669579+00:00", - "config": {"steps": [{"retry": {"count": 0, "interval": 300}, "name": "Test - on datadoghq.com", "request": {"url": "https://datadoghq.com", "headers": - {"content-type": "text/html"}, "method": "GET"}, "subtype": "http", "allowFailure": - false, "extractedValues": [], "isCritical": true, "id": "vek-567-n38", "assertions": - [{"operator": "lessThan", "type": "responseTime", "target": 1000}, {"operator": - "is", "type": "statusCode", "target": 301}]}], "configVariables": []}, "message": - "", "options": {"monitor_options": {"notify_audit": false, "include_tags": - true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0}, "retry": {"count": 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": - 0, "tick_every": 604800}, "locations": ["aws:sa-east-1"], "subtype": "multi", - "monitor_id": 103095762, "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}, - {"public_id": "xv9-vri-fqh", "name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", - "status": "paused", "type": "api", "tags": ["multistep"], "created_at": "2023-06-07T07:02:28.009429+00:00", - "modified_at": "2023-06-07T07:02:28.009429+00:00", "config": {"assertions": - [], "configVariables": [{"id": "24a74917-d729-4729-a809-0d05cf159e25", "name": - "VARIABLE_NAME", "type": "global"}], "steps": [{"allowFailure": true, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [{"field": "content-length", "name": "VAR_EXTRACT", "parser": {"type": "regex", - "value": ".*"}, "secure": true, "type": "http_header"}], "isCritical": false, - "name": "First api step", "request": {"allow_insecure": true, "basicAuth": - {"accessKey": "sigv4-access-key", "region": "sigv4-region", "secretKey": "sigv4-secret-key", - "serviceName": "sigv4-service-name", "sessionToken": "sigv4-session-token", - "type": "sigv4"}, "body": "this is a body", "certificate": {"cert": {"filename": - "Provided in Terraform config"}, "key": {"filename": "key"}}, "follow_redirects": - true, "headers": {"Accept": "application/json", "X-Datadog-Trace-ID": "123456789"}, - "method": "GET", "proxy": {"headers": {"Accept": "application/json", "X-Datadog-Trace-ID": - "123456789"}, "url": "https://proxy.url"}, "query": {"foo": "bar"}, "timeout": - 30, "url": "https://www.datadoghq.com"}, "retry": {"count": 5, "interval": - 1000}, "subtype": "http", "id": "3xr-p38-qba"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Second api step", "request": {"allow_insecure": - true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": - "audience", "clientId": "client-id", "clientSecret": "client-secret", "scope": - "scope", "tokenApiAuthentication": "header", "type": "oauth-client"}, "body": - "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, - "subtype": "http", "id": "3ij-dfg-6tw"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Third api step", "request": {"allow_insecure": - true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": - "audience", "clientId": "client-id", "clientSecret": "client-secret", "password": - "password", "resource": "resource", "scope": "scope", "tokenApiAuthentication": - "body", "type": "oauth-rop", "username": "username"}, "body": "", "follow_redirects": - true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, - "subtype": "http", "id": "it3-n6p-xnp"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Fourth api step", "request": {"allow_insecure": - true, "basicAuth": {"password": "password", "type": "digest", "username": - "username"}, "body": "", "follow_redirects": true, "method": "GET", "timeout": - 30, "url": "https://docs.datadoghq.com"}, "subtype": "http", "id": "vid-d39-qgr"}]}, - "message": "Notify @datadog.user", "options": {"min_location_failed": 1, "restricted_roles": - ["430aea7c-0501-11ee-9f44-da7ad0900002"], "tick_every": 900}, "locations": - ["aws:eu-central-1"], "subtype": "multi", "monitor_id": 121127083, "creator": - {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}], - "total": 8}' + "renotify_interval": 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, + "created": "2022-11-15T21:05:04.469385+00:00", "modified": "2022-11-15T21:05:04.469385+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2022-11-15T21:06:40+00:00", "overall_state": "Alert", "creator": {"name": + "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 103095761, "org_id": 569509, + "type": "synthetics alert", "name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "message": "BDD test payload: synthetics_api_http_test_payload.json", "tags": + ["testing:api", "probe_dc:aws:us-east-2", "check_type:api", "check_status:live", + "ci_execution_rule:blocking"], "query": "no_query", "options": {"include_tags": + true, "notify_audit": false, "new_host_delay": 300, "on_missing_data": "show_no_data", + "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": "2022-11-15T21:05:04.477484+00:00", + "modified": "2022-11-15T21:05:04.477484+00:00", "deleted": null, "restricted_roles": + null, "priority": 5, "overall_state_modified": "2022-11-15T21:05:42+00:00", + "overall_state": "Alert", "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 103095762, "org_id": 569509, + "type": "synthetics alert", "name": "[Synthetics] Multistep API Test", "message": + "", "tags": ["check_type:api", "env:test", "test:update", "probe_dc:aws:sa-east-1", + "check_type:api-multi", "check_status:live", "ci_execution_rule:blocking"], + "query": "no_query", "options": {"notify_audit": false, "include_tags": true, + "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": + "2022-11-15T21:05:04.478167+00:00", "modified": "2022-11-15T21:05:04.478167+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2022-11-15T21:05:43+00:00", "overall_state": "OK", "creator": {"name": "Sherzod + Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 103095763, "org_id": 569509, + "type": "synthetics alert", "name": "[Synthetics] DNS Test", "message": "Notify + @pagerduty", "tags": ["foo:bar", "foo", "env:test", "probe_dc:aws:eu-central-1", + "check_type:api-dns", "check_status:live", "ci_execution_rule:blocking"], + "query": "no_query", "options": {"notify_audit": false, "include_tags": true, + "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": + "2022-11-15T21:05:04.482560+00:00", "modified": "2022-11-15T21:05:04.482560+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + "2022-11-15T21:05:45+00:00", "overall_state": "Alert", "creator": {"name": + "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 121127083, "org_id": 569509, + "type": "synthetics alert", "name": "[Synthetics] tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", + "message": "Notify @datadog.user", "tags": ["multistep", "probe_dc:aws:eu-central-1", + "check_type:api-multi", "check_status:paused", "ci_execution_rule:blocking"], + "query": "no_query", "options": {"on_missing_data": "show_no_data", "notify_audit": + false, "new_host_delay": 300, "include_tags": true, "silenced": {}}, "multi": + false, "created_at": 1686121347000, "created": "2023-06-07T07:02:27.979214+00:00", + "modified": "2023-06-07T07:02:27.979214+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": "2023-06-07T07:02:45+00:00", + "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 2781302}, "matching_downtimes": []}, + {"id": 124728911, "org_id": 569509, "type": "slo alert", "name": "Test slo + monitor", "message": "Random message", "tags": [], "query": "error_budget(\"ba72d10835d75e0c8910597144f3733a\").over(\"7d\") + > 100", "options": {"thresholds": {"critical": 100.0}, "notify_no_data": false, + "notify_audit": false, "new_host_delay": 300, "include_tags": true, "silenced": + {}}, "multi": false, "created_at": 1688999118000, "created": "2023-07-10T14:25:18.627726+00:00", + "modified": "2023-07-10T14:25:18.627726+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": "2023-07-10T14:25:22+00:00", + "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}]' headers: Content-Type: - application/json @@ -177,34 +246,37 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000069fb0bb32b5fe698-67014e3f365f0fff-01 + - 00-0000000000000000a7c560e2155a6ad7-daaa68273a61c018-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7422299694285393919' + - '15756520764001599512' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '7636710457291564696' + - '12089175298883087063' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/9kt-p3e-he4 + uri: https://api.datadoghq.com/api/v1/downtime response: body: - string: '{"public_id": "9kt-p3e-he4", "name": "HTTP Test", "status": "paused", - "type": "api", "tags": [], "created_at": "2022-11-15T21:05:04.474438+00:00", - "modified_at": "2022-11-15T21:05:04.474438+00:00", "config": {"request": {"url": - "https://google.com", "method": "GET"}, "assertions": [{"operator": "lessThan", - "type": "responseTime", "target": 1000}, {"operator": "is", "type": "statusCode", - "target": 301}, {"operator": "is", "property": "content-type", "type": "header", - "target": "text/html; charset=UTF-8"}]}, "message": "Test synthetics ", "options": - {"retry": {"count": 1, "interval": 300}, "tick_every": 604800, "monitor_options": - {"include_tags": true, "notify_audit": false, "new_host_delay": 300, "on_missing_data": - "show_no_data", "renotify_interval": 120}, "monitor_priority": 3, "min_location_failed": - 1, "min_failure_duration": 120}, "locations": ["aws:ca-central-1"], "subtype": - "http", "monitor_id": 103095757, "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' + string: '[{"id": 1882120397, "monitor_id": null, "org_id": 569509, "start": + 1777521600, "end": null, "canceled": null, "created": 1650050263, "modified": + 1650050263, "message": "Sample downtime message", "active": false, "disabled": + false, "recurrence": null, "timezone": "America/New_York", "parent_id": null, + "child_id": null, "creator_id": 2781275, "updater_id": null, "downtime_type": + 0, "status": "scheduled", "monitor_tags": ["*"], "mute_first_recovery_notification": + false, "notify_end_types": ["expired"], "notify_end_states": ["alert", "no + data", "warn"], "uuid": "2d201cd8-b23a-11ed-b003-da7ad0900002", "scope": ["*"]}, + {"id": 1882118744, "monitor_id": null, "org_id": 569509, "start": 1807675200, + "end": null, "canceled": null, "created": 1650050211, "modified": 1650050211, + "message": "Sample message", "active": false, "disabled": false, "recurrence": + null, "timezone": "America/New_York", "parent_id": null, "child_id": null, + "creator_id": 2781275, "updater_id": null, "downtime_type": 0, "status": "scheduled", + "monitor_tags": ["*"], "mute_first_recovery_notification": false, "notify_end_types": + ["expired"], "notify_end_states": ["alert", "no data", "warn"], "uuid": "2d201904-b23a-11ed-b002-da7ad0900002", + "scope": ["*"]}]' headers: Content-Type: - application/json @@ -221,40 +293,38 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000308a268221c3a2d5-4a4f726d6b471ff3-01 + - 00-000000000000000015e9a0a37ae1676e-0c37daf07f09f936-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5354624296243634163' + - '880412978632587574' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '3497650400960684757' + - '1578969768371775342' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/e6x-9uf-7vc + uri: https://api.datadoghq.com/api/v1/synthetics/locations response: body: - string: '{"public_id": "e6x-9uf-7vc", "name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "status": "live", "type": "api", "tags": ["testing:api"], "created_at": "2022-11-15T21:05:04.493127+00:00", - "modified_at": "2022-11-15T21:05:04.493127+00:00", "config": {"request": {"certificate": - {"cert": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "cert-filename"}, - "key": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "key-filename"}}, - "url": "https://datadoghq.com", "headers": {"unique": "testtriggersyntheticstestsreturnsokresponse1666783270"}, - "proxy": {"url": "https://datadoghq.com", "headers": {}}, "timeout": 10, "method": - "GET"}, "assertions": [{"operator": "is", "property": "{{ PROPERTY }}", "type": - "header", "target": "text/html"}, {"operator": "lessThan", "type": "responseTime", - "target": 2000}, {"operator": "validatesJSONPath", "type": "body", "target": - {"operator": "isNot", "targetValue": "0", "jsonPath": "topKey"}}], "configVariables": - [{"pattern": "content-type", "type": "text", "example": "content-type", "name": - "PROPERTY"}]}, "message": "BDD test payload: synthetics_api_http_test_payload.json", - "options": {"accept_self_signed": false, "retry": {"count": 3, "interval": - 10}, "min_location_failed": 1, "allow_insecure": true, "follow_redirects": - true, "min_failure_duration": 10, "monitor_priority": 5, "monitor_name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "tick_every": 60}, "locations": ["aws:us-east-2"], "subtype": "http", "monitor_id": - 103095761, "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com"}}' + string: '{"locations": [{"id": "aws:af-south-1", "name": "Cape Town (AWS)"}, + {"id": "aws:ap-east-1", "name": "Hong Kong (AWS)"}, {"id": "aws:ap-northeast-1", + "name": "Tokyo (AWS)"}, {"id": "aws:ap-northeast-2", "name": "Seoul (AWS)"}, + {"id": "aws:ap-northeast-3", "name": "Osaka (AWS)"}, {"id": "aws:ap-south-1", + "name": "Mumbai (AWS)"}, {"id": "aws:ap-southeast-1", "name": "Singapore (AWS)"}, + {"id": "aws:ap-southeast-2", "name": "Sydney (AWS)"}, {"id": "aws:ap-southeast-3", + "name": "Jakarta (AWS)"}, {"id": "aws:ca-central-1", "name": "Canada Central + (AWS)"}, {"id": "aws:eu-central-1", "name": "Frankfurt (AWS)"}, {"id": "aws:eu-north-1", + "name": "Stockholm (AWS)"}, {"id": "aws:eu-south-1", "name": "Milan (AWS)"}, + {"id": "aws:eu-west-1", "name": "Ireland (AWS)"}, {"id": "aws:eu-west-2", + "name": "London (AWS)"}, {"id": "aws:eu-west-3", "name": "Paris (AWS)"}, {"id": + "aws:me-south-1", "name": "Bahrain (AWS)"}, {"id": "aws:sa-east-1", "name": + "S\u00e3o Paulo (AWS)"}, {"id": "aws:us-east-1", "name": "N. Virginia (AWS)"}, + {"id": "aws:us-east-2", "name": "Ohio (AWS)"}, {"id": "aws:us-west-1", "name": + "N. California (AWS)"}, {"id": "aws:us-west-2", "name": "Oregon (AWS)"}, {"id": + "azure:eastus", "name": "Virginia (Azure)"}, {"id": "pl:test-private-variable-b66e383ccf2ec6911eb962a9c2577451", + "name": "Test Private Variable"}]}' headers: Content-Type: - application/json @@ -271,31 +341,25 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000a9c464975a5b7f41-c63afc7fc2a27b94-01 + - 00-0000000000000000a5ca16084b34a331-0181195940ca1989-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '14284006793815423892' + - '108395737163372937' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '12233013089063894849' + - '11946385186430952241' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/shp-p4u-z5t + uri: https://api.datadoghq.com/api/v1/synthetics/private-locations/pl:test-private-variable-b66e383ccf2ec6911eb962a9c2577451 response: body: - string: '{"public_id": "shp-p4u-z5t", "name": "TCP Test", "status": "live", - "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2022-11-15T21:05:04.516477+00:00", - "modified_at": "2022-11-15T21:05:04.516477+00:00", "config": {"request": {"host": - "example.org", "port": 443}, "assertions": [{"operator": "lessThan", "type": - "responseTime", "target": 2000}]}, "message": "Notify @pagerduty", "options": - {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": - 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": - 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": - "tcp", "monitor_id": 103095759, "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' + string: '{"createdAt": "2021-06-30T12:27:21.433291+00:00", "modifiedAt": "2021-06-30T12:27:21.433291+00:00", + "description": "datadog-sync-cli test", "tags": ["key:value"], "name": "Test + Private Variable", "metadata": null, "id": "pl:test-private-variable-b66e383ccf2ec6911eb962a9c2577451", + "createdBy": "noueman.khalikine@datadoghq.com"}' headers: Content-Type: - application/json @@ -312,31 +376,34 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000487e8b990beaa840-b699c12ee4a1eb3d-01 + - 00-00000000000000004ad9e1187a31ccfd-b31ffa33769fec52-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '13157760193488087869' + - '12907310156007599186' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '5223766107242539072' + - '5393589523998428413' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/sac-hdw-2vm + uri: https://api.datadoghq.com/api/v1/dashboard/lists/manual response: body: - string: '{"public_id": "sac-hdw-2vm", "name": "SSL Test", "status": "live", - "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2022-11-15T21:05:04.539022+00:00", - "modified_at": "2022-11-15T21:05:04.539022+00:00", "config": {"request": {"host": - "example.org", "port": 443}, "assertions": [{"operator": "isInMoreThan", "type": - "certificate", "target": 30}]}, "message": "Notify @pagerduty", "options": - {"accept_self_signed": true, "monitor_options": {"notify_audit": false, "include_tags": - true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0}, "min_location_failed": 1, "tick_every": 900}, "locations": ["aws:eu-central-1"], - "subtype": "ssl", "monitor_id": 103095758, "creator": {"name": "Sherzod Karimov", - "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' + string: '{"dashboard_lists": [{"author": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com"}, "created": "2021-07-15T14:16:13.319119+00:00", + "dashboards": null, "dashboard_count": 0, "id": 221363, "is_favorite": false, + "modified": "2021-07-15T14:16:34.123734+00:00", "name": "Empty Test List", + "type": "manual_dashboard_list"}, {"author": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com"}, "created": "2023-02-28T21:12:30.788938+00:00", + "dashboards": null, "dashboard_count": 0, "id": 367313, "is_favorite": false, + "modified": "2023-02-28T21:12:30.788947+00:00", "name": "Empty Test List", + "type": "manual_dashboard_list"}, {"author": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com"}, "created": "2021-06-14T20:10:23.247584+00:00", + "dashboards": null, "dashboard_count": 2, "id": 213585, "is_favorite": false, + "modified": "2021-06-24T20:13:00.657023+00:00", "name": "Test list", "type": + "manual_dashboard_list"}]}' headers: Content-Type: - application/json @@ -353,159 +420,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000008fe651532e2b4753-360326e91e3e662e-01 + - 00-000000000000000088181a1af0277eca-93e092678600c086-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3891997285654881838' + - '10655677691686076550' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10369064609765869395' + - '9806616891599847114' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests/browser/4mg-pxb-ze4 + uri: https://api.datadoghq.com/api/v2/dashboard/lists/manual/221363/dashboards response: body: - string: '{"public_id": "4mg-pxb-ze4", "name": "Browser Test (cloned)", "status": - "live", "type": "browser", "tags": [], "created_at": "2022-11-15T21:05:04.564415+00:00", - "modified_at": "2022-11-15T21:05:04.564415+00:00", "config": {"variables": - [], "setCookie": "", "request": {"url": "https://docs.datadoghq.com", "headers": - {"test": "{{ TEST_VARIABLE }}", "test_two": "{{ TEST_VAR_LOCAL }}"}, "method": - "GET"}, "assertions": [], "configVariables": [{"pattern": "TEST_VAR_LOCAL", - "type": "text", "name": "TEST_VAR_LOCAL", "example": "TEST_VAR_LOCAL"}, {"type": - "global", "id": "7478e601-cbe3-4a7d-babf-d48702b6b833", "name": "TEST_VARIABLE"}]}, - "message": "", "options": {"enableSecurityTesting": false, "retry": {"count": - 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": 0, - "noScreenshot": false, "tick_every": 604800, "disableCsp": false, "disableCors": - false, "enableProfiling": false, "rumSettings": {"isEnabled": false}, "device_ids": - ["chrome.laptop_large", "firefox.laptop_large", "chrome.tablet", "chrome.mobile_small", - "firefox.mobile_small", "firefox.tablet"], "monitor_options": {"notify_audit": - false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0}, "ignoreServerCertificateError": false}, "locations": - ["aws:us-west-1"], "monitor_id": 103095760, "creator": {"name": "Sherzod Karimov", - "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}, - "steps": [{"name": "Type text on input \"s\"", "params": {"value": "api", - "element": {"url": "https://docs.datadoghq.com/", "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"section\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"form\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"span\"][1]/*[local-name()=\"input\"][2]", - "at": "/descendant::*[@name=\"s\"]", "cl": "/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" docssearch-input \") and contains(concat('' - '', normalize-space(@class), '' ''), \" ds-input \")]", "co": "[{\"text\":\"search - documentation...\",\"textType\":\"placeholder\"}]", "ro": "//*[@name=\"s\"]", - "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' - ''), \" docssearch-input \") and contains(concat('' '', normalize-space(@class), - '' ''), \" ds-input \")]"}, "targetOuterHTML": "API - \u00bb AuthN Mappings"}}, "type": "click", "allowFailure": false, "isCritical": - true, "noScreenshot": false}, {"name": "Click on link \"Go\"", "params": {"element": - {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/", "multiLocator": - {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][4]/*[local-name()=\"a\"][1]", - "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=go#\"]", - "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), - \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": - "[{\"text\":\"go\",\"textType\":\"directText\"},{\"relation\":\"PARENT OF\",\"tagName\":\"DIV\",\"text\":\" - get an authn mapping by uuid\",\"textType\":\"innerText\"}]", "ro": null, - "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' - ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., - ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', - ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) - = \"go\"]]"}, "targetOuterHTML": "Go"}}, "type": "click", - "allowFailure": false, "isCritical": true, "noScreenshot": false}, {"name": - "Click on link \"Python [beta]\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=go", - "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][3]/*[local-name()=\"a\"][1]", - "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=ruby#\"]", - "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), - \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": - "[{\"text\":\"ruby\",\"textType\":\"directText\"},{\"relation\":\"PARENT OF\",\"tagName\":\"DIV\",\"text\":\" - get an authn mapping by uuid\",\"textType\":\"innerText\"}]", "ro": null, - "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' - ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., - ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', - ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) - = \"ruby\"]]"}, "targetOuterHTML": "Ruby"}}, "type": - "click", "allowFailure": false, "isCritical": true, "noScreenshot": false}, - {"name": "Click on button \"Copy\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=ruby", - "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"h5\"][1]/*[local-name()=\"button\"][1]", - "at": "", "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), - '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" btn \")]", "co": "[{\"text\":\"get - an authn mapping by uuid\",\"textType\":\"directText\"},{\"relation\":\"PARENT - OF\",\"tagName\":\"SPAN\",\"text\":\"# get an authn mapping by uuid returns - \\\"ok\\\" response \",\"textType\":\"innerText\"}]", "ro": null, "clt": "/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" btn \")]"}, "targetOuterHTML": ""}}, "type": "click", "allowFailure": false, "isCritical": - true, "noScreenshot": false}]}' - headers: - Content-Type: - - application/json - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - traceparent: - - 00-0000000000000000665dab8ff1dc1c29-5735e2f36d099c75-01 - tracestate: - - dd=s:1;t.dm:-0 - x-datadog-parent-id: - - '6284178390199671925' - x-datadog-sampling-priority: - - '1' - x-datadog-tags: - - _dd.p.dm=-0 - x-datadog-trace-id: - - '7376240399429147689' - method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/n65-rw3-5ta - response: - body: - string: '{"public_id": "n65-rw3-5ta", "name": "DNS Test", "status": "live", - "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2022-11-15T21:05:04.640424+00:00", - "modified_at": "2022-11-15T21:05:04.640424+00:00", "config": {"request": {"host": - "example.org"}, "assertions": [{"operator": "is", "property": "A", "type": - "recordSome", "target": "0.0.0.0"}]}, "message": "Notify @pagerduty", "options": - {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": - 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": - 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": - "dns", "monitor_id": 103095763, "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' + string: '{"dashboards": [], "total": 0}' headers: Content-Type: - application/json @@ -522,36 +452,22 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000442734e7683e4684-139173c7088ba4cc-01 + - 00-0000000000000000c15169057146be55-fbf8d7c497bc0900-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '1410035457022731468' + - '18156499137103399168' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4910952087161816708' + - '13930030594529869397' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/ct9-df9-7cy + uri: https://api.datadoghq.com/api/v2/dashboard/lists/manual/367313/dashboards response: body: - string: '{"public_id": "ct9-df9-7cy", "name": "Multistep API Test", "status": - "live", "type": "api", "tags": ["check_type:api", "env:test", "test:update"], - "created_at": "2022-11-15T21:05:04.669579+00:00", "modified_at": "2022-11-15T21:05:04.669579+00:00", - "config": {"steps": [{"retry": {"count": 0, "interval": 300}, "name": "Test - on datadoghq.com", "request": {"url": "https://datadoghq.com", "headers": - {"content-type": "text/html"}, "method": "GET"}, "subtype": "http", "allowFailure": - false, "extractedValues": [], "isCritical": true, "id": "vek-567-n38", "assertions": - [{"operator": "lessThan", "type": "responseTime", "target": 1000}, {"operator": - "is", "type": "statusCode", "target": 301}]}], "configVariables": []}, "message": - "", "options": {"monitor_options": {"notify_audit": false, "include_tags": - true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0}, "retry": {"count": 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": - 0, "tick_every": 604800}, "locations": ["aws:sa-east-1"], "subtype": "multi", - "monitor_id": 103095762, "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' + string: '{"dashboards": [], "total": 0}' headers: Content-Type: - application/json @@ -568,63 +484,33 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000021949cb3b55dd65a-4d5af615b3dee15f-01 + - 00-0000000000000000d8d7ea865fc9cadc-d62adc6ba30546b9-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5574038061896884575' + - '15432389427993069241' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2419731195460703834' + - '15625215295038802652' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/xv9-vri-fqh + uri: https://api.datadoghq.com/api/v2/dashboard/lists/manual/213585/dashboards response: body: - string: '{"public_id": "xv9-vri-fqh", "name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", - "status": "paused", "type": "api", "tags": ["multistep"], "created_at": "2023-06-07T07:02:28.009429+00:00", - "modified_at": "2023-06-07T07:02:28.009429+00:00", "config": {"assertions": - [], "configVariables": [{"id": "24a74917-d729-4729-a809-0d05cf159e25", "name": - "VARIABLE_NAME", "type": "global"}], "steps": [{"allowFailure": true, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [{"field": "content-length", "name": "VAR_EXTRACT", "parser": {"type": "regex", - "value": ".*"}, "secure": true, "type": "http_header"}], "isCritical": false, - "name": "First api step", "request": {"allow_insecure": true, "basicAuth": - {"accessKey": "sigv4-access-key", "region": "sigv4-region", "secretKey": "sigv4-secret-key", - "serviceName": "sigv4-service-name", "sessionToken": "sigv4-session-token", - "type": "sigv4"}, "body": "this is a body", "certificate": {"cert": {"filename": - "Provided in Terraform config"}, "key": {"filename": "key"}}, "follow_redirects": - true, "headers": {"Accept": "application/json", "X-Datadog-Trace-ID": "123456789"}, - "method": "GET", "proxy": {"headers": {"Accept": "application/json", "X-Datadog-Trace-ID": - "123456789"}, "url": "https://proxy.url"}, "query": {"foo": "bar"}, "timeout": - 30, "url": "https://www.datadoghq.com"}, "retry": {"count": 5, "interval": - 1000}, "subtype": "http", "id": "3xr-p38-qba"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Second api step", "request": {"allow_insecure": - true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": - "audience", "clientId": "client-id", "clientSecret": "client-secret", "scope": - "scope", "tokenApiAuthentication": "header", "type": "oauth-client"}, "body": - "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, - "subtype": "http", "id": "3ij-dfg-6tw"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Third api step", "request": {"allow_insecure": - true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": - "audience", "clientId": "client-id", "clientSecret": "client-secret", "password": - "password", "resource": "resource", "scope": "scope", "tokenApiAuthentication": - "body", "type": "oauth-rop", "username": "username"}, "body": "", "follow_redirects": - true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, - "subtype": "http", "id": "it3-n6p-xnp"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Fourth api step", "request": {"allow_insecure": - true, "basicAuth": {"password": "password", "type": "digest", "username": - "username"}, "body": "", "follow_redirects": true, "method": "GET", "timeout": - 30, "url": "https://docs.datadoghq.com"}, "subtype": "http", "id": "vid-d39-qgr"}]}, - "message": "Notify @datadog.user", "options": {"min_location_failed": 1, "restricted_roles": - ["430aea7c-0501-11ee-9f44-da7ad0900002"], "tick_every": 900}, "locations": - ["aws:eu-central-1"], "subtype": "multi", "monitor_id": 121127083, "creator": - {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}' + string: '{"dashboards": [{"author": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com"}, + "created": "2021-06-01T20:18:57.486260+00:00", "is_favorite": false, "is_shared": + false, "modified": "2022-11-15T21:13:30.654511+00:00", "title": "Timeboard + Tue, Jun 1, 4:18:57 pm", "type": "custom_timeboard", "id": "euw-cp8-hy6", + "url": "/dashboard/euw-cp8-hy6/timeboard-tue-jun-1-41857-pm", "is_read_only": + false, "tags": [], "icon": null, "integration_id": null, "popularity": 1}, + {"author": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com"}, + "created": "2021-06-08T18:26:23.515662+00:00", "is_favorite": false, "is_shared": + false, "modified": "2021-06-22T19:35:38.981348+00:00", "title": "Test screenboard", + "type": "custom_screenboard", "id": "dns-jst-h98", "url": "/dashboard/dns-jst-h98/test-screenboard", + "is_read_only": false, "tags": null, "icon": null, "integration_id": null, + "popularity": 0}], "total": 2}' headers: Content-Type: - application/json @@ -641,17 +527,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000f84b3e5f9bd042b0-8de14ffd3c1bfb52-01 + - 00-0000000000000000e7f8ad607a7d3953-6c8dd2a6c31cfaf8-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '10223540578161523538' + - '7822139741492280056' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '17891462525016359600' + - '16715300646869088595' method: GET uri: https://api.datadoghq.com/api/v1/slo response: @@ -687,34 +573,39 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000a07171e4ee02b11e-8980d6e219bcd471-01 + - 00-0000000000000000284764f3532163e4-7b66f995fb3ef488-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '9908155446797849713' + - '8892068936850273416' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11561146946496409886' + - '2902399481098101732' method: GET - uri: https://api.datadoghq.com/api/v1/dashboard/lists/manual + uri: https://api.datadoghq.com/api/v1/slo/correction response: body: - string: '{"dashboard_lists": [{"author": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com"}, "created": "2021-07-15T14:16:13.319119+00:00", - "dashboards": null, "dashboard_count": 0, "id": 221363, "is_favorite": false, - "modified": "2021-07-15T14:16:34.123734+00:00", "name": "Empty Test List", - "type": "manual_dashboard_list"}, {"author": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com"}, "created": "2023-02-28T21:12:30.788938+00:00", - "dashboards": null, "dashboard_count": 0, "id": 367313, "is_favorite": false, - "modified": "2023-02-28T21:12:30.788947+00:00", "name": "Empty Test List", - "type": "manual_dashboard_list"}, {"author": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com"}, "created": "2021-06-14T20:10:23.247584+00:00", - "dashboards": null, "dashboard_count": 2, "id": 213585, "is_favorite": false, - "modified": "2021-06-24T20:13:00.657023+00:00", "name": "Test list", "type": - "manual_dashboard_list"}]}' + string: '{"data": [{"type": "correction", "id": "999b94e0-bf74-11ed-a4ee-da7ad0902002", + "attributes": {"slo_id": "ae04001ea55f52f6ae4b85d9b1023909", "start": 1678255200, + "end": 1678355280, "description": "", "category": "Other", "timezone": "UTC", + "created_at": 1678474303, "modified_at": 1678474303, "rrule": null, "duration": + null, "creator": {"data": {"type": "users", "id": "fa017a38-bfcb-11eb-a4d7-da7ad0900002", + "attributes": {"uuid": "fa017a38-bfcb-11eb-a4d7-da7ad0900002", "handle": "support-datadogsynccliustestorg", + "email": "support-user-prod@datadoghq.com", "name": "Datadog Support", "icon": + "https://secure.gravatar.com/avatar/e6952b5f29fe2d996cf4e63f40db9e71?s=48&d=retro"}}}, + "modifier": null}}, {"type": "correction", "id": "381d1620-bf70-11ed-acb8-da7ad0902002", + "attributes": {"slo_id": "ba72d10835d75e0c8910597144f3733a", "start": 1678255200, + "end": 1678339140, "description": "", "category": "Other", "timezone": "UTC", + "created_at": 1678472421, "modified_at": 1678472421, "rrule": null, "duration": + null, "creator": {"data": {"type": "users", "id": "fa017a38-bfcb-11eb-a4d7-da7ad0900002", + "attributes": {"uuid": "fa017a38-bfcb-11eb-a4d7-da7ad0900002", "handle": "support-datadogsynccliustestorg", + "email": "support-user-prod@datadoghq.com", "name": "Datadog Support", "icon": + "https://secure.gravatar.com/avatar/e6952b5f29fe2d996cf4e63f40db9e71?s=48&d=retro"}}}, + "modifier": null}}], "meta": {"page": {"total_count": 2, "total_filtered_count": + 2}}}' headers: Content-Type: - application/json @@ -731,22 +622,34 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000001601e23f95782af-e834687708dd6c6b-01 + - 00-000000000000000017b98d8dbb34e6f6-90209e760df231da-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '16732113376047361131' + - '10385474970593669594' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '99112331658101423' + - '1709553173434525430' method: GET - uri: https://api.datadoghq.com/api/v2/dashboard/lists/manual/221363/dashboards + uri: https://api.datadoghq.com/api/v1/dashboard response: body: - string: '{"dashboards": [], "total": 0}' + string: '{"dashboards": [{"id": "tuw-te2-pdj", "title": "datadog-sync-cli Test + Dashboard", "description": "", "layout_type": "ordered", "url": "/dashboard/tuw-te2-pdj/datadog-sync-cli-test-dashboard", + "is_read_only": false, "created_at": "2021-06-30T11:45:57.574935+00:00", "modified_at": + "2021-06-30T11:46:46.923260+00:00", "author_handle": "noueman.khalikine@datadoghq.com", + "deleted_at": null}, {"id": "euw-cp8-hy6", "title": "Timeboard Tue, Jun 1, + 4:18:57 pm", "description": "", "layout_type": "ordered", "url": "/dashboard/euw-cp8-hy6/timeboard-tue-jun-1-41857-pm", + "is_read_only": false, "created_at": "2021-06-01T20:18:57.486260+00:00", "modified_at": + "2022-11-15T21:13:30.654511+00:00", "author_handle": "sherzod.karimov@datadoghq.com", + "deleted_at": null}, {"id": "dns-jst-h98", "title": "Test screenboard", "description": + "Created using the Datadog provider in Terraform", "layout_type": "free", + "url": "/dashboard/dns-jst-h98/test-screenboard", "is_read_only": false, "created_at": + "2021-06-08T18:26:23.515662+00:00", "modified_at": "2021-06-22T19:35:38.981348+00:00", + "author_handle": "sherzod.karimov@datadoghq.com", "deleted_at": null}]}' headers: Content-Type: - application/json @@ -763,22 +666,32 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000004df5b24bdcb29981-a246e6311048a9b7-01 + - 00-00000000000000000456779589ea5462-3b39395a8d6b6975-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '11693286580915055031' + - '4267505182992722293' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '5617592149109545345' + - '312568708296496226' method: GET - uri: https://api.datadoghq.com/api/v2/dashboard/lists/manual/367313/dashboards + uri: https://api.datadoghq.com/api/v1/dashboard/tuw-te2-pdj response: body: - string: '{"dashboards": [], "total": 0}' + string: '{"id": "tuw-te2-pdj", "title": "datadog-sync-cli Test Dashboard", "description": + "", "author_handle": "noueman.khalikine@datadoghq.com", "author_name": "Noueman + Khalikine", "layout_type": "ordered", "url": "/dashboard/tuw-te2-pdj/datadog-sync-cli-test-dashboard", + "is_read_only": false, "template_variables": [], "widgets": [{"definition": + {"title_size": "16", "title": "", "title_align": "left", "precision": 2, "time": + {}, "autoscale": true, "requests": [{"response_format": "scalar", "queries": + [{"query": "avg:system.cpu.user{*}", "data_source": "metrics", "name": "query1", + "aggregator": "avg"}]}], "type": "query_value"}, "layout": {"y": 0, "x": 0, + "height": 2, "width": 2}, "id": 6609238960092638}], "notify_list": [], "created_at": + "2021-06-30T11:45:57.574935+00:00", "modified_at": "2021-06-30T11:46:46.923260+00:00", + "reflow_type": "fixed", "restricted_roles": []}' headers: Content-Type: - application/json @@ -795,33 +708,48 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000004641f8c1c22685d7-9e0284540c0513e8-01 + - 00-00000000000000002a5d496f459fc0ae-6498b93ddf4093b1-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '11385808304459813864' + - '7248747275642508209' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '5062600967210829271' + - '3052676864685359278' method: GET - uri: https://api.datadoghq.com/api/v2/dashboard/lists/manual/213585/dashboards + uri: https://api.datadoghq.com/api/v1/dashboard/euw-cp8-hy6 response: body: - string: '{"dashboards": [{"author": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com"}, - "created": "2021-06-01T20:18:57.486260+00:00", "is_favorite": false, "is_shared": - false, "modified": "2022-11-15T21:13:30.654511+00:00", "title": "Timeboard - Tue, Jun 1, 4:18:57 pm", "type": "custom_timeboard", "id": "euw-cp8-hy6", - "url": "/dashboard/euw-cp8-hy6/timeboard-tue-jun-1-41857-pm", "is_read_only": - false, "tags": [], "icon": null, "integration_id": null, "popularity": 0}, - {"author": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com"}, - "created": "2021-06-08T18:26:23.515662+00:00", "is_favorite": false, "is_shared": - false, "modified": "2021-06-22T19:35:38.981348+00:00", "title": "Test screenboard", - "type": "custom_screenboard", "id": "dns-jst-h98", "url": "/dashboard/dns-jst-h98/test-screenboard", - "is_read_only": false, "tags": null, "icon": null, "integration_id": null, - "popularity": 0}], "total": 2}' + string: '{"id": "euw-cp8-hy6", "title": "Timeboard Tue, Jun 1, 4:18:57 pm", + "description": "", "author_handle": "sherzod.karimov@datadoghq.com", "author_name": + "Sherzod Karimov", "layout_type": "ordered", "url": "/dashboard/euw-cp8-hy6/timeboard-tue-jun-1-41857-pm", + "is_read_only": false, "template_variables": [], "widgets": [{"definition": + {"widgets": [{"definition": {"title_size": "16", "viz_type": "timeseries", + "title": "", "title_align": "left", "alert_id": "36230659", "time": {}, "type": + "alert_graph"}, "id": 5316294948508728}, {"definition": {"title_size": "16", + "title": "", "title_align": "left", "text_align": "left", "precision": 2, + "alert_id": "37284965", "type": "alert_value", "unit": "auto"}, "id": 2269177794822700}], + "layout_type": "ordered", "type": "group", "title": "New group"}, "id": 2497183012091650}, + {"definition": {"autoscale": true, "title": "", "title_align": "left", "precision": + 2, "title_size": "16", "requests": [{"response_format": "scalar", "queries": + [{"query": "avg:synthetics.http.dns.time{*}", "data_source": "metrics", "name": + "query1", "aggregator": "avg"}]}], "type": "query_value"}, "id": 7228117705299642}, + {"definition": {"title_size": "16", "title": "", "title_align": "left", "text_align": + "left", "precision": 2, "alert_id": "36230659", "type": "alert_value", "unit": + "auto"}, "id": 2397823643167820}, {"definition": {"time_windows": ["7d"], + "title_size": "16", "show_error_budget": true, "title": "", "title_align": + "left", "slo_id": "ae04001ea55f52f6ae4b85d9b1023909", "view_mode": "overall", + "view_type": "detail", "time": {}, "global_time_target": "0", "type": "slo"}, + "id": 1076364961367720}, {"definition": {"time_windows": ["7d"], "title_size": + "16", "show_error_budget": true, "title": "", "title_align": "left", "slo_id": + "c4fa01c78d45542cb830598be4f68ad2", "view_mode": "overall", "view_type": "detail", + "time": {}, "global_time_target": "0", "type": "slo"}, "id": 4123257207386936}], + "notify_list": [], "created_at": "2021-06-01T20:18:57.486260+00:00", "modified_at": + "2022-11-15T21:13:30.654511+00:00", "reflow_type": "auto", "tags": [], "restricted_roles": + []}' headers: Content-Type: - application/json @@ -838,73 +766,60 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000007d3236cf16ca5270-5c4e8b52d707d835-01 + - 00-0000000000000000654d2a9d95bbdad6-57a153543ab25b7a-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '6651406887583995957' + - '6314419773777271674' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '9021333266645013104' + - '7299537427347790550' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/variables + uri: https://api.datadoghq.com/api/v1/dashboard/dns-jst-h98 response: body: - string: '{"variables": [{"id": "24a74917-d729-4729-a809-0d05cf159e25", "name": - "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1686121345", "description": - "a global variable", "type": "variable", "tags": ["foo:bar", "baz"], "created_at": - "2023-06-07T07:02:27.297319+00:00", "modified_at": "2023-06-07T07:02:27.297319+00:00", - "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": - null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"secure": false, "value": "variable-value"}, "creator": {"email": - "frog@datadoghq.com", "handle": "frog@datadoghq.com", "name": "Frog"}}, {"id": - "56683f0a-ffb7-4920-99ef-0ab6a23b3105", "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670405911", - "description": "a global variable", "type": "variable", "tags": ["foo:bar", - "baz"], "created_at": "2022-12-07T09:38:33.277732+00:00", "modified_at": "2022-12-07T09:38:33.277732+00:00", - "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": - null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"secure": false, "value": "variable-value"}, "creator": {"email": - "frog@datadoghq.com", "handle": "frog@datadoghq.com", "name": "Frog"}}, {"id": - "7478e601-cbe3-4a7d-babf-d48702b6b833", "name": "TEST_VARIABLE", "description": - "test", "type": "variable", "tags": ["check_type:api"], "created_at": "2021-06-03T18:18:16.703730+00:00", - "modified_at": "2021-06-03T18:36:04.287393+00:00", "parse_test_public_id": - null, "parse_test_name": null, "parse_test_options": null, "parse_test_extracted_at": - null, "is_totp": null, "is_fido": null, "last_error": null, "value": {"secure": - false, "value": "TESTVALUELETSSEEdadsddsadsadadsadsad"}, "creator": {"email": - "sherzod.karimov@datadoghq.com", "handle": "sherzod.karimov@datadoghq.com", - "name": "Sherzod Karimov"}}, {"id": "759ce860-7050-4894-a678-415b5d318301", - "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670404656", - "description": "a global variable", "type": "variable", "tags": ["foo:bar", - "baz"], "created_at": "2022-12-07T09:17:38.930557+00:00", "modified_at": "2022-12-07T09:17:38.930557+00:00", - "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": - null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"secure": false, "value": "variable-value"}, "creator": {"email": - "frog@datadoghq.com", "handle": "frog@datadoghq.com", "name": "Frog"}}, {"id": - "7dfd62d2-e1bf-466d-b47b-f337d4a82877", "name": "EXAMPLE_VARIABLE", "description": - "Description of the variable", "type": "variable", "tags": ["foo:bar", "env:test"], - "created_at": "2021-06-08T18:26:23.679434+00:00", "modified_at": "2021-06-08T18:26:23.679434+00:00", - "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": - null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"secure": false, "value": "variable-value"}, "creator": {"email": - "sherzod.karimov@datadoghq.com", "handle": "sherzod.karimov@datadoghq.com", - "name": "Sherzod Karimov"}}, {"id": "cd272ea4-7cc2-4b88-bc1f-e271c96b695f", - "name": "TEST_FROM_HTTP", "description": "", "type": "variable", "tags": [], - "created_at": "2021-07-13T21:43:15.652450+00:00", "modified_at": "2023-03-13T16:26:02.063894+00:00", - "parse_test_public_id": "9kt-p3e-he4", "parse_test_name": "HTTP Test", "parse_test_options": - {"type": "http_header", "field": "content-type", "parser": {"type": "raw"}}, - "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"value": "", "secure": false, "options": {}}, "creator": {"email": - "sherzod.karimov@datadoghq.com", "handle": "sherzod.karimov@datadoghq.com", - "name": "Sherzod Karimov"}}, {"id": "d1474d27-babb-4cbd-a30d-8396f8e90883", - "name": "TEST_SECRETS", "description": "", "type": "variable", "tags": [], - "created_at": "2021-09-22T12:37:59.793993+00:00", "modified_at": "2021-09-22T12:37:59.793993+00:00", - "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": - null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"secure": true}, "creator": {"email": "noueman.khalikine@datadoghq.com", - "handle": "noueman.khalikine@datadoghq.com", "name": "Noueman Khalikine"}}]}' + string: '{"id": "dns-jst-h98", "title": "Test screenboard", "description": "Created + using the Datadog provider in Terraform", "author_handle": "sherzod.karimov@datadoghq.com", + "author_name": "Sherzod Karimov", "layout_type": "free", "url": "/dashboard/dns-jst-h98/test-screenboard", + "is_read_only": false, "template_variables": [{"default": "aws", "prefix": + "host", "name": "var_1"}, {"default": "autoscaling", "prefix": "service_name", + "name": "var_2"}], "widgets": [{"definition": {"title_size": "16", "title": + "Widget Title", "title_align": "left", "time": {"live_span": "1h"}, "query": + "*", "type": "event_stream", "event_size": "l"}, "layout": {"y": 5, "x": 5, + "height": 43, "width": 32}, "id": 4066667513687323}, {"definition": {"title_size": + "16", "title": "Widget Title", "title_align": "left", "time": {"live_span": + "1h"}, "query": "*", "type": "event_timeline"}, "layout": {"y": 73, "x": 42, + "height": 9, "width": 65}, "id": 68713679518613}, {"definition": {"color": + "#d00", "text": "free text content", "type": "free_text", "font_size": "88", + "text_align": "left"}, "layout": {"y": 5, "x": 42, "height": 20, "width": + 30}, "id": 1117617615518455}, {"definition": {"url": "http://google.com", + "type": "iframe"}, "layout": {"y": 8, "x": 111, "height": 46, "width": 39}, + "id": 3098118775539428}, {"definition": {"url": "https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350", + "sizing": "fit", "margin": "small", "type": "image"}, "layout": {"y": 7, "x": + 77, "height": 20, "width": 30}, "id": 651713243056399}, {"definition": {"logset": + "", "sort": {"column": "time", "order": "desc"}, "show_message_column": true, + "show_date_column": true, "message_display": "expanded-md", "indexes": ["main"], + "query": "error", "type": "log_stream", "columns": ["core_host", "core_service", + "tag_source"]}, "layout": {"y": 51, "x": 5, "height": 36, "width": 32}, "id": + 5458329230004343}, {"definition": {"sort": "status,asc", "count": 50, "title_size": + "16", "title": "Widget Title", "title_align": "left", "hide_zero_counts": + true, "start": 0, "summary_type": "monitors", "query": "type:metric", "color_preference": + "text", "show_last_triggered": false, "display_format": "countsAndList", "type": + "manage_status"}, "layout": {"y": 55, "x": 112, "height": 40, "width": 30}, + "id": 1112741664700765}, {"definition": {"span_name": "cassandra.query", "title_size": + "13", "service": "alerting-cassandra", "title": "alerting-cassandra #env:datad0g.com", + "size_format": "large", "show_hits": true, "show_latency": false, "title_align": + "center", "show_errors": true, "show_breakdown": true, "env": "datad0g.com", + "time": {"live_span": "1h"}, "show_distribution": true, "display_format": + "three_column", "type": "trace_service", "show_resource_list": false}, "layout": + {"y": 28, "x": 40, "height": 38, "width": 67}, "id": 6949442529647217}], "notify_list": + [], "created_at": "2021-06-08T18:26:23.515662+00:00", "modified_at": "2021-06-22T19:35:38.981348+00:00", + "template_variable_presets": [{"template_variables": [{"name": "var_1", "value": + "host.dc"}, {"name": "var_2", "value": "my_service"}], "name": "preset_1"}], + "restricted_roles": []}' headers: Content-Type: - application/json @@ -921,17 +836,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000000ba24d440561288c-dcb93e8ce1f53edd-01 + - 00-0000000000000000abff6c3bf5469414-ff5e04d8886a10ed-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '15904812333842906845' + - '18401150455530524909' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '838317435187701900' + - '12393743704320807956' method: GET uri: https://api.datadoghq.com/api/v2/roles?page%5Bnumber%5D=0&page%5Bsize%5D=100 response: @@ -1040,18 +955,24 @@ interactions: "permissions", "id": "f416f55e-db3f-11ed-8028-da7ad0900002"}, {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002"}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002"}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002"}, - {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": - "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", - "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": "permissions", "id": - "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, - {"type": "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": - "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", - "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002"}, {"type": "permissions", "id": - "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002"}, - {"type": "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": - "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002"}]}}}, {"type": - "roles", "id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002", "attributes": {"name": - "Datadog Read Only Role", "created_at": "2021-05-28T15:47:16.084615+00:00", + {"type": "permissions", "id": "a4316eb8-f438-11ed-8af2-da7ad0900002"}, {"type": + "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002"}, {"type": "permissions", + "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": "permissions", "id": + "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, + {"type": "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": + "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, {"type": "permissions", + "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": "permissions", "id": + "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002"}, + {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": + "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002"}, {"type": "permissions", + "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": "permissions", "id": + "b1adb5da-0949-11ee-b2c4-da7ad0900002"}, {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002"}, + {"type": "permissions", "id": "6c5ce898-21a4-11ee-99ef-da7ad0900002"}, {"type": + "permissions", "id": "6c5ce992-21a4-11ee-99f0-da7ad0900002"}, {"type": "permissions", + "id": "785177a6-20da-11ee-bed7-da7ad0900002"}, {"type": "permissions", "id": + "7850e390-20da-11ee-bed6-da7ad0900002"}, {"type": "permissions", "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002"}]}}}, + {"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", "user_count": 1}, "relationships": {"permissions": {"data": [{"type": "permissions", "id": "5e605652-dd12-11e8-9e53-375565b8970e"}, {"type": "permissions", "id": "6f66600e-dd12-11e8-9e55-7f30fbb45e73"}, {"type": @@ -1160,14 +1081,18 @@ interactions: {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002"}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002"}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002"}, {"type": "permissions", "id": - "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, - {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": - "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": "permissions", - "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, {"type": "permissions", "id": - "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, - {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": - "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": "permissions", - "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002"}]}}}, {"type": "roles", "id": + "a4316eb8-f438-11ed-8af2-da7ad0900002"}, {"type": "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002"}, + {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": + "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", + "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": "permissions", "id": + "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, + {"type": "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": + "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", + "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": "permissions", "id": + "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002"}, + {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002"}, {"type": + "permissions", "id": "785177a6-20da-11ee-bed7-da7ad0900002"}, {"type": "permissions", + "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002"}]}}}, {"type": "roles", "id": "b33b7b6c-760f-11ed-a7cf-da7ad0900002", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1670404530", "created_at": "2022-12-07T09:15:32.195315+00:00", "modified_at": "2022-12-07T09:15:32.312728+00:00", "user_count": 0}, "relationships": {"permissions": {"data": [{"type": "permissions", @@ -1287,17 +1212,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000f6343cb91a59bb91-68039951116fe11a-01 + - 00-00000000000000009320bc0977a1f7c2-6efb8873dc88e871-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7495002778338582810' + - '7997135594529024113' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '17740871597827931025' + - '10601680271677978562' method: GET uri: https://api.datadoghq.com/api/v2/permissions response: @@ -1479,36 +1404,35 @@ interactions: "created": "2020-09-17T20:20:23.279769+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "3e4d4d28-f923-11ea-adbc-e3565938c12e", "attributes": {"name": "api_keys_write", - "display_name": "API Keys Write", "description": "Create, rename, and revoke - API Keys for your organization.", "created": "2020-09-17T20:20:35.264430+00:00", - "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", - "attributes": {"name": "synthetics_global_variable_read", "display_name": - "Synthetics Global Variable Read", "description": "View, search, and use Synthetics - global variables.", "created": "2020-09-17T20:20:48.446916+00:00", "group_name": - "Synthetic Monitoring", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", "attributes": - {"name": "synthetics_global_variable_write", "display_name": "Synthetics Global - Variable Write", "description": "Create, edit, and delete global variables - for Synthetics.", "created": "2020-09-17T20:20:56.322003+00:00", "group_name": - "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "5025ee24-f923-11ea-adbc-576ea241df8d", "attributes": - {"name": "synthetics_read", "display_name": "Synthetics Read", "description": - "List and view configured Synthetic tests and test results.", "created": "2020-09-17T20:21:05.205361+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "55f4b5ec-f923-11ea-adbc-1bfa2334a755", - "attributes": {"name": "synthetics_write", "display_name": "Synthetics Write", - "description": "Create, edit, and delete Synthetic tests.", "created": "2020-09-17T20:21:14.949140+00:00", + "display_name": "API Keys Write", "description": "Create and rename API Keys + for your organization.", "created": "2020-09-17T20:20:35.264430+00:00", "group_name": + "API and Application Keys", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", "attributes": + {"name": "synthetics_global_variable_read", "display_name": "Synthetics Global + Variable Read", "description": "View, search, and use Synthetics global variables.", + "created": "2020-09-17T20:20:48.446916+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", "attributes": {"name": "synthetics_global_variable_write", + "display_name": "Synthetics Global Variable Write", "description": "Create, + edit, and delete global variables for Synthetics.", "created": "2020-09-17T20:20:56.322003+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "5c6b88e2-f923-11ea-adbc-abf57d079420", - "attributes": {"name": "synthetics_default_settings_read", "display_name": - "Synthetics Default Settings Read", "description": "View the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:21:25.794160+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "642eebe6-f923-11ea-adbc-eb617674ea04", - "attributes": {"name": "synthetics_default_settings_write", "display_name": - "Synthetics Default Settings Write", "description": "Edit the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:21:38.818771+00:00", + false}}, {"type": "permissions", "id": "5025ee24-f923-11ea-adbc-576ea241df8d", + "attributes": {"name": "synthetics_read", "display_name": "Synthetics Read", + "description": "List and view configured Synthetic tests and test results.", + "created": "2020-09-17T20:21:05.205361+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "55f4b5ec-f923-11ea-adbc-1bfa2334a755", "attributes": {"name": "synthetics_write", + "display_name": "Synthetics Write", "description": "Create, edit, and delete + Synthetic tests.", "created": "2020-09-17T20:21:14.949140+00:00", "group_name": + "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "5c6b88e2-f923-11ea-adbc-abf57d079420", "attributes": + {"name": "synthetics_default_settings_read", "display_name": "Synthetics Default + Settings Read", "description": "View the default settings for Synthetic Monitoring.", + "created": "2020-09-17T20:21:25.794160+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "642eebe6-f923-11ea-adbc-eb617674ea04", "attributes": {"name": "synthetics_default_settings_write", + "display_name": "Synthetics Default Settings Write", "description": "Edit + the default settings for Synthetic Monitoring.", "created": "2020-09-17T20:21:38.818771+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "6ba32d22-0e1a-11eb-ba44-bf9a5aafaa39", "attributes": {"name": "logs_write_facets", "display_name": "Logs Write Facets", @@ -1779,15 +1703,16 @@ interactions: logs.", "created": "2022-08-08T21:30:42.723663+00:00", "group_name": "Log Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "6be119a6-1cd8-11ed-b185-da7ad0900002", "attributes": {"name": "watchdog_insights_read", - "display_name": "Watchdog Insights Read", "description": "View Watchdog Insights.", - "created": "2022-08-15T20:25:36.677197+00:00", "group_name": "Watchdog", "display_type": - "read", "restricted": false}}, {"type": "permissions", "id": "36e2a22e-248a-11ed-b405-da7ad0900002", - "attributes": {"name": "connections_resolve", "display_name": "Connections - Resolve", "description": "Resolve connections.", "created": "2022-08-25T15:25:56.325170+00:00", - "group_name": "Workflows", "display_type": "read", "restricted": false}}, - {"type": "permissions", "id": "4ee674f6-55d9-11ed-b10d-da7ad0900002", "attributes": - {"name": "appsec_protect_read", "display_name": "Application Security Management - Protect Read", "description": "View blocked attackers.", "created": "2022-10-27T09:25:33.834253+00:00", + "display_name": "Watchdog Insights Read", "description": "Deprecated. View + Watchdog Insights.", "created": "2022-08-15T20:25:36.677197+00:00", "group_name": + "Watchdog", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "36e2a22e-248a-11ed-b405-da7ad0900002", "attributes": {"name": "connections_resolve", + "display_name": "Connections Resolve", "description": "Resolve connections.", + "created": "2022-08-25T15:25:56.325170+00:00", "group_name": "Workflows", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "4ee674f6-55d9-11ed-b10d-da7ad0900002", "attributes": {"name": "appsec_protect_read", + "display_name": "Application Security Management Protect Read", "description": + "View blocked attackers.", "created": "2022-10-27T09:25:33.834253+00:00", "group_name": "Cloud Security Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "4ee7e46c-55d9-11ed-b10e-da7ad0900002", "attributes": {"name": "appsec_protect_write", "display_name": "Application @@ -1887,12 +1812,12 @@ interactions: "write", "restricted": false}}, {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002", "attributes": {"name": "saved_views_write", "display_name": "Saved Views Write", "description": "Modify Saved Views across all Datadog products.", "created": - "2023-04-15T03:45:24.289668+00:00", "group_name": "Saved Views", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002", - "attributes": {"name": "client_tokens_read", "display_name": "Client Tokens - Read", "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.", "created": "2023-04-19T09:55:24.976379+00:00", + "2023-04-15T03:45:24.289668+00:00", "group_name": "Cross-Product Features", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "4e61a95e-de98-11ed-aa23-da7ad0900002", "attributes": {"name": "client_tokens_read", + "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T09:55:24.976379+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002", "attributes": {"name": "client_tokens_write", "display_name": "Client Tokens @@ -1900,106 +1825,95 @@ interactions: tokens may be exposed client-side in JavaScript code for web browsers and other clients to send data to Datadog.", "created": "2023-04-19T09:55:24.976379+00:00", "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", - "attributes": {"name": "event_config_write", "display_name": "Event Config - Write", "description": "Manage general event configuration such as API Emails.", - "created": "2023-05-20T01:20:31.639587+00:00", "group_name": "Events", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", - "attributes": {"name": "security_monitoring_findings_write", "display_name": - "Security Monitoring Findings Write", "description": "Mute CSPM Findings.", - "created": "2023-05-23T22:50:34.532448+00:00", "group_name": "Cloud Security - Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "a773e3d8-fff2-11ed-965c-da7ad0900002", "attributes": {"name": "cloud_cost_management_read", - "display_name": "Cloud Cost Management Read", "description": "Read cloud cost - data such as cost metrics and tags.", "created": "2023-05-31T20:35:17.490437+00:00", - "group_name": "Cloud Cost Management", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002", - "attributes": {"name": "cloud_cost_management_write", "display_name": "Cloud - Cost Management Write", "description": "Configure cloud cost accounts and - global customizations.", "created": "2023-05-31T20:35:17.490437+00:00", "group_name": - "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002", "attributes": - {"name": "host_tags_write", "display_name": "Host Tags Write", "description": - "Add and change tags on hosts.", "created": "2023-05-31T05:26:07.469293+00:00", - "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002", "attributes": - {"name": "ci_visibility_pipelines_write", "display_name": "CI Visibility Pipelines - Write", "description": "Create CI Visibility pipeline spans using the API.", - "created": "2023-06-01T11:35:17.513706+00:00", "group_name": "CI Visibility", - "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "attributes": {"name": "quality_gate_rules_read", - "display_name": "Quality Gate Rules Read", "description": "View Quality Gate - Rules.", "created": "2023-06-19T17:31:08.295856+00:00", "group_name": "CI - Visibility", "display_type": "read", "restricted": false}}, {"type": "permissions", - "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "attributes": {"name": "quality_gate_rules_write", - "display_name": "Quality Gate Rules Write", "description": "Edit Quality Gate - Rules.", "created": "2023-06-19T17:31:08.295856+00:00", "group_name": "CI - Visibility", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "attributes": {"name": "metrics_metadata_write", - "display_name": "Metrics Metadata Write", "description": "Edit metadata on - metrics.", "created": "2023-06-23T17:31:34.182629+00:00", "group_name": "Metrics", + false}}, {"type": "permissions", "id": "a4316eb8-f438-11ed-8af2-da7ad0900002", + "attributes": {"name": "event_correlation_config_read", "display_name": "Event + Correlation Config Read", "description": "Read Event Correlation Configuration + data such as Correlation Rules and Settings.", "created": "2023-05-16T22:26:02.839419+00:00", + "group_name": "Events", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002", "attributes": + {"name": "event_correlation_config_write", "display_name": "Event Correlation + Config Write", "description": "Manage Event Correlation Configuration such + as Correlation Rules and Settings.", "created": "2023-05-16T22:26:02.839419+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", "attributes": + {"name": "event_config_write", "display_name": "Event Config Write", "description": + "Manage general event configuration such as API Emails.", "created": "2023-05-20T01:20:31.639587+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", "attributes": + {"name": "security_monitoring_findings_write", "display_name": "Security Monitoring + Findings Write", "description": "Mute CSPM Findings.", "created": "2023-05-23T22:50:34.532448+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002", + "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud + Cost Management Read", "description": "Read cloud cost data such as cost metrics + and tags.", "created": "2023-05-31T20:35:17.490437+00:00", "group_name": "Cloud + Cost Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002", "attributes": + {"name": "cloud_cost_management_write", "display_name": "Cloud Cost Management + Write", "description": "Configure cloud cost accounts and global customizations.", + "created": "2023-05-31T20:35:17.490437+00:00", "group_name": "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "attributes": {"name": "rum_delete_data", - "display_name": "RUM Delete Data", "description": "Delete data from RUM.", - "created": "2023-06-12T17:51:01.325450+00:00", "group_name": "Real User Monitoring", + "a51b375a-ff73-11ed-8c18-da7ad0900002", "attributes": {"name": "host_tags_write", + "display_name": "Host Tags Write", "description": "Add and change tags on + hosts.", "created": "2023-05-31T05:26:07.469293+00:00", "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "attributes": {"name": "appsec_vm_write", - "display_name": "Application Security Vulnerability Management Write", "description": - "Update status or assignee of Application Security vulnerabilities.", "created": - "2023-06-12T17:51:01.325450+00:00", "group_name": "Cloud Security Platform", + "61f9891a-0070-11ee-9c3f-da7ad0900002", "attributes": {"name": "ci_visibility_pipelines_write", + "display_name": "CI Visibility Pipelines Write", "description": "Create CI + Visibility pipeline spans using the API.", "created": "2023-06-01T11:35:17.513706+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "attributes": + {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", + "description": "View Quality Gate Rules.", "created": "2023-06-19T17:31:08.295856+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "attributes": + {"name": "quality_gate_rules_write", "display_name": "Quality Gate Rules Write", + "description": "Edit Quality Gate Rules.", "created": "2023-06-19T17:31:08.295856+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "attributes": + {"name": "metrics_metadata_write", "display_name": "Metrics Metadata Write", + "description": "Edit metadata on metrics.", "created": "2023-06-23T17:31:34.182629+00:00", + "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "attributes": + {"name": "rum_delete_data", "display_name": "RUM Delete Data", "description": + "Delete data from RUM.", "created": "2023-06-12T17:51:01.325450+00:00", "group_name": + "Real User Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "attributes": + {"name": "appsec_vm_write", "display_name": "Application Security Vulnerability + Management Write", "description": "Update status or assignee of Application + Security vulnerabilities.", "created": "2023-06-12T17:51:01.325450+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002", + "attributes": {"name": "reference_tables_write", "display_name": "Reference + Tables Write", "description": "Create or modify Reference Tables.", "created": + "2023-06-12T17:51:01.325450+00:00", "group_name": "Reference Tables", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002", + "attributes": {"name": "rum_playlist_write", "display_name": "RUM Playlist + Write", "description": "Create, update, and delete RUM playlists. Add and + remove sessions from RUM playlists.", "created": "2023-07-07T17:31:08.450865+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "6c5ce898-21a4-11ee-99ef-da7ad0900002", + "attributes": {"name": "observability_pipelines_delete", "display_name": "Pipeline + Delete", "description": "Delete pipelines from your organization.", "created": + "2023-07-13T17:40:57.140947+00:00", "group_name": "Observability Pipelines", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1adb5da-0949-11ee-b2c4-da7ad0900002", "attributes": {"name": "reference_tables_write", - "display_name": "Reference Tables Write", "description": "Create or modify - Reference Tables.", "created": "2023-06-12T17:51:01.325450+00:00", "group_name": - "Reference Tables", "display_type": "write", "restricted": false}}]}' - headers: - Content-Type: - - application/json - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - traceparent: - - 00-00000000000000004581b9ba8d8ffcd1-1710720e1bdedc59-01 - tracestate: - - dd=s:1;t.dm:-0 - x-datadog-parent-id: - - '1661953667422411865' - x-datadog-sampling-priority: - - '1' - x-datadog-tags: - - _dd.p.dm=-0 - x-datadog-trace-id: - - '5008488471502781649' - method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/locations - response: - body: - string: '{"locations": [{"id": "aws:af-south-1", "name": "Cape Town (AWS)"}, - {"id": "aws:ap-east-1", "name": "Hong Kong (AWS)"}, {"id": "aws:ap-northeast-1", - "name": "Tokyo (AWS)"}, {"id": "aws:ap-northeast-2", "name": "Seoul (AWS)"}, - {"id": "aws:ap-northeast-3", "name": "Osaka (AWS)"}, {"id": "aws:ap-south-1", - "name": "Mumbai (AWS)"}, {"id": "aws:ap-southeast-1", "name": "Singapore (AWS)"}, - {"id": "aws:ap-southeast-2", "name": "Sydney (AWS)"}, {"id": "aws:ap-southeast-3", - "name": "Jakarta (AWS)"}, {"id": "aws:ca-central-1", "name": "Canada Central - (AWS)"}, {"id": "aws:eu-central-1", "name": "Frankfurt (AWS)"}, {"id": "aws:eu-north-1", - "name": "Stockholm (AWS)"}, {"id": "aws:eu-south-1", "name": "Milan (AWS)"}, - {"id": "aws:eu-west-1", "name": "Ireland (AWS)"}, {"id": "aws:eu-west-2", - "name": "London (AWS)"}, {"id": "aws:eu-west-3", "name": "Paris (AWS)"}, {"id": - "aws:me-south-1", "name": "Bahrain (AWS)"}, {"id": "aws:sa-east-1", "name": - "S\u00e3o Paulo (AWS)"}, {"id": "aws:us-east-1", "name": "N. Virginia (AWS)"}, - {"id": "aws:us-east-2", "name": "Ohio (AWS)"}, {"id": "aws:us-west-1", "name": - "N. California (AWS)"}, {"id": "aws:us-west-2", "name": "Oregon (AWS)"}, {"id": - "azure:eastus", "name": "Virginia (Azure)"}, {"id": "pl:test-private-variable-b66e383ccf2ec6911eb962a9c2577451", - "name": "Test Private Variable"}]}' + "6c5ce992-21a4-11ee-99f0-da7ad0900002", "attributes": {"name": "observability_pipelines_deploy", + "display_name": "Pipeline Deploy", "description": "Deploy pipelines in your + organization.", "created": "2023-07-13T17:40:57.140947+00:00", "group_name": + "Observability Pipelines", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "785177a6-20da-11ee-bed7-da7ad0900002", "attributes": + {"name": "processes_generate_metrics", "display_name": "Processes Generate + Metrics", "description": "Create custom metrics from processes.", "created": + "2023-07-12T17:35:18.858294+00:00", "group_name": "Processes", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "7850e390-20da-11ee-bed6-da7ad0900002", + "attributes": {"name": "api_keys_delete", "display_name": "API Keys Delete", + "description": "Delete API Keys for your organization.", "created": "2023-07-12T17:35:18.858294+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002", + "attributes": {"name": "facets_write", "display_name": "Facets Write", "description": + "Manage facets for products other than Log Management, such as APM Traces. + To modify Log Facets, use Logs Write Facets.", "created": "2023-07-27T17:36:24.369352+00:00", + "group_name": "Cross-Product Features", "display_type": "write", "restricted": + false}}]}' headers: Content-Type: - application/json @@ -2016,25 +1930,73 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000008e91da16221cf798-9d4e5de711cc98fc-01 + - 00-000000000000000020b78a13f157ca8d-1e7b36fe15a48505-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '11335100559155566844' + - '2196409708185945349' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10273232013605271448' + - '2357504748209818253' method: GET - uri: https://api.datadoghq.com/api/v1/synthetics/private-locations/pl:test-private-variable-b66e383ccf2ec6911eb962a9c2577451 + uri: https://api.datadoghq.com/api/v1/synthetics/variables response: body: - string: '{"createdAt": "2021-06-30T12:27:21.433291+00:00", "modifiedAt": "2021-06-30T12:27:21.433291+00:00", - "description": "datadog-sync-cli test", "tags": ["key:value"], "name": "Test - Private Variable", "metadata": null, "id": "pl:test-private-variable-b66e383ccf2ec6911eb962a9c2577451", - "createdBy": "noueman.khalikine@datadoghq.com"}' + string: '{"variables": [{"id": "24a74917-d729-4729-a809-0d05cf159e25", "name": + "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1686121345", "description": + "a global variable", "type": "variable", "tags": ["foo:bar", "baz"], "created_at": + "2023-06-07T07:02:27.297319+00:00", "modified_at": "2023-06-07T07:02:27.297319+00:00", + "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": + null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"secure": false, "value": "variable-value"}, "creator": {"email": + "frog@datadoghq.com", "handle": "frog@datadoghq.com", "name": "Frog"}}, {"id": + "56683f0a-ffb7-4920-99ef-0ab6a23b3105", "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670405911", + "description": "a global variable", "type": "variable", "tags": ["foo:bar", + "baz"], "created_at": "2022-12-07T09:38:33.277732+00:00", "modified_at": "2022-12-07T09:38:33.277732+00:00", + "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": + null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"secure": false, "value": "variable-value"}, "creator": {"email": + "frog@datadoghq.com", "handle": "frog@datadoghq.com", "name": "Frog"}}, {"id": + "7478e601-cbe3-4a7d-babf-d48702b6b833", "name": "TEST_VARIABLE", "description": + "test", "type": "variable", "tags": ["check_type:api"], "created_at": "2021-06-03T18:18:16.703730+00:00", + "modified_at": "2021-06-03T18:36:04.287393+00:00", "parse_test_public_id": + null, "parse_test_name": null, "parse_test_options": null, "parse_test_extracted_at": + null, "is_totp": null, "is_fido": null, "last_error": null, "value": {"secure": + false, "value": "TESTVALUELETSSEEdadsddsadsadadsadsad"}, "creator": {"email": + "sherzod.karimov@datadoghq.com", "handle": "sherzod.karimov@datadoghq.com", + "name": "Sherzod Karimov"}}, {"id": "759ce860-7050-4894-a678-415b5d318301", + "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670404656", + "description": "a global variable", "type": "variable", "tags": ["foo:bar", + "baz"], "created_at": "2022-12-07T09:17:38.930557+00:00", "modified_at": "2022-12-07T09:17:38.930557+00:00", + "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": + null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"secure": false, "value": "variable-value"}, "creator": {"email": + "frog@datadoghq.com", "handle": "frog@datadoghq.com", "name": "Frog"}}, {"id": + "7dfd62d2-e1bf-466d-b47b-f337d4a82877", "name": "EXAMPLE_VARIABLE", "description": + "Description of the variable", "type": "variable", "tags": ["foo:bar", "env:test"], + "created_at": "2021-06-08T18:26:23.679434+00:00", "modified_at": "2021-06-08T18:26:23.679434+00:00", + "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": + null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"secure": false, "value": "variable-value"}, "creator": {"email": + "sherzod.karimov@datadoghq.com", "handle": "sherzod.karimov@datadoghq.com", + "name": "Sherzod Karimov"}}, {"id": "cd272ea4-7cc2-4b88-bc1f-e271c96b695f", + "name": "TEST_FROM_HTTP", "description": "", "type": "variable", "tags": [], + "created_at": "2021-07-13T21:43:15.652450+00:00", "modified_at": "2023-03-13T16:26:02.063894+00:00", + "parse_test_public_id": "9kt-p3e-he4", "parse_test_name": "HTTP Test", "parse_test_options": + {"type": "http_header", "field": "content-type", "parser": {"type": "raw"}}, + "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"value": "", "secure": false, "options": {}}, "creator": {"email": + "sherzod.karimov@datadoghq.com", "handle": "sherzod.karimov@datadoghq.com", + "name": "Sherzod Karimov"}}, {"id": "d1474d27-babb-4cbd-a30d-8396f8e90883", + "name": "TEST_SECRETS", "description": "", "type": "variable", "tags": [], + "created_at": "2021-09-22T12:37:59.793993+00:00", "modified_at": "2021-09-22T12:37:59.793993+00:00", + "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": + null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"secure": true}, "creator": {"email": "noueman.khalikine@datadoghq.com", + "handle": "noueman.khalikine@datadoghq.com", "name": "Noueman Khalikine"}}]}' headers: Content-Type: - application/json @@ -2051,227 +2013,158 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000f8410af800532acc-462697ee8c9592df-01 + - 00-0000000000000000ef51c6c1ba30a90c-dc81d5a81b785754-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5054894682586583775' + - '15889215878331914068' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '17888591255165938380' + - '17244782983533078796' method: GET - uri: https://api.datadoghq.com/api/v1/monitor + uri: https://api.datadoghq.com/api/v1/synthetics/tests response: body: - string: '[{"id": 36230659, "org_id": 569509, "type": "metric alert", "name": - "Composite monitor - Child 2", "message": "Test monitor ----------------", - "tags": [], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} > - 50", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 50.0}, "silenced": {}}, "multi": false, "created_at": - 1622364217000, "created": "2021-05-30T08:43:37.940520+00:00", "modified": - "2021-06-08T18:14:12.441535+00:00", "deleted": null, "restricted_roles": null, - "priority": null, "overall_state_modified": "2021-05-30T08:45:28+00:00", "overall_state": - "OK", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": - []}, {"id": 36239262, "org_id": 569509, "type": "query alert", "name": "Composite - monitor - child 1", "message": "Composite monitor - child 1", "tags": [], - "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} > 20", "options": - {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": false, - "require_full_window": true, "notify_no_data": false, "renotify_interval": - 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": - "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, - "multi": false, "created_at": 1622404151000, "created": "2021-05-30T19:49:11.945913+00:00", - "modified": "2023-03-10T19:05:43.148586+00:00", "deleted": null, "restricted_roles": - null, "priority": null, "overall_state_modified": "2021-05-30T19:52:07+00:00", - "overall_state": "OK", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": - []}, {"id": 36593201, "org_id": 569509, "type": "composite", "name": "Composite - monitor", "message": "test", "tags": [], "query": "( 36239262 && 36230659 - ) || !36239262", "options": {"notify_audit": false, "locked": false, "include_tags": - false, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": - 0, "escalation_message": "", "silenced": {}}, "multi": false, "created_at": - 1622746548000, "created": "2021-06-03T18:55:48.515861+00:00", "modified": - "2021-06-08T18:13:50.284433+00:00", "deleted": null, "restricted_roles": null, - "priority": null, "overall_state_modified": "2021-06-03T18:56:43+00:00", "overall_state": - "Alert", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": - []}, {"id": 37284891, "org_id": 569509, "type": "service check", "name": "Host - monitor", "message": "Test host monitor", "tags": ["service:daimler-health-service"], - "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", - "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": - false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": - 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": - {}}, "multi": true, "created_at": 1623176221000, "created": "2021-06-08T18:17:01.656132+00:00", - "modified": "2023-05-16T22:15:12.393592+00:00", "deleted": null, "restricted_roles": - null, "priority": null, "overall_state_modified": "2023-05-05T17:14:51+00:00", - "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 37284965, "org_id": 569509, - "type": "query alert", "name": "Anomaly monitor", "message": "Anomaly monitor", - "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, - ''basic'', 2, direction=''both'', alert_window=''last_15m'', interval=60, - count_default_zero=''true'') >= 1", "options": {"notify_audit": false, "locked": - false, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "require_full_window": - true, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": - 0, "escalation_message": "", "threshold_windows": {"recovery_window": "last_15m", - "trigger_window": "last_15m"}, "thresholds": {"critical": 1.0, "critical_recovery": - 0.0}, "silenced": {}}, "multi": false, "created_at": 1623176273000, "created": - "2021-06-08T18:17:53.020925+00:00", "modified": "2021-06-08T18:17:53.020925+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2021-06-08T18:19:16+00:00", "overall_state": "OK", "creator": {"name": "Sherzod - Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 52549314, "org_id": 569509, - "type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} - stopped reporting", "message": "Private location {{location_id.name}} stopped - reporting to Datadog.", "tags": [], "query": "min(last_5m):avg:synthetics.pl.worker.running{*} - by {location_id} < 1", "options": {"notify_audit": false, "locked": false, - "include_tags": true, "thresholds": {"critical": 1.0}, "new_host_delay": 300, - "notify_no_data": true, "silenced": {}}, "multi": true, "created_at": 1635860538000, - "created": "2021-11-02T13:42:18.175788+00:00", "modified": "2021-11-02T13:42:18.175788+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2021-11-02T13:45:14+00:00", "overall_state": "No Data", "creator": {"name": - "Noueman Khalikine", "handle": "noueman.khalikine@datadoghq.com", "email": - "noueman.khalikine@datadoghq.com", "id": 2808025}, "matching_downtimes": []}, - {"id": 52549315, "org_id": 569509, "type": "metric alert", "name": "[Synthetic - Private Locations] {{location_id.name}} uses an outdated image version", "message": - "Private location {{location_id.name}} is running an outdated image version. - Learn more about the current version in use on your [Private locations page](https://app.datadoghq.com/synthetics/settings/private-locations?id={{location_id.name}}) - and upgrade workers to the most recent version of the image by pulling the - `datadog/synthetics-private-location-worker` image with the `latest` tag.", - "tags": [], "query": "max(last_15m):sum:synthetics.pl.worker.outdated{*} by - {location_id} > 0", "options": {"notify_audit": false, "locked": false, "include_tags": - true, "thresholds": {"critical": 0.0}, "new_host_delay": 300, "notify_no_data": - false, "silenced": {}}, "multi": true, "created_at": 1635860538000, "created": - "2021-11-02T13:42:18.219169+00:00", "modified": "2021-11-02T13:42:18.219169+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2021-11-02T13:45:05+00:00", "overall_state": "No Data", "creator": {"name": - "Noueman Khalikine", "handle": "noueman.khalikine@datadoghq.com", "email": - "noueman.khalikine@datadoghq.com", "id": 2808025}, "matching_downtimes": []}, - {"id": 52549316, "org_id": 569509, "type": "metric alert", "name": "[Synthetic - Private Locations] {{location_id.name}} is underprovisioned", "message": "Private - location {{location_id.name}} is underprovisioned.\nVisit this [documentation - page](https://docs.datadoghq.com/synthetics/private_locations/?tab=docker#dimension-your-private-location) - to learn how to scale your private location.", "tags": [], "query": "avg(last_30m):avg:synthetics.pl.worker.remaining_slots{*} - by {location_id} < 1.5", "options": {"notify_audit": false, "locked": false, - "include_tags": true, "thresholds": {"critical": 1.5}, "new_host_delay": 300, - "notify_no_data": false, "silenced": {}}, "multi": true, "created_at": 1635860538000, - "created": "2021-11-02T13:42:18.259196+00:00", "modified": "2021-11-02T13:42:18.259196+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2021-11-02T13:45:07+00:00", "overall_state": "No Data", "creator": {"name": - "Noueman Khalikine", "handle": "noueman.khalikine@datadoghq.com", "email": - "noueman.khalikine@datadoghq.com", "id": 2808025}, "matching_downtimes": []}, - {"id": 66666697, "org_id": 569509, "type": "event-v2 alert", "name": "Test - event monitor", "message": "Test event monitor", "tags": [], "query": "events(\"\").rollup(\"count\").last(\"5m\") - > 100", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, - "include_tags": true, "restriction_query": null, "new_host_delay": 300, "notify_no_data": - false, "renotify_interval": 0, "groupby_simple_monitor": true, "enable_logs_sample": - false, "escalation_message": "", "thresholds": {"critical": 100.0}, "silenced": - {}}, "multi": false, "created_at": 1647980371000, "created": "2022-03-22T20:19:31.437344+00:00", - "modified": "2022-03-22T20:19:31.437344+00:00", "deleted": null, "restricted_roles": - null, "priority": null, "overall_state_modified": "2022-03-22T20:22:09+00:00", - "overall_state": "OK", "creator": {"name": "Datadog Support", "handle": "support-datadogsynccliustestorg-1137936", - "email": "support-user-prod@datadoghq.com", "id": 3205966}, "matching_downtimes": - []}, {"id": 103095757, "org_id": 569509, "type": "synthetics alert", "name": - "[Synthetics] HTTP Test", "message": "Test synthetics", "tags": ["probe_dc:aws:ca-central-1", - "check_type:api", "check_status:paused", "ci_execution_rule:blocking"], "query": - "no_query", "options": {"notify_audit": false, "include_tags": true, "new_host_delay": - 300, "on_missing_data": "show_no_data", "renotify_interval": 120, "silenced": - {}}, "multi": false, "created_at": 1668546304000, "created": "2022-11-15T21:05:04.457904+00:00", - "modified": "2022-11-15T21:05:04.457904+00:00", "deleted": null, "restricted_roles": - null, "priority": 3, "overall_state_modified": "2022-11-15T21:05:38+00:00", - "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 103095758, "org_id": 569509, - "type": "synthetics alert", "name": "[Synthetics] SSL Test", "message": "Notify - @pagerduty", "tags": ["foo:bar", "foo", "env:test", "probe_dc:aws:eu-central-1", - "check_type:api-ssl", "check_status:live", "ci_execution_rule:blocking"], - "query": "no_query", "options": {"notify_audit": false, "include_tags": true, - "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": - "2022-11-15T21:05:04.460432+00:00", "modified": "2022-11-15T21:05:04.460432+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2023-06-18T00:35:09+00:00", "overall_state": "OK", "creator": {"name": "Sherzod - Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 103095759, "org_id": 569509, - "type": "synthetics alert", "name": "[Synthetics] TCP Test", "message": "Notify - @pagerduty", "tags": ["foo:bar", "foo", "env:test", "probe_dc:aws:eu-central-1", - "check_type:api-tcp", "check_status:live", "ci_execution_rule:blocking"], - "query": "no_query", "options": {"notify_audit": false, "include_tags": true, - "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": - "2022-11-15T21:05:04.469143+00:00", "modified": "2022-11-15T21:05:04.469143+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2023-06-27T20:05:09+00:00", "overall_state": "OK", "creator": {"name": "Sherzod - Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 103095760, "org_id": 569509, - "type": "synthetics alert", "name": "[Synthetics] Browser Test (cloned)", - "message": "", "tags": ["probe_dc:aws:us-west-1", "check_type:browser", "check_status:live", - "ci_execution_rule:blocking"], "query": "no_query", "options": {"notify_audit": + string: '{"tests": [{"public_id": "9kt-p3e-he4", "name": "HTTP Test", "status": + "paused", "type": "api", "tags": [], "created_at": "2022-11-15T21:05:04.474438+00:00", + "modified_at": "2022-11-15T21:05:04.474438+00:00", "config": {"request": {"url": + "https://google.com", "method": "GET"}, "assertions": [{"operator": "lessThan", + "type": "responseTime", "target": 1000}, {"operator": "is", "type": "statusCode", + "target": 301}, {"operator": "is", "property": "content-type", "type": "header", + "target": "text/html; charset=UTF-8"}]}, "message": "Test synthetics ", "options": + {"retry": {"count": 1, "interval": 300}, "tick_every": 604800, "monitor_options": + {"include_tags": true, "notify_audit": false, "new_host_delay": 300, "on_missing_data": + "show_no_data", "renotify_interval": 120}, "monitor_priority": 3, "min_location_failed": + 1, "min_failure_duration": 120}, "locations": ["aws:ca-central-1"], "subtype": + "http", "monitor_id": 103095757, "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}, + {"public_id": "e6x-9uf-7vc", "name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "status": "live", "type": "api", "tags": ["testing:api"], "created_at": "2022-11-15T21:05:04.493127+00:00", + "modified_at": "2022-11-15T21:05:04.493127+00:00", "config": {"request": {"certificate": + {"cert": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "cert-filename"}, + "key": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "key-filename"}}, + "url": "https://datadoghq.com", "headers": {"unique": "testtriggersyntheticstestsreturnsokresponse1666783270"}, + "proxy": {"url": "https://datadoghq.com", "headers": {}}, "timeout": 10, "method": + "GET"}, "assertions": [{"operator": "is", "property": "{{ PROPERTY }}", "type": + "header", "target": "text/html"}, {"operator": "lessThan", "type": "responseTime", + "target": 2000}, {"operator": "validatesJSONPath", "type": "body", "target": + {"operator": "isNot", "targetValue": "0", "jsonPath": "topKey"}}], "configVariables": + [{"pattern": "content-type", "type": "text", "example": "content-type", "name": + "PROPERTY"}]}, "message": "BDD test payload: synthetics_api_http_test_payload.json", + "options": {"accept_self_signed": false, "retry": {"count": 3, "interval": + 10}, "min_location_failed": 1, "allow_insecure": true, "follow_redirects": + true, "min_failure_duration": 10, "monitor_priority": 5, "monitor_name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "tick_every": 60}, "locations": ["aws:us-east-2"], "subtype": "http", "monitor_id": + 103095761, "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", + "email": "sherzod.karimov@datadoghq.com"}}, {"public_id": "shp-p4u-z5t", "name": + "TCP Test", "status": "live", "type": "api", "tags": ["foo:bar", "foo", "env:test"], + "created_at": "2022-11-15T21:05:04.516477+00:00", "modified_at": "2022-11-15T21:05:04.516477+00:00", + "config": {"request": {"host": "example.org", "port": 443}, "assertions": + [{"operator": "lessThan", "type": "responseTime", "target": 2000}]}, "message": + "Notify @pagerduty", "options": {"monitor_options": {"notify_audit": false, + "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", + "renotify_interval": 0}, "tick_every": 900, "min_location_failed": 1}, "locations": + ["aws:eu-central-1"], "subtype": "tcp", "monitor_id": 103095759, "creator": + {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": + "sherzod.karimov@datadoghq.com"}}, {"public_id": "sac-hdw-2vm", "name": "SSL + Test", "status": "live", "type": "api", "tags": ["foo:bar", "foo", "env:test"], + "created_at": "2022-11-15T21:05:04.539022+00:00", "modified_at": "2022-11-15T21:05:04.539022+00:00", + "config": {"request": {"host": "example.org", "port": 443}, "assertions": + [{"operator": "isInMoreThan", "type": "certificate", "target": 30}]}, "message": + "Notify @pagerduty", "options": {"accept_self_signed": true, "monitor_options": + {"notify_audit": false, "include_tags": true, "new_host_delay": 300, "on_missing_data": + "show_no_data", "renotify_interval": 0}, "min_location_failed": 1, "tick_every": + 900}, "locations": ["aws:eu-central-1"], "subtype": "ssl", "monitor_id": 103095758, + "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", + "email": "sherzod.karimov@datadoghq.com"}}, {"public_id": "4mg-pxb-ze4", "name": + "Browser Test (cloned)", "status": "live", "type": "browser", "tags": [], + "created_at": "2022-11-15T21:05:04.564415+00:00", "modified_at": "2022-11-15T21:05:04.564415+00:00", + "config": {"variables": [], "setCookie": "", "request": {"url": "https://docs.datadoghq.com", + "headers": {"test": "{{ TEST_VARIABLE }}", "test_two": "{{ TEST_VAR_LOCAL + }}"}, "method": "GET"}, "assertions": [], "configVariables": [{"pattern": + "TEST_VAR_LOCAL", "type": "text", "name": "TEST_VAR_LOCAL", "example": "TEST_VAR_LOCAL"}, + {"type": "global", "id": "7478e601-cbe3-4a7d-babf-d48702b6b833", "name": "TEST_VARIABLE"}]}, + "message": "", "options": {"enableSecurityTesting": false, "retry": {"count": + 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": 0, + "noScreenshot": false, "tick_every": 604800, "disableCsp": false, "disableCors": + false, "enableProfiling": false, "rumSettings": {"isEnabled": false}, "device_ids": + ["chrome.laptop_large", "firefox.laptop_large", "chrome.tablet", "chrome.mobile_small", + "firefox.mobile_small", "firefox.tablet"], "monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, - "created": "2022-11-15T21:05:04.469385+00:00", "modified": "2022-11-15T21:05:04.469385+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2022-11-15T21:06:40+00:00", "overall_state": "Alert", "creator": {"name": - "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 103095761, "org_id": 569509, - "type": "synthetics alert", "name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "message": "BDD test payload: synthetics_api_http_test_payload.json", "tags": - ["testing:api", "probe_dc:aws:us-east-2", "check_type:api", "check_status:live", - "ci_execution_rule:blocking"], "query": "no_query", "options": {"include_tags": - true, "notify_audit": false, "new_host_delay": 300, "on_missing_data": "show_no_data", - "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": "2022-11-15T21:05:04.477484+00:00", - "modified": "2022-11-15T21:05:04.477484+00:00", "deleted": null, "restricted_roles": - null, "priority": 5, "overall_state_modified": "2022-11-15T21:05:42+00:00", - "overall_state": "Alert", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 103095762, "org_id": 569509, - "type": "synthetics alert", "name": "[Synthetics] Multistep API Test", "message": - "", "tags": ["check_type:api", "env:test", "test:update", "probe_dc:aws:sa-east-1", - "check_type:api-multi", "check_status:live", "ci_execution_rule:blocking"], - "query": "no_query", "options": {"notify_audit": false, "include_tags": true, - "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": - "2022-11-15T21:05:04.478167+00:00", "modified": "2022-11-15T21:05:04.478167+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2022-11-15T21:05:43+00:00", "overall_state": "OK", "creator": {"name": "Sherzod - Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 103095763, "org_id": 569509, - "type": "synthetics alert", "name": "[Synthetics] DNS Test", "message": "Notify - @pagerduty", "tags": ["foo:bar", "foo", "env:test", "probe_dc:aws:eu-central-1", - "check_type:api-dns", "check_status:live", "ci_execution_rule:blocking"], - "query": "no_query", "options": {"notify_audit": false, "include_tags": true, - "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": - "2022-11-15T21:05:04.482560+00:00", "modified": "2022-11-15T21:05:04.482560+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2022-11-15T21:05:45+00:00", "overall_state": "Alert", "creator": {"name": - "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}, {"id": 121127083, "org_id": 569509, - "type": "synthetics alert", "name": "[Synthetics] tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", - "message": "Notify @datadog.user", "tags": ["multistep", "probe_dc:aws:eu-central-1", - "check_type:api-multi", "check_status:paused", "ci_execution_rule:blocking"], - "query": "no_query", "options": {"on_missing_data": "show_no_data", "notify_audit": - false, "new_host_delay": 300, "include_tags": true, "silenced": {}}, "multi": - false, "created_at": 1686121347000, "created": "2023-06-07T07:02:27.979214+00:00", - "modified": "2023-06-07T07:02:27.979214+00:00", "deleted": null, "restricted_roles": - null, "priority": null, "overall_state_modified": "2023-06-07T07:02:45+00:00", - "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com", "id": 2781302}, "matching_downtimes": []}, - {"id": 124728911, "org_id": 569509, "type": "slo alert", "name": "Test slo - monitor", "message": "Random message", "tags": [], "query": "error_budget(\"ba72d10835d75e0c8910597144f3733a\").over(\"7d\") - > 100", "options": {"thresholds": {"critical": 100.0}, "notify_no_data": false, - "notify_audit": false, "new_host_delay": 300, "include_tags": true, "silenced": - {}}, "multi": false, "created_at": 1688999118000, "created": "2023-07-10T14:25:18.627726+00:00", - "modified": "2023-07-10T14:25:18.627726+00:00", "deleted": null, "restricted_roles": - null, "priority": null, "overall_state_modified": "2023-07-10T14:25:22+00:00", - "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 2781275}, "matching_downtimes": []}]' + "renotify_interval": 0}, "ignoreServerCertificateError": false}, "locations": + ["aws:us-west-1"], "monitor_id": 103095760, "creator": {"name": "Sherzod Karimov", + "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}, + {"public_id": "n65-rw3-5ta", "name": "DNS Test", "status": "live", "type": + "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2022-11-15T21:05:04.640424+00:00", + "modified_at": "2022-11-15T21:05:04.640424+00:00", "config": {"request": {"host": + "example.org"}, "assertions": [{"operator": "is", "property": "A", "type": + "recordSome", "target": "0.0.0.0"}]}, "message": "Notify @pagerduty", "options": + {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": + 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": + 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": + "dns", "monitor_id": 103095763, "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}, + {"public_id": "ct9-df9-7cy", "name": "Multistep API Test", "status": "live", + "type": "api", "tags": ["check_type:api", "env:test", "test:update"], "created_at": + "2022-11-15T21:05:04.669579+00:00", "modified_at": "2022-11-15T21:05:04.669579+00:00", + "config": {"steps": [{"retry": {"count": 0, "interval": 300}, "name": "Test + on datadoghq.com", "request": {"url": "https://datadoghq.com", "headers": + {"content-type": "text/html"}, "method": "GET"}, "subtype": "http", "allowFailure": + false, "extractedValues": [], "isCritical": true, "id": "vek-567-n38", "assertions": + [{"operator": "lessThan", "type": "responseTime", "target": 1000}, {"operator": + "is", "type": "statusCode", "target": 301}]}], "configVariables": []}, "message": + "", "options": {"monitor_options": {"notify_audit": false, "include_tags": + true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0}, "retry": {"count": 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": + 0, "tick_every": 604800}, "locations": ["aws:sa-east-1"], "subtype": "multi", + "monitor_id": 103095762, "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}, + {"public_id": "xv9-vri-fqh", "name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", + "status": "paused", "type": "api", "tags": ["multistep"], "created_at": "2023-06-07T07:02:28.009429+00:00", + "modified_at": "2023-06-07T07:02:28.009429+00:00", "config": {"assertions": + [], "configVariables": [{"id": "24a74917-d729-4729-a809-0d05cf159e25", "name": + "VARIABLE_NAME", "type": "global"}], "steps": [{"allowFailure": true, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [{"field": "content-length", "name": "VAR_EXTRACT", "parser": {"type": "regex", + "value": ".*"}, "secure": true, "type": "http_header"}], "isCritical": false, + "name": "First api step", "request": {"allow_insecure": true, "basicAuth": + {"accessKey": "sigv4-access-key", "region": "sigv4-region", "secretKey": "sigv4-secret-key", + "serviceName": "sigv4-service-name", "sessionToken": "sigv4-session-token", + "type": "sigv4"}, "body": "this is a body", "certificate": {"cert": {"filename": + "Provided in Terraform config"}, "key": {"filename": "key"}}, "follow_redirects": + true, "headers": {"Accept": "application/json", "X-Datadog-Trace-ID": "123456789"}, + "method": "GET", "proxy": {"headers": {"Accept": "application/json", "X-Datadog-Trace-ID": + "123456789"}, "url": "https://proxy.url"}, "query": {"foo": "bar"}, "timeout": + 30, "url": "https://www.datadoghq.com"}, "retry": {"count": 5, "interval": + 1000}, "subtype": "http", "id": "3xr-p38-qba"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Second api step", "request": {"allow_insecure": + true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": + "audience", "clientId": "client-id", "clientSecret": "client-secret", "scope": + "scope", "tokenApiAuthentication": "header", "type": "oauth-client"}, "body": + "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, + "subtype": "http", "id": "3ij-dfg-6tw"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Third api step", "request": {"allow_insecure": + true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": + "audience", "clientId": "client-id", "clientSecret": "client-secret", "password": + "password", "resource": "resource", "scope": "scope", "tokenApiAuthentication": + "body", "type": "oauth-rop", "username": "username"}, "body": "", "follow_redirects": + true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, + "subtype": "http", "id": "it3-n6p-xnp"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Fourth api step", "request": {"allow_insecure": + true, "basicAuth": {"password": "password", "type": "digest", "username": + "username"}, "body": "", "follow_redirects": true, "method": "GET", "timeout": + 30, "url": "https://docs.datadoghq.com"}, "subtype": "http", "id": "vid-d39-qgr"}]}, + "message": "Notify @datadog.user", "options": {"min_location_failed": 1, "restricted_roles": + ["430aea7c-0501-11ee-9f44-da7ad0900002"], "tick_every": 900}, "locations": + ["aws:eu-central-1"], "subtype": "multi", "monitor_id": 121127083, "creator": + {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}], + "total": 8}' headers: Content-Type: - application/json @@ -2288,34 +2181,34 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000059529c7dedb9efef-506a490602f8b5c8-01 + - 00-0000000000000000034e84fba4c5032f-07609f2b6d6d02b9-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5794524160734049736' + - '531599764897989305' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '6436378882139090927' + - '238274046633247535' method: GET - uri: https://api.datadoghq.com/api/v1/dashboard + uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/9kt-p3e-he4 response: body: - string: '{"dashboards": [{"id": "euw-cp8-hy6", "title": "Timeboard Tue, Jun - 1, 4:18:57 pm", "description": "", "layout_type": "ordered", "url": "/dashboard/euw-cp8-hy6/timeboard-tue-jun-1-41857-pm", - "is_read_only": false, "created_at": "2021-06-01T20:18:57.486260+00:00", "modified_at": - "2022-11-15T21:13:30.654511+00:00", "author_handle": "sherzod.karimov@datadoghq.com", - "deleted_at": null}, {"id": "tuw-te2-pdj", "title": "datadog-sync-cli Test - Dashboard", "description": "", "layout_type": "ordered", "url": "/dashboard/tuw-te2-pdj/datadog-sync-cli-test-dashboard", - "is_read_only": false, "created_at": "2021-06-30T11:45:57.574935+00:00", "modified_at": - "2021-06-30T11:46:46.923260+00:00", "author_handle": "noueman.khalikine@datadoghq.com", - "deleted_at": null}, {"id": "dns-jst-h98", "title": "Test screenboard", "description": - "Created using the Datadog provider in Terraform", "layout_type": "free", - "url": "/dashboard/dns-jst-h98/test-screenboard", "is_read_only": false, "created_at": - "2021-06-08T18:26:23.515662+00:00", "modified_at": "2021-06-22T19:35:38.981348+00:00", - "author_handle": "sherzod.karimov@datadoghq.com", "deleted_at": null}]}' + string: '{"public_id": "9kt-p3e-he4", "name": "HTTP Test", "status": "paused", + "type": "api", "tags": [], "created_at": "2022-11-15T21:05:04.474438+00:00", + "modified_at": "2022-11-15T21:05:04.474438+00:00", "config": {"request": {"url": + "https://google.com", "method": "GET"}, "assertions": [{"operator": "lessThan", + "type": "responseTime", "target": 1000}, {"operator": "is", "type": "statusCode", + "target": 301}, {"operator": "is", "property": "content-type", "type": "header", + "target": "text/html; charset=UTF-8"}]}, "message": "Test synthetics ", "options": + {"retry": {"count": 1, "interval": 300}, "tick_every": 604800, "monitor_options": + {"include_tags": true, "notify_audit": false, "new_host_delay": 300, "on_missing_data": + "show_no_data", "renotify_interval": 120}, "monitor_priority": 3, "min_location_failed": + 1, "min_failure_duration": 120}, "locations": ["aws:ca-central-1"], "subtype": + "http", "monitor_id": 103095757, "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' headers: Content-Type: - application/json @@ -2332,48 +2225,250 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000baafed0041fdf44b-197b9e2a4d203753-01 + - 00-0000000000000000c8156f0aefd0f704-aa6230cd44dee952-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '1836235177603381075' + - '12277429192347281746' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '13452231197341905995' + - '14417551874860316420' method: GET - uri: https://api.datadoghq.com/api/v1/dashboard/euw-cp8-hy6 + uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/e6x-9uf-7vc response: body: - string: '{"id": "euw-cp8-hy6", "title": "Timeboard Tue, Jun 1, 4:18:57 pm", - "description": "", "author_handle": "sherzod.karimov@datadoghq.com", "author_name": - "Sherzod Karimov", "layout_type": "ordered", "url": "/dashboard/euw-cp8-hy6/timeboard-tue-jun-1-41857-pm", - "is_read_only": false, "template_variables": [], "widgets": [{"definition": - {"widgets": [{"definition": {"title_size": "16", "viz_type": "timeseries", - "title": "", "title_align": "left", "alert_id": "36230659", "time": {}, "type": - "alert_graph"}, "id": 5316294948508728}, {"definition": {"title_size": "16", - "title": "", "title_align": "left", "text_align": "left", "precision": 2, - "alert_id": "37284965", "type": "alert_value", "unit": "auto"}, "id": 2269177794822700}], - "layout_type": "ordered", "type": "group", "title": "New group"}, "id": 2497183012091650}, - {"definition": {"autoscale": true, "title": "", "title_align": "left", "precision": - 2, "title_size": "16", "requests": [{"response_format": "scalar", "queries": - [{"query": "avg:synthetics.http.dns.time{*}", "data_source": "metrics", "name": - "query1", "aggregator": "avg"}]}], "type": "query_value"}, "id": 7228117705299642}, - {"definition": {"title_size": "16", "title": "", "title_align": "left", "text_align": - "left", "precision": 2, "alert_id": "36230659", "type": "alert_value", "unit": - "auto"}, "id": 2397823643167820}, {"definition": {"time_windows": ["7d"], - "title_size": "16", "show_error_budget": true, "title": "", "title_align": - "left", "slo_id": "ae04001ea55f52f6ae4b85d9b1023909", "view_mode": "overall", - "view_type": "detail", "time": {}, "global_time_target": "0", "type": "slo"}, - "id": 1076364961367720}, {"definition": {"time_windows": ["7d"], "title_size": - "16", "show_error_budget": true, "title": "", "title_align": "left", "slo_id": - "c4fa01c78d45542cb830598be4f68ad2", "view_mode": "overall", "view_type": "detail", - "time": {}, "global_time_target": "0", "type": "slo"}, "id": 4123257207386936}], - "notify_list": [], "created_at": "2021-06-01T20:18:57.486260+00:00", "modified_at": - "2022-11-15T21:13:30.654511+00:00", "reflow_type": "auto", "tags": [], "restricted_roles": - []}' + string: '{"public_id": "e6x-9uf-7vc", "name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "status": "live", "type": "api", "tags": ["testing:api"], "created_at": "2022-11-15T21:05:04.493127+00:00", + "modified_at": "2022-11-15T21:05:04.493127+00:00", "config": {"request": {"certificate": + {"cert": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "cert-filename"}, + "key": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "key-filename"}}, + "url": "https://datadoghq.com", "headers": {"unique": "testtriggersyntheticstestsreturnsokresponse1666783270"}, + "proxy": {"url": "https://datadoghq.com", "headers": {}}, "timeout": 10, "method": + "GET"}, "assertions": [{"operator": "is", "property": "{{ PROPERTY }}", "type": + "header", "target": "text/html"}, {"operator": "lessThan", "type": "responseTime", + "target": 2000}, {"operator": "validatesJSONPath", "type": "body", "target": + {"operator": "isNot", "targetValue": "0", "jsonPath": "topKey"}}], "configVariables": + [{"pattern": "content-type", "type": "text", "example": "content-type", "name": + "PROPERTY"}]}, "message": "BDD test payload: synthetics_api_http_test_payload.json", + "options": {"accept_self_signed": false, "retry": {"count": 3, "interval": + 10}, "min_location_failed": 1, "allow_insecure": true, "follow_redirects": + true, "min_failure_duration": 10, "monitor_priority": 5, "monitor_name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "tick_every": 60}, "locations": ["aws:us-east-2"], "subtype": "http", "monitor_id": + 103095761, "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", + "email": "sherzod.karimov@datadoghq.com"}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-000000000000000074fabd466b60c8a4-724f441b8149f4a7-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '8236877128407839911' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '8429257762724169892' + method: GET + uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/shp-p4u-z5t + response: + body: + string: '{"public_id": "shp-p4u-z5t", "name": "TCP Test", "status": "live", + "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2022-11-15T21:05:04.516477+00:00", + "modified_at": "2022-11-15T21:05:04.516477+00:00", "config": {"request": {"host": + "example.org", "port": 443}, "assertions": [{"operator": "lessThan", "type": + "responseTime", "target": 2000}]}, "message": "Notify @pagerduty", "options": + {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": + 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": + 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": + "tcp", "monitor_id": 103095759, "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-00000000000000006e8d8c7e1ba43034-a1bdbcbfe2e25c75-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '11654678943035972725' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '7966177789145788468' + method: GET + uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/sac-hdw-2vm + response: + body: + string: '{"public_id": "sac-hdw-2vm", "name": "SSL Test", "status": "live", + "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2022-11-15T21:05:04.539022+00:00", + "modified_at": "2022-11-15T21:05:04.539022+00:00", "config": {"request": {"host": + "example.org", "port": 443}, "assertions": [{"operator": "isInMoreThan", "type": + "certificate", "target": 30}]}, "message": "Notify @pagerduty", "options": + {"accept_self_signed": true, "monitor_options": {"notify_audit": false, "include_tags": + true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0}, "min_location_failed": 1, "tick_every": 900}, "locations": ["aws:eu-central-1"], + "subtype": "ssl", "monitor_id": 103095758, "creator": {"name": "Sherzod Karimov", + "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-00000000000000005db7140c26493f4f-497c2571f3ccd642-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '5295148433232680514' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '6752888208679845711' + method: GET + uri: https://api.datadoghq.com/api/v1/synthetics/tests/browser/4mg-pxb-ze4 + response: + body: + string: '{"public_id": "4mg-pxb-ze4", "name": "Browser Test (cloned)", "status": + "live", "type": "browser", "tags": [], "created_at": "2022-11-15T21:05:04.564415+00:00", + "modified_at": "2022-11-15T21:05:04.564415+00:00", "config": {"variables": + [], "setCookie": "", "request": {"url": "https://docs.datadoghq.com", "headers": + {"test": "{{ TEST_VARIABLE }}", "test_two": "{{ TEST_VAR_LOCAL }}"}, "method": + "GET"}, "assertions": [], "configVariables": [{"pattern": "TEST_VAR_LOCAL", + "type": "text", "name": "TEST_VAR_LOCAL", "example": "TEST_VAR_LOCAL"}, {"type": + "global", "id": "7478e601-cbe3-4a7d-babf-d48702b6b833", "name": "TEST_VARIABLE"}]}, + "message": "", "options": {"enableSecurityTesting": false, "retry": {"count": + 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": 0, + "noScreenshot": false, "tick_every": 604800, "disableCsp": false, "disableCors": + false, "enableProfiling": false, "rumSettings": {"isEnabled": false}, "device_ids": + ["chrome.laptop_large", "firefox.laptop_large", "chrome.tablet", "chrome.mobile_small", + "firefox.mobile_small", "firefox.tablet"], "monitor_options": {"notify_audit": + false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", + "renotify_interval": 0}, "ignoreServerCertificateError": false}, "locations": + ["aws:us-west-1"], "monitor_id": 103095760, "creator": {"name": "Sherzod Karimov", + "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}, + "steps": [{"name": "Type text on input \"s\"", "params": {"value": "api", + "element": {"url": "https://docs.datadoghq.com/", "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"section\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"form\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"span\"][1]/*[local-name()=\"input\"][2]", + "at": "/descendant::*[@name=\"s\"]", "cl": "/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" docssearch-input \") and contains(concat('' + '', normalize-space(@class), '' ''), \" ds-input \")]", "co": "[{\"text\":\"search + documentation...\",\"textType\":\"placeholder\"}]", "ro": "//*[@name=\"s\"]", + "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' + ''), \" docssearch-input \") and contains(concat('' '', normalize-space(@class), + '' ''), \" ds-input \")]"}, "targetOuterHTML": "API + \u00bb AuthN Mappings"}}, "type": "click", "allowFailure": false, "isCritical": + true, "noScreenshot": false}, {"name": "Click on link \"Go\"", "params": {"element": + {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/", "multiLocator": + {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][4]/*[local-name()=\"a\"][1]", + "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=go#\"]", + "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), + \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": + "[{\"text\":\"go\",\"textType\":\"directText\"},{\"relation\":\"PARENT OF\",\"tagName\":\"DIV\",\"text\":\" + get an authn mapping by uuid\",\"textType\":\"innerText\"}]", "ro": null, + "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' + ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., + ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', + ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) + = \"go\"]]"}, "targetOuterHTML": "Go"}}, "type": "click", + "allowFailure": false, "isCritical": true, "noScreenshot": false}, {"name": + "Click on link \"Python [beta]\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=go", + "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][3]/*[local-name()=\"a\"][1]", + "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=ruby#\"]", + "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), + \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": + "[{\"text\":\"ruby\",\"textType\":\"directText\"},{\"relation\":\"PARENT OF\",\"tagName\":\"DIV\",\"text\":\" + get an authn mapping by uuid\",\"textType\":\"innerText\"}]", "ro": null, + "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' + ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., + ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', + ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) + = \"ruby\"]]"}, "targetOuterHTML": "Ruby"}}, "type": + "click", "allowFailure": false, "isCritical": true, "noScreenshot": false}, + {"name": "Click on button \"Copy\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=ruby", + "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"h5\"][1]/*[local-name()=\"button\"][1]", + "at": "", "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), + '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" btn \")]", "co": "[{\"text\":\"get + an authn mapping by uuid\",\"textType\":\"directText\"},{\"relation\":\"PARENT + OF\",\"tagName\":\"SPAN\",\"text\":\"# get an authn mapping by uuid returns + \\\"ok\\\" response \",\"textType\":\"innerText\"}]", "ro": null, "clt": "/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" btn \")]"}, "targetOuterHTML": ""}}, "type": "click", "allowFailure": false, "isCritical": + true, "noScreenshot": false}]}' headers: Content-Type: - application/json @@ -2390,32 +2485,31 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000b023d2d17a2ee157-24cc1bad14c018fa-01 + - 00-0000000000000000359ce14ae045cfc7-8fbf5244f1a99daa-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '2651524710805805306' + - '10358088124041108906' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '12692219972000080215' + - '3863210292083544007' method: GET - uri: https://api.datadoghq.com/api/v1/dashboard/tuw-te2-pdj + uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/n65-rw3-5ta response: body: - string: '{"id": "tuw-te2-pdj", "title": "datadog-sync-cli Test Dashboard", "description": - "", "author_handle": "noueman.khalikine@datadoghq.com", "author_name": "Noueman - Khalikine", "layout_type": "ordered", "url": "/dashboard/tuw-te2-pdj/datadog-sync-cli-test-dashboard", - "is_read_only": false, "template_variables": [], "widgets": [{"definition": - {"title_size": "16", "title": "", "title_align": "left", "precision": 2, "time": - {}, "autoscale": true, "requests": [{"response_format": "scalar", "queries": - [{"query": "avg:system.cpu.user{*}", "data_source": "metrics", "name": "query1", - "aggregator": "avg"}]}], "type": "query_value"}, "layout": {"y": 0, "x": 0, - "height": 2, "width": 2}, "id": 6609238960092638}], "notify_list": [], "created_at": - "2021-06-30T11:45:57.574935+00:00", "modified_at": "2021-06-30T11:46:46.923260+00:00", - "reflow_type": "fixed", "restricted_roles": []}' + string: '{"public_id": "n65-rw3-5ta", "name": "DNS Test", "status": "live", + "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2022-11-15T21:05:04.640424+00:00", + "modified_at": "2022-11-15T21:05:04.640424+00:00", "config": {"request": {"host": + "example.org"}, "assertions": [{"operator": "is", "property": "A", "type": + "recordSome", "target": "0.0.0.0"}]}, "message": "Notify @pagerduty", "options": + {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": + 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": + 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": + "dns", "monitor_id": 103095763, "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' headers: Content-Type: - application/json @@ -2432,60 +2526,36 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000c6ab637e6bad9068-32119092111311bb-01 + - 00-000000000000000022c9509d1b7b46d5-88a7e93c019c5ffb-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3607823733526565307' + - '9847095554203213819' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '14315645235150819432' + - '2506623303309543125' method: GET - uri: https://api.datadoghq.com/api/v1/dashboard/dns-jst-h98 + uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/ct9-df9-7cy response: body: - string: '{"id": "dns-jst-h98", "title": "Test screenboard", "description": "Created - using the Datadog provider in Terraform", "author_handle": "sherzod.karimov@datadoghq.com", - "author_name": "Sherzod Karimov", "layout_type": "free", "url": "/dashboard/dns-jst-h98/test-screenboard", - "is_read_only": false, "template_variables": [{"default": "aws", "prefix": - "host", "name": "var_1"}, {"default": "autoscaling", "prefix": "service_name", - "name": "var_2"}], "widgets": [{"definition": {"title_size": "16", "title": - "Widget Title", "title_align": "left", "time": {"live_span": "1h"}, "query": - "*", "type": "event_stream", "event_size": "l"}, "layout": {"y": 5, "x": 5, - "height": 43, "width": 32}, "id": 4066667513687323}, {"definition": {"title_size": - "16", "title": "Widget Title", "title_align": "left", "time": {"live_span": - "1h"}, "query": "*", "type": "event_timeline"}, "layout": {"y": 73, "x": 42, - "height": 9, "width": 65}, "id": 68713679518613}, {"definition": {"color": - "#d00", "text": "free text content", "type": "free_text", "font_size": "88", - "text_align": "left"}, "layout": {"y": 5, "x": 42, "height": 20, "width": - 30}, "id": 1117617615518455}, {"definition": {"url": "http://google.com", - "type": "iframe"}, "layout": {"y": 8, "x": 111, "height": 46, "width": 39}, - "id": 3098118775539428}, {"definition": {"url": "https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350", - "sizing": "fit", "margin": "small", "type": "image"}, "layout": {"y": 7, "x": - 77, "height": 20, "width": 30}, "id": 651713243056399}, {"definition": {"logset": - "", "sort": {"column": "time", "order": "desc"}, "show_message_column": true, - "show_date_column": true, "message_display": "expanded-md", "indexes": ["main"], - "query": "error", "type": "log_stream", "columns": ["core_host", "core_service", - "tag_source"]}, "layout": {"y": 51, "x": 5, "height": 36, "width": 32}, "id": - 5458329230004343}, {"definition": {"sort": "status,asc", "count": 50, "title_size": - "16", "title": "Widget Title", "title_align": "left", "hide_zero_counts": - true, "start": 0, "summary_type": "monitors", "query": "type:metric", "color_preference": - "text", "show_last_triggered": false, "display_format": "countsAndList", "type": - "manage_status"}, "layout": {"y": 55, "x": 112, "height": 40, "width": 30}, - "id": 1112741664700765}, {"definition": {"span_name": "cassandra.query", "title_size": - "13", "service": "alerting-cassandra", "title": "alerting-cassandra #env:datad0g.com", - "size_format": "large", "show_hits": true, "show_latency": false, "title_align": - "center", "show_errors": true, "show_breakdown": true, "env": "datad0g.com", - "time": {"live_span": "1h"}, "show_distribution": true, "display_format": - "three_column", "type": "trace_service", "show_resource_list": false}, "layout": - {"y": 28, "x": 40, "height": 38, "width": 67}, "id": 6949442529647217}], "notify_list": - [], "created_at": "2021-06-08T18:26:23.515662+00:00", "modified_at": "2021-06-22T19:35:38.981348+00:00", - "template_variable_presets": [{"template_variables": [{"name": "var_1", "value": - "host.dc"}, {"name": "var_2", "value": "my_service"}], "name": "preset_1"}], - "restricted_roles": []}' + string: '{"public_id": "ct9-df9-7cy", "name": "Multistep API Test", "status": + "live", "type": "api", "tags": ["check_type:api", "env:test", "test:update"], + "created_at": "2022-11-15T21:05:04.669579+00:00", "modified_at": "2022-11-15T21:05:04.669579+00:00", + "config": {"steps": [{"retry": {"count": 0, "interval": 300}, "name": "Test + on datadoghq.com", "request": {"url": "https://datadoghq.com", "headers": + {"content-type": "text/html"}, "method": "GET"}, "subtype": "http", "allowFailure": + false, "extractedValues": [], "isCritical": true, "id": "vek-567-n38", "assertions": + [{"operator": "lessThan", "type": "responseTime", "target": 1000}, {"operator": + "is", "type": "statusCode", "target": 301}]}], "configVariables": []}, "message": + "", "options": {"monitor_options": {"notify_audit": false, "include_tags": + true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0}, "retry": {"count": 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": + 0, "tick_every": 604800}, "locations": ["aws:sa-east-1"], "subtype": "multi", + "monitor_id": 103095762, "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com"}}' headers: Content-Type: - application/json @@ -2502,37 +2572,63 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000eabd3e4051209155-f6171203dd19daf0-01 + - 00-0000000000000000a79cc0ca04d276f3-0f790bdddf4495cd-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '17732661865598278384' + - '1114935430312400333' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16914744221433368917' + - '12077740274597656307' method: GET - uri: https://api.datadoghq.com/api/v1/downtime + uri: https://api.datadoghq.com/api/v1/synthetics/tests/api/xv9-vri-fqh response: body: - string: '[{"id": 1882120397, "monitor_id": null, "org_id": 569509, "start": - 1777521600, "end": null, "canceled": null, "created": 1650050263, "modified": - 1650050263, "message": "Sample downtime message", "active": false, "disabled": - false, "recurrence": null, "timezone": "America/New_York", "parent_id": null, - "child_id": null, "creator_id": 2781275, "updater_id": null, "downtime_type": - 0, "status": "scheduled", "monitor_tags": ["*"], "mute_first_recovery_notification": - false, "notify_end_types": ["expired"], "notify_end_states": ["alert", "no - data", "warn"], "uuid": "2d201cd8-b23a-11ed-b003-da7ad0900002", "scope": ["*"]}, - {"id": 1882118744, "monitor_id": null, "org_id": 569509, "start": 1807675200, - "end": null, "canceled": null, "created": 1650050211, "modified": 1650050211, - "message": "Sample message", "active": false, "disabled": false, "recurrence": - null, "timezone": "America/New_York", "parent_id": null, "child_id": null, - "creator_id": 2781275, "updater_id": null, "downtime_type": 0, "status": "scheduled", - "monitor_tags": ["*"], "mute_first_recovery_notification": false, "notify_end_types": - ["expired"], "notify_end_states": ["alert", "no data", "warn"], "uuid": "2d201904-b23a-11ed-b002-da7ad0900002", - "scope": ["*"]}]' + string: '{"public_id": "xv9-vri-fqh", "name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", + "status": "paused", "type": "api", "tags": ["multistep"], "created_at": "2023-06-07T07:02:28.009429+00:00", + "modified_at": "2023-06-07T07:02:28.009429+00:00", "config": {"assertions": + [], "configVariables": [{"id": "24a74917-d729-4729-a809-0d05cf159e25", "name": + "VARIABLE_NAME", "type": "global"}], "steps": [{"allowFailure": true, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [{"field": "content-length", "name": "VAR_EXTRACT", "parser": {"type": "regex", + "value": ".*"}, "secure": true, "type": "http_header"}], "isCritical": false, + "name": "First api step", "request": {"allow_insecure": true, "basicAuth": + {"accessKey": "sigv4-access-key", "region": "sigv4-region", "secretKey": "sigv4-secret-key", + "serviceName": "sigv4-service-name", "sessionToken": "sigv4-session-token", + "type": "sigv4"}, "body": "this is a body", "certificate": {"cert": {"filename": + "Provided in Terraform config"}, "key": {"filename": "key"}}, "follow_redirects": + true, "headers": {"Accept": "application/json", "X-Datadog-Trace-ID": "123456789"}, + "method": "GET", "proxy": {"headers": {"Accept": "application/json", "X-Datadog-Trace-ID": + "123456789"}, "url": "https://proxy.url"}, "query": {"foo": "bar"}, "timeout": + 30, "url": "https://www.datadoghq.com"}, "retry": {"count": 5, "interval": + 1000}, "subtype": "http", "id": "3xr-p38-qba"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Second api step", "request": {"allow_insecure": + true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": + "audience", "clientId": "client-id", "clientSecret": "client-secret", "scope": + "scope", "tokenApiAuthentication": "header", "type": "oauth-client"}, "body": + "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, + "subtype": "http", "id": "3ij-dfg-6tw"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Third api step", "request": {"allow_insecure": + true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": + "audience", "clientId": "client-id", "clientSecret": "client-secret", "password": + "password", "resource": "resource", "scope": "scope", "tokenApiAuthentication": + "body", "type": "oauth-rop", "username": "username"}, "body": "", "follow_redirects": + true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, + "subtype": "http", "id": "it3-n6p-xnp"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Fourth api step", "request": {"allow_insecure": + true, "basicAuth": {"password": "password", "type": "digest", "username": + "username"}, "body": "", "follow_redirects": true, "method": "GET", "timeout": + 30, "url": "https://docs.datadoghq.com"}, "subtype": "http", "id": "vid-d39-qgr"}]}, + "message": "Notify @datadog.user", "options": {"min_location_failed": 1, "restricted_roles": + ["430aea7c-0501-11ee-9f44-da7ad0900002"], "tick_every": 900}, "locations": + ["aws:eu-central-1"], "subtype": "multi", "monitor_id": 121127083, "creator": + {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}' headers: Content-Type: - application/json @@ -2549,17 +2645,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000006400e4fd07b4a31c-50ad58e614374a6c-01 + - 00-0000000000000000dafefbb0b5bef592-cb34f8d0e1ca0452-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5813400439210068588' + - '14642601864513324114' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '7206011179199931164' + - '15780326880734803346' method: GET uri: https://api.datadoghq.com/api/v2/users?page%5Bnumber%5D=0&page%5Bsize%5D=100 response: @@ -2730,17 +2826,23 @@ interactions: "permissions", "id": "f416f55e-db3f-11ed-8028-da7ad0900002"}, {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002"}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002"}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002"}, - {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": - "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", - "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, {"type": "permissions", "id": - "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, - {"type": "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": - "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", - "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002"}, {"type": "permissions", "id": - "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002"}, - {"type": "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": - "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002"}]}}}, {"type": - "permissions", "id": "984d2f00-d3b4-11e8-a200-bb47109e9987", "attributes": + {"type": "permissions", "id": "a4316eb8-f438-11ed-8af2-da7ad0900002"}, {"type": + "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002"}, {"type": "permissions", + "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002"}, {"type": "permissions", "id": + "3a48350c-f9bc-11ed-b81c-da7ad0900002"}, {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002"}, + {"type": "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002"}, {"type": + "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002"}, {"type": "permissions", + "id": "61f9891a-0070-11ee-9c3f-da7ad0900002"}, {"type": "permissions", "id": + "1377d9e4-0ec7-11ee-aebc-da7ad0900002"}, {"type": "permissions", "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002"}, + {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002"}, {"type": + "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002"}, {"type": "permissions", + "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002"}, {"type": "permissions", "id": + "b1adb5da-0949-11ee-b2c4-da7ad0900002"}, {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002"}, + {"type": "permissions", "id": "6c5ce898-21a4-11ee-99ef-da7ad0900002"}, {"type": + "permissions", "id": "6c5ce992-21a4-11ee-99f0-da7ad0900002"}, {"type": "permissions", + "id": "785177a6-20da-11ee-bed7-da7ad0900002"}, {"type": "permissions", "id": + "7850e390-20da-11ee-bed6-da7ad0900002"}, {"type": "permissions", "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002"}]}}}, + {"type": "permissions", "id": "984d2f00-d3b4-11e8-a200-bb47109e9987", "attributes": {"name": "standard", "display_name": "Standard Access", "description": "View and edit components in your Datadog organization that do not have explicitly defined permissions.", "created": "2018-10-19T15:35:23.756736+00:00", "group_name": @@ -2911,36 +3013,35 @@ interactions: "created": "2020-09-17T20:20:23.279769+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "3e4d4d28-f923-11ea-adbc-e3565938c12e", "attributes": {"name": "api_keys_write", - "display_name": "API Keys Write", "description": "Create, rename, and revoke - API Keys for your organization.", "created": "2020-09-17T20:20:35.264430+00:00", - "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", - "attributes": {"name": "synthetics_global_variable_read", "display_name": - "Synthetics Global Variable Read", "description": "View, search, and use Synthetics - global variables.", "created": "2020-09-17T20:20:48.446916+00:00", "group_name": - "Synthetic Monitoring", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", "attributes": - {"name": "synthetics_global_variable_write", "display_name": "Synthetics Global - Variable Write", "description": "Create, edit, and delete global variables - for Synthetics.", "created": "2020-09-17T20:20:56.322003+00:00", "group_name": - "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "5025ee24-f923-11ea-adbc-576ea241df8d", "attributes": - {"name": "synthetics_read", "display_name": "Synthetics Read", "description": - "List and view configured Synthetic tests and test results.", "created": "2020-09-17T20:21:05.205361+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "55f4b5ec-f923-11ea-adbc-1bfa2334a755", - "attributes": {"name": "synthetics_write", "display_name": "Synthetics Write", - "description": "Create, edit, and delete Synthetic tests.", "created": "2020-09-17T20:21:14.949140+00:00", + "display_name": "API Keys Write", "description": "Create and rename API Keys + for your organization.", "created": "2020-09-17T20:20:35.264430+00:00", "group_name": + "API and Application Keys", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "4628ca54-f923-11ea-adbc-4b2b7f88c5e9", "attributes": + {"name": "synthetics_global_variable_read", "display_name": "Synthetics Global + Variable Read", "description": "View, search, and use Synthetics global variables.", + "created": "2020-09-17T20:20:48.446916+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "4ada6e36-f923-11ea-adbc-0788e5c5e3cf", "attributes": {"name": "synthetics_global_variable_write", + "display_name": "Synthetics Global Variable Write", "description": "Create, + edit, and delete global variables for Synthetics.", "created": "2020-09-17T20:20:56.322003+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "5c6b88e2-f923-11ea-adbc-abf57d079420", - "attributes": {"name": "synthetics_default_settings_read", "display_name": - "Synthetics Default Settings Read", "description": "View the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:21:25.794160+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "642eebe6-f923-11ea-adbc-eb617674ea04", - "attributes": {"name": "synthetics_default_settings_write", "display_name": - "Synthetics Default Settings Write", "description": "Edit the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:21:38.818771+00:00", + false}}, {"type": "permissions", "id": "5025ee24-f923-11ea-adbc-576ea241df8d", + "attributes": {"name": "synthetics_read", "display_name": "Synthetics Read", + "description": "List and view configured Synthetic tests and test results.", + "created": "2020-09-17T20:21:05.205361+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "55f4b5ec-f923-11ea-adbc-1bfa2334a755", "attributes": {"name": "synthetics_write", + "display_name": "Synthetics Write", "description": "Create, edit, and delete + Synthetic tests.", "created": "2020-09-17T20:21:14.949140+00:00", "group_name": + "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "5c6b88e2-f923-11ea-adbc-abf57d079420", "attributes": + {"name": "synthetics_default_settings_read", "display_name": "Synthetics Default + Settings Read", "description": "View the default settings for Synthetic Monitoring.", + "created": "2020-09-17T20:21:25.794160+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "642eebe6-f923-11ea-adbc-eb617674ea04", "attributes": {"name": "synthetics_default_settings_write", + "display_name": "Synthetics Default Settings Write", "description": "Edit + the default settings for Synthetic Monitoring.", "created": "2020-09-17T20:21:38.818771+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "6ba32d22-0e1a-11eb-ba44-bf9a5aafaa39", "attributes": {"name": "logs_write_facets", "display_name": "Logs Write Facets", @@ -3200,15 +3301,16 @@ interactions: logs.", "created": "2022-08-08T21:30:42.723663+00:00", "group_name": "Log Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "6be119a6-1cd8-11ed-b185-da7ad0900002", "attributes": {"name": "watchdog_insights_read", - "display_name": "Watchdog Insights Read", "description": "View Watchdog Insights.", - "created": "2022-08-15T20:25:36.677197+00:00", "group_name": "Watchdog", "display_type": - "read", "restricted": false}}, {"type": "permissions", "id": "36e2a22e-248a-11ed-b405-da7ad0900002", - "attributes": {"name": "connections_resolve", "display_name": "Connections - Resolve", "description": "Resolve connections.", "created": "2022-08-25T15:25:56.325170+00:00", - "group_name": "Workflows", "display_type": "read", "restricted": false}}, - {"type": "permissions", "id": "4ee674f6-55d9-11ed-b10d-da7ad0900002", "attributes": - {"name": "appsec_protect_read", "display_name": "Application Security Management - Protect Read", "description": "View blocked attackers.", "created": "2022-10-27T09:25:33.834253+00:00", + "display_name": "Watchdog Insights Read", "description": "Deprecated. View + Watchdog Insights.", "created": "2022-08-15T20:25:36.677197+00:00", "group_name": + "Watchdog", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "36e2a22e-248a-11ed-b405-da7ad0900002", "attributes": {"name": "connections_resolve", + "display_name": "Connections Resolve", "description": "Resolve connections.", + "created": "2022-08-25T15:25:56.325170+00:00", "group_name": "Workflows", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "4ee674f6-55d9-11ed-b10d-da7ad0900002", "attributes": {"name": "appsec_protect_read", + "display_name": "Application Security Management Protect Read", "description": + "View blocked attackers.", "created": "2022-10-27T09:25:33.834253+00:00", "group_name": "Cloud Security Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "4ee7e46c-55d9-11ed-b10e-da7ad0900002", "attributes": {"name": "appsec_protect_write", "display_name": "Application @@ -3308,12 +3410,12 @@ interactions: "write", "restricted": false}}, {"type": "permissions", "id": "f416b1ac-db3f-11ed-8027-da7ad0900002", "attributes": {"name": "saved_views_write", "display_name": "Saved Views Write", "description": "Modify Saved Views across all Datadog products.", "created": - "2023-04-15T03:45:24.289668+00:00", "group_name": "Saved Views", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "4e61a95e-de98-11ed-aa23-da7ad0900002", - "attributes": {"name": "client_tokens_read", "display_name": "Client Tokens - Read", "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.", "created": "2023-04-19T09:55:24.976379+00:00", + "2023-04-15T03:45:24.289668+00:00", "group_name": "Cross-Product Features", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "4e61a95e-de98-11ed-aa23-da7ad0900002", "attributes": {"name": "client_tokens_read", + "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T09:55:24.976379+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "4e61ea18-de98-11ed-aa24-da7ad0900002", "attributes": {"name": "client_tokens_write", "display_name": "Client Tokens @@ -3321,60 +3423,96 @@ interactions: tokens may be exposed client-side in JavaScript code for web browsers and other clients to send data to Datadog.", "created": "2023-04-19T09:55:24.976379+00:00", "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", - "attributes": {"name": "event_config_write", "display_name": "Event Config - Write", "description": "Manage general event configuration such as API Emails.", - "created": "2023-05-20T01:20:31.639587+00:00", "group_name": "Events", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", - "attributes": {"name": "security_monitoring_findings_write", "display_name": - "Security Monitoring Findings Write", "description": "Mute CSPM Findings.", - "created": "2023-05-23T22:50:34.532448+00:00", "group_name": "Cloud Security - Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "a773e3d8-fff2-11ed-965c-da7ad0900002", "attributes": {"name": "cloud_cost_management_read", - "display_name": "Cloud Cost Management Read", "description": "Read cloud cost - data such as cost metrics and tags.", "created": "2023-05-31T20:35:17.490437+00:00", - "group_name": "Cloud Cost Management", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002", - "attributes": {"name": "cloud_cost_management_write", "display_name": "Cloud - Cost Management Write", "description": "Configure cloud cost accounts and - global customizations.", "created": "2023-05-31T20:35:17.490437+00:00", "group_name": - "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "a51b375a-ff73-11ed-8c18-da7ad0900002", "attributes": - {"name": "host_tags_write", "display_name": "Host Tags Write", "description": - "Add and change tags on hosts.", "created": "2023-05-31T05:26:07.469293+00:00", - "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "61f9891a-0070-11ee-9c3f-da7ad0900002", "attributes": - {"name": "ci_visibility_pipelines_write", "display_name": "CI Visibility Pipelines - Write", "description": "Create CI Visibility pipeline spans using the API.", - "created": "2023-06-01T11:35:17.513706+00:00", "group_name": "CI Visibility", - "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "attributes": {"name": "quality_gate_rules_read", - "display_name": "Quality Gate Rules Read", "description": "View Quality Gate - Rules.", "created": "2023-06-19T17:31:08.295856+00:00", "group_name": "CI - Visibility", "display_type": "read", "restricted": false}}, {"type": "permissions", - "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "attributes": {"name": "quality_gate_rules_write", - "display_name": "Quality Gate Rules Write", "description": "Edit Quality Gate - Rules.", "created": "2023-06-19T17:31:08.295856+00:00", "group_name": "CI - Visibility", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "attributes": {"name": "metrics_metadata_write", - "display_name": "Metrics Metadata Write", "description": "Edit metadata on - metrics.", "created": "2023-06-23T17:31:34.182629+00:00", "group_name": "Metrics", + false}}, {"type": "permissions", "id": "a4316eb8-f438-11ed-8af2-da7ad0900002", + "attributes": {"name": "event_correlation_config_read", "display_name": "Event + Correlation Config Read", "description": "Read Event Correlation Configuration + data such as Correlation Rules and Settings.", "created": "2023-05-16T22:26:02.839419+00:00", + "group_name": "Events", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "a431bf12-f438-11ed-8af3-da7ad0900002", "attributes": + {"name": "event_correlation_config_write", "display_name": "Event Correlation + Config Write", "description": "Manage Event Correlation Configuration such + as Correlation Rules and Settings.", "created": "2023-05-16T22:26:02.839419+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "8352cf04-f6ac-11ed-9ec7-da7ad0900002", "attributes": + {"name": "event_config_write", "display_name": "Event Config Write", "description": + "Manage general event configuration such as API Emails.", "created": "2023-05-20T01:20:31.639587+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "3a48350c-f9bc-11ed-b81c-da7ad0900002", "attributes": + {"name": "security_monitoring_findings_write", "display_name": "Security Monitoring + Findings Write", "description": "Mute CSPM Findings.", "created": "2023-05-23T22:50:34.532448+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "a773e3d8-fff2-11ed-965c-da7ad0900002", + "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud + Cost Management Read", "description": "Read cloud cost data such as cost metrics + and tags.", "created": "2023-05-31T20:35:17.490437+00:00", "group_name": "Cloud + Cost Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "a77452c8-fff2-11ed-965d-da7ad0900002", "attributes": + {"name": "cloud_cost_management_write", "display_name": "Cloud Cost Management + Write", "description": "Configure cloud cost accounts and global customizations.", + "created": "2023-05-31T20:35:17.490437+00:00", "group_name": "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "attributes": {"name": "rum_delete_data", - "display_name": "RUM Delete Data", "description": "Delete data from RUM.", - "created": "2023-06-12T17:51:01.325450+00:00", "group_name": "Real User Monitoring", + "a51b375a-ff73-11ed-8c18-da7ad0900002", "attributes": {"name": "host_tags_write", + "display_name": "Host Tags Write", "description": "Add and change tags on + hosts.", "created": "2023-05-31T05:26:07.469293+00:00", "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "attributes": {"name": "appsec_vm_write", - "display_name": "Application Security Vulnerability Management Write", "description": - "Update status or assignee of Application Security vulnerabilities.", "created": - "2023-06-12T17:51:01.325450+00:00", "group_name": "Cloud Security Platform", + "61f9891a-0070-11ee-9c3f-da7ad0900002", "attributes": {"name": "ci_visibility_pipelines_write", + "display_name": "CI Visibility Pipelines Write", "description": "Create CI + Visibility pipeline spans using the API.", "created": "2023-06-01T11:35:17.513706+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "1377d9e4-0ec7-11ee-aebc-da7ad0900002", "attributes": + {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", + "description": "View Quality Gate Rules.", "created": "2023-06-19T17:31:08.295856+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "1377ff28-0ec7-11ee-aebd-da7ad0900002", "attributes": + {"name": "quality_gate_rules_write", "display_name": "Quality Gate Rules Write", + "description": "Edit Quality Gate Rules.", "created": "2023-06-19T17:31:08.295856+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "cc8cd958-11eb-11ee-ade2-da7ad0900002", "attributes": + {"name": "metrics_metadata_write", "display_name": "Metrics Metadata Write", + "description": "Edit metadata on metrics.", "created": "2023-06-23T17:31:34.182629+00:00", + "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "b1adb6e8-0949-11ee-b2c5-da7ad0900002", "attributes": + {"name": "rum_delete_data", "display_name": "RUM Delete Data", "description": + "Delete data from RUM.", "created": "2023-06-12T17:51:01.325450+00:00", "group_name": + "Real User Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "b1ad77e6-0949-11ee-b2c3-da7ad0900002", "attributes": + {"name": "appsec_vm_write", "display_name": "Application Security Vulnerability + Management Write", "description": "Update status or assignee of Application + Security vulnerabilities.", "created": "2023-06-12T17:51:01.325450+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "b1adb5da-0949-11ee-b2c4-da7ad0900002", + "attributes": {"name": "reference_tables_write", "display_name": "Reference + Tables Write", "description": "Create or modify Reference Tables.", "created": + "2023-06-12T17:51:01.325450+00:00", "group_name": "Reference Tables", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "0efeff18-1cec-11ee-992d-da7ad0900002", + "attributes": {"name": "rum_playlist_write", "display_name": "RUM Playlist + Write", "description": "Create, update, and delete RUM playlists. Add and + remove sessions from RUM playlists.", "created": "2023-07-07T17:31:08.450865+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "6c5ce898-21a4-11ee-99ef-da7ad0900002", + "attributes": {"name": "observability_pipelines_delete", "display_name": "Pipeline + Delete", "description": "Delete pipelines from your organization.", "created": + "2023-07-13T17:40:57.140947+00:00", "group_name": "Observability Pipelines", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "b1adb5da-0949-11ee-b2c4-da7ad0900002", "attributes": {"name": "reference_tables_write", - "display_name": "Reference Tables Write", "description": "Create or modify - Reference Tables.", "created": "2023-06-12T17:51:01.325450+00:00", "group_name": - "Reference Tables", "display_type": "write", "restricted": false}}, {"type": - "roles", "id": "fa017a37-bfcb-11eb-a4d7-da7ad0900002", "attributes": {"name": - "Datadog Read Only Role", "created_at": "2021-05-28T15:47:16.084615+00:00", + "6c5ce992-21a4-11ee-99f0-da7ad0900002", "attributes": {"name": "observability_pipelines_deploy", + "display_name": "Pipeline Deploy", "description": "Deploy pipelines in your + organization.", "created": "2023-07-13T17:40:57.140947+00:00", "group_name": + "Observability Pipelines", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "785177a6-20da-11ee-bed7-da7ad0900002", "attributes": + {"name": "processes_generate_metrics", "display_name": "Processes Generate + Metrics", "description": "Create custom metrics from processes.", "created": + "2023-07-12T17:35:18.858294+00:00", "group_name": "Processes", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "7850e390-20da-11ee-bed6-da7ad0900002", + "attributes": {"name": "api_keys_delete", "display_name": "API Keys Delete", + "description": "Delete API Keys for your organization.", "created": "2023-07-12T17:35:18.858294+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "1b8f54cc-2ca4-11ee-9e72-da7ad0900002", + "attributes": {"name": "facets_write", "display_name": "Facets Write", "description": + "Manage facets for products other than Log Management, such as APM Traces. + To modify Log Facets, use Logs Write Facets.", "created": "2023-07-27T17:36:24.369352+00:00", + "group_name": "Cross-Product Features", "display_type": "write", "restricted": + false}}, {"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": @@ -3422,66 +3560,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000008c306e75c157df7f-04c90f4014393d60-01 - tracestate: - - dd=s:1;t.dm:-0 - x-datadog-parent-id: - - '344823614362172768' - x-datadog-sampling-priority: - - '1' - x-datadog-tags: - - _dd.p.dm=-0 - x-datadog-trace-id: - - '10101695416226013055' - method: GET - uri: https://api.datadoghq.com/api/v1/slo/correction - response: - body: - string: '{"data": [{"type": "correction", "id": "999b94e0-bf74-11ed-a4ee-da7ad0902002", - "attributes": {"slo_id": "ae04001ea55f52f6ae4b85d9b1023909", "start": 1678255200, - "end": 1678355280, "description": "", "category": "Other", "timezone": "UTC", - "created_at": 1678474303, "modified_at": 1678474303, "rrule": null, "duration": - null, "creator": {"data": {"type": "users", "id": "fa017a38-bfcb-11eb-a4d7-da7ad0900002", - "attributes": {"uuid": "fa017a38-bfcb-11eb-a4d7-da7ad0900002", "handle": "support-datadogsynccliustestorg", - "email": "support-user-prod@datadoghq.com", "name": "Datadog Support", "icon": - "https://secure.gravatar.com/avatar/e6952b5f29fe2d996cf4e63f40db9e71?s=48&d=retro"}}}, - "modifier": null}}, {"type": "correction", "id": "381d1620-bf70-11ed-acb8-da7ad0902002", - "attributes": {"slo_id": "ba72d10835d75e0c8910597144f3733a", "start": 1678255200, - "end": 1678339140, "description": "", "category": "Other", "timezone": "UTC", - "created_at": 1678472421, "modified_at": 1678472421, "rrule": null, "duration": - null, "creator": {"data": {"type": "users", "id": "fa017a38-bfcb-11eb-a4d7-da7ad0900002", - "attributes": {"uuid": "fa017a38-bfcb-11eb-a4d7-da7ad0900002", "handle": "support-datadogsynccliustestorg", - "email": "support-user-prod@datadoghq.com", "name": "Datadog Support", "icon": - "https://secure.gravatar.com/avatar/e6952b5f29fe2d996cf4e63f40db9e71?s=48&d=retro"}}}, - "modifier": null}}], "meta": {"page": {"total_count": 2, "total_filtered_count": - 2}}}' - headers: - Content-Type: - - application/json - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - traceparent: - - 00-0000000000000000685d9d64dc971b5c-3649cb78049b595f-01 + - 00-0000000000000000008a62e3d0c265a0-ff7fc25650719a4b-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3911881467681790303' + - '18410647477686475339' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '7520340009301777244' + - '38952277385569696' method: GET uri: https://api.datadoghq.eu/api/v2/permissions response: @@ -3663,36 +3752,35 @@ interactions: "created": "2020-09-17T20:37:16.471514+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "998aabac-f925-11ea-b43d-8f1f42f3894e", "attributes": {"name": "api_keys_write", - "display_name": "API Keys Write", "description": "Create, rename, and revoke - API Keys for your organization.", "created": "2020-09-17T20:37:27.331389+00:00", - "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb", - "attributes": {"name": "synthetics_global_variable_read", "display_name": - "Synthetics Global Variable Read", "description": "View, search, and use Synthetics - global variables.", "created": "2020-09-17T20:37:50.165103+00:00", "group_name": - "Synthetic Monitoring", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "ae2f8fbe-f925-11ea-b51c-67ba7de17f88", "attributes": - {"name": "synthetics_global_variable_write", "display_name": "Synthetics Global - Variable Write", "description": "Create, edit, and delete global variables - for Synthetics.", "created": "2020-09-17T20:38:01.966230+00:00", "group_name": - "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "b6858556-f925-11ea-9222-1f47b8677b93", "attributes": - {"name": "synthetics_read", "display_name": "Synthetics Read", "description": - "List and view configured Synthetic tests and test results.", "created": "2020-09-17T20:38:15.951574+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "bd5bb850-f925-11ea-a3a2-77cbb581c92a", - "attributes": {"name": "synthetics_write", "display_name": "Synthetics Write", - "description": "Create, edit, and delete Synthetic tests.", "created": "2020-09-17T20:38:27.421632+00:00", + "display_name": "API Keys Write", "description": "Create and rename API Keys + for your organization.", "created": "2020-09-17T20:37:27.331389+00:00", "group_name": + "API and Application Keys", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb", "attributes": + {"name": "synthetics_global_variable_read", "display_name": "Synthetics Global + Variable Read", "description": "View, search, and use Synthetics global variables.", + "created": "2020-09-17T20:37:50.165103+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "ae2f8fbe-f925-11ea-b51c-67ba7de17f88", "attributes": {"name": "synthetics_global_variable_write", + "display_name": "Synthetics Global Variable Write", "description": "Create, + edit, and delete global variables for Synthetics.", "created": "2020-09-17T20:38:01.966230+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "ca8897be-f925-11ea-a3a2-d30492cbe671", - "attributes": {"name": "synthetics_default_settings_read", "display_name": - "Synthetics Default Settings Read", "description": "View the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:38:49.527477+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "cf223140-f925-11ea-a3a2-df370532bcf7", - "attributes": {"name": "synthetics_default_settings_write", "display_name": - "Synthetics Default Settings Write", "description": "Edit the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:38:57.244987+00:00", + false}}, {"type": "permissions", "id": "b6858556-f925-11ea-9222-1f47b8677b93", + "attributes": {"name": "synthetics_read", "display_name": "Synthetics Read", + "description": "List and view configured Synthetic tests and test results.", + "created": "2020-09-17T20:38:15.951574+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "bd5bb850-f925-11ea-a3a2-77cbb581c92a", "attributes": {"name": "synthetics_write", + "display_name": "Synthetics Write", "description": "Create, edit, and delete + Synthetic tests.", "created": "2020-09-17T20:38:27.421632+00:00", "group_name": + "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "ca8897be-f925-11ea-a3a2-d30492cbe671", "attributes": + {"name": "synthetics_default_settings_read", "display_name": "Synthetics Default + Settings Read", "description": "View the default settings for Synthetic Monitoring.", + "created": "2020-09-17T20:38:49.527477+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "cf223140-f925-11ea-a3a2-df370532bcf7", "attributes": {"name": "synthetics_default_settings_write", + "display_name": "Synthetics Default Settings Write", "description": "Edit + the default settings for Synthetic Monitoring.", "created": "2020-09-17T20:38:57.244987+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "5e21e4b6-0e1c-11eb-ab24-a3d385baf4ee", "attributes": {"name": "logs_write_facets", "display_name": "Logs Write Facets", @@ -3963,15 +4051,16 @@ interactions: logs.", "created": "2022-08-08T21:30:48.328740+00:00", "group_name": "Log Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005", "attributes": {"name": "watchdog_insights_read", - "display_name": "Watchdog Insights Read", "description": "View Watchdog Insights.", - "created": "2022-08-15T20:25:48.321553+00:00", "group_name": "Watchdog", "display_type": - "read", "restricted": false}}, {"type": "permissions", "id": "4758d632-248a-11ed-817b-da7ad0900005", - "attributes": {"name": "connections_resolve", "display_name": "Connections - Resolve", "description": "Resolve connections.", "created": "2022-08-25T15:26:23.943459+00:00", - "group_name": "Workflows", "display_type": "read", "restricted": false}}, - {"type": "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "attributes": - {"name": "appsec_protect_read", "display_name": "Application Security Management - Protect Read", "description": "View blocked attackers.", "created": "2022-10-27T09:25:59.057166+00:00", + "display_name": "Watchdog Insights Read", "description": "Deprecated. View + Watchdog Insights.", "created": "2022-08-15T20:25:48.321553+00:00", "group_name": + "Watchdog", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "4758d632-248a-11ed-817b-da7ad0900005", "attributes": {"name": "connections_resolve", + "display_name": "Connections Resolve", "description": "Resolve connections.", + "created": "2022-08-25T15:26:23.943459+00:00", "group_name": "Workflows", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_protect_read", + "display_name": "Application Security Management Protect Read", "description": + "View blocked attackers.", "created": "2022-10-27T09:25:59.057166+00:00", "group_name": "Cloud Security Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "5defc9e8-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_protect_write", "display_name": "Application @@ -4071,12 +4160,12 @@ interactions: "write", "restricted": false}}, {"type": "permissions", "id": "81e4434c-db35-11ed-a170-da7ad0900005", "attributes": {"name": "saved_views_write", "display_name": "Saved Views Write", "description": "Modify Saved Views across all Datadog products.", "created": - "2023-04-15T02:30:37.731056+00:00", "group_name": "Saved Views", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005", - "attributes": {"name": "client_tokens_read", "display_name": "Client Tokens - Read", "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.", "created": "2023-04-19T07:55:41.646942+00:00", + "2023-04-15T02:30:37.731056+00:00", "group_name": "Cross-Product Features", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "94c8a4da-de87-11ed-9e92-da7ad0900005", "attributes": {"name": "client_tokens_read", + "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T07:55:41.646942+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "94c927e8-de87-11ed-9e92-da7ad0900005", "attributes": {"name": "client_tokens_write", "display_name": "Client Tokens @@ -4084,58 +4173,95 @@ interactions: tokens may be exposed client-side in JavaScript code for web browsers and other clients to send data to Datadog.", "created": "2023-04-19T07:55:41.646942+00:00", "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "65eea998-f6a1-11ed-9953-da7ad0900005", - "attributes": {"name": "event_config_write", "display_name": "Event Config - Write", "description": "Manage general event configuration such as API Emails.", - "created": "2023-05-20T00:00:57.864864+00:00", "group_name": "Events", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005", - "attributes": {"name": "security_monitoring_findings_write", "display_name": - "Security Monitoring Findings Write", "description": "Mute CSPM Findings.", - "created": "2023-05-23T21:45:42.705754+00:00", "group_name": "Cloud Security - Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", "attributes": {"name": "cloud_cost_management_read", - "display_name": "Cloud Cost Management Read", "description": "Read cloud cost - data such as cost metrics and tags.", "created": "2023-05-31T19:20:42.284425+00:00", - "group_name": "Cloud Cost Management", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005", - "attributes": {"name": "cloud_cost_management_write", "display_name": "Cloud - Cost Management Write", "description": "Configure cloud cost accounts and - global customizations.", "created": "2023-05-31T19:20:42.284425+00:00", "group_name": - "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "ace5cc0e-ff71-11ed-b518-da7ad0900005", "attributes": - {"name": "host_tags_write", "display_name": "Host Tags Write", "description": - "Add and change tags on hosts.", "created": "2023-05-31T05:12:01.547070+00:00", - "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "48d8ce74-0065-11ee-9c16-da7ad0900005", "attributes": - {"name": "ci_visibility_pipelines_write", "display_name": "CI Visibility Pipelines - Write", "description": "Create CI Visibility pipeline spans using the API.", - "created": "2023-06-01T10:15:50.891463+00:00", "group_name": "CI Visibility", - "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "3276c638-0ebe-11ee-9428-da7ad0900005", "attributes": {"name": "quality_gate_rules_read", - "display_name": "Quality Gate Rules Read", "description": "View Quality Gate - Rules.", "created": "2023-06-19T16:27:34.826612+00:00", "group_name": "CI - Visibility", "display_type": "read", "restricted": false}}, {"type": "permissions", - "id": "3276cf02-0ebe-11ee-9428-da7ad0900005", "attributes": {"name": "quality_gate_rules_write", - "display_name": "Quality Gate Rules Write", "description": "Edit Quality Gate - Rules.", "created": "2023-06-19T16:27:34.826612+00:00", "group_name": "CI - Visibility", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "ffb0167e-11e1-11ee-8f46-da7ad0900005", "attributes": {"name": "metrics_metadata_write", - "display_name": "Metrics Metadata Write", "description": "Edit metadata on - metrics.", "created": "2023-06-23T16:21:25.009293+00:00", "group_name": "Metrics", + false}}, {"type": "permissions", "id": "619b2642-f41b-11ed-b4e1-da7ad0900005", + "attributes": {"name": "event_correlation_config_read", "display_name": "Event + Correlation Config Read", "description": "Read Event Correlation Configuration + data such as Correlation Rules and Settings.", "created": "2023-05-16T18:56:35.719150+00:00", + "group_name": "Events", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "619b8f9c-f41b-11ed-b4e1-da7ad0900005", "attributes": + {"name": "event_correlation_config_write", "display_name": "Event Correlation + Config Write", "description": "Manage Event Correlation Configuration such + as Correlation Rules and Settings.", "created": "2023-05-16T18:56:35.719150+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "65eea998-f6a1-11ed-9953-da7ad0900005", "attributes": + {"name": "event_config_write", "display_name": "Event Config Write", "description": + "Manage general event configuration such as API Emails.", "created": "2023-05-20T00:00:57.864864+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005", "attributes": + {"name": "security_monitoring_findings_write", "display_name": "Security Monitoring + Findings Write", "description": "Mute CSPM Findings.", "created": "2023-05-23T21:45:42.705754+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", + "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud + Cost Management Read", "description": "Read cloud cost data such as cost metrics + and tags.", "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud + Cost Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005", "attributes": + {"name": "cloud_cost_management_write", "display_name": "Cloud Cost Management + Write", "description": "Configure cloud cost accounts and global customizations.", + "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316b75c-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "rum_delete_data", - "display_name": "RUM Delete Data", "description": "Delete data from RUM.", - "created": "2023-06-12T16:36:20.819036+00:00", "group_name": "Real User Monitoring", + "ace5cc0e-ff71-11ed-b518-da7ad0900005", "attributes": {"name": "host_tags_write", + "display_name": "Host Tags Write", "description": "Add and change tags on + hosts.", "created": "2023-05-31T05:12:01.547070+00:00", "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316826e-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "appsec_vm_write", - "display_name": "Application Security Vulnerability Management Write", "description": - "Update status or assignee of Application Security vulnerabilities.", "created": - "2023-06-12T16:36:20.819036+00:00", "group_name": "Cloud Security Platform", + "48d8ce74-0065-11ee-9c16-da7ad0900005", "attributes": {"name": "ci_visibility_pipelines_write", + "display_name": "CI Visibility Pipelines Write", "description": "Create CI + Visibility pipeline spans using the API.", "created": "2023-06-01T10:15:50.891463+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "3276c638-0ebe-11ee-9428-da7ad0900005", "attributes": + {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", + "description": "View Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "3276cf02-0ebe-11ee-9428-da7ad0900005", "attributes": + {"name": "quality_gate_rules_write", "display_name": "Quality Gate Rules Write", + "description": "Edit Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "ffb0167e-11e1-11ee-8f46-da7ad0900005", "attributes": + {"name": "metrics_metadata_write", "display_name": "Metrics Metadata Write", + "description": "Edit metadata on metrics.", "created": "2023-06-23T16:21:25.009293+00:00", + "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "4316b75c-093f-11ee-98e9-da7ad0900005", "attributes": + {"name": "rum_delete_data", "display_name": "RUM Delete Data", "description": + "Delete data from RUM.", "created": "2023-06-12T16:36:20.819036+00:00", "group_name": + "Real User Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "4316826e-093f-11ee-98e9-da7ad0900005", "attributes": + {"name": "appsec_vm_write", "display_name": "Application Security Vulnerability + Management Write", "description": "Update status or assignee of Application + Security vulnerabilities.", "created": "2023-06-12T16:36:20.819036+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "4316b5b8-093f-11ee-98e9-da7ad0900005", + "attributes": {"name": "reference_tables_write", "display_name": "Reference + Tables Write", "description": "Create or modify Reference Tables.", "created": + "2023-06-12T16:36:20.819036+00:00", "group_name": "Reference Tables", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "13a7297c-1ce3-11ee-b01a-da7ad0900005", + "attributes": {"name": "rum_playlist_write", "display_name": "RUM Playlist + Write", "description": "Create, update, and delete RUM playlists. Add and + remove sessions from RUM playlists.", "created": "2023-07-07T16:26:50.792866+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "eadf64b2-2199-11ee-9a0e-da7ad0900005", + "attributes": {"name": "observability_pipelines_delete", "display_name": "Pipeline + Delete", "description": "Delete pipelines from your organization.", "created": + "2023-07-13T16:25:44.923503+00:00", "group_name": "Observability Pipelines", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316b5b8-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "reference_tables_write", - "display_name": "Reference Tables Write", "description": "Create or modify - Reference Tables.", "created": "2023-06-12T16:36:20.819036+00:00", "group_name": - "Reference Tables", "display_type": "write", "restricted": false}}]}' + "eadf675a-2199-11ee-9a0e-da7ad0900005", "attributes": {"name": "observability_pipelines_deploy", + "display_name": "Pipeline Deploy", "description": "Deploy pipelines in your + organization.", "created": "2023-07-13T16:25:44.923503+00:00", "group_name": + "Observability Pipelines", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "ef44c426-20d0-11ee-83e9-da7ad0900005", "attributes": + {"name": "processes_generate_metrics", "display_name": "Processes Generate + Metrics", "description": "Create custom metrics from processes.", "created": + "2023-07-12T16:27:03.457484+00:00", "group_name": "Processes", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "ef44613e-20d0-11ee-83e9-da7ad0900005", + "attributes": {"name": "api_keys_delete", "display_name": "API Keys Delete", + "description": "Delete API Keys for your organization.", "created": "2023-07-12T16:27:03.457484+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "55769e70-2c9a-11ee-a7df-da7ad0900005", + "attributes": {"name": "facets_write", "display_name": "Facets Write", "description": + "Manage facets for products other than Log Management, such as APM Traces. + To modify Log Facets, use Logs Write Facets.", "created": "2023-07-27T16:26:26.546986+00:00", + "group_name": "Cross-Product Features", "display_type": "write", "restricted": + false}}]}' headers: {} status: code: 200 diff --git a/tests/integration/cassettes/test_cli/TestCli.test_sync.frozen b/tests/integration/cassettes/test_cli/TestCli.test_sync.frozen index a2b37375..cd5d6bbf 100644 --- a/tests/integration/cassettes/test_cli/TestCli.test_sync.frozen +++ b/tests/integration/cassettes/test_cli/TestCli.test_sync.frozen @@ -1 +1 @@ -2023-07-13T11:44:30.260569-04:00 \ No newline at end of file +2023-08-24T10:05:55.640028-04:00 \ No newline at end of file diff --git a/tests/integration/cassettes/test_cli/TestCli.test_sync.yaml b/tests/integration/cassettes/test_cli/TestCli.test_sync.yaml index 2878e565..81ee96f0 100644 --- a/tests/integration/cassettes/test_cli/TestCli.test_sync.yaml +++ b/tests/integration/cassettes/test_cli/TestCli.test_sync.yaml @@ -9,47 +9,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000685050993328b82a-0985b1e0739c43cc-01 + - 00-0000000000000000f43d3fed31f10f9b-e926f083c57f717c-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '686150095814280140' + - '16800379908697059708' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '7516596396999882794' - method: GET - uri: https://api.datadoghq.eu/api/v1/synthetics/variables - response: - body: - string: '{"variables": []}' - headers: {} - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - traceparent: - - 00-0000000000000000f332624aa2429b1a-0d13a9bb9df1d815-01 - tracestate: - - dd=s:1;t.dm:-0 - x-datadog-parent-id: - - '942283370324416533' - x-datadog-sampling-priority: - - '1' - x-datadog-tags: - - _dd.p.dm=-0 - x-datadog-trace-id: - - '17524177172741397274' + - '17599293206811447195' method: GET uri: https://api.datadoghq.eu/api/v2/roles?page%5Bnumber%5D=0&page%5Bsize%5D=100 response: @@ -158,17 +128,53 @@ interactions: "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": "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"}]}}}], "meta": - {"page": {"total_count": 1, "total_filtered_count": 1}}}' + {"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": "55769e70-2c9a-11ee-a7df-da7ad0900005"}]}}}], + "meta": {"page": {"total_count": 1, "total_filtered_count": 1}}}' + headers: {} + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-00000000000000002c8cb320b336042e-ac78cebcc0a80a99-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '12427910481810295449' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '3210137587435308078' + method: GET + uri: https://api.datadoghq.eu/api/v1/synthetics/variables + response: + body: + string: '{"variables": []}' headers: {} status: code: 200 @@ -183,17 +189,17 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000d935c2802e289957-aefb9faa2ddb6550-01 + - 00-00000000000000003b5df6a0bdac2e82-008bab780189fa08-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '12608847135016445264' + - '39313553673026056' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '15651629935782041943' + - '4277846391309217410' method: GET uri: https://api.datadoghq.eu/api/v2/users?page%5Bnumber%5D=0&page%5Bsize%5D=100 response: @@ -222,8 +228,8 @@ interactions: {"data": [{"type": "roles", "id": "138d5c0c-bfcc-11eb-8e11-da7ad0900005"}]}, "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, {"type": "users", "id": "5a322106-c891-11eb-873a-da7ad0900005", "attributes": - {"name": "test-user", "handle": "new@example.com", "created_at": "2021-06-08T19:40:17.395117+00:00", - "modified_at": "2023-07-13T15:39:17.451067+00:00", "email": "new@example.com", + {"name": "test-userupdated", "handle": "new@example.com", "created_at": "2021-06-08T19:40:17.395117+00:00", + "modified_at": "2023-07-13T18:37:18.624907+00:00", "email": "new@example.com", "icon": "https://secure.gravatar.com/avatar/b681d72feaf8bf6a93d9a8ab86679ec3?s=48&d=retro", "title": null, "verified": false, "service_account": false, "disabled": true, "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": @@ -246,7 +252,7 @@ interactions: "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, {"type": "users", "id": "e0c5d064-c7b0-11eb-944d-da7ad0900005", "attributes": {"name": "None+ updated", "handle": "test-user-example@datadoghq.com", "created_at": - "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-07-13T15:39:17.714532+00:00", + "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-07-13T15:45:28.291767+00:00", "email": "test-user-example@datadoghq.com", "icon": "https://secure.gravatar.com/avatar/034ab28ed9a3b29bccdb4d7b94cd7e03?s=48&d=retro", "title": null, "verified": false, "service_account": false, "disabled": true, "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": @@ -362,17 +368,23 @@ interactions: "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": "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": "f1666372-d87d-11e8-acac-6be484ba794a", "attributes": + {"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": "55769e70-2c9a-11ee-a7df-da7ad0900005"}]}}}, + {"type": "permissions", "id": "f1666372-d87d-11e8-acac-6be484ba794a", "attributes": {"name": "standard", "display_name": "Standard Access", "description": "View and edit components in your Datadog organization that do not have explicitly defined permissions.", "created": "2018-10-25T17:46:46.732810+00:00", "group_name": @@ -543,36 +555,35 @@ interactions: "created": "2020-09-17T20:37:16.471514+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "998aabac-f925-11ea-b43d-8f1f42f3894e", "attributes": {"name": "api_keys_write", - "display_name": "API Keys Write", "description": "Create, rename, and revoke - API Keys for your organization.", "created": "2020-09-17T20:37:27.331389+00:00", - "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb", - "attributes": {"name": "synthetics_global_variable_read", "display_name": - "Synthetics Global Variable Read", "description": "View, search, and use Synthetics - global variables.", "created": "2020-09-17T20:37:50.165103+00:00", "group_name": - "Synthetic Monitoring", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "ae2f8fbe-f925-11ea-b51c-67ba7de17f88", "attributes": - {"name": "synthetics_global_variable_write", "display_name": "Synthetics Global - Variable Write", "description": "Create, edit, and delete global variables - for Synthetics.", "created": "2020-09-17T20:38:01.966230+00:00", "group_name": - "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "b6858556-f925-11ea-9222-1f47b8677b93", "attributes": - {"name": "synthetics_read", "display_name": "Synthetics Read", "description": - "List and view configured Synthetic tests and test results.", "created": "2020-09-17T20:38:15.951574+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "bd5bb850-f925-11ea-a3a2-77cbb581c92a", - "attributes": {"name": "synthetics_write", "display_name": "Synthetics Write", - "description": "Create, edit, and delete Synthetic tests.", "created": "2020-09-17T20:38:27.421632+00:00", + "display_name": "API Keys Write", "description": "Create and rename API Keys + for your organization.", "created": "2020-09-17T20:37:27.331389+00:00", "group_name": + "API and Application Keys", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "a726d3bc-f925-11ea-8c05-476d8eebc4cb", "attributes": + {"name": "synthetics_global_variable_read", "display_name": "Synthetics Global + Variable Read", "description": "View, search, and use Synthetics global variables.", + "created": "2020-09-17T20:37:50.165103+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "ae2f8fbe-f925-11ea-b51c-67ba7de17f88", "attributes": {"name": "synthetics_global_variable_write", + "display_name": "Synthetics Global Variable Write", "description": "Create, + edit, and delete global variables for Synthetics.", "created": "2020-09-17T20:38:01.966230+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "ca8897be-f925-11ea-a3a2-d30492cbe671", - "attributes": {"name": "synthetics_default_settings_read", "display_name": - "Synthetics Default Settings Read", "description": "View the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:38:49.527477+00:00", - "group_name": "Synthetic Monitoring", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "cf223140-f925-11ea-a3a2-df370532bcf7", - "attributes": {"name": "synthetics_default_settings_write", "display_name": - "Synthetics Default Settings Write", "description": "Edit the default settings - for Synthetic Monitoring.", "created": "2020-09-17T20:38:57.244987+00:00", + false}}, {"type": "permissions", "id": "b6858556-f925-11ea-9222-1f47b8677b93", + "attributes": {"name": "synthetics_read", "display_name": "Synthetics Read", + "description": "List and view configured Synthetic tests and test results.", + "created": "2020-09-17T20:38:15.951574+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "bd5bb850-f925-11ea-a3a2-77cbb581c92a", "attributes": {"name": "synthetics_write", + "display_name": "Synthetics Write", "description": "Create, edit, and delete + Synthetic tests.", "created": "2020-09-17T20:38:27.421632+00:00", "group_name": + "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "ca8897be-f925-11ea-a3a2-d30492cbe671", "attributes": + {"name": "synthetics_default_settings_read", "display_name": "Synthetics Default + Settings Read", "description": "View the default settings for Synthetic Monitoring.", + "created": "2020-09-17T20:38:49.527477+00:00", "group_name": "Synthetic Monitoring", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "cf223140-f925-11ea-a3a2-df370532bcf7", "attributes": {"name": "synthetics_default_settings_write", + "display_name": "Synthetics Default Settings Write", "description": "Edit + the default settings for Synthetic Monitoring.", "created": "2020-09-17T20:38:57.244987+00:00", "group_name": "Synthetic Monitoring", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "5e21e4b6-0e1c-11eb-ab24-a3d385baf4ee", "attributes": {"name": "logs_write_facets", "display_name": "Logs Write Facets", @@ -832,15 +843,16 @@ interactions: logs.", "created": "2022-08-08T21:30:48.328740+00:00", "group_name": "Log Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005", "attributes": {"name": "watchdog_insights_read", - "display_name": "Watchdog Insights Read", "description": "View Watchdog Insights.", - "created": "2022-08-15T20:25:48.321553+00:00", "group_name": "Watchdog", "display_type": - "read", "restricted": false}}, {"type": "permissions", "id": "4758d632-248a-11ed-817b-da7ad0900005", - "attributes": {"name": "connections_resolve", "display_name": "Connections - Resolve", "description": "Resolve connections.", "created": "2022-08-25T15:26:23.943459+00:00", - "group_name": "Workflows", "display_type": "read", "restricted": false}}, - {"type": "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "attributes": - {"name": "appsec_protect_read", "display_name": "Application Security Management - Protect Read", "description": "View blocked attackers.", "created": "2022-10-27T09:25:59.057166+00:00", + "display_name": "Watchdog Insights Read", "description": "Deprecated. View + Watchdog Insights.", "created": "2022-08-15T20:25:48.321553+00:00", "group_name": + "Watchdog", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "4758d632-248a-11ed-817b-da7ad0900005", "attributes": {"name": "connections_resolve", + "display_name": "Connections Resolve", "description": "Resolve connections.", + "created": "2022-08-25T15:26:23.943459+00:00", "group_name": "Workflows", + "display_type": "read", "restricted": false}}, {"type": "permissions", "id": + "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_protect_read", + "display_name": "Application Security Management Protect Read", "description": + "View blocked attackers.", "created": "2022-10-27T09:25:59.057166+00:00", "group_name": "Cloud Security Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "5defc9e8-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_protect_write", "display_name": "Application @@ -940,12 +952,12 @@ interactions: "write", "restricted": false}}, {"type": "permissions", "id": "81e4434c-db35-11ed-a170-da7ad0900005", "attributes": {"name": "saved_views_write", "display_name": "Saved Views Write", "description": "Modify Saved Views across all Datadog products.", "created": - "2023-04-15T02:30:37.731056+00:00", "group_name": "Saved Views", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005", - "attributes": {"name": "client_tokens_read", "display_name": "Client Tokens - Read", "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.", "created": "2023-04-19T07:55:41.646942+00:00", + "2023-04-15T02:30:37.731056+00:00", "group_name": "Cross-Product Features", + "display_type": "write", "restricted": false}}, {"type": "permissions", "id": + "94c8a4da-de87-11ed-9e92-da7ad0900005", "attributes": {"name": "client_tokens_read", + "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T07:55:41.646942+00:00", "group_name": "API and Application Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "94c927e8-de87-11ed-9e92-da7ad0900005", "attributes": {"name": "client_tokens_write", "display_name": "Client Tokens @@ -953,74 +965,107 @@ interactions: tokens may be exposed client-side in JavaScript code for web browsers and other clients to send data to Datadog.", "created": "2023-04-19T07:55:41.646942+00:00", "group_name": "API and Application Keys", "display_type": "write", "restricted": - false}}, {"type": "permissions", "id": "65eea998-f6a1-11ed-9953-da7ad0900005", - "attributes": {"name": "event_config_write", "display_name": "Event Config - Write", "description": "Manage general event configuration such as API Emails.", - "created": "2023-05-20T00:00:57.864864+00:00", "group_name": "Events", "display_type": - "write", "restricted": false}}, {"type": "permissions", "id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005", - "attributes": {"name": "security_monitoring_findings_write", "display_name": - "Security Monitoring Findings Write", "description": "Mute CSPM Findings.", - "created": "2023-05-23T21:45:42.705754+00:00", "group_name": "Cloud Security - Platform", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", "attributes": {"name": "cloud_cost_management_read", - "display_name": "Cloud Cost Management Read", "description": "Read cloud cost - data such as cost metrics and tags.", "created": "2023-05-31T19:20:42.284425+00:00", - "group_name": "Cloud Cost Management", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005", - "attributes": {"name": "cloud_cost_management_write", "display_name": "Cloud - Cost Management Write", "description": "Configure cloud cost accounts and - global customizations.", "created": "2023-05-31T19:20:42.284425+00:00", "group_name": - "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "ace5cc0e-ff71-11ed-b518-da7ad0900005", "attributes": - {"name": "host_tags_write", "display_name": "Host Tags Write", "description": - "Add and change tags on hosts.", "created": "2023-05-31T05:12:01.547070+00:00", - "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": - "permissions", "id": "48d8ce74-0065-11ee-9c16-da7ad0900005", "attributes": - {"name": "ci_visibility_pipelines_write", "display_name": "CI Visibility Pipelines - Write", "description": "Create CI Visibility pipeline spans using the API.", - "created": "2023-06-01T10:15:50.891463+00:00", "group_name": "CI Visibility", - "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "3276c638-0ebe-11ee-9428-da7ad0900005", "attributes": {"name": "quality_gate_rules_read", - "display_name": "Quality Gate Rules Read", "description": "View Quality Gate - Rules.", "created": "2023-06-19T16:27:34.826612+00:00", "group_name": "CI - Visibility", "display_type": "read", "restricted": false}}, {"type": "permissions", - "id": "3276cf02-0ebe-11ee-9428-da7ad0900005", "attributes": {"name": "quality_gate_rules_write", - "display_name": "Quality Gate Rules Write", "description": "Edit Quality Gate - Rules.", "created": "2023-06-19T16:27:34.826612+00:00", "group_name": "CI - Visibility", "display_type": "write", "restricted": false}}, {"type": "permissions", - "id": "ffb0167e-11e1-11ee-8f46-da7ad0900005", "attributes": {"name": "metrics_metadata_write", - "display_name": "Metrics Metadata Write", "description": "Edit metadata on - metrics.", "created": "2023-06-23T16:21:25.009293+00:00", "group_name": "Metrics", + false}}, {"type": "permissions", "id": "619b2642-f41b-11ed-b4e1-da7ad0900005", + "attributes": {"name": "event_correlation_config_read", "display_name": "Event + Correlation Config Read", "description": "Read Event Correlation Configuration + data such as Correlation Rules and Settings.", "created": "2023-05-16T18:56:35.719150+00:00", + "group_name": "Events", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "619b8f9c-f41b-11ed-b4e1-da7ad0900005", "attributes": + {"name": "event_correlation_config_write", "display_name": "Event Correlation + Config Write", "description": "Manage Event Correlation Configuration such + as Correlation Rules and Settings.", "created": "2023-05-16T18:56:35.719150+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "65eea998-f6a1-11ed-9953-da7ad0900005", "attributes": + {"name": "event_config_write", "display_name": "Event Config Write", "description": + "Manage general event configuration such as API Emails.", "created": "2023-05-20T00:00:57.864864+00:00", + "group_name": "Events", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "2a92b62c-f9b3-11ed-9a97-da7ad0900005", "attributes": + {"name": "security_monitoring_findings_write", "display_name": "Security Monitoring + Findings Write", "description": "Mute CSPM Findings.", "created": "2023-05-23T21:45:42.705754+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", + "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud + Cost Management Read", "description": "Read cloud cost data such as cost metrics + and tags.", "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud + Cost Management", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "3c06647c-ffe8-11ed-b4b4-da7ad0900005", "attributes": + {"name": "cloud_cost_management_write", "display_name": "Cloud Cost Management + Write", "description": "Configure cloud cost accounts and global customizations.", + "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud Cost Management", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316b75c-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "rum_delete_data", - "display_name": "RUM Delete Data", "description": "Delete data from RUM.", - "created": "2023-06-12T16:36:20.819036+00:00", "group_name": "Real User Monitoring", + "ace5cc0e-ff71-11ed-b518-da7ad0900005", "attributes": {"name": "host_tags_write", + "display_name": "Host Tags Write", "description": "Add and change tags on + hosts.", "created": "2023-05-31T05:12:01.547070+00:00", "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316826e-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "appsec_vm_write", - "display_name": "Application Security Vulnerability Management Write", "description": - "Update status or assignee of Application Security vulnerabilities.", "created": - "2023-06-12T16:36:20.819036+00:00", "group_name": "Cloud Security Platform", + "48d8ce74-0065-11ee-9c16-da7ad0900005", "attributes": {"name": "ci_visibility_pipelines_write", + "display_name": "CI Visibility Pipelines Write", "description": "Create CI + Visibility pipeline spans using the API.", "created": "2023-06-01T10:15:50.891463+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "3276c638-0ebe-11ee-9428-da7ad0900005", "attributes": + {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", + "description": "View Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": false}}, + {"type": "permissions", "id": "3276cf02-0ebe-11ee-9428-da7ad0900005", "attributes": + {"name": "quality_gate_rules_write", "display_name": "Quality Gate Rules Write", + "description": "Edit Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + "group_name": "CI Visibility", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "ffb0167e-11e1-11ee-8f46-da7ad0900005", "attributes": + {"name": "metrics_metadata_write", "display_name": "Metrics Metadata Write", + "description": "Edit metadata on metrics.", "created": "2023-06-23T16:21:25.009293+00:00", + "group_name": "Metrics", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "4316b75c-093f-11ee-98e9-da7ad0900005", "attributes": + {"name": "rum_delete_data", "display_name": "RUM Delete Data", "description": + "Delete data from RUM.", "created": "2023-06-12T16:36:20.819036+00:00", "group_name": + "Real User Monitoring", "display_type": "write", "restricted": false}}, {"type": + "permissions", "id": "4316826e-093f-11ee-98e9-da7ad0900005", "attributes": + {"name": "appsec_vm_write", "display_name": "Application Security Vulnerability + Management Write", "description": "Update status or assignee of Application + Security vulnerabilities.", "created": "2023-06-12T16:36:20.819036+00:00", + "group_name": "Cloud Security Platform", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "4316b5b8-093f-11ee-98e9-da7ad0900005", + "attributes": {"name": "reference_tables_write", "display_name": "Reference + Tables Write", "description": "Create or modify Reference Tables.", "created": + "2023-06-12T16:36:20.819036+00:00", "group_name": "Reference Tables", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "13a7297c-1ce3-11ee-b01a-da7ad0900005", + "attributes": {"name": "rum_playlist_write", "display_name": "RUM Playlist + Write", "description": "Create, update, and delete RUM playlists. Add and + remove sessions from RUM playlists.", "created": "2023-07-07T16:26:50.792866+00:00", + "group_name": "Real User Monitoring", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "eadf64b2-2199-11ee-9a0e-da7ad0900005", + "attributes": {"name": "observability_pipelines_delete", "display_name": "Pipeline + Delete", "description": "Delete pipelines from your organization.", "created": + "2023-07-13T16:25:44.923503+00:00", "group_name": "Observability Pipelines", "display_type": "write", "restricted": false}}, {"type": "permissions", "id": - "4316b5b8-093f-11ee-98e9-da7ad0900005", "attributes": {"name": "reference_tables_write", - "display_name": "Reference Tables Write", "description": "Create or modify - Reference Tables.", "created": "2023-06-12T16:36:20.819036+00:00", "group_name": - "Reference Tables", "display_type": "write", "restricted": false}}], "meta": - {"page": {"total_count": 76, "total_filtered_count": 76}}}' + "eadf675a-2199-11ee-9a0e-da7ad0900005", "attributes": {"name": "observability_pipelines_deploy", + "display_name": "Pipeline Deploy", "description": "Deploy pipelines in your + organization.", "created": "2023-07-13T16:25:44.923503+00:00", "group_name": + "Observability Pipelines", "display_type": "write", "restricted": false}}, + {"type": "permissions", "id": "ef44c426-20d0-11ee-83e9-da7ad0900005", "attributes": + {"name": "processes_generate_metrics", "display_name": "Processes Generate + Metrics", "description": "Create custom metrics from processes.", "created": + "2023-07-12T16:27:03.457484+00:00", "group_name": "Processes", "display_type": + "write", "restricted": false}}, {"type": "permissions", "id": "ef44613e-20d0-11ee-83e9-da7ad0900005", + "attributes": {"name": "api_keys_delete", "display_name": "API Keys Delete", + "description": "Delete API Keys for your organization.", "created": "2023-07-12T16:27:03.457484+00:00", + "group_name": "API and Application Keys", "display_type": "write", "restricted": + false}}, {"type": "permissions", "id": "55769e70-2c9a-11ee-a7df-da7ad0900005", + "attributes": {"name": "facets_write", "display_name": "Facets Write", "description": + "Manage facets for products other than Log Management, such as APM Traces. + To modify Log Facets, use Logs Write Facets.", "created": "2023-07-27T16:26:26.546986+00:00", + "group_name": "Cross-Product Features", "display_type": "write", "restricted": + false}}], "meta": {"page": {"total_count": 76, "total_filtered_count": 76}}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "HTTP Test", "status": "paused", "type": "api", "tags": [], "config": - {"request": {"url": "https://google.com", "method": "GET"}, "assertions": [{"operator": - "lessThan", "type": "responseTime", "target": 1000}, {"operator": "is", "type": - "statusCode", "target": 301}, {"operator": "is", "property": "content-type", - "type": "header", "target": "text/html; charset=UTF-8"}]}, "message": "Test - synthetics ", "options": {"retry": {"count": 1, "interval": 300}, "tick_every": - 604800, "monitor_options": {"include_tags": true, "notify_audit": false, "new_host_delay": - 300, "on_missing_data": "show_no_data", "renotify_interval": 120}, "monitor_priority": - 3, "min_location_failed": 1, "min_failure_duration": 120}, "locations": ["aws:ca-central-1"], - "subtype": "http"}' + body: '{"type": "query alert", "name": "Composite monitor - Child 2", "message": + "Test monitor ----------------", "tags": ["test:foo", "test_two:bar"], "query": + "avg(last_5m):avg:datadog.estimated_usage.hosts{*} > 50", "options": {"thresholds": + {"critical": 50.0}, "notify_audit": false, "require_full_window": true, "notify_no_data": + false, "renotify_interval": 0, "timeout_h": 0, "include_tags": true, "no_data_timeframe": + null, "escalation_message": "", "new_host_delay": 300, "silenced": {}}, "multi": + false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -1029,57 +1074,45 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000790b2a917e56ad20-c23cd9f3cc3d16f1-01 + - 00-0000000000000000b2b73df446f84eda-f967e84b20f05c8f-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '13996301383087494897' + - '17971588247418068111' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '8722111907711331616' + - '12877829778861215450' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"public_id": "vws-tex-mrw", "name": "HTTP Test", "status": "paused", - "type": "api", "tags": [], "created_at": "2023-07-13T15:44:31.240070+00:00", - "modified_at": "2023-07-13T15:44:31.240070+00:00", "config": {"request": {"url": - "https://google.com", "method": "GET"}, "assertions": [{"operator": "lessThan", - "type": "responseTime", "target": 1000}, {"operator": "is", "type": "statusCode", - "target": 301}, {"operator": "is", "property": "content-type", "type": "header", - "target": "text/html; charset=UTF-8"}]}, "message": "Test synthetics ", "options": - {"retry": {"count": 1, "interval": 300}, "tick_every": 604800, "monitor_options": - {"include_tags": true, "notify_audit": false, "new_host_delay": 300, "on_missing_data": - "show_no_data", "renotify_interval": 120}, "monitor_priority": 3, "min_location_failed": - 1, "min_failure_duration": 120}, "locations": ["aws:ca-central-1"], "subtype": - "http", "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", "email": - "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12076928, "org_id": - 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com"}}' + string: '{"id": 12742199, "org_id": 1000044987, "type": "query alert", "name": + "Composite monitor - Child 2", "message": "Test monitor ----------------", + "tags": ["test:foo", "test_two:bar"], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} + > 50", "options": {"thresholds": {"critical": 50.0}, "notify_audit": false, + "require_full_window": true, "notify_no_data": false, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "new_host_delay": 300, "silenced": {}}, "multi": false, "created_at": + 1692885956000, "created": "2023-08-24T14:05:56.557362+00:00", "modified": + "2023-08-24T14:05:56.557362+00:00", "deleted": null, "restricted_roles": null, + "priority": null, "overall_state_modified": null, "overall_state": "No Data", + "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", + "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "status": "live", "type": "api", "tags": ["testing:api"], "config": {"request": - {"certificate": {"cert": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": - "cert-filename"}, "key": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": - "key-filename"}}, "url": "https://datadoghq.com", "headers": {"unique": "testtriggersyntheticstestsreturnsokresponse1666783270"}, - "proxy": {"url": "https://datadoghq.com", "headers": {}}, "timeout": 10, "method": - "GET"}, "assertions": [{"operator": "is", "property": "{{ PROPERTY }}", "type": - "header", "target": "text/html"}, {"operator": "lessThan", "type": "responseTime", - "target": 2000}, {"operator": "validatesJSONPath", "type": "body", "target": - {"operator": "isNot", "targetValue": "0", "jsonPath": "topKey"}}], "configVariables": - [{"pattern": "content-type", "type": "text", "example": "content-type", "name": - "PROPERTY"}]}, "message": "BDD test payload: synthetics_api_http_test_payload.json", - "options": {"accept_self_signed": false, "retry": {"count": 3, "interval": 10}, - "min_location_failed": 1, "allow_insecure": true, "follow_redirects": true, - "min_failure_duration": 10, "monitor_priority": 5, "monitor_name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "tick_every": 60}, "locations": ["aws:us-east-2"], "subtype": "http"}' + body: '{"type": "query alert", "name": "Composite monitor - child 1", "message": + "Composite monitor - child 1", "tags": ["test:foo"], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} + > 20", "options": {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": + false, "require_full_window": true, "notify_no_data": false, "renotify_interval": + 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, + "multi": false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -1088,53 +1121,44 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000ce56bf06f1fc915b-9f9ec8a24d60be29-01 + - 00-00000000000000000b2399b8be5805ad-a0f613d3631e5efb-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '11501851097759268393' + - '11598479688961253115' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '14868281256360841563' + - '802654177348552109' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"public_id": "vi2-mns-2uh", "name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "status": "live", "type": "api", "tags": ["testing:api"], "created_at": "2023-07-13T15:44:31.934989+00:00", - "modified_at": "2023-07-13T15:44:31.934989+00:00", "config": {"request": {"certificate": - {"cert": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "cert-filename"}, - "key": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "key-filename"}}, - "url": "https://datadoghq.com", "headers": {"unique": "testtriggersyntheticstestsreturnsokresponse1666783270"}, - "proxy": {"url": "https://datadoghq.com", "headers": {}}, "timeout": 10, "method": - "GET"}, "assertions": [{"operator": "is", "property": "{{ PROPERTY }}", "type": - "header", "target": "text/html"}, {"operator": "lessThan", "type": "responseTime", - "target": 2000}, {"operator": "validatesJSONPath", "type": "body", "target": - {"operator": "isNot", "targetValue": "0", "jsonPath": "topKey"}}], "configVariables": - [{"pattern": "content-type", "type": "text", "example": "content-type", "name": - "PROPERTY"}]}, "message": "BDD test payload: synthetics_api_http_test_payload.json", - "options": {"accept_self_signed": false, "retry": {"count": 3, "interval": - 10}, "min_location_failed": 1, "allow_insecure": true, "follow_redirects": - true, "min_failure_duration": 10, "monitor_priority": 5, "monitor_name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", - "tick_every": 60}, "locations": ["aws:us-east-2"], "subtype": "http", "created_by": - {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}, - "deleted_at": null, "monitor_id": 12076929, "org_id": 1000044987, "modified_by": - {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}' + string: '{"id": 12742200, "org_id": 1000044987, "type": "query alert", "name": + "Composite monitor - child 1", "message": "Composite monitor - child 1", "tags": + ["test:foo"], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} + > 20", "options": {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": + false, "require_full_window": true, "notify_no_data": false, "renotify_interval": + 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, + "multi": false, "created_at": 1692885956000, "created": "2023-08-24T14:05:56.824143+00:00", + "modified": "2023-08-24T14:05:56.824143+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": null, "overall_state": "No + Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": + "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "TCP Test", "status": "live", "type": "api", "tags": ["foo:bar", - "foo", "env:test"], "config": {"request": {"host": "example.org", "port": 443}, - "assertions": [{"operator": "lessThan", "type": "responseTime", "target": 2000}]}, - "message": "Notify @pagerduty", "options": {"monitor_options": {"notify_audit": - false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0}, "tick_every": 900, "min_location_failed": 1}, "locations": - ["aws:eu-central-1"], "subtype": "tcp"}' + body: '{"type": "service check", "name": "Host monitor", "message": "Test host + monitor", "tags": ["service:daimler-health-service"], "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", + "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": + false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": + {}}, "multi": true, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -1143,45 +1167,46 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000c621204fac0c5461-19ea16d118928ca7-01 + - 00-0000000000000000ee3f801517c1eae6-13e68b7775407bcf-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '1867330082814725287' + - '1433986876548611023' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '14276727820302177377' + - '17167581132640873190' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"public_id": "2ha-4cg-qrg", "name": "TCP Test", "status": "live", - "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2023-07-13T15:44:32.401837+00:00", - "modified_at": "2023-07-13T15:44:32.401837+00:00", "config": {"request": {"host": - "example.org", "port": 443}, "assertions": [{"operator": "lessThan", "type": - "responseTime", "target": 2000}]}, "message": "Notify @pagerduty", "options": - {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": - 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": - 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": - "tcp", "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", "email": - "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12076930, "org_id": - 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com"}}' + string: '{"id": 12742201, "org_id": 1000044987, "type": "service check", "name": + "Host monitor", "message": "Test host monitor", "tags": ["service:daimler-health-service"], + "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", + "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": + false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": + {}}, "multi": true, "created_at": 1692885957000, "created": "2023-08-24T14:05:57.116961+00:00", + "modified": "2023-08-24T14:05:57.116961+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": null, "overall_state": "No + Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": + "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "SSL Test", "status": "live", "type": "api", "tags": ["foo:bar", - "foo", "env:test"], "config": {"request": {"host": "example.org", "port": 443}, - "assertions": [{"operator": "isInMoreThan", "type": "certificate", "target": - 30}]}, "message": "Notify @pagerduty", "options": {"accept_self_signed": true, - "monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": - 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "min_location_failed": - 1, "tick_every": 900}, "locations": ["aws:eu-central-1"], "subtype": "ssl"}' + body: '{"type": "query alert", "name": "Anomaly monitor", "message": "Anomaly + monitor", "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, + ''basic'', 2, direction=''both'', alert_window=''last_15m'', interval=60, count_default_zero=''true'') + >= 1", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": + true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": + 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": + "", "threshold_windows": {"recovery_window": "last_15m", "trigger_window": "last_15m"}, + "thresholds": {"critical": 1.0, "critical_recovery": 0.0}, "silenced": {}}, + "multi": false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -1190,40 +1215,46 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000e7c8ecc69d45c534-cc7aff66ae5ba226-01 + - 00-00000000000000003c712fce79b9c49d-5390d4d9807365eb-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '14734369947372986918' + - '6021546732422391275' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16701859555889759540' + - '4355314878495966365' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"public_id": "nyw-u8b-gfd", "name": "SSL Test", "status": "live", - "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2023-07-13T15:44:32.946169+00:00", - "modified_at": "2023-07-13T15:44:32.946169+00:00", "config": {"request": {"host": - "example.org", "port": 443}, "assertions": [{"operator": "isInMoreThan", "type": - "certificate", "target": 30}]}, "message": "Notify @pagerduty", "options": - {"accept_self_signed": true, "monitor_options": {"notify_audit": false, "include_tags": - true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0}, "min_location_failed": 1, "tick_every": 900}, "locations": ["aws:eu-central-1"], - "subtype": "ssl", "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12076931, - "org_id": 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com"}}' + string: '{"id": 12742202, "org_id": 1000044987, "type": "query alert", "name": + "Anomaly monitor", "message": "Anomaly monitor", "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, + ''basic'', 2, direction=''both'', alert_window=''last_15m'', interval=60, + count_default_zero=''true'') >= 1", "options": {"notify_audit": false, "locked": + false, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "require_full_window": + true, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": + 0, "escalation_message": "", "threshold_windows": {"recovery_window": "last_15m", + "trigger_window": "last_15m"}, "thresholds": {"critical": 1.0, "critical_recovery": + 0.0}, "silenced": {}}, "multi": false, "created_at": 1692885957000, "created": + "2023-08-24T14:05:57.426885+00:00", "modified": "2023-08-24T14:05:57.426885+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "TEST_VARIABLE", "description": "test", "type": "variable", "tags": - ["check_type:api"], "value": {"secure": false, "value": "TESTVALUELETSSEEdadsddsadsadadsadsad"}}' + body: '{"type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} + stopped reporting", "message": "Private location {{location_id.name}} stopped + reporting to Datadog.", "tags": [], "query": "min(last_5m):avg:synthetics.pl.worker.running{*} + by {location_id} < 1", "options": {"notify_audit": false, "locked": false, "include_tags": + true, "thresholds": {"critical": 1.0}, "new_host_delay": 300, "notify_no_data": + true, "silenced": {}}, "multi": true, "restricted_roles": null, "priority": + null}' headers: Accept: - '*/*' @@ -1232,38 +1263,47 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000001d636d24021792e4-2594b01ff4814ab1-01 + - 00-0000000000000000d88f764f6d6f9960-60e96f5516b064c8-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '2707982927249099441' + - '6983235108458226888' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2117656251215614692' + - '15604821317372582240' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/variables + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": "d1b9d99d-756a-45b1-a6aa-8a92158b18b6", "name": "TEST_VARIABLE", - "description": "test", "type": "variable", "tags": ["check_type:api"], "parse_test_public_id": - null, "parse_test_name": null, "parse_test_options": null, "parse_test_extracted_at": - null, "is_totp": null, "is_fido": null, "last_error": null, "value": {"secure": - false, "value": "TESTVALUELETSSEEdadsddsadsadadsadsad"}}' + string: '{"id": 12742203, "org_id": 1000044987, "type": "metric alert", "name": + "[Synthetic Private Locations] {{location_id.name}} stopped reporting", "message": + "Private location {{location_id.name}} stopped reporting to Datadog.", "tags": + [], "query": "min(last_5m):avg:synthetics.pl.worker.running{*} by {location_id} + < 1", "options": {"notify_audit": false, "locked": false, "include_tags": + true, "thresholds": {"critical": 1.0}, "new_host_delay": 300, "notify_no_data": + true, "silenced": {}}, "multi": true, "created_at": 1692885957000, "created": + "2023-08-24T14:05:57.718367+00:00", "modified": "2023-08-24T14:05:57.718367+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "DNS Test", "status": "live", "type": "api", "tags": ["foo:bar", - "foo", "env:test"], "config": {"request": {"host": "example.org"}, "assertions": - [{"operator": "is", "property": "A", "type": "recordSome", "target": "0.0.0.0"}]}, - "message": "Notify @pagerduty", "options": {"monitor_options": {"notify_audit": - false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0}, "tick_every": 900, "min_location_failed": 1}, "locations": - ["aws:eu-central-1"], "subtype": "dns"}' + body: '{"type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} + uses an outdated image version", "message": "Private location {{location_id.name}} + is running an outdated image version. Learn more about the current version in + use on your [Private locations page](https://app.datadoghq.com/synthetics/settings/private-locations?id={{location_id.name}}) + and upgrade workers to the most recent version of the image by pulling the `datadog/synthetics-private-location-worker` + image with the `latest` tag.", "tags": [], "query": "max(last_15m):sum:synthetics.pl.worker.outdated{*} + by {location_id} > 0", "options": {"notify_audit": false, "locked": false, "include_tags": + true, "thresholds": {"critical": 0.0}, "new_host_delay": 300, "notify_no_data": + false, "silenced": {}}, "multi": true, "restricted_roles": null, "priority": + null}' headers: Accept: - '*/*' @@ -1272,50 +1312,49 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000063611db0fa3f42e9-76be271984ca19a2-01 + - 00-00000000000000001bb1a2a3fc93ef82-65703df5d8bd18c0-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '8556319332606024098' + - '7309410321334868160' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '7161037528445698793' + - '1995554935102762882' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"public_id": "3zu-dch-xv6", "name": "DNS Test", "status": "live", - "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2023-07-13T15:44:33.896249+00:00", - "modified_at": "2023-07-13T15:44:33.896249+00:00", "config": {"request": {"host": - "example.org"}, "assertions": [{"operator": "is", "property": "A", "type": - "recordSome", "target": "0.0.0.0"}]}, "message": "Notify @pagerduty", "options": - {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": - 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": - 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": - "dns", "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", "email": - "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12076932, "org_id": - 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com"}}' + string: '{"id": 12742204, "org_id": 1000044987, "type": "metric alert", "name": + "[Synthetic Private Locations] {{location_id.name}} uses an outdated image + version", "message": "Private location {{location_id.name}} is running an + outdated image version. Learn more about the current version in use on your + [Private locations page](https://app.datadoghq.com/synthetics/settings/private-locations?id={{location_id.name}}) + and upgrade workers to the most recent version of the image by pulling the + `datadog/synthetics-private-location-worker` image with the `latest` tag.", + "tags": [], "query": "max(last_15m):sum:synthetics.pl.worker.outdated{*} by + {location_id} > 0", "options": {"notify_audit": false, "locked": false, "include_tags": + true, "thresholds": {"critical": 0.0}, "new_host_delay": 300, "notify_no_data": + false, "silenced": {}}, "multi": true, "created_at": 1692885958000, "created": + "2023-08-24T14:05:58.078025+00:00", "modified": "2023-08-24T14:05:58.078025+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "Multistep API Test", "status": "live", "type": "api", "tags": - ["check_type:api", "env:test", "test:update"], "config": {"steps": [{"retry": - {"count": 0, "interval": 300}, "name": "Test on datadoghq.com", "request": {"url": - "https://datadoghq.com", "headers": {"content-type": "text/html"}, "method": - "GET"}, "subtype": "http", "allowFailure": false, "extractedValues": [], "isCritical": - true, "id": "vek-567-n38", "assertions": [{"operator": "lessThan", "type": "responseTime", - "target": 1000}, {"operator": "is", "type": "statusCode", "target": 301}]}], - "configVariables": []}, "message": "", "options": {"monitor_options": {"notify_audit": - false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0}, "retry": {"count": 0, "interval": 300}, "min_location_failed": - 1, "min_failure_duration": 0, "tick_every": 604800}, "locations": ["aws:sa-east-1"], - "subtype": "multi"}' + body: '{"type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} + is underprovisioned", "message": "Private location {{location_id.name}} is underprovisioned.\nVisit + this [documentation page](https://docs.datadoghq.com/synthetics/private_locations/?tab=docker#dimension-your-private-location) + to learn how to scale your private location.", "tags": [], "query": "avg(last_30m):avg:synthetics.pl.worker.remaining_slots{*} + by {location_id} < 1.5", "options": {"notify_audit": false, "locked": false, + "include_tags": true, "thresholds": {"critical": 1.5}, "new_host_delay": 300, + "notify_no_data": false, "silenced": {}}, "multi": true, "restricted_roles": + null, "priority": null}' headers: Accept: - '*/*' @@ -1324,52 +1363,45 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000003e7381f8d58a27c2-5504be7680ced57d-01 + - 00-0000000000000000d4e895cd42d5a99e-c35c1e295a5c68c6-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '6126230809307174269' + - '14077159698211825862' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4500083358407731138' + - '15341676839459727774' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"public_id": "szc-8rx-848", "name": "Multistep API Test", "status": - "live", "type": "api", "tags": ["check_type:api", "env:test", "test:update"], - "created_at": "2023-07-13T15:44:34.475429+00:00", "modified_at": "2023-07-13T15:44:34.475429+00:00", - "config": {"steps": [{"retry": {"count": 0, "interval": 300}, "name": "Test - on datadoghq.com", "request": {"url": "https://datadoghq.com", "headers": - {"content-type": "text/html"}, "method": "GET"}, "subtype": "http", "allowFailure": - false, "extractedValues": [], "isCritical": true, "id": "vek-567-n38", "assertions": - [{"operator": "lessThan", "type": "responseTime", "target": 1000}, {"operator": - "is", "type": "statusCode", "target": 301}]}], "configVariables": []}, "message": - "", "options": {"monitor_options": {"notify_audit": false, "include_tags": - true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": - 0}, "retry": {"count": 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": - 0, "tick_every": 604800}, "locations": ["aws:sa-east-1"], "subtype": "multi", - "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}, - "deleted_at": null, "monitor_id": 12076933, "org_id": 1000044987, "modified_by": - {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}' + string: '{"id": 12742205, "org_id": 1000044987, "type": "metric alert", "name": + "[Synthetic Private Locations] {{location_id.name}} is underprovisioned", + "message": "Private location {{location_id.name}} is underprovisioned.\nVisit + this [documentation page](https://docs.datadoghq.com/synthetics/private_locations/?tab=docker#dimension-your-private-location) + to learn how to scale your private location.", "tags": [], "query": "avg(last_30m):avg:synthetics.pl.worker.remaining_slots{*} + by {location_id} < 1.5", "options": {"notify_audit": false, "locked": false, + "include_tags": true, "thresholds": {"critical": 1.5}, "new_host_delay": 300, + "notify_no_data": false, "silenced": {}}, "multi": true, "created_at": 1692885958000, + "created": "2023-08-24T14:05:58.363692+00:00", "modified": "2023-08-24T14:05:58.363692+00:00", + "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": + null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"data": {"type": "roles", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345"}, - "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, - {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": - "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", - "id": "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": - "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, - {"type": "permissions", "id": "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": - "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, {"type": "permissions", - "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": - "3276c638-0ebe-11ee-9428-da7ad0900005"}]}}}}' + body: '{"type": "event-v2 alert", "name": "Test event monitor", "message": "Test + event monitor", "tags": [], "query": "events(\"\").rollup(\"count\").last(\"5m\") + > 100", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, + "include_tags": true, "restriction_query": null, "new_host_delay": 300, "notify_no_data": + false, "renotify_interval": 0, "groupby_simple_monitor": true, "enable_logs_sample": + false, "escalation_message": "", "thresholds": {"critical": 100.0}, "silenced": + {}}, "multi": false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -1378,41 +1410,43 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000a430534df62b6198-0e642bc2bf703d6d-01 + - 00-00000000000000000fc16df5adb9e9de-d54564f2a65d1940-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '1037001929637510509' + - '15367800296807668032' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11831047815409918360' + - '1135309483023133150' method: POST - uri: https://api.datadoghq.eu/api/v2/roles + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"data": {"type": "roles", "id": "2aadca3a-2194-11ee-824f-da7ad0900005", - "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", - "created_at": "2023-07-13T15:44:34.996059+00:00", "modified_at": "2023-07-13T15:44:35.043637+00:00"}, - "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, - {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": - "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", - "id": "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": - "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, - {"type": "permissions", "id": "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": - "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, {"type": "permissions", - "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": - "3276c638-0ebe-11ee-9428-da7ad0900005"}]}}}}' + string: '{"id": 12742206, "org_id": 1000044987, "type": "event-v2 alert", "name": + "Test event monitor", "message": "Test event monitor", "tags": [], "query": + "events(\"\").rollup(\"count\").last(\"5m\") > 100", "options": {"notify_audit": + false, "locked": false, "timeout_h": 0, "include_tags": true, "restriction_query": + null, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": + 0, "groupby_simple_monitor": true, "enable_logs_sample": false, "escalation_message": + "", "thresholds": {"critical": 100.0}, "silenced": {}}, "multi": false, "created_at": + 1692885958000, "created": "2023-08-24T14:05:58.654201+00:00", "modified": + "2023-08-24T14:05:58.654201+00:00", "deleted": null, "restricted_roles": null, + "priority": null, "overall_state_modified": null, "overall_state": "No Data", + "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", + "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1686121345", - "description": "a global variable", "type": "variable", "tags": ["foo:bar", - "baz"], "value": {"secure": false, "value": "variable-value"}}' + body: '{"name": "SLO test", "tags": [], "monitor_tags": [], "thresholds": [{"timeframe": + "7d", "target": 99.0, "target_display": "99."}], "type": "metric", "type_id": + 1, "description": "Test update creation", "timeframe": "7d", "target_threshold": + 99.0, "query": {"denominator": "sum:api.requests{*}.as_count()", "numerator": + "sum:api.requests.status_ok{*}.as_count()"}}' headers: Accept: - '*/*' @@ -1421,37 +1455,39 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000b590600a4b892b06-0211fdb5c1ffdc2f-01 + - 00-0000000000000000f6f61edec30323ba-e11999e403416737-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '149179219765615663' + - '16220164737537763127' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '13083062514844510982' + - '17795444919704429498' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/variables + uri: https://api.datadoghq.eu/api/v1/slo response: body: - string: '{"id": "23711b02-52c1-4481-802b-c01c5fabe6ca", "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1686121345", - "description": "a global variable", "type": "variable", "tags": ["foo:bar", - "baz"], "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": - null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"secure": false, "value": "variable-value"}}' + string: '{"data": [{"id": "9fb35ed46b6b5014961afe6928206468", "name": "SLO test", + "tags": [], "monitor_tags": [], "thresholds": [{"timeframe": "7d", "target": + 99.0, "target_display": "99."}], "type": "metric", "type_id": 1, "description": + "Test update creation", "timeframe": "7d", "target_threshold": 99.0, "query": + {"denominator": "sum:api.requests{*}.as_count()", "numerator": "sum:api.requests.status_ok{*}.as_count()"}, + "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}, + "created_at": 1692885959, "modified_at": 1692885959}], "error": null}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "service check", "name": "Host monitor", "message": "Test host - monitor", "tags": ["service:daimler-health-service"], "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", - "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": - false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": - 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": - {}}, "multi": true, "restricted_roles": null, "priority": null}' + body: '{"monitor_id": null, "start": 1777521600, "end": null, "canceled": null, + "message": "Sample downtime message", "disabled": false, "recurrence": null, + "timezone": "America/New_York", "parent_id": null, "downtime_type": 0, "status": + "scheduled", "monitor_tags": ["*"], "mute_first_recovery_notification": false, + "notify_end_types": ["expired"], "notify_end_states": ["alert", "no data", "warn"], + "scope": ["*"]}' headers: Accept: - '*/*' @@ -1460,44 +1496,39 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000435f7ec452b405ab-ba9d21b00de83157-01 + - 00-00000000000000005b1d93eea58a4c3e-1a1c668741709811-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '13446941102429450583' + - '1881491475438540817' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4854738304994903467' + - '6565566484964854846' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/downtime response: body: - string: '{"id": 12076934, "org_id": 1000044987, "type": "service check", "name": - "Host monitor", "message": "Test host monitor", "tags": ["service:daimler-health-service"], - "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", - "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": - false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": - 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": - {}}, "multi": true, "created_at": 1689263075000, "created": "2023-07-13T15:44:35.985792+00:00", - "modified": "2023-07-13T15:44:35.985792+00:00", "deleted": null, "restricted_roles": - null, "priority": null, "overall_state_modified": null, "overall_state": "No - Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": - "frog@datadoghq.com", "id": 1000219667}}' + string: '{"id": 282028173, "monitor_id": null, "org_id": 1000044987, "start": + 1777521600, "end": null, "canceled": null, "created": 1692885959, "modified": + 1692885959, "message": "Sample downtime message", "active": false, "disabled": + false, "recurrence": null, "timezone": "America/New_York", "parent_id": null, + "child_id": null, "creator_id": 1000219667, "updater_id": null, "downtime_type": + 0, "status": "scheduled", "monitor_tags": ["*"], "mute_first_recovery_notification": + false, "notify_end_types": ["expired"], "notify_end_states": ["alert", "no + data", "warn"], "uuid": "5a0980e4-4287-11ee-b300-da7ad0900005", "scope": ["*"]}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "query alert", "name": "Composite monitor - child 1", "message": - "Composite monitor - child 1", "tags": [], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} - > 20", "options": {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": - false, "require_full_window": true, "notify_no_data": false, "renotify_interval": - 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": - "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, - "multi": false, "restricted_roles": null, "priority": null}' + body: '{"monitor_id": null, "start": 1807675200, "end": null, "canceled": null, + "message": "Sample message", "disabled": false, "recurrence": null, "timezone": + "America/New_York", "parent_id": null, "downtime_type": 0, "status": "scheduled", + "monitor_tags": ["*"], "mute_first_recovery_notification": false, "notify_end_types": + ["expired"], "notify_end_states": ["alert", "no data", "warn"], "scope": ["*"]}' headers: Accept: - '*/*' @@ -1506,43 +1537,36 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000557ac72196664eb1-ba92d3b228676368-01 + - 00-0000000000000000d0f44e3709d00da9-1868590c886c6a86-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '13444040599789855592' + - '1758753564851464838' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '6159454387453710001' + - '15056745452501208489' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/downtime response: body: - string: '{"id": 12076935, "org_id": 1000044987, "type": "query alert", "name": - "Composite monitor - child 1", "message": "Composite monitor - child 1", "tags": - [], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} > 20", "options": - {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": false, - "require_full_window": true, "notify_no_data": false, "renotify_interval": - 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": - "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, - "multi": false, "created_at": 1689263076000, "created": "2023-07-13T15:44:36.454370+00:00", - "modified": "2023-07-13T15:44:36.454370+00:00", "deleted": null, "restricted_roles": - null, "priority": null, "overall_state_modified": null, "overall_state": "No - Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": - "frog@datadoghq.com", "id": 1000219667}}' + string: '{"id": 282028174, "monitor_id": null, "org_id": 1000044987, "start": + 1807675200, "end": null, "canceled": null, "created": 1692885959, "modified": + 1692885959, "message": "Sample message", "active": false, "disabled": false, + "recurrence": null, "timezone": "America/New_York", "parent_id": null, "child_id": + null, "creator_id": 1000219667, "updater_id": null, "downtime_type": 0, "status": + "scheduled", "monitor_tags": ["*"], "mute_first_recovery_notification": false, + "notify_end_types": ["expired"], "notify_end_states": ["alert", "no data", + "warn"], "uuid": "5a344fcc-4287-11ee-bbf9-da7ad0900005", "scope": ["*"]}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "SLO test", "tags": [], "monitor_tags": [], "thresholds": [{"timeframe": - "7d", "target": 99.0, "target_display": "99."}], "type": "metric", "type_id": - 1, "description": "Test update creation", "timeframe": "7d", "target_threshold": - 99.0, "query": {"denominator": "sum:api.requests{*}.as_count()", "numerator": - "sum:api.requests.status_ok{*}.as_count()"}}' + body: '{"description": "datadog-sync-cli test", "tags": ["key:value"], "name": + "Test Private Variable"}' headers: Accept: - '*/*' @@ -1551,28 +1575,29 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000043347ef279beeb5e-c1e5739664352993-01 + - 00-000000000000000079c2acce24e701a7-8c48faab0f5ef15f-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '13971700508750326163' + - '10108604976237310303' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4842635079219866462' + - '8773765025453506983' method: POST - uri: https://api.datadoghq.eu/api/v1/slo + uri: https://api.datadoghq.eu/api/v1/synthetics/private-locations response: body: - string: '{"data": [{"id": "22c2335dc3fe567496f602844803c7b3", "name": "SLO test", - "tags": [], "monitor_tags": [], "thresholds": [{"timeframe": "7d", "target": - 99.0, "target_display": "99."}], "type": "metric", "type_id": 1, "description": - "Test update creation", "timeframe": "7d", "target_threshold": 99.0, "query": - {"denominator": "sum:api.requests{*}.as_count()", "numerator": "sum:api.requests.status_ok{*}.as_count()"}, - "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}, - "created_at": 1689263076, "modified_at": 1689263076}], "error": null}' + string: '{"private_location": {"createdAt": "2023-08-24T14:06:14.754834+00:00", + "modifiedAt": "2023-08-24T14:06:14.754834+00:00", "description": "datadog-sync-cli + test", "tags": ["key:value"], "name": "Test Private Variable", "metadata": + null, "id": "pl:test-private-variable-b8998566d656416b67ce17e8a68a1070", "createdBy": + "frog@datadoghq.com", "config": {"site": "datadoghq.eu"}}, "result_encryption": + {"id": "sha256$base64$HCje9BSaPgSwhmA3TL6kYknOgjCW72k8ilCn4PAuins=", "key": + "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyhjTDKqgNuqzlTKKEztw\nqQmfi3Vz/BCmaSRmwZenLP/a/GYG2pKR27hHv5fQB3v08W/BC1VA2XmuCR+EJiYo\nMWfjvLw65sv+S52Vsx4z0EuP5k1qmRyeRDPPENBxAypfLMbt1F6rTxI42ionaHSJ\nBWC8emJYOjAex5shz2I/aj3P3oht8ePr5Jj6A2jkewhBUvfcXQopAy21KhAtEEQB\n7NfG/JWSo9TEqEA4QxGEEqo4rHSHgRQVxtXINzDSp/M5136wVsLsTRF0bSLXSdrf\nRCZje4OdR5Ij9HdhB4F+2KW22Fm3vJlvPCG1C2ZtEDz3xzv9+hcz/rV7WrBMua3j\nZTei5EMTSOt0hIL/DmdId4LmWTc2fYWxe2nYUuAgPw+o+jaju5E5htFbd4JRqyEu\nmMJra8f0BWH80mEDiB1DqfsbVFNYmjG5pVJR7OEV4GRNw9CmwRhcwaXpjouYFrsy\nKvRRdAhLigC+FUDtsLZkgM4T6g4VOjgUTMuRAYgouyyjniuRTn4sKE/t0zfP6/0t\nS/izsjItIat+0RzkO7BY22ga9h1/orqFwgCtwX+WYDHSzo2oMku1tup16WP3Y2jj\n2MJGpHPhDkBoCKRXq34xGxHGoing0zCqmjk1h5WTZdVrppTjJo5sxK0ZGlOXdsk2\nGgiZrQVfZjtotyWUyJnC758CAwEAAQ==\n-----END + PUBLIC KEY-----\n"}}' headers: {} status: code: 200 @@ -1587,24 +1612,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000027ad4a3e3f57b06d-ec0b24df2ca98c34-01 + - 00-0000000000000000c20a5d6f80f9f552-de803546b87912d1-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '17008728958640426036' + - '16032873251297891025' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2859022969661272173' + - '13982090726611744082' method: POST uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual response: body: string: '{"author": {"name": "Frog", "handle": "frog@datadoghq.com"}, "created": - "2023-07-13T15:44:37.278823+00:00", "dashboards": null, "dashboard_count": - 0, "id": 27616, "is_favorite": false, "modified": "2023-07-13T15:44:37.278828+00:00", + "2023-08-24T14:06:15.173227+00:00", "dashboards": null, "dashboard_count": + 0, "id": 29198, "is_favorite": false, "modified": "2023-08-24T14:06:15.173234+00:00", "name": "Empty Test List", "type": "manual_dashboard_list"}' headers: {} status: @@ -1620,19 +1645,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000036cdadd81499d4ca-34af0dd2634a11ad-01 + - 00-0000000000000000f60b4170bbafabe4-60966074eeae4d24-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3796268208156709293' + - '6959856329484553508' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '3949003591843960010' + - '17729336310515084260' method: PUT - uri: https://api.datadoghq.eu/api/v2/dashboard/lists/manual/27616/dashboards + uri: https://api.datadoghq.eu/api/v2/dashboard/lists/manual/29198/dashboards response: body: string: '{"dashboards": []}' @@ -1650,24 +1675,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000a1a05ad674fc80c6-6f6a0c8c0c0b369c-01 + - 00-00000000000000003476e899a47b538b-7156a81d3dd8207e-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '8028243081378346652' + - '8166899817828065406' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11646408513512308934' + - '3780464683811296139' method: POST uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual response: body: string: '{"author": {"name": "Frog", "handle": "frog@datadoghq.com"}, "created": - "2023-07-13T15:44:37.934561+00:00", "dashboards": null, "dashboard_count": - 0, "id": 27617, "is_favorite": false, "modified": "2023-07-13T15:44:37.934571+00:00", + "2023-08-24T14:06:15.758194+00:00", "dashboards": null, "dashboard_count": + 0, "id": 29199, "is_favorite": false, "modified": "2023-08-24T14:06:15.758203+00:00", "name": "Empty Test List", "type": "manual_dashboard_list"}' headers: {} status: @@ -1683,19 +1708,19 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000e9c4afaa29081d99-fe007f2ddad602fa-01 + - 00-0000000000000000ae752f12d509da2c-c0039c261086e051-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '18302768720555410170' + - '13836074167512260689' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16844781651640196505' + - '12571005692804717100' method: PUT - uri: https://api.datadoghq.eu/api/v2/dashboard/lists/manual/27617/dashboards + uri: https://api.datadoghq.eu/api/v2/dashboard/lists/manual/29199/dashboards response: body: string: '{"dashboards": []}' @@ -1748,24 +1773,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000097779e367f6c1552-638bb015e25b0a52-01 + - 00-00000000000000004b41f2d7cb258b8e-069da2d46fb2f764-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7173020439556065874' + - '476716168861906788' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10914366178858898770' + - '5422882434970913678' method: POST uri: https://api.datadoghq.eu/api/v1/dashboard response: body: - string: '{"id": "xn2-g53-25n", "title": "Test screenboard", "description": "Created + string: '{"id": "7qh-mz6-twu", "title": "Test screenboard", "description": "Created using the Datadog provider in Terraform", "author_handle": "frog@datadoghq.com", - "author_name": "Frog", "layout_type": "free", "url": "/dashboard/xn2-g53-25n/test-screenboard", + "author_name": "Frog", "layout_type": "free", "url": "/dashboard/7qh-mz6-twu/test-screenboard", "is_read_only": false, "template_variables": [{"default": "aws", "prefix": "host", "name": "var_1"}, {"default": "autoscaling", "prefix": "service_name", "name": "var_2"}], "widgets": [{"definition": {"title_size": "16", "title": @@ -1798,7 +1823,7 @@ interactions: "time": {"live_span": "1h"}, "show_distribution": true, "display_format": "three_column", "type": "trace_service", "show_resource_list": false}, "layout": {"y": 28, "x": 40, "height": 38, "width": 67}, "id": 6949442529647217}], "notify_list": - [], "created_at": "2023-07-13T15:44:39.311820+00:00", "modified_at": "2023-07-13T15:44:39.311820+00:00", + [], "created_at": "2023-08-24T14:06:16.659727+00:00", "modified_at": "2023-08-24T14:06:16.659727+00:00", "template_variable_presets": [{"template_variables": [{"name": "var_1", "value": "host.dc"}, {"name": "var_2", "value": "my_service"}], "name": "preset_1"}], "restricted_roles": []}' @@ -1807,9 +1832,14 @@ interactions: code: 200 message: OK - request: - body: '{"name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670405911", - "description": "a global variable", "type": "variable", "tags": ["foo:bar", - "baz"], "value": {"secure": false, "value": "variable-value"}}' + body: '{"title": "datadog-sync-cli Test Dashboard", "description": "", "layout_type": + "ordered", "is_read_only": false, "template_variables": [], "widgets": [{"definition": + {"title_size": "16", "title": "", "title_align": "left", "precision": 2, "time": + {}, "autoscale": true, "requests": [{"response_format": "scalar", "queries": + [{"query": "avg:system.cpu.user{*}", "data_source": "metrics", "name": "query1", + "aggregator": "avg"}]}], "type": "query_value"}, "layout": {"y": 0, "x": 0, + "height": 2, "width": 2}, "id": 6609238960092638}], "notify_list": [], "reflow_type": + "fixed", "restricted_roles": []}' headers: Accept: - '*/*' @@ -1818,134 +1848,32 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000fd3d3391152d70bc-65751f87220bc74a-01 + - 00-000000000000000039626f200f5ae2ae-8878bb5dc3ad06dd-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7310784235358111562' + - '9833815797752727261' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '18247797963393691836' + - '4134989591366787758' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/variables + uri: https://api.datadoghq.eu/api/v1/dashboard response: body: - string: '{"id": "4c03f18c-2b33-4d36-830b-26c96a099dce", "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670405911", - "description": "a global variable", "type": "variable", "tags": ["foo:bar", - "baz"], "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": - null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"secure": false, "value": "variable-value"}}' - headers: {} - status: - code: 200 - message: OK -- request: - body: '{"name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670404656", - "description": "a global variable", "type": "variable", "tags": ["foo:bar", - "baz"], "value": {"secure": false, "value": "variable-value"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - traceparent: - - 00-000000000000000014f9113b1cc2e738-27f927f8ea51df5d-01 - tracestate: - - dd=s:1;t.dm:-0 - x-datadog-parent-id: - - '2880377386716749661' - x-datadog-sampling-priority: - - '1' - x-datadog-tags: - - _dd.p.dm=-0 - x-datadog-trace-id: - - '1511258095542789944' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/variables - response: - body: - string: '{"id": "13f3c7ff-4500-4e56-8880-442d2c50c305", "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670404656", - "description": "a global variable", "type": "variable", "tags": ["foo:bar", - "baz"], "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": - null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": - null, "value": {"secure": false, "value": "variable-value"}}' - headers: {} - status: - code: 200 - message: OK -- request: - body: '{"name": "EXAMPLE_VARIABLE", "description": "Description of the variable", - "type": "variable", "tags": ["foo:bar", "env:test"], "value": {"secure": false, - "value": "variable-value"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - traceparent: - - 00-00000000000000006008b62d5a6f8fe7-442625bbab4fef0b-01 - tracestate: - - dd=s:1;t.dm:-0 - x-datadog-parent-id: - - '4910653931657359115' - x-datadog-sampling-priority: - - '1' - x-datadog-tags: - - _dd.p.dm=-0 - x-datadog-trace-id: - - '6919981133361811431' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/variables - response: - body: - string: '{"id": "4857f0a3-fe82-4744-baf1-55cfc387d554", "name": "EXAMPLE_VARIABLE", - "description": "Description of the variable", "type": "variable", "tags": - ["foo:bar", "env:test"], "parse_test_public_id": null, "parse_test_name": - null, "parse_test_options": null, "parse_test_extracted_at": null, "is_totp": - null, "is_fido": null, "last_error": null, "value": {"secure": false, "value": - "variable-value"}}' - headers: {} - status: - code: 200 - message: OK -- request: - body: '{"name": "TEST_SECRETS", "description": "", "type": "variable", "tags": - [], "value": {"secure": true, "value": "SECRET"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - traceparent: - - 00-00000000000000002a18ffdc948444ff-fab77bc02e53348b-01 - tracestate: - - dd=s:1;t.dm:-0 - x-datadog-parent-id: - - '18066044495561176203' - x-datadog-sampling-priority: - - '1' - x-datadog-tags: - - _dd.p.dm=-0 - x-datadog-trace-id: - - '3033455671883613439' - method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/variables - response: - body: - string: '{"id": "ee816852-c247-4729-be2d-306d9b799bf9", "name": "TEST_SECRETS", - "description": "", "type": "variable", "tags": [], "parse_test_public_id": - null, "parse_test_name": null, "parse_test_options": null, "parse_test_extracted_at": - null, "is_totp": null, "is_fido": null, "last_error": null, "value": {"secure": - true}}' + string: '{"id": "cz4-biz-ddq", "title": "datadog-sync-cli Test Dashboard", "description": + "", "author_handle": "frog@datadoghq.com", "author_name": "Frog", "layout_type": + "ordered", "url": "/dashboard/cz4-biz-ddq/datadog-sync-cli-test-dashboard", + "is_read_only": false, "template_variables": [], "widgets": [{"definition": + {"title_size": "16", "title": "", "title_align": "left", "precision": 2, "time": + {}, "autoscale": true, "requests": [{"response_format": "scalar", "queries": + [{"query": "avg:system.cpu.user{*}", "data_source": "metrics", "name": "query1", + "aggregator": "avg"}]}], "type": "query_value"}, "layout": {"y": 0, "x": 0, + "height": 2, "width": 2}, "id": 6609238960092638}], "notify_list": [], "created_at": + "2023-08-24T14:06:17.126249+00:00", "modified_at": "2023-08-24T14:06:17.126249+00:00", + "reflow_type": "fixed", "restricted_roles": []}' headers: {} status: code: 200 @@ -1989,24 +1917,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000007bd4cea87b61c65f-66d7d4ffed92d4b3-01 + - 00-0000000000000000405b4beff75e2783-0c0b2f1e966b824b-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7410625907529012403' + - '867839161618104907' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '8922983984747628127' + - '4637383735327467395' method: POST uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"data": {"type": "roles", "id": "2e9fd49e-2194-11ee-91d5-da7ad0900005", - "attributes": {"name": "Datadog Read Only Role", "created_at": "2023-07-13T15:44:41.615717+00:00", - "modified_at": "2023-07-13T15:44:41.665725+00:00"}, "relationships": {"permissions": + string: '{"data": {"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005", + "attributes": {"name": "Datadog Read Only Role", "created_at": "2023-08-24T14:06:17.669971+00:00", + "modified_at": "2023-08-24T14:06:17.720654+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", @@ -2118,14 +2046,18 @@ interactions: {"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": - "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": "ffb0167e-11e1-11ee-8f46-da7ad0900005"}, {"type": - "permissions", "id": "4316826e-093f-11ee-98e9-da7ad0900005"}, {"type": "permissions", - "id": "4316b5b8-093f-11ee-98e9-da7ad0900005"}]}}}}' + "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": "ffb0167e-11e1-11ee-8f46-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": "ef44c426-20d0-11ee-83e9-da7ad0900005"}, {"type": "permissions", + "id": "55769e70-2c9a-11ee-a7df-da7ad0900005"}]}}}}' headers: Accept: - '*/*' @@ -2134,24 +2066,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000d3eb865ebcfa09fe-b0900b6d7e3587a5-01 + - 00-0000000000000000c37dd4efe4b53608-9883973c442a86fa-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '12722681512218429349' + - '10989793800811611898' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '15270446702985349630' + - '14086649336284132872' method: POST uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"data": {"type": "roles", "id": "2f792a64-2194-11ee-a2c8-da7ad0900005", - "attributes": {"name": "Datadog Standard Role", "created_at": "2023-07-13T15:44:43.040025+00:00", - "modified_at": "2023-07-13T15:44:43.115414+00:00"}, "relationships": {"permissions": + string: '{"data": {"type": "roles", "id": "659272f4-4287-11ee-92e9-da7ad0900005", + "attributes": {"name": "Datadog Standard Role", "created_at": "2023-08-24T14:06:18.717589+00:00", + "modified_at": "2023-08-24T14:06:18.783334+00:00"}, "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", @@ -2228,14 +2160,18 @@ interactions: {"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": - "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": "ffb0167e-11e1-11ee-8f46-da7ad0900005"}, {"type": - "permissions", "id": "4316826e-093f-11ee-98e9-da7ad0900005"}, {"type": "permissions", - "id": "4316b5b8-093f-11ee-98e9-da7ad0900005"}]}}}}' + "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": "ffb0167e-11e1-11ee-8f46-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": "ef44c426-20d0-11ee-83e9-da7ad0900005"}, {"type": "permissions", + "id": "55769e70-2c9a-11ee-a7df-da7ad0900005"}]}}}}' headers: {} status: code: 200 @@ -2263,24 +2199,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000055136c63a162a131-f6c0cc1e2b038f9e-01 + - 00-00000000000000007b0b3a065c065665-0fc505ca6ec22125-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '17780435758801457054' + - '1136320847980667173' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '6130362692946534705' + - '8866244090397087333' method: POST uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"data": {"type": "roles", "id": "2fe4371e-2194-11ee-ae06-da7ad0900005", + string: '{"data": {"type": "roles", "id": "65df7e32-4287-11ee-b1dd-da7ad0900005", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1670404530", - "created_at": "2023-07-13T15:44:43.741477+00:00", "modified_at": "2023-07-13T15:44:43.783486+00:00"}, + "created_at": "2023-08-24T14:06:19.221692+00:00", "modified_at": "2023-08-24T14:06:19.256966+00:00"}, "relationships": {"permissions": {"data": [{"type": "permissions", "id": "4fbb1652-dd15-11e8-9308-77be61fbb2c7"}, {"type": "permissions", "id": "4fc2807c-dd15-11e8-9308-d3bfffb7f039"}, {"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", @@ -2320,24 +2256,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000009f5343816b7f92bc-824ba8f1fbda6760-01 + - 00-00000000000000006bffdbf3ea4feb31-805a2120af4228a3-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '9388783605449910112' + - '9248741209021753507' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11480594098230891196' + - '7782180521774148401' method: POST uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"data": {"type": "roles", "id": "3036ea2c-2194-11ee-9fe6-da7ad0900005", + string: '{"data": {"type": "roles", "id": "662ffcf4-4287-11ee-8a81-da7ad0900005", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1670404619", - "created_at": "2023-07-13T15:44:44.283559+00:00", "modified_at": "2023-07-13T15:44:44.319458+00:00"}, + "created_at": "2023-08-24T14:06:19.749319+00:00", "modified_at": "2023-08-24T14:06:19.795313+00:00"}, "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", @@ -2376,24 +2312,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000088e3c6c5f015927c-8b38acdb38ff3ce6-01 + - 00-00000000000000009cf6d17442259e9d-4ae0b2d252f292e8-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '10031958227521846502' + - '5395508969994359528' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '9863946162310320764' + - '11310457811443752605' method: POST uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"data": {"type": "roles", "id": "3094653a-2194-11ee-ba3d-da7ad0900005", + string: '{"data": {"type": "roles", "id": "667e08d6-4287-11ee-ab18-da7ad0900005", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1670404656", - "created_at": "2023-07-13T15:44:44.896099+00:00", "modified_at": "2023-07-13T15:44:44.942080+00:00"}, + "created_at": "2023-08-24T14:06:20.260837+00:00", "modified_at": "2023-08-24T14:06:20.297211+00:00"}, "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", @@ -2432,24 +2368,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000033e7d73f1a3a3fc2-90907ad2c272a7af-01 + - 00-000000000000000011dd19a060b6db1d-c9036129d05e1c48-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '10416960983731972015' + - '14484527658771029064' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '3740194681577422786' + - '1287213245105888029' method: POST uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"data": {"type": "roles", "id": "30e8d502-2194-11ee-9236-da7ad0900005", + string: '{"data": {"type": "roles", "id": "66c039b8-4287-11ee-92e9-da7ad0900005", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1670405007", - "created_at": "2023-07-13T15:44:45.449283+00:00", "modified_at": "2023-07-13T15:44:45.482464+00:00"}, + "created_at": "2023-08-24T14:06:20.695308+00:00", "modified_at": "2023-08-24T14:06:20.755682+00:00"}, "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", @@ -2488,24 +2424,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000e1e91f8386ea22fc-5934e5fa884e5519-01 + - 00-0000000000000000553ae1b45f778aa2-5387fb8bd806939d-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '6428015432355960089' + - '6019056005047292829' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16278576977872036604' + - '6141469206685125282' method: POST uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"data": {"type": "roles", "id": "313e56e4-2194-11ee-8664-da7ad0900005", + string: '{"data": {"type": "roles", "id": "67094e00-4287-11ee-84eb-da7ad0900005", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1670405911", - "created_at": "2023-07-13T15:44:46.009779+00:00", "modified_at": "2023-07-13T15:44:46.051848+00:00"}, + "created_at": "2023-08-24T14:06:21.173630+00:00", "modified_at": "2023-08-24T14:06:21.223750+00:00"}, "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", @@ -2544,24 +2480,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000cdc7ce7db3657674-3a1f1c0262f521c9-01 + - 00-0000000000000000f52886fa9d650b8e-b7d6233a94638797-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '4188096975053595081' + - '13246814088461518743' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '14828047337416652404' + - '17665517949301361550' method: POST uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"data": {"type": "roles", "id": "319e2146-2194-11ee-a25a-da7ad0900005", + string: '{"data": {"type": "roles", "id": "6768049a-4287-11ee-b388-da7ad0900005", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1670405924", - "created_at": "2023-07-13T15:44:46.637526+00:00", "modified_at": "2023-07-13T15:44:46.688539+00:00"}, + "created_at": "2023-08-24T14:06:21.794398+00:00", "modified_at": "2023-08-24T14:06:21.824832+00:00"}, "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", @@ -2579,8 +2515,16 @@ interactions: code: 200 message: OK - request: - body: '{"description": "datadog-sync-cli test", "tags": ["key:value"], "name": - "Test Private Variable"}' + body: '{"data": {"type": "roles", "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345"}, + "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, + {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": + "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", + "id": "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": + "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, + {"type": "permissions", "id": "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": + "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}]}}}}' headers: Accept: - '*/*' @@ -2589,41 +2533,41 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000ce9b8e30368aace9-c3e005a6714a1314-01 + - 00-0000000000000000fcab900715dbd287-0565835ce3365737-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '14114287444602524436' + - '388861377809635127' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '14887649330927938793' + - '18206804278681260679' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/private-locations + uri: https://api.datadoghq.eu/api/v2/roles response: body: - string: '{"private_location": {"createdAt": "2023-07-13T15:44:49.524074+00:00", - "modifiedAt": "2023-07-13T15:44:49.524074+00:00", "description": "datadog-sync-cli - test", "tags": ["key:value"], "name": "Test Private Variable", "metadata": - null, "id": "pl:test-private-variable-a1e80ea24f360435819c2c71a3bcf7b0", "createdBy": - "frog@datadoghq.com", "config": {"site": "datadoghq.eu"}}, "result_encryption": - {"id": "sha256$base64$HCje9BSaPgSwhmA3TL6kYknOgjCW72k8ilCn4PAuins=", "key": - "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAyhjTDKqgNuqzlTKKEztw\nqQmfi3Vz/BCmaSRmwZenLP/a/GYG2pKR27hHv5fQB3v08W/BC1VA2XmuCR+EJiYo\nMWfjvLw65sv+S52Vsx4z0EuP5k1qmRyeRDPPENBxAypfLMbt1F6rTxI42ionaHSJ\nBWC8emJYOjAex5shz2I/aj3P3oht8ePr5Jj6A2jkewhBUvfcXQopAy21KhAtEEQB\n7NfG/JWSo9TEqEA4QxGEEqo4rHSHgRQVxtXINzDSp/M5136wVsLsTRF0bSLXSdrf\nRCZje4OdR5Ij9HdhB4F+2KW22Fm3vJlvPCG1C2ZtEDz3xzv9+hcz/rV7WrBMua3j\nZTei5EMTSOt0hIL/DmdId4LmWTc2fYWxe2nYUuAgPw+o+jaju5E5htFbd4JRqyEu\nmMJra8f0BWH80mEDiB1DqfsbVFNYmjG5pVJR7OEV4GRNw9CmwRhcwaXpjouYFrsy\nKvRRdAhLigC+FUDtsLZkgM4T6g4VOjgUTMuRAYgouyyjniuRTn4sKE/t0zfP6/0t\nS/izsjItIat+0RzkO7BY22ga9h1/orqFwgCtwX+WYDHSzo2oMku1tup16WP3Y2jj\n2MJGpHPhDkBoCKRXq34xGxHGoing0zCqmjk1h5WTZdVrppTjJo5sxK0ZGlOXdsk2\nGgiZrQVfZjtotyWUyJnC758CAwEAAQ==\n-----END - PUBLIC KEY-----\n"}}' + string: '{"data": {"type": "roles", "id": "67acb6da-4287-11ee-a5af-da7ad0900005", + "attributes": {"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", + "created_at": "2023-08-24T14:06:22.244411+00:00", "modified_at": "2023-08-24T14:06:22.289902+00:00"}, + "relationships": {"permissions": {"data": [{"type": "permissions", "id": "2147a4f0-d3d9-11e9-a614-83d5d3c791ee"}, + {"type": "permissions", "id": "c898551e-d8b2-11e9-a336-e3a79c23bd8d"}, {"type": + "permissions", "id": "b7706de0-2dce-11eb-9145-775e4a0d889a"}, {"type": "permissions", + "id": "122e20a4-d36c-11eb-b2bf-da7ad0900005"}, {"type": "permissions", "id": + "7ee6e4ea-f376-11eb-a5a7-da7ad0900005"}, {"type": "permissions", "id": "c7ac3e2a-9a59-11ec-9cd5-da7ad0900005"}, + {"type": "permissions", "id": "f33f74be-e746-11ec-87e3-da7ad0900005"}, {"type": + "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005"}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005"}, {"type": "permissions", "id": + "3276c638-0ebe-11ee-9428-da7ad0900005"}]}}}}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "metric alert", "name": "Composite monitor - Child 2", "message": - "Test monitor ----------------", "tags": [], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} - > 50", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 50.0}, "silenced": {}}, "multi": false, "restricted_roles": - null, "priority": null}' + body: '{"name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1686121345", + "description": "a global variable", "type": "variable", "tags": ["foo:bar", + "baz"], "value": {"secure": false, "value": "variable-value"}}' headers: Accept: - '*/*' @@ -2632,47 +2576,34 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000af02f78a5fbbeea5-99f28f3e75cd5d46-01 + - 00-0000000000000000c79af5e4268d19fe-578a11e07fc18437-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '11093086330594090310' + - '6307873883999536183' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '12610914080274509477' + - '14383078720209230334' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/synthetics/variables response: body: - string: '{"id": 12076938, "org_id": 1000044987, "type": "metric alert", "name": - "Composite monitor - Child 2", "message": "Test monitor ----------------", - "tags": [], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} > - 50", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 50.0}, "silenced": {}}, "multi": false, "created_at": - 1689263090000, "created": "2023-07-13T15:44:50.263769+00:00", "modified": - "2023-07-13T15:44:50.263769+00:00", "deleted": null, "restricted_roles": null, - "priority": null, "overall_state_modified": null, "overall_state": "No Data", - "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", - "id": 1000219667}}' + string: '{"id": "1638b76c-6529-4449-b272-6694dddcc595", "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1686121345", + "description": "a global variable", "type": "variable", "tags": ["foo:bar", + "baz"], "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": + null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"secure": false, "value": "variable-value"}}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "query alert", "name": "Anomaly monitor", "message": "Anomaly - monitor", "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, - ''basic'', 2, direction=''both'', alert_window=''last_15m'', interval=60, count_default_zero=''true'') - >= 1", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "threshold_windows": {"recovery_window": "last_15m", "trigger_window": "last_15m"}, - "thresholds": {"critical": 1.0, "critical_recovery": 0.0}, "silenced": {}}, - "multi": false, "restricted_roles": null, "priority": null}' + body: '{"name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670405911", + "description": "a global variable", "type": "variable", "tags": ["foo:bar", + "baz"], "value": {"secure": false, "value": "variable-value"}}' headers: Accept: - '*/*' @@ -2681,46 +2612,33 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000009a00cfd094b40948-602e92f893b0d882-01 + - 00-00000000000000006356d3d9ea76bf76-8fa0bc4e91b57731-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '6930638472897157250' + - '10349478989335459633' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11097097976595876168' + - '7158141590646996854' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/synthetics/variables response: body: - string: '{"id": 12076939, "org_id": 1000044987, "type": "query alert", "name": - "Anomaly monitor", "message": "Anomaly monitor", "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, - ''basic'', 2, direction=''both'', alert_window=''last_15m'', interval=60, - count_default_zero=''true'') >= 1", "options": {"notify_audit": false, "locked": - false, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "require_full_window": - true, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": - 0, "escalation_message": "", "threshold_windows": {"recovery_window": "last_15m", - "trigger_window": "last_15m"}, "thresholds": {"critical": 1.0, "critical_recovery": - 0.0}, "silenced": {}}, "multi": false, "created_at": 1689263090000, "created": - "2023-07-13T15:44:50.863061+00:00", "modified": "2023-07-13T15:44:50.863061+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com", "id": 1000219667}}' + string: '{"id": "645dac59-d16a-4f76-b743-934a5f4488f8", "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670405911", + "description": "a global variable", "type": "variable", "tags": ["foo:bar", + "baz"], "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": + null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"secure": false, "value": "variable-value"}}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} - stopped reporting", "message": "Private location {{location_id.name}} stopped - reporting to Datadog.", "tags": [], "query": "min(last_5m):avg:synthetics.pl.worker.running{*} - by {location_id} < 1", "options": {"notify_audit": false, "locked": false, "include_tags": - true, "thresholds": {"critical": 1.0}, "new_host_delay": 300, "notify_no_data": - true, "silenced": {}}, "multi": true, "restricted_roles": null, "priority": - null}' + body: '{"name": "TEST_VARIABLE", "description": "test", "type": "variable", "tags": + ["check_type:api"], "value": {"secure": false, "value": "TESTVALUELETSSEEdadsddsadsadadsadsad"}}' headers: Accept: - '*/*' @@ -2729,47 +2647,34 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000179f89ce38920c91-f4da0f4798e6bf8a-01 + - 00-0000000000000000c00cb4acd48bfde4-5aa1ae1a6972ed85-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '17643431290359693194' + - '6530692363125452165' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '1702230702974700689' + - '13838634409396010468' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/synthetics/variables response: body: - string: '{"id": 12076940, "org_id": 1000044987, "type": "metric alert", "name": - "[Synthetic Private Locations] {{location_id.name}} stopped reporting", "message": - "Private location {{location_id.name}} stopped reporting to Datadog.", "tags": - [], "query": "min(last_5m):avg:synthetics.pl.worker.running{*} by {location_id} - < 1", "options": {"notify_audit": false, "locked": false, "include_tags": - true, "thresholds": {"critical": 1.0}, "new_host_delay": 300, "notify_no_data": - true, "silenced": {}}, "multi": true, "created_at": 1689263091000, "created": - "2023-07-13T15:44:51.349398+00:00", "modified": "2023-07-13T15:44:51.349398+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com", "id": 1000219667}}' + string: '{"id": "18538429-d66f-4c41-9526-909e438249f0", "name": "TEST_VARIABLE", + "description": "test", "type": "variable", "tags": ["check_type:api"], "parse_test_public_id": + null, "parse_test_name": null, "parse_test_options": null, "parse_test_extracted_at": + null, "is_totp": null, "is_fido": null, "last_error": null, "value": {"secure": + false, "value": "TESTVALUELETSSEEdadsddsadsadadsadsad"}}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} - uses an outdated image version", "message": "Private location {{location_id.name}} - is running an outdated image version. Learn more about the current version in - use on your [Private locations page](https://app.datadoghq.com/synthetics/settings/private-locations?id={{location_id.name}}) - and upgrade workers to the most recent version of the image by pulling the `datadog/synthetics-private-location-worker` - image with the `latest` tag.", "tags": [], "query": "max(last_15m):sum:synthetics.pl.worker.outdated{*} - by {location_id} > 0", "options": {"notify_audit": false, "locked": false, "include_tags": - true, "thresholds": {"critical": 0.0}, "new_host_delay": 300, "notify_no_data": - false, "silenced": {}}, "multi": true, "restricted_roles": null, "priority": - null}' + body: '{"name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670404656", + "description": "a global variable", "type": "variable", "tags": ["foo:bar", + "baz"], "value": {"secure": false, "value": "variable-value"}}' headers: Accept: - '*/*' @@ -2778,49 +2683,34 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000023fa5407b4545a25-4b1dae81d4079538-01 + - 00-0000000000000000f8c79d9f35e5fbb0-4a8be68f4a99247d-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5412674199800485176' + - '5371640483675710589' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2592476927572072997' + - '17926470148901174192' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/synthetics/variables response: body: - string: '{"id": 12076941, "org_id": 1000044987, "type": "metric alert", "name": - "[Synthetic Private Locations] {{location_id.name}} uses an outdated image - version", "message": "Private location {{location_id.name}} is running an - outdated image version. Learn more about the current version in use on your - [Private locations page](https://app.datadoghq.com/synthetics/settings/private-locations?id={{location_id.name}}) - and upgrade workers to the most recent version of the image by pulling the - `datadog/synthetics-private-location-worker` image with the `latest` tag.", - "tags": [], "query": "max(last_15m):sum:synthetics.pl.worker.outdated{*} by - {location_id} > 0", "options": {"notify_audit": false, "locked": false, "include_tags": - true, "thresholds": {"critical": 0.0}, "new_host_delay": 300, "notify_no_data": - false, "silenced": {}}, "multi": true, "created_at": 1689263091000, "created": - "2023-07-13T15:44:51.926369+00:00", "modified": "2023-07-13T15:44:51.926369+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com", "id": 1000219667}}' + string: '{"id": "bff466e2-e7f7-4686-80eb-8275ef8cd4ab", "name": "TF_TESTACCDATADOGSYNTHETICSTESTMULTISTEPAPI_BASIC_LOCAL_1670404656", + "description": "a global variable", "type": "variable", "tags": ["foo:bar", + "baz"], "parse_test_public_id": null, "parse_test_name": null, "parse_test_options": + null, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": + null, "value": {"secure": false, "value": "variable-value"}}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} - is underprovisioned", "message": "Private location {{location_id.name}} is underprovisioned.\nVisit - this [documentation page](https://docs.datadoghq.com/synthetics/private_locations/?tab=docker#dimension-your-private-location) - to learn how to scale your private location.", "tags": [], "query": "avg(last_30m):avg:synthetics.pl.worker.remaining_slots{*} - by {location_id} < 1.5", "options": {"notify_audit": false, "locked": false, - "include_tags": true, "thresholds": {"critical": 1.5}, "new_host_delay": 300, - "notify_no_data": false, "silenced": {}}, "multi": true, "restricted_roles": - null, "priority": null}' + body: '{"name": "EXAMPLE_VARIABLE", "description": "Description of the variable", + "type": "variable", "tags": ["foo:bar", "env:test"], "value": {"secure": false, + "value": "variable-value"}}' headers: Accept: - '*/*' @@ -2829,45 +2719,34 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000f66e6e827ae54053-03dc79695a4c7e4f-01 + - 00-00000000000000001026a550ad6f08ea-11d1ed6bbc9d7303-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '278230770383617615' + - '1284068415759020803' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '17757251887455092819' + - '1163799319647553770' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/synthetics/variables response: body: - string: '{"id": 12076942, "org_id": 1000044987, "type": "metric alert", "name": - "[Synthetic Private Locations] {{location_id.name}} is underprovisioned", - "message": "Private location {{location_id.name}} is underprovisioned.\nVisit - this [documentation page](https://docs.datadoghq.com/synthetics/private_locations/?tab=docker#dimension-your-private-location) - to learn how to scale your private location.", "tags": [], "query": "avg(last_30m):avg:synthetics.pl.worker.remaining_slots{*} - by {location_id} < 1.5", "options": {"notify_audit": false, "locked": false, - "include_tags": true, "thresholds": {"critical": 1.5}, "new_host_delay": 300, - "notify_no_data": false, "silenced": {}}, "multi": true, "created_at": 1689263092000, - "created": "2023-07-13T15:44:52.426124+00:00", "modified": "2023-07-13T15:44:52.426124+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com", "id": 1000219667}}' + string: '{"id": "63a199c7-1aea-49c5-b7ab-c98b30afc4ac", "name": "EXAMPLE_VARIABLE", + "description": "Description of the variable", "type": "variable", "tags": + ["foo:bar", "env:test"], "parse_test_public_id": null, "parse_test_name": + null, "parse_test_options": null, "parse_test_extracted_at": null, "is_totp": + null, "is_fido": null, "last_error": null, "value": {"secure": false, "value": + "variable-value"}}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "event-v2 alert", "name": "Test event monitor", "message": "Test - event monitor", "tags": [], "query": "events(\"\").rollup(\"count\").last(\"5m\") - > 100", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, - "include_tags": true, "restriction_query": null, "new_host_delay": 300, "notify_no_data": - false, "renotify_interval": 0, "groupby_simple_monitor": true, "enable_logs_sample": - false, "escalation_message": "", "thresholds": {"critical": 100.0}, "silenced": - {}}, "multi": false, "restricted_roles": null, "priority": null}' + body: '{"name": "TEST_SECRETS", "description": "", "type": "variable", "tags": + [], "value": {"secure": true, "value": "SECRET"}}' headers: Accept: - '*/*' @@ -2876,46 +2755,41 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000008dc78df7dad7252f-7f668f2c78cb53ef-01 + - 00-00000000000000003e45ea1a72566234-9e2f38fe4644839d-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '9180182311609258991' + - '11398391846649758621' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10216290375381230895' + - '4487250003052880436' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/synthetics/variables response: body: - string: '{"id": 12076943, "org_id": 1000044987, "type": "event-v2 alert", "name": - "Test event monitor", "message": "Test event monitor", "tags": [], "query": - "events(\"\").rollup(\"count\").last(\"5m\") > 100", "options": {"notify_audit": - false, "locked": false, "timeout_h": 0, "include_tags": true, "restriction_query": - null, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": - 0, "groupby_simple_monitor": true, "enable_logs_sample": false, "escalation_message": - "", "thresholds": {"critical": 100.0}, "silenced": {}}, "multi": false, "created_at": - 1689263093000, "created": "2023-07-13T15:44:53.002764+00:00", "modified": - "2023-07-13T15:44:53.002764+00:00", "deleted": null, "restricted_roles": null, - "priority": null, "overall_state_modified": null, "overall_state": "No Data", - "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", - "id": 1000219667}}' + string: '{"id": "0382c2f8-8e7a-4471-bc8d-8f8ddb7215bc", "name": "TEST_SECRETS", + "description": "", "type": "variable", "tags": [], "parse_test_public_id": + null, "parse_test_name": null, "parse_test_options": null, "parse_test_extracted_at": + null, "is_totp": null, "is_fido": null, "last_error": null, "value": {"secure": + true}}' headers: {} status: code: 200 message: OK - request: - body: '{"title": "datadog-sync-cli Test Dashboard", "description": "", "layout_type": - "ordered", "is_read_only": false, "template_variables": [], "widgets": [{"definition": - {"title_size": "16", "title": "", "title_align": "left", "precision": 2, "time": - {}, "autoscale": true, "requests": [{"response_format": "scalar", "queries": - [{"query": "avg:system.cpu.user{*}", "data_source": "metrics", "name": "query1", - "aggregator": "avg"}]}], "type": "query_value"}, "layout": {"y": 0, "x": 0, - "height": 2, "width": 2}, "id": 6609238960092638}], "notify_list": [], "reflow_type": - "fixed", "restricted_roles": []}' + body: '{"name": "HTTP Test", "status": "paused", "type": "api", "tags": [], "config": + {"request": {"url": "https://google.com", "method": "GET"}, "assertions": [{"operator": + "lessThan", "type": "responseTime", "target": 1000}, {"operator": "is", "type": + "statusCode", "target": 301}, {"operator": "is", "property": "content-type", + "type": "header", "target": "text/html; charset=UTF-8"}]}, "message": "Test + synthetics ", "options": {"retry": {"count": 1, "interval": 300}, "tick_every": + 604800, "monitor_options": {"include_tags": true, "notify_audit": false, "new_host_delay": + 300, "on_missing_data": "show_no_data", "renotify_interval": 120}, "monitor_priority": + 3, "min_location_failed": 1, "min_failure_duration": 120}, "locations": ["aws:ca-central-1"], + "subtype": "http"}' headers: Accept: - '*/*' @@ -2924,43 +2798,57 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000006538617d0c939a7b-efaf5d7165c310d2-01 + - 00-00000000000000006c2dd22cda0e95c0-38d9c0708b103bb8-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '17271125837609111762' + - '4096516925672143800' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '7293686786236324475' + - '7795117620126979520' method: POST - uri: https://api.datadoghq.eu/api/v1/dashboard + uri: https://api.datadoghq.eu/api/v1/synthetics/tests response: body: - string: '{"id": "p2y-4tr-hqr", "title": "datadog-sync-cli Test Dashboard", "description": - "", "author_handle": "frog@datadoghq.com", "author_name": "Frog", "layout_type": - "ordered", "url": "/dashboard/p2y-4tr-hqr/datadog-sync-cli-test-dashboard", - "is_read_only": false, "template_variables": [], "widgets": [{"definition": - {"title_size": "16", "title": "", "title_align": "left", "precision": 2, "time": - {}, "autoscale": true, "requests": [{"response_format": "scalar", "queries": - [{"query": "avg:system.cpu.user{*}", "data_source": "metrics", "name": "query1", - "aggregator": "avg"}]}], "type": "query_value"}, "layout": {"y": 0, "x": 0, - "height": 2, "width": 2}, "id": 6609238960092638}], "notify_list": [], "created_at": - "2023-07-13T15:44:53.817189+00:00", "modified_at": "2023-07-13T15:44:53.817189+00:00", - "reflow_type": "fixed", "restricted_roles": []}' + string: '{"public_id": "chh-988-mvc", "name": "HTTP Test", "status": "paused", + "type": "api", "tags": [], "created_at": "2023-08-24T14:06:25.074326+00:00", + "modified_at": "2023-08-24T14:06:25.074326+00:00", "config": {"request": {"url": + "https://google.com", "method": "GET"}, "assertions": [{"operator": "lessThan", + "type": "responseTime", "target": 1000}, {"operator": "is", "type": "statusCode", + "target": 301}, {"operator": "is", "property": "content-type", "type": "header", + "target": "text/html; charset=UTF-8"}]}, "message": "Test synthetics ", "options": + {"retry": {"count": 1, "interval": 300}, "tick_every": 604800, "monitor_options": + {"include_tags": true, "notify_audit": false, "new_host_delay": 300, "on_missing_data": + "show_no_data", "renotify_interval": 120}, "monitor_priority": 3, "min_location_failed": + 1, "min_failure_duration": 120}, "locations": ["aws:ca-central-1"], "subtype": + "http", "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", "email": + "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12742212, "org_id": + 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com"}}' headers: {} status: code: 200 message: OK - request: - body: '{"monitor_id": null, "start": 1777521600, "end": null, "canceled": null, - "message": "Sample downtime message", "disabled": false, "recurrence": null, - "timezone": "America/New_York", "parent_id": null, "downtime_type": 0, "status": - "scheduled", "monitor_tags": ["*"], "mute_first_recovery_notification": false, - "notify_end_types": ["expired"], "notify_end_states": ["alert", "no data", "warn"], - "scope": ["*"]}' + body: '{"name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "status": "live", "type": "api", "tags": ["testing:api"], "config": {"request": + {"certificate": {"cert": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": + "cert-filename"}, "key": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": + "key-filename"}}, "url": "https://datadoghq.com", "headers": {"unique": "testtriggersyntheticstestsreturnsokresponse1666783270"}, + "proxy": {"url": "https://datadoghq.com", "headers": {}}, "timeout": 10, "method": + "GET"}, "assertions": [{"operator": "is", "property": "{{ PROPERTY }}", "type": + "header", "target": "text/html"}, {"operator": "lessThan", "type": "responseTime", + "target": 2000}, {"operator": "validatesJSONPath", "type": "body", "target": + {"operator": "isNot", "targetValue": "0", "jsonPath": "topKey"}}], "configVariables": + [{"pattern": "content-type", "type": "text", "example": "content-type", "name": + "PROPERTY"}]}, "message": "BDD test payload: synthetics_api_http_test_payload.json", + "options": {"accept_self_signed": false, "retry": {"count": 3, "interval": 10}, + "min_location_failed": 1, "allow_insecure": true, "follow_redirects": true, + "min_failure_duration": 10, "monitor_priority": 5, "monitor_name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "tick_every": 60}, "locations": ["aws:us-east-2"], "subtype": "http"}' headers: Accept: - '*/*' @@ -2969,39 +2857,53 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000001d55c9efc546e4e5-33926baabcf5d7fa-01 + - 00-000000000000000096c4d5a9291bf980-09c786de7a9bee43-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3716151023592921082' + - '704680156804673091' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '2113817631764440293' + - '10864043123640367488' method: POST - uri: https://api.datadoghq.eu/api/v1/downtime + uri: https://api.datadoghq.eu/api/v1/synthetics/tests response: body: - string: '{"id": 266435774, "monitor_id": null, "org_id": 1000044987, "start": - 1777521600, "end": null, "canceled": null, "created": 1689263094, "modified": - 1689263094, "message": "Sample downtime message", "active": false, "disabled": - false, "recurrence": null, "timezone": "America/New_York", "parent_id": null, - "child_id": null, "creator_id": 1000219667, "updater_id": null, "downtime_type": - 0, "status": "scheduled", "monitor_tags": ["*"], "mute_first_recovery_notification": - false, "notify_end_types": ["expired"], "notify_end_states": ["alert", "no - data", "warn"], "uuid": "363fe1c6-2194-11ee-83e6-da7ad0900005", "scope": ["*"]}' + string: '{"public_id": "68x-e34-mra", "name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "status": "live", "type": "api", "tags": ["testing:api"], "created_at": "2023-08-24T14:06:26.071547+00:00", + "modified_at": "2023-08-24T14:06:26.071547+00:00", "config": {"request": {"certificate": + {"cert": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "cert-filename"}, + "key": {"updatedAt": "2020-10-16T09:23:24.857Z", "filename": "key-filename"}}, + "url": "https://datadoghq.com", "headers": {"unique": "testtriggersyntheticstestsreturnsokresponse1666783270"}, + "proxy": {"url": "https://datadoghq.com", "headers": {}}, "timeout": 10, "method": + "GET"}, "assertions": [{"operator": "is", "property": "{{ PROPERTY }}", "type": + "header", "target": "text/html"}, {"operator": "lessThan", "type": "responseTime", + "target": 2000}, {"operator": "validatesJSONPath", "type": "body", "target": + {"operator": "isNot", "targetValue": "0", "jsonPath": "topKey"}}], "configVariables": + [{"pattern": "content-type", "type": "text", "example": "content-type", "name": + "PROPERTY"}]}, "message": "BDD test payload: synthetics_api_http_test_payload.json", + "options": {"accept_self_signed": false, "retry": {"count": 3, "interval": + 10}, "min_location_failed": 1, "allow_insecure": true, "follow_redirects": + true, "min_failure_duration": 10, "monitor_priority": 5, "monitor_name": "Test-Trigger_Synthetics_tests_returns_OK_response-1666783270", + "tick_every": 60}, "locations": ["aws:us-east-2"], "subtype": "http", "created_by": + {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}, + "deleted_at": null, "monitor_id": 12742217, "org_id": 1000044987, "modified_by": + {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}' headers: {} status: code: 200 message: OK - request: - body: '{"monitor_id": null, "start": 1807675200, "end": null, "canceled": null, - "message": "Sample message", "disabled": false, "recurrence": null, "timezone": - "America/New_York", "parent_id": null, "downtime_type": 0, "status": "scheduled", - "monitor_tags": ["*"], "mute_first_recovery_notification": false, "notify_end_types": - ["expired"], "notify_end_states": ["alert", "no data", "warn"], "scope": ["*"]}' + body: '{"name": "TCP Test", "status": "live", "type": "api", "tags": ["foo:bar", + "foo", "env:test"], "config": {"request": {"host": "example.org", "port": 443}, + "assertions": [{"operator": "lessThan", "type": "responseTime", "target": 2000}]}, + "message": "Notify @pagerduty", "options": {"monitor_options": {"notify_audit": + false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", + "renotify_interval": 0}, "tick_every": 900, "min_location_failed": 1}, "locations": + ["aws:eu-central-1"], "subtype": "tcp"}' headers: Accept: - '*/*' @@ -3010,29 +2912,183 @@ interactions: Content-Type: - application/json traceparent: - - 00-000000000000000042b8dbcf38fe840d-1afc3c0794bfdc77-01 + - 00-0000000000000000ac7c39ffb6c63364-65f14862ad6a2e25-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '1944495142375251063' + - '7345732055871401509' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4807834285278921741' + - '12428872842081612644' method: POST - uri: https://api.datadoghq.eu/api/v1/downtime + uri: https://api.datadoghq.eu/api/v1/synthetics/tests response: body: - string: '{"id": 266435777, "monitor_id": null, "org_id": 1000044987, "start": - 1807675200, "end": null, "canceled": null, "created": 1689263094, "modified": - 1689263094, "message": "Sample message", "active": false, "disabled": false, - "recurrence": null, "timezone": "America/New_York", "parent_id": null, "child_id": - null, "creator_id": 1000219667, "updater_id": null, "downtime_type": 0, "status": - "scheduled", "monitor_tags": ["*"], "mute_first_recovery_notification": false, - "notify_end_types": ["expired"], "notify_end_states": ["alert", "no data", - "warn"], "uuid": "36822fae-2194-11ee-91d5-da7ad0900005", "scope": ["*"]}' + string: '{"public_id": "zvy-qiu-97k", "name": "TCP Test", "status": "live", + "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2023-08-24T14:06:26.822321+00:00", + "modified_at": "2023-08-24T14:06:26.822321+00:00", "config": {"request": {"host": + "example.org", "port": 443}, "assertions": [{"operator": "lessThan", "type": + "responseTime", "target": 2000}]}, "message": "Notify @pagerduty", "options": + {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": + 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": + 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": + "tcp", "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", "email": + "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12742218, "org_id": + 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com"}}' + headers: {} + status: + code: 200 + message: OK +- request: + body: '{"name": "SSL Test", "status": "live", "type": "api", "tags": ["foo:bar", + "foo", "env:test"], "config": {"request": {"host": "example.org", "port": 443}, + "assertions": [{"operator": "isInMoreThan", "type": "certificate", "target": + 30}]}, "message": "Notify @pagerduty", "options": {"accept_self_signed": true, + "monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": + 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "min_location_failed": + 1, "tick_every": 900}, "locations": ["aws:eu-central-1"], "subtype": "ssl"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-0000000000000000f2c6b36307547c5e-ade252eb7833f426-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '12529668284585604134' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '17493867040473381982' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests + response: + body: + string: '{"public_id": "73c-8ud-fhw", "name": "SSL Test", "status": "live", + "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2023-08-24T14:06:27.509713+00:00", + "modified_at": "2023-08-24T14:06:27.509713+00:00", "config": {"request": {"host": + "example.org", "port": 443}, "assertions": [{"operator": "isInMoreThan", "type": + "certificate", "target": 30}]}, "message": "Notify @pagerduty", "options": + {"accept_self_signed": true, "monitor_options": {"notify_audit": false, "include_tags": + true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0}, "min_location_failed": 1, "tick_every": 900}, "locations": ["aws:eu-central-1"], + "subtype": "ssl", "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12742219, + "org_id": 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com"}}' + headers: {} + status: + code: 200 + message: OK +- request: + body: '{"name": "DNS Test", "status": "live", "type": "api", "tags": ["foo:bar", + "foo", "env:test"], "config": {"request": {"host": "example.org"}, "assertions": + [{"operator": "is", "property": "A", "type": "recordSome", "target": "0.0.0.0"}]}, + "message": "Notify @pagerduty", "options": {"monitor_options": {"notify_audit": + false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", + "renotify_interval": 0}, "tick_every": 900, "min_location_failed": 1}, "locations": + ["aws:eu-central-1"], "subtype": "dns"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-000000000000000054185bf22fbeb9f2-68cc89b55a82d6a9-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '7551562087194089129' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '6059694394368244210' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests + response: + body: + string: '{"public_id": "zuw-h5t-mn2", "name": "DNS Test", "status": "live", + "type": "api", "tags": ["foo:bar", "foo", "env:test"], "created_at": "2023-08-24T14:06:28.095516+00:00", + "modified_at": "2023-08-24T14:06:28.095516+00:00", "config": {"request": {"host": + "example.org"}, "assertions": [{"operator": "is", "property": "A", "type": + "recordSome", "target": "0.0.0.0"}]}, "message": "Notify @pagerduty", "options": + {"monitor_options": {"notify_audit": false, "include_tags": true, "new_host_delay": + 300, "on_missing_data": "show_no_data", "renotify_interval": 0}, "tick_every": + 900, "min_location_failed": 1}, "locations": ["aws:eu-central-1"], "subtype": + "dns", "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", "email": + "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12742220, "org_id": + 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com"}}' + headers: {} + status: + code: 200 + message: OK +- request: + body: '{"name": "Multistep API Test", "status": "live", "type": "api", "tags": + ["check_type:api", "env:test", "test:update"], "config": {"steps": [{"retry": + {"count": 0, "interval": 300}, "name": "Test on datadoghq.com", "request": {"url": + "https://datadoghq.com", "headers": {"content-type": "text/html"}, "method": + "GET"}, "subtype": "http", "allowFailure": false, "extractedValues": [], "isCritical": + true, "id": "vek-567-n38", "assertions": [{"operator": "lessThan", "type": "responseTime", + "target": 1000}, {"operator": "is", "type": "statusCode", "target": 301}]}], + "configVariables": []}, "message": "", "options": {"monitor_options": {"notify_audit": + false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", + "renotify_interval": 0}, "retry": {"count": 0, "interval": 300}, "min_location_failed": + 1, "min_failure_duration": 0, "tick_every": 604800}, "locations": ["aws:sa-east-1"], + "subtype": "multi"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-000000000000000043a3d2f293efc0e1-f576c6f1e5d231eb-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '17687543328789377515' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '4873971161050890465' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests + response: + body: + string: '{"public_id": "wys-ph9-qyp", "name": "Multistep API Test", "status": + "live", "type": "api", "tags": ["check_type:api", "env:test", "test:update"], + "created_at": "2023-08-24T14:06:28.998766+00:00", "modified_at": "2023-08-24T14:06:28.998766+00:00", + "config": {"steps": [{"retry": {"count": 0, "interval": 300}, "name": "Test + on datadoghq.com", "request": {"url": "https://datadoghq.com", "headers": + {"content-type": "text/html"}, "method": "GET"}, "subtype": "http", "allowFailure": + false, "extractedValues": [], "isCritical": true, "id": "vek-567-n38", "assertions": + [{"operator": "lessThan", "type": "responseTime", "target": 1000}, {"operator": + "is", "type": "statusCode", "target": 301}]}], "configVariables": []}, "message": + "", "options": {"monitor_options": {"notify_audit": false, "include_tags": + true, "new_host_delay": 300, "on_missing_data": "show_no_data", "renotify_interval": + 0}, "retry": {"count": 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": + 0, "tick_every": 604800}, "locations": ["aws:sa-east-1"], "subtype": "multi", + "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}, + "deleted_at": null, "monitor_id": 12742221, "org_id": 1000044987, "modified_by": + {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}' headers: {} status: code: 200 @@ -3048,24 +3104,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000a0b2793fea0f100e-3c3800856419a60b-01 + - 00-00000000000000004ffce5d89f38dc25-ba0afa3c064698f5-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '4339218813881525771' + - '13405802376531974389' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11579450907339722766' + - '5763734341674392613' method: PATCH uri: https://api.datadoghq.eu/api/v2/users/5a322106-c891-11eb-873a-da7ad0900005 response: body: string: '{"data": {"type": "users", "id": "5a322106-c891-11eb-873a-da7ad0900005", "attributes": {"name": "test-user", "handle": "new@example.com", "created_at": - "2021-06-08T19:40:17.395117+00:00", "modified_at": "2023-07-13T15:44:55.282530+00:00", + "2021-06-08T19:40:17.395117+00:00", "modified_at": "2023-08-24T14:06:29.442197+00:00", "email": "new@example.com", "icon": "https://secure.gravatar.com/avatar/b681d72feaf8bf6a93d9a8ab86679ec3?s=48&d=retro", "title": null, "verified": false, "service_account": false, "disabled": false, "allowed_login_methods": [], "status": "Pending"}, "relationships": {"roles": @@ -3076,7 +3132,7 @@ interactions: message: OK - request: body: '{"name": "TEST_FROM_HTTP", "description": "", "type": "variable", "tags": - [], "parse_test_public_id": "vws-tex-mrw", "parse_test_options": {"type": "http_header", + [], "parse_test_public_id": "chh-988-mvc", "parse_test_options": {"type": "http_header", "field": "content-type", "parser": {"type": "raw"}}, "value": {"value": "", "secure": false, "options": {}}}' headers: @@ -3087,24 +3143,24 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000e6429980a627ad3b-892f43b560ab5fca-01 + - 00-0000000000000000215de32b46ff5130-39ac80a1be2d1915-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '9885194153391513546' + - '4155837988324841749' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '16591992755008810299' + - '2404327551099949360' method: POST uri: https://api.datadoghq.eu/api/v1/synthetics/variables response: body: - string: '{"id": "095d5357-f276-49fa-97ac-41c15472dff5", "name": "TEST_FROM_HTTP", + string: '{"id": "a0f59d57-a801-4aab-9c1e-10c059d895d8", "name": "TEST_FROM_HTTP", "description": "", "type": "variable", "tags": [], "parse_test_public_id": - "vws-tex-mrw", "parse_test_name": null, "parse_test_options": {"type": "http_header", + "chh-988-mvc", "parse_test_name": null, "parse_test_options": {"type": "http_header", "field": "content-type", "parser": {"type": "raw"}}, "parse_test_extracted_at": null, "is_totp": null, "is_fido": null, "last_error": null, "value": {"value": "", "secure": false, "options": {}}}' @@ -3113,98 +3169,11 @@ interactions: code: 200 message: OK - request: - body: '{"name": "Browser Test (cloned)", "status": "live", "type": "browser", - "tags": [], "config": {"variables": [], "setCookie": "", "request": {"url": - "https://docs.datadoghq.com", "headers": {"test": "{{ TEST_VARIABLE }}", "test_two": - "{{ TEST_VAR_LOCAL }}"}, "method": "GET"}, "assertions": [], "configVariables": - [{"pattern": "TEST_VAR_LOCAL", "type": "text", "name": "TEST_VAR_LOCAL", "example": - "TEST_VAR_LOCAL"}, {"type": "global", "id": "d1b9d99d-756a-45b1-a6aa-8a92158b18b6", - "name": "TEST_VARIABLE"}]}, "message": "", "options": {"enableSecurityTesting": - false, "retry": {"count": 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": - 0, "noScreenshot": false, "tick_every": 604800, "disableCsp": false, "disableCors": - false, "enableProfiling": false, "rumSettings": {"isEnabled": false}, "device_ids": - ["chrome.laptop_large", "firefox.laptop_large", "chrome.tablet", "chrome.mobile_small", - "firefox.mobile_small", "firefox.tablet"], "monitor_options": {"notify_audit": - false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0}, "ignoreServerCertificateError": false}, "locations": - ["aws:us-west-1"], "steps": [{"name": "Type text on input \"s\"", "params": - {"value": "api", "element": {"url": "https://docs.datadoghq.com/", "multiLocator": - {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"section\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"form\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"span\"][1]/*[local-name()=\"input\"][2]", - "at": "/descendant::*[@name=\"s\"]", "cl": "/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" docssearch-input \") and contains(concat('' - '', normalize-space(@class), '' ''), \" ds-input \")]", "co": "[{\"text\":\"search - documentation...\",\"textType\":\"placeholder\"}]", "ro": "//*[@name=\"s\"]", - "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), - \" docssearch-input \") and contains(concat('' '', normalize-space(@class), - '' ''), \" ds-input \")]"}, "targetOuterHTML": "API - \u00bb AuthN Mappings"}}, "type": "click", "allowFailure": false, "isCritical": - true, "noScreenshot": false}, {"name": "Click on link \"Go\"", "params": {"element": - {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/", "multiLocator": - {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][4]/*[local-name()=\"a\"][1]", - "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=go#\"]", - "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), - \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": "[{\"text\":\"go\",\"textType\":\"directText\"},{\"relation\":\"PARENT - OF\",\"tagName\":\"DIV\",\"text\":\" get an authn mapping by uuid\",\"textType\":\"innerText\"}]", - "ro": null, "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), - '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., - ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', - ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) - = \"go\"]]"}, "targetOuterHTML": "Go"}}, "type": "click", - "allowFailure": false, "isCritical": true, "noScreenshot": false}, {"name": - "Click on link \"Python [beta]\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=go", - "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][3]/*[local-name()=\"a\"][1]", - "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=ruby#\"]", - "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), - \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": "[{\"text\":\"ruby\",\"textType\":\"directText\"},{\"relation\":\"PARENT - OF\",\"tagName\":\"DIV\",\"text\":\" get an authn mapping by uuid\",\"textType\":\"innerText\"}]", - "ro": null, "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), - '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., - ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', - ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) - = \"ruby\"]]"}, "targetOuterHTML": "Ruby"}}, "type": - "click", "allowFailure": false, "isCritical": true, "noScreenshot": false}, - {"name": "Click on button \"Copy\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=ruby", - "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"h5\"][1]/*[local-name()=\"button\"][1]", - "at": "", "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), - '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" btn \")]", "co": "[{\"text\":\"get an - authn mapping by uuid\",\"textType\":\"directText\"},{\"relation\":\"PARENT - OF\",\"tagName\":\"SPAN\",\"text\":\"# get an authn mapping by uuid returns - \\\"ok\\\" response \",\"textType\":\"innerText\"}]", "ro": null, "clt": "/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" btn \")]"}, "targetOuterHTML": ""}}, "type": "click", "allowFailure": false, "isCritical": true, - "noScreenshot": false}]}' + body: '{"type": "composite", "name": "Composite monitor", "message": "test", "tags": + [], "query": "( 12742200 && 12742199 ) || !12742200", "options": {"notify_audit": + false, "locked": false, "include_tags": false, "new_host_delay": 300, "notify_no_data": + false, "renotify_interval": 0, "escalation_message": "", "silenced": {}}, "multi": + false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -3213,166 +3182,40 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000d60254568fd5c679-43b1ddf315ec1613-01 + - 00-0000000000000000d3e1b468cfdb93c5-18295d9c99b75add-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '4877923907533542931' + - '1741025658130619101' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '15420980804827072121' + - '15267682574019564485' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests + uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"public_id": "saw-jc6-qhk", "name": "Browser Test (cloned)", "status": - "live", "type": "browser", "tags": [], "created_at": "2023-07-13T15:45:02.836556+00:00", - "modified_at": "2023-07-13T15:45:02.836556+00:00", "config": {"variables": - [], "setCookie": "", "request": {"url": "https://docs.datadoghq.com", "headers": - {"test": "{{ TEST_VARIABLE }}", "test_two": "{{ TEST_VAR_LOCAL }}"}, "method": - "GET"}, "assertions": [], "configVariables": [{"pattern": "TEST_VAR_LOCAL", - "type": "text", "name": "TEST_VAR_LOCAL", "example": "TEST_VAR_LOCAL"}, {"type": - "global", "id": "d1b9d99d-756a-45b1-a6aa-8a92158b18b6", "name": "TEST_VARIABLE"}]}, - "message": "", "options": {"enableSecurityTesting": false, "retry": {"count": - 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": 0, - "noScreenshot": false, "tick_every": 604800, "disableCsp": false, "disableCors": - false, "enableProfiling": false, "rumSettings": {"isEnabled": false}, "device_ids": - ["chrome.laptop_large", "firefox.laptop_large", "chrome.tablet", "chrome.mobile_small", - "firefox.mobile_small", "firefox.tablet"], "monitor_options": {"notify_audit": - false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", - "renotify_interval": 0}, "ignoreServerCertificateError": false}, "locations": - ["aws:us-west-1"], "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12076948, - "org_id": 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", - "email": "frog@datadoghq.com"}, "steps": [{"name": "Type text on input \"s\"", - "params": {"value": "api", "element": {"url": "https://docs.datadoghq.com/", - "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"section\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"form\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"span\"][1]/*[local-name()=\"input\"][2]", - "at": "/descendant::*[@name=\"s\"]", "cl": "/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" docssearch-input \") and contains(concat('' - '', normalize-space(@class), '' ''), \" ds-input \")]", "co": "[{\"text\":\"search - documentation...\",\"textType\":\"placeholder\"}]", "ro": "//*[@name=\"s\"]", - "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' - ''), \" docssearch-input \") and contains(concat('' '', normalize-space(@class), - '' ''), \" ds-input \")]"}, "targetOuterHTML": "API - \u00bb AuthN Mappings"}}, "type": "click", "allowFailure": false, "isCritical": - true, "noScreenshot": false}, {"name": "Click on link \"Go\"", "params": {"element": - {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/", "multiLocator": - {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][4]/*[local-name()=\"a\"][1]", - "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=go#\"]", - "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), - \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": - "[{\"text\":\"go\",\"textType\":\"directText\"},{\"relation\":\"PARENT OF\",\"tagName\":\"DIV\",\"text\":\" - get an authn mapping by uuid\",\"textType\":\"innerText\"}]", "ro": null, - "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' - ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., - ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', - ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) - = \"go\"]]"}, "targetOuterHTML": "Go"}}, "type": "click", - "allowFailure": false, "isCritical": true, "noScreenshot": false}, {"name": - "Click on link \"Python [beta]\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=go", - "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][3]/*[local-name()=\"a\"][1]", - "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=ruby#\"]", - "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), - \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": - "[{\"text\":\"ruby\",\"textType\":\"directText\"},{\"relation\":\"PARENT OF\",\"tagName\":\"DIV\",\"text\":\" - get an authn mapping by uuid\",\"textType\":\"innerText\"}]", "ro": null, - "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' - ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., - ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', - ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) - = \"ruby\"]]"}, "targetOuterHTML": "Ruby"}}, "type": - "click", "allowFailure": false, "isCritical": true, "noScreenshot": false}, - {"name": "Click on button \"Copy\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=ruby", - "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"h5\"][1]/*[local-name()=\"button\"][1]", - "at": "", "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), - '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" btn \")]", "co": "[{\"text\":\"get - an authn mapping by uuid\",\"textType\":\"directText\"},{\"relation\":\"PARENT - OF\",\"tagName\":\"SPAN\",\"text\":\"# get an authn mapping by uuid returns - \\\"ok\\\" response \",\"textType\":\"innerText\"}]", "ro": null, "clt": "/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' - '', normalize-space(@class), '' ''), \" btn \")]"}, "targetOuterHTML": ""}}, "type": "click", "allowFailure": false, "isCritical": - true, "noScreenshot": false}], "stepCount": {"assertions": 0, "subtests": - 0, "total": 6}}' + string: '{"id": 12742222, "org_id": 1000044987, "type": "composite", "name": + "Composite monitor", "message": "test", "tags": [], "query": "( 12742200 && + 12742199 ) || !12742200", "options": {"notify_audit": false, "locked": false, + "include_tags": false, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": + 0, "escalation_message": "", "silenced": {}}, "multi": false, "created_at": + 1692885990000, "created": "2023-08-24T14:06:30.264789+00:00", "modified": + "2023-08-24T14:06:30.264789+00:00", "deleted": null, "restricted_roles": null, + "priority": null, "overall_state_modified": null, "overall_state": "No Data", + "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", + "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", - "status": "paused", "type": "api", "tags": ["multistep"], "config": {"assertions": - [], "configVariables": [{"id": "23711b02-52c1-4481-802b-c01c5fabe6ca", "name": - "VARIABLE_NAME", "type": "global"}], "steps": [{"allowFailure": true, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [{"field": "content-length", "name": "VAR_EXTRACT", "parser": {"type": "regex", - "value": ".*"}, "secure": true, "type": "http_header"}], "isCritical": false, - "name": "First api step", "request": {"allow_insecure": true, "basicAuth": {"accessKey": - "sigv4-access-key", "region": "sigv4-region", "secretKey": "sigv4-secret-key", - "serviceName": "sigv4-service-name", "sessionToken": "sigv4-session-token", - "type": "sigv4"}, "body": "this is a body", "certificate": {"cert": {"filename": - "Provided in Terraform config"}, "key": {"filename": "key"}}, "follow_redirects": - true, "headers": {"Accept": "application/json", "X-Datadog-Trace-ID": "123456789"}, - "method": "GET", "proxy": {"headers": {"Accept": "application/json", "X-Datadog-Trace-ID": - "123456789"}, "url": "https://proxy.url"}, "query": {"foo": "bar"}, "timeout": - 30, "url": "https://www.datadoghq.com"}, "retry": {"count": 5, "interval": 1000}, - "subtype": "http", "id": "3xr-p38-qba"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Second api step", "request": {"allow_insecure": - true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": - "audience", "clientId": "client-id", "clientSecret": "client-secret", "scope": - "scope", "tokenApiAuthentication": "header", "type": "oauth-client"}, "body": - "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, - "subtype": "http", "id": "3ij-dfg-6tw"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Third api step", "request": {"allow_insecure": - true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": - "audience", "clientId": "client-id", "clientSecret": "client-secret", "password": - "password", "resource": "resource", "scope": "scope", "tokenApiAuthentication": - "body", "type": "oauth-rop", "username": "username"}, "body": "", "follow_redirects": - true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, - "subtype": "http", "id": "it3-n6p-xnp"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Fourth api step", "request": {"allow_insecure": - true, "basicAuth": {"password": "password", "type": "digest", "username": "username"}, - "body": "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": - "https://docs.datadoghq.com"}, "subtype": "http", "id": "vid-d39-qgr"}]}, "message": - "Notify @datadog.user", "options": {"min_location_failed": 1, "restricted_roles": - ["2aadca3a-2194-11ee-824f-da7ad0900005"], "tick_every": 900}, "locations": ["aws:eu-central-1"], - "subtype": "multi"}' + body: '{"name": "Composite monitor - Child 2", "tags": [], "monitor_tags": [], + "thresholds": [{"timeframe": "7d", "target": 99.0, "target_display": "99."}], + "type": "monitor", "type_id": 0, "description": "Updated Description Test", + "timeframe": "7d", "target_threshold": 99.0, "monitor_ids": [12742201, 12742200]}' headers: Accept: - '*/*' @@ -3381,111 +3224,35 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000003205b0f707d19321-8a1c4191feb255d7-01 + - 00-000000000000000061baabdba9205e3f-8a405217306e4df6-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '9951901371881117143' + - '9962052635293797878' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '3604481651814535969' + - '7042129927270850111' method: POST - uri: https://api.datadoghq.eu/api/v1/synthetics/tests + uri: https://api.datadoghq.eu/api/v1/slo response: body: - string: '{"public_id": "np5-nmb-hvt", "name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", - "status": "paused", "type": "api", "tags": ["multistep"], "created_at": "2023-07-13T15:45:06.292091+00:00", - "modified_at": "2023-07-13T15:45:06.292091+00:00", "config": {"assertions": - [], "configVariables": [{"id": "23711b02-52c1-4481-802b-c01c5fabe6ca", "name": - "VARIABLE_NAME", "type": "global"}], "steps": [{"allowFailure": true, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [{"field": "content-length", "name": "VAR_EXTRACT", "parser": {"type": "regex", - "value": ".*"}, "secure": true, "type": "http_header"}], "isCritical": false, - "name": "First api step", "request": {"allow_insecure": true, "basicAuth": - {"accessKey": "sigv4-access-key", "region": "sigv4-region", "secretKey": "sigv4-secret-key", - "serviceName": "sigv4-service-name", "sessionToken": "sigv4-session-token", - "type": "sigv4"}, "body": "this is a body", "certificate": {"cert": {"filename": - "Provided in Terraform config"}, "key": {"filename": "key"}}, "follow_redirects": - true, "headers": {"Accept": "application/json", "X-Datadog-Trace-ID": "123456789"}, - "method": "GET", "proxy": {"headers": {"Accept": "application/json", "X-Datadog-Trace-ID": - "123456789"}, "url": "https://proxy.url"}, "query": {"foo": "bar"}, "timeout": - 30, "url": "https://www.datadoghq.com"}, "retry": {"count": 5, "interval": - 1000}, "subtype": "http", "id": "3xr-p38-qba"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Second api step", "request": {"allow_insecure": - true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": - "audience", "clientId": "client-id", "clientSecret": "client-secret", "scope": - "scope", "tokenApiAuthentication": "header", "type": "oauth-client"}, "body": - "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, - "subtype": "http", "id": "3ij-dfg-6tw"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Third api step", "request": {"allow_insecure": - true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": - "audience", "clientId": "client-id", "clientSecret": "client-secret", "password": - "password", "resource": "resource", "scope": "scope", "tokenApiAuthentication": - "body", "type": "oauth-rop", "username": "username"}, "body": "", "follow_redirects": - true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, - "subtype": "http", "id": "it3-n6p-xnp"}, {"allowFailure": false, "assertions": - [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": - [], "isCritical": false, "name": "Fourth api step", "request": {"allow_insecure": - true, "basicAuth": {"password": "password", "type": "digest", "username": - "username"}, "body": "", "follow_redirects": true, "method": "GET", "timeout": - 30, "url": "https://docs.datadoghq.com"}, "subtype": "http", "id": "vid-d39-qgr"}]}, - "message": "Notify @datadog.user", "options": {"min_location_failed": 1, "restricted_roles": - ["2aadca3a-2194-11ee-824f-da7ad0900005"], "tick_every": 900}, "locations": - ["aws:eu-central-1"], "subtype": "multi", "created_by": {"name": "Frog", "handle": - "frog@datadoghq.com", "email": "frog@datadoghq.com"}, "deleted_at": null, - "monitor_id": 12076949, "org_id": 1000044987, "modified_by": {"name": "Frog", - "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}' - headers: {} - status: - code: 200 - message: OK -- request: - body: '{"name": "Composite monitor - Child 2", "tags": [], "monitor_tags": [], - "thresholds": [{"timeframe": "7d", "target": 99.0, "target_display": "99."}], - "type": "monitor", "type_id": 0, "description": "Updated Description Test", - "timeframe": "7d", "target_threshold": 99.0, "monitor_ids": [12076934, 12076935]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - traceparent: - - 00-00000000000000003123efd1a13765f9-b6ce46376e1059c7-01 - tracestate: - - dd=s:1;t.dm:-0 - x-datadog-parent-id: - - '13172543163988990407' - x-datadog-sampling-priority: - - '1' - x-datadog-tags: - - _dd.p.dm=-0 - x-datadog-trace-id: - - '3540937415675307513' - method: POST - uri: https://api.datadoghq.eu/api/v1/slo - response: - body: - string: '{"data": [{"id": "6440a931dd1d5f6bbe0eb21a830eecc0", "name": "Composite + string: '{"data": [{"id": "c72541bf2417583d9e7a5730ebeac188", "name": "Composite monitor - Child 2", "tags": [], "monitor_tags": [], "thresholds": [{"timeframe": "7d", "target": 99.0, "target_display": "99."}], "type": "monitor", "type_id": 0, "description": "Updated Description Test", "timeframe": "7d", "target_threshold": - 99.0, "monitor_ids": [12076934, 12076935], "creator": {"name": "Frog", "handle": - "frog@datadoghq.com", "email": "frog@datadoghq.com"}, "created_at": 1689263107, - "modified_at": 1689263107}], "error": null}' + 99.0, "monitor_ids": [12742201, 12742200], "creator": {"name": "Frog", "handle": + "frog@datadoghq.com", "email": "frog@datadoghq.com"}, "created_at": 1692885990, + "modified_at": 1692885990}], "error": null}' headers: {} status: code: 200 message: OK - request: body: '{"type": "slo alert", "name": "Test slo monitor", "message": "Random message", - "tags": [], "query": "error_budget(\"22c2335dc3fe567496f602844803c7b3\").over(\"7d\") + "tags": [], "query": "error_budget(\"9fb35ed46b6b5014961afe6928206468\").over(\"7d\") > 100", "options": {"thresholds": {"critical": 100.0}, "notify_no_data": false, "notify_audit": false, "new_host_delay": 300, "include_tags": true, "silenced": {}}, "multi": false, "restricted_roles": null, "priority": null}' @@ -3497,27 +3264,27 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000521ac67f350bd687-2d12fb3c203e9059-01 + - 00-000000000000000058a41b2711baee4b-3b21ae683b9dbd79-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '3247934516945129561' + - '4260878485169225081' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '5916259310157682311' + - '6387260026133343819' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 12076950, "org_id": 1000044987, "type": "slo alert", "name": - "Test slo monitor", "message": "Random message", "tags": [], "query": "error_budget(\"22c2335dc3fe567496f602844803c7b3\").over(\"7d\") + string: '{"id": 12742223, "org_id": 1000044987, "type": "slo alert", "name": + "Test slo monitor", "message": "Random message", "tags": [], "query": "error_budget(\"9fb35ed46b6b5014961afe6928206468\").over(\"7d\") > 100", "options": {"thresholds": {"critical": 100.0}, "notify_no_data": false, "notify_audit": false, "new_host_delay": 300, "include_tags": true, "silenced": - {}}, "multi": false, "created_at": 1689263107000, "created": "2023-07-13T15:45:07.698589+00:00", - "modified": "2023-07-13T15:45:07.698589+00:00", "deleted": null, "restricted_roles": + {}}, "multi": false, "created_at": 1692885991000, "created": "2023-08-24T14:06:31.155999+00:00", + "modified": "2023-08-24T14:06:31.155999+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", "id": 1000219667}}' @@ -3535,28 +3302,28 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000009a5a46624871ac58-00be1657faf3e63d-01 + - 00-00000000000000009bb2a72f03a0de77-6d16d8f7dcb9e86c-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '53504812703278653' + - '7860708758693472364' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11122279617681009752' + - '11219213442099502711' method: POST - uri: https://api.datadoghq.eu/api/v2/roles/2e9fd49e-2194-11ee-91d5-da7ad0900005/users + uri: https://api.datadoghq.eu/api/v2/roles/64f2bca0-4287-11ee-92e9-da7ad0900005/users response: body: string: '{"data": [{"type": "users", "id": "e0c5d064-c7b0-11eb-944d-da7ad0900005", "attributes": {"name": "None+ updated", "handle": "test-user-example@datadoghq.com", - "created_at": "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-07-13T15:39:17.714532+00:00", + "created_at": "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-07-13T15:45:28.291767+00:00", "email": "test-user-example@datadoghq.com", "icon": "https://secure.gravatar.com/avatar/034ab28ed9a3b29bccdb4d7b94cd7e03?s=48&d=retro", "title": null, "verified": false, "service_account": false, "disabled": true, "allowed_login_methods": [], "status": "Disabled"}, "relationships": {"roles": - {"data": [{"type": "roles", "id": "2e9fd49e-2194-11ee-91d5-da7ad0900005"}]}, + {"data": [{"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005"}]}, "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}], "meta": {"page": {"total_count": 1}}}' headers: {} @@ -3575,32 +3342,32 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000003dc45b6e1f319898-6b889d9efb799632-01 + - 00-0000000000000000e33189b9ce0e640c-fd28fb899f1ada8f-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '7748616465040381490' + - '18242106859162622607' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '4450782860276766872' + - '16371017551587468300' method: PATCH uri: https://api.datadoghq.eu/api/v2/users/e0c5d064-c7b0-11eb-944d-da7ad0900005 response: body: string: '{"data": {"type": "users", "id": "e0c5d064-c7b0-11eb-944d-da7ad0900005", "attributes": {"name": "None+ updated", "handle": "test-user-example@datadoghq.com", - "created_at": "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-07-13T15:45:08.817381+00:00", + "created_at": "2021-06-07T16:53:26.412706+00:00", "modified_at": "2023-08-24T14:06:31.936363+00:00", "email": "test-user-example@datadoghq.com", "icon": "https://secure.gravatar.com/avatar/034ab28ed9a3b29bccdb4d7b94cd7e03?s=48&d=retro", "title": null, "verified": false, "service_account": false, "disabled": false, "allowed_login_methods": [], "status": "Pending"}, "relationships": {"roles": - {"data": [{"type": "roles", "id": "2e9fd49e-2194-11ee-91d5-da7ad0900005"}]}, + {"data": [{"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005"}]}, "org": {"data": {"type": "orgs", "id": "13865f06-bfcc-11eb-8e11-da7ad0900005"}}}}, - "included": [{"type": "roles", "id": "2e9fd49e-2194-11ee-91d5-da7ad0900005", - "attributes": {"name": "Datadog Read Only Role", "created_at": "2023-07-13T15:44:41.615717+00:00", - "modified_at": "2023-07-13T15:44:41.665725+00:00"}, "relationships": {"permissions": + "included": [{"type": "roles", "id": "64f2bca0-4287-11ee-92e9-da7ad0900005", + "attributes": {"name": "Datadog Read Only Role", "created_at": "2023-08-24T14:06:17.669971+00:00", + "modified_at": "2023-08-24T14:06:17.720654+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", @@ -3749,54 +3516,89 @@ interactions: "created": "2022-08-08T16:55:49.055930+00:00", "group_name": "APM", "display_type": "read", "restricted": false}}, {"type": "permissions", "id": "72d1e2fe-1cd8-11ed-a26b-da7ad0900005", "attributes": {"name": "watchdog_insights_read", "display_name": "Watchdog - Insights Read", "description": "View Watchdog Insights.", "created": "2022-08-15T20:25:48.321553+00:00", - "group_name": "Watchdog", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005", "attributes": - {"name": "appsec_protect_read", "display_name": "Application Security Management - Protect Read", "description": "View blocked attackers.", "created": "2022-10-27T09:25:59.057166+00:00", - "group_name": "Cloud Security Platform", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005", - "attributes": {"name": "appsec_activation_read", "display_name": "Application - Security Management 1-click Enablement Read", "description": "View whether - Application Security Management has been enabled or disabled on services via - 1-click enablement with Remote Configuration.", "created": "2022-10-27T09:25:59.047444+00:00", - "group_name": "Cloud Security Platform", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "926612da-7a4c-11ed-b809-da7ad0900005", - "attributes": {"name": "cases_read", "display_name": "Cases Read", "description": - "View Cases.", "created": "2022-12-12T18:41:21.060748+00:00", "group_name": - "Case and Incident Management", "display_type": "read", "restricted": false}}, - {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005", "attributes": - {"name": "ci_visibility_read", "display_name": "CI Visibility Read", "description": - "View CI Visibility.", "created": "2022-12-13T16:02:28.814628+00:00", "group_name": - "CI Visibility", "display_type": "read", "restricted": true}}, {"type": "permissions", - "id": "55f64460-7d61-11ed-9c36-da7ad0900005", "attributes": {"name": "continuous_profiler_read", - "display_name": "Continuous Profiler Read", "description": "View data in Continuous - Profiler.", "created": "2022-12-16T16:47:32.584514+00:00", "group_name": "APM", - "display_type": "read", "restricted": false}}, {"type": "permissions", "id": - "94c8a4da-de87-11ed-9e92-da7ad0900005", "attributes": {"name": "client_tokens_read", - "display_name": "Client Tokens Read", "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.", "created": "2023-04-19T07:55:41.646942+00:00", - "group_name": "API and Application Keys", "display_type": "read", "restricted": - false}}, {"type": "permissions", "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", - "attributes": {"name": "cloud_cost_management_read", "display_name": "Cloud - Cost Management Read", "description": "Read cloud cost data such as cost metrics - and tags.", "created": "2023-05-31T19:20:42.284425+00:00", "group_name": "Cloud - Cost Management", "display_type": "read", "restricted": false}}, {"type": - "permissions", "id": "3276c638-0ebe-11ee-9428-da7ad0900005", "attributes": - {"name": "quality_gate_rules_read", "display_name": "Quality Gate Rules Read", - "description": "View Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", + Insights Read", "description": "Deprecated. View Watchdog Insights.", "created": + "2022-08-15T20:25:48.321553+00:00", "group_name": "Watchdog", "display_type": + "read", "restricted": false}}, {"type": "permissions", "id": "5def2f6a-55d9-11ed-9ccb-da7ad0900005", + "attributes": {"name": "appsec_protect_read", "display_name": "Application + Security Management Protect Read", "description": "View blocked attackers.", + "created": "2022-10-27T09:25:59.057166+00:00", "group_name": "Cloud Security + Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "5dedec22-55d9-11ed-9ccb-da7ad0900005", "attributes": {"name": "appsec_activation_read", + "display_name": "Application Security Management 1-click Enablement Read", + "description": "View whether Application Security Management has been enabled + or disabled on services via 1-click enablement with Remote Configuration.", + "created": "2022-10-27T09:25:59.047444+00:00", "group_name": "Cloud Security + Platform", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "926612da-7a4c-11ed-b809-da7ad0900005", "attributes": {"name": "cases_read", + "display_name": "Cases Read", "description": "View Cases.", "created": "2022-12-12T18:41:21.060748+00:00", + "group_name": "Case and Incident Management", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "8b2660ac-7aff-11ed-9d0d-da7ad0900005", + "attributes": {"name": "ci_visibility_read", "display_name": "CI Visibility + Read", "description": "View CI Visibility.", "created": "2022-12-13T16:02:28.814628+00:00", + "group_name": "CI Visibility", "display_type": "read", "restricted": true}}, + {"type": "permissions", "id": "55f64460-7d61-11ed-9c36-da7ad0900005", "attributes": + {"name": "continuous_profiler_read", "display_name": "Continuous Profiler + Read", "description": "View data in Continuous Profiler.", "created": "2022-12-16T16:47:32.584514+00:00", + "group_name": "APM", "display_type": "read", "restricted": false}}, {"type": + "permissions", "id": "94c8a4da-de87-11ed-9e92-da7ad0900005", "attributes": + {"name": "client_tokens_read", "display_name": "Client Tokens Read", "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.", + "created": "2023-04-19T07:55:41.646942+00:00", "group_name": "API and Application + Keys", "display_type": "read", "restricted": false}}, {"type": "permissions", + "id": "3c05b450-ffe8-11ed-b4b4-da7ad0900005", "attributes": {"name": "cloud_cost_management_read", + "display_name": "Cloud Cost Management Read", "description": "Read cloud cost + data such as cost metrics and tags.", "created": "2023-05-31T19:20:42.284425+00:00", + "group_name": "Cloud Cost Management", "display_type": "read", "restricted": + false}}, {"type": "permissions", "id": "3276c638-0ebe-11ee-9428-da7ad0900005", + "attributes": {"name": "quality_gate_rules_read", "display_name": "Quality + Gate Rules Read", "description": "View Quality Gate Rules.", "created": "2023-06-19T16:27:34.826612+00:00", "group_name": "CI Visibility", "display_type": "read", "restricted": false}}]}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "composite", "name": "Composite monitor", "message": "test", "tags": - [], "query": "( 12076935 && 12076938 ) || !12076935", "options": {"notify_audit": - false, "locked": false, "include_tags": false, "new_host_delay": 300, "notify_no_data": - false, "renotify_interval": 0, "escalation_message": "", "silenced": {}}, "multi": - false, "restricted_roles": null, "priority": null}' + body: '{"name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", + "status": "paused", "type": "api", "tags": ["multistep"], "config": {"assertions": + [], "configVariables": [{"id": "1638b76c-6529-4449-b272-6694dddcc595", "name": + "VARIABLE_NAME", "type": "global"}], "steps": [{"allowFailure": true, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [{"field": "content-length", "name": "VAR_EXTRACT", "parser": {"type": "regex", + "value": ".*"}, "secure": true, "type": "http_header"}], "isCritical": false, + "name": "First api step", "request": {"allow_insecure": true, "basicAuth": {"accessKey": + "sigv4-access-key", "region": "sigv4-region", "secretKey": "sigv4-secret-key", + "serviceName": "sigv4-service-name", "sessionToken": "sigv4-session-token", + "type": "sigv4"}, "body": "this is a body", "certificate": {"cert": {"filename": + "Provided in Terraform config"}, "key": {"filename": "key"}}, "follow_redirects": + true, "headers": {"Accept": "application/json", "X-Datadog-Trace-ID": "123456789"}, + "method": "GET", "proxy": {"headers": {"Accept": "application/json", "X-Datadog-Trace-ID": + "123456789"}, "url": "https://proxy.url"}, "query": {"foo": "bar"}, "timeout": + 30, "url": "https://www.datadoghq.com"}, "retry": {"count": 5, "interval": 1000}, + "subtype": "http", "id": "3xr-p38-qba"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Second api step", "request": {"allow_insecure": + true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": + "audience", "clientId": "client-id", "clientSecret": "client-secret", "scope": + "scope", "tokenApiAuthentication": "header", "type": "oauth-client"}, "body": + "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, + "subtype": "http", "id": "3ij-dfg-6tw"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Third api step", "request": {"allow_insecure": + true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": + "audience", "clientId": "client-id", "clientSecret": "client-secret", "password": + "password", "resource": "resource", "scope": "scope", "tokenApiAuthentication": + "body", "type": "oauth-rop", "username": "username"}, "body": "", "follow_redirects": + true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, + "subtype": "http", "id": "it3-n6p-xnp"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Fourth api step", "request": {"allow_insecure": + true, "basicAuth": {"password": "password", "type": "digest", "username": "username"}, + "body": "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": + "https://docs.datadoghq.com"}, "subtype": "http", "id": "vid-d39-qgr"}]}, "message": + "Notify @datadog.user", "options": {"min_location_failed": 1, "restricted_roles": + ["67acb6da-4287-11ee-a5af-da7ad0900005"], "tick_every": 900}, "locations": ["aws:eu-central-1"], + "subtype": "multi"}' headers: Accept: - '*/*' @@ -3805,31 +3607,285 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000009d0d6672f4834426-4ca6652492f460f6-01 + - 00-0000000000000000bed26df9402cbd4f-2282340e4b4bbe34-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5523213200775209206' + - '2486607180259376692' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '11316814082566472742' + - '13750173529606503759' method: POST - uri: https://api.datadoghq.eu/api/v1/monitor + uri: https://api.datadoghq.eu/api/v1/synthetics/tests response: body: - string: '{"id": 12076951, "org_id": 1000044987, "type": "composite", "name": - "Composite monitor", "message": "test", "tags": [], "query": "( 12076935 && - 12076938 ) || !12076935", "options": {"notify_audit": false, "locked": false, - "include_tags": false, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": - 0, "escalation_message": "", "silenced": {}}, "multi": false, "created_at": - 1689263109000, "created": "2023-07-13T15:45:09.546200+00:00", "modified": - "2023-07-13T15:45:09.546200+00:00", "deleted": null, "restricted_roles": null, - "priority": null, "overall_state_modified": null, "overall_state": "No Data", - "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", - "id": 1000219667}}' + string: '{"public_id": "nmj-4gg-tru", "name": "tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", + "status": "paused", "type": "api", "tags": ["multistep"], "created_at": "2023-08-24T14:06:34.335661+00:00", + "modified_at": "2023-08-24T14:06:34.335661+00:00", "config": {"assertions": + [], "configVariables": [{"id": "1638b76c-6529-4449-b272-6694dddcc595", "name": + "VARIABLE_NAME", "type": "global"}], "steps": [{"allowFailure": true, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [{"field": "content-length", "name": "VAR_EXTRACT", "parser": {"type": "regex", + "value": ".*"}, "secure": true, "type": "http_header"}], "isCritical": false, + "name": "First api step", "request": {"allow_insecure": true, "basicAuth": + {"accessKey": "sigv4-access-key", "region": "sigv4-region", "secretKey": "sigv4-secret-key", + "serviceName": "sigv4-service-name", "sessionToken": "sigv4-session-token", + "type": "sigv4"}, "body": "this is a body", "certificate": {"cert": {"filename": + "Provided in Terraform config"}, "key": {"filename": "key"}}, "follow_redirects": + true, "headers": {"Accept": "application/json", "X-Datadog-Trace-ID": "123456789"}, + "method": "GET", "proxy": {"headers": {"Accept": "application/json", "X-Datadog-Trace-ID": + "123456789"}, "url": "https://proxy.url"}, "query": {"foo": "bar"}, "timeout": + 30, "url": "https://www.datadoghq.com"}, "retry": {"count": 5, "interval": + 1000}, "subtype": "http", "id": "3xr-p38-qba"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Second api step", "request": {"allow_insecure": + true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": + "audience", "clientId": "client-id", "clientSecret": "client-secret", "scope": + "scope", "tokenApiAuthentication": "header", "type": "oauth-client"}, "body": + "", "follow_redirects": true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, + "subtype": "http", "id": "3ij-dfg-6tw"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Third api step", "request": {"allow_insecure": + true, "basicAuth": {"accessTokenUrl": "https://token.datadoghq.com", "audience": + "audience", "clientId": "client-id", "clientSecret": "client-secret", "password": + "password", "resource": "resource", "scope": "scope", "tokenApiAuthentication": + "body", "type": "oauth-rop", "username": "username"}, "body": "", "follow_redirects": + true, "method": "GET", "timeout": 30, "url": "https://docs.datadoghq.com"}, + "subtype": "http", "id": "it3-n6p-xnp"}, {"allowFailure": false, "assertions": + [{"operator": "is", "target": 200, "type": "statusCode"}], "extractedValues": + [], "isCritical": false, "name": "Fourth api step", "request": {"allow_insecure": + true, "basicAuth": {"password": "password", "type": "digest", "username": + "username"}, "body": "", "follow_redirects": true, "method": "GET", "timeout": + 30, "url": "https://docs.datadoghq.com"}, "subtype": "http", "id": "vid-d39-qgr"}]}, + "message": "Notify @datadog.user", "options": {"min_location_failed": 1, "restricted_roles": + ["67acb6da-4287-11ee-a5af-da7ad0900005"], "tick_every": 900}, "locations": + ["aws:eu-central-1"], "subtype": "multi", "created_by": {"name": "Frog", "handle": + "frog@datadoghq.com", "email": "frog@datadoghq.com"}, "deleted_at": null, + "monitor_id": 12742224, "org_id": 1000044987, "modified_by": {"name": "Frog", + "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com"}}' + headers: {} + status: + code: 200 + message: OK +- request: + body: '{"name": "Browser Test (cloned)", "status": "live", "type": "browser", + "tags": [], "config": {"variables": [], "setCookie": "", "request": {"url": + "https://docs.datadoghq.com", "headers": {"test": "{{ TEST_VARIABLE }}", "test_two": + "{{ TEST_VAR_LOCAL }}"}, "method": "GET"}, "assertions": [], "configVariables": + [{"pattern": "TEST_VAR_LOCAL", "type": "text", "name": "TEST_VAR_LOCAL", "example": + "TEST_VAR_LOCAL"}, {"type": "global", "id": "18538429-d66f-4c41-9526-909e438249f0", + "name": "TEST_VARIABLE"}]}, "message": "", "options": {"enableSecurityTesting": + false, "retry": {"count": 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": + 0, "noScreenshot": false, "tick_every": 604800, "disableCsp": false, "disableCors": + false, "enableProfiling": false, "rumSettings": {"isEnabled": false}, "device_ids": + ["chrome.laptop_large", "firefox.laptop_large", "chrome.tablet", "chrome.mobile_small", + "firefox.mobile_small", "firefox.tablet"], "monitor_options": {"notify_audit": + false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", + "renotify_interval": 0}, "ignoreServerCertificateError": false}, "locations": + ["aws:us-west-1"], "steps": [{"name": "Type text on input \"s\"", "params": + {"value": "api", "element": {"url": "https://docs.datadoghq.com/", "multiLocator": + {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"section\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"form\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"span\"][1]/*[local-name()=\"input\"][2]", + "at": "/descendant::*[@name=\"s\"]", "cl": "/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" docssearch-input \") and contains(concat('' + '', normalize-space(@class), '' ''), \" ds-input \")]", "co": "[{\"text\":\"search + documentation...\",\"textType\":\"placeholder\"}]", "ro": "//*[@name=\"s\"]", + "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), + \" docssearch-input \") and contains(concat('' '', normalize-space(@class), + '' ''), \" ds-input \")]"}, "targetOuterHTML": "API + \u00bb AuthN Mappings"}}, "type": "click", "allowFailure": false, "isCritical": + true, "noScreenshot": false}, {"name": "Click on link \"Go\"", "params": {"element": + {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/", "multiLocator": + {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][4]/*[local-name()=\"a\"][1]", + "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=go#\"]", + "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), + \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": "[{\"text\":\"go\",\"textType\":\"directText\"},{\"relation\":\"PARENT + OF\",\"tagName\":\"DIV\",\"text\":\" get an authn mapping by uuid\",\"textType\":\"innerText\"}]", + "ro": null, "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), + '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., + ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', + ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) + = \"go\"]]"}, "targetOuterHTML": "Go"}}, "type": "click", + "allowFailure": false, "isCritical": true, "noScreenshot": false}, {"name": + "Click on link \"Python [beta]\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=go", + "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][3]/*[local-name()=\"a\"][1]", + "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=ruby#\"]", + "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), + \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": "[{\"text\":\"ruby\",\"textType\":\"directText\"},{\"relation\":\"PARENT + OF\",\"tagName\":\"DIV\",\"text\":\" get an authn mapping by uuid\",\"textType\":\"innerText\"}]", + "ro": null, "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), + '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., + ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', + ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) + = \"ruby\"]]"}, "targetOuterHTML": "Ruby"}}, "type": + "click", "allowFailure": false, "isCritical": true, "noScreenshot": false}, + {"name": "Click on button \"Copy\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=ruby", + "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"h5\"][1]/*[local-name()=\"button\"][1]", + "at": "", "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), + '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" btn \")]", "co": "[{\"text\":\"get an + authn mapping by uuid\",\"textType\":\"directText\"},{\"relation\":\"PARENT + OF\",\"tagName\":\"SPAN\",\"text\":\"# get an authn mapping by uuid returns + \\\"ok\\\" response \",\"textType\":\"innerText\"}]", "ro": null, "clt": "/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" btn \")]"}, "targetOuterHTML": ""}}, "type": "click", "allowFailure": false, "isCritical": true, + "noScreenshot": false}]}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Content-Type: + - application/json + traceparent: + - 00-00000000000000009ac63a9f6dd5eb0c-e4170fbd86991ca6-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '16435622671793331366' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '11152665983646558988' + method: POST + uri: https://api.datadoghq.eu/api/v1/synthetics/tests + response: + body: + string: '{"public_id": "duf-hf9-drg", "name": "Browser Test (cloned)", "status": + "live", "type": "browser", "tags": [], "created_at": "2023-08-24T14:06:39.865927+00:00", + "modified_at": "2023-08-24T14:06:39.865927+00:00", "config": {"variables": + [], "setCookie": "", "request": {"url": "https://docs.datadoghq.com", "headers": + {"test": "{{ TEST_VARIABLE }}", "test_two": "{{ TEST_VAR_LOCAL }}"}, "method": + "GET"}, "assertions": [], "configVariables": [{"pattern": "TEST_VAR_LOCAL", + "type": "text", "name": "TEST_VAR_LOCAL", "example": "TEST_VAR_LOCAL"}, {"type": + "global", "id": "18538429-d66f-4c41-9526-909e438249f0", "name": "TEST_VARIABLE"}]}, + "message": "", "options": {"enableSecurityTesting": false, "retry": {"count": + 0, "interval": 300}, "min_location_failed": 1, "min_failure_duration": 0, + "noScreenshot": false, "tick_every": 604800, "disableCsp": false, "disableCors": + false, "enableProfiling": false, "rumSettings": {"isEnabled": false}, "device_ids": + ["chrome.laptop_large", "firefox.laptop_large", "chrome.tablet", "chrome.mobile_small", + "firefox.mobile_small", "firefox.tablet"], "monitor_options": {"notify_audit": + false, "include_tags": true, "new_host_delay": 300, "on_missing_data": "show_no_data", + "renotify_interval": 0}, "ignoreServerCertificateError": false}, "locations": + ["aws:us-west-1"], "created_by": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com"}, "deleted_at": null, "monitor_id": 12742226, + "org_id": 1000044987, "modified_by": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com"}, "steps": [{"name": "Type text on input \"s\"", + "params": {"value": "api", "element": {"url": "https://docs.datadoghq.com/", + "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"section\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"form\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"span\"][1]/*[local-name()=\"input\"][2]", + "at": "/descendant::*[@name=\"s\"]", "cl": "/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" docssearch-input \") and contains(concat('' + '', normalize-space(@class), '' ''), \" ds-input \")]", "co": "[{\"text\":\"search + documentation...\",\"textType\":\"placeholder\"}]", "ro": "//*[@name=\"s\"]", + "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' + ''), \" docssearch-input \") and contains(concat('' '', normalize-space(@class), + '' ''), \" ds-input \")]"}, "targetOuterHTML": "API + \u00bb AuthN Mappings"}}, "type": "click", "allowFailure": false, "isCritical": + true, "noScreenshot": false}, {"name": "Click on link \"Go\"", "params": {"element": + {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/", "multiLocator": + {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][4]/*[local-name()=\"a\"][1]", + "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=go#\"]", + "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), + \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": + "[{\"text\":\"go\",\"textType\":\"directText\"},{\"relation\":\"PARENT OF\",\"tagName\":\"DIV\",\"text\":\" + get an authn mapping by uuid\",\"textType\":\"innerText\"}]", "ro": null, + "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' + ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., + ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', + ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) + = \"go\"]]"}, "targetOuterHTML": "Go"}}, "type": "click", + "allowFailure": false, "isCritical": true, "noScreenshot": false}, {"name": + "Click on link \"Python [beta]\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=go", + "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"ul\"][1]/*[local-name()=\"li\"][3]/*[local-name()=\"a\"][1]", + "at": "/*[local-name()=\"html\"]/*[local-name()=\"body\"]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/descendant::*[@href=\"?code-lang=ruby#\"]", + "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), '' ''), + \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/*[local-name()=\"li\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-example-link \")]", "co": + "[{\"text\":\"ruby\",\"textType\":\"directText\"},{\"relation\":\"PARENT OF\",\"tagName\":\"DIV\",\"text\":\" + get an authn mapping by uuid\",\"textType\":\"innerText\"}]", "ro": null, + "clt": "/descendant::*[contains(concat('' '', normalize-space(@class), '' + ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" code-lang-list-container \")]/descendant::*[text()[normalize-space(translate(., + ''ABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u0178\u017d\u0160\u0152'', + ''abcdefghijklmnopqrstuvwxyz\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u017e\u0161\u0153'')) + = \"ruby\"]]"}, "targetOuterHTML": "Ruby"}}, "type": + "click", "allowFailure": false, "isCritical": true, "noScreenshot": false}, + {"name": "Click on button \"Copy\"", "params": {"element": {"url": "https://docs.datadoghq.com/api/latest/authn-mappings/?code-lang=ruby", + "multiLocator": {"ab": "/*[local-name()=\"html\"][1]/*[local-name()=\"body\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"div\"][4]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][3]/*[local-name()=\"div\"][1]/*[local-name()=\"div\"][2]/*[local-name()=\"h5\"][1]/*[local-name()=\"button\"][1]", + "at": "", "cl": "/descendant::*[contains(concat('' '', normalize-space(@class), + '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" btn \")]", "co": "[{\"text\":\"get + an authn mapping by uuid\",\"textType\":\"directText\"},{\"relation\":\"PARENT + OF\",\"tagName\":\"SPAN\",\"text\":\"# get an authn mapping by uuid returns + \\\"ok\\\" response \",\"textType\":\"innerText\"}]", "ro": null, "clt": "/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" main-api \")]/*[local-name()=\"div\"][4]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" js-code-snippet-wrapper \")]/*[local-name()=\"div\"][3]/descendant::*[contains(concat('' + '', normalize-space(@class), '' ''), \" btn \")]"}, "targetOuterHTML": ""}}, "type": "click", "allowFailure": false, "isCritical": + true, "noScreenshot": false}], "stepCount": {"assertions": 0, "subtests": + 0, "total": 6}}' headers: {} status: code: 200 @@ -3838,9 +3894,9 @@ interactions: body: '{"title": "Timeboard Tue, Jun 1, 4:18:57 pm", "description": "", "layout_type": "ordered", "is_read_only": false, "template_variables": [], "widgets": [{"definition": {"widgets": [{"definition": {"title_size": "16", "viz_type": "timeseries", "title": - "", "title_align": "left", "alert_id": "12076938", "time": {}, "type": "alert_graph"}, + "", "title_align": "left", "alert_id": "12742199", "time": {}, "type": "alert_graph"}, "id": 5316294948508728}, {"definition": {"title_size": "16", "title": "", "title_align": - "left", "text_align": "left", "precision": 2, "alert_id": "12076939", "type": + "left", "text_align": "left", "precision": 2, "alert_id": "12742202", "type": "alert_value", "unit": "auto"}, "id": 2269177794822700}], "layout_type": "ordered", "type": "group", "title": "New group"}, "id": 2497183012091650}, {"definition": {"autoscale": true, "title": "", "title_align": "left", "precision": 2, "title_size": @@ -3848,9 +3904,9 @@ interactions: "data_source": "metrics", "name": "query1", "aggregator": "avg"}]}], "type": "query_value"}, "id": 7228117705299642}, {"definition": {"title_size": "16", "title": "", "title_align": "left", "text_align": "left", "precision": 2, "alert_id": - "12076938", "type": "alert_value", "unit": "auto"}, "id": 2397823643167820}, + "12742199", "type": "alert_value", "unit": "auto"}, "id": 2397823643167820}, {"definition": {"time_windows": ["7d"], "title_size": "16", "show_error_budget": - true, "title": "", "title_align": "left", "slo_id": "6440a931dd1d5f6bbe0eb21a830eecc0", + true, "title": "", "title_align": "left", "slo_id": "c72541bf2417583d9e7a5730ebeac188", "view_mode": "overall", "view_type": "detail", "time": {}, "global_time_target": "0", "type": "slo"}, "id": 1076364961367720}, {"definition": {"time_windows": ["7d"], "title_size": "16", "show_error_budget": true, "title": "", "title_align": @@ -3866,47 +3922,47 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000a82d7bf1e55579e9-515ff15e5ed5af79-01 + - 00-0000000000000000fed0c82177e963dd-9f0b0a88acfb7cd6-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '5863670627479957369' + - '11460265258908351702' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '12118478451188791785' + - '18361395726860772317' method: POST uri: https://api.datadoghq.eu/api/v1/dashboard response: body: - string: '{"id": "wcu-wji-cxz", "title": "Timeboard Tue, Jun 1, 4:18:57 pm", + string: '{"id": "e3e-tx5-q4t", "title": "Timeboard Tue, Jun 1, 4:18:57 pm", "description": "", "author_handle": "frog@datadoghq.com", "author_name": "Frog", - "layout_type": "ordered", "url": "/dashboard/wcu-wji-cxz/timeboard-tue-jun-1-41857-pm", + "layout_type": "ordered", "url": "/dashboard/e3e-tx5-q4t/timeboard-tue-jun-1-41857-pm", "is_read_only": false, "template_variables": [], "widgets": [{"definition": {"widgets": [{"definition": {"title_size": "16", "viz_type": "timeseries", - "title": "", "title_align": "left", "alert_id": "12076938", "time": {}, "type": + "title": "", "title_align": "left", "alert_id": "12742199", "time": {}, "type": "alert_graph"}, "id": 5316294948508728}, {"definition": {"title_size": "16", "title": "", "title_align": "left", "text_align": "left", "precision": 2, - "alert_id": "12076939", "type": "alert_value", "unit": "auto"}, "id": 2269177794822700}], + "alert_id": "12742202", "type": "alert_value", "unit": "auto"}, "id": 2269177794822700}], "layout_type": "ordered", "type": "group", "title": "New group"}, "id": 2497183012091650}, {"definition": {"autoscale": true, "title": "", "title_align": "left", "precision": 2, "title_size": "16", "requests": [{"response_format": "scalar", "queries": [{"query": "avg:synthetics.http.dns.time{*}", "data_source": "metrics", "name": "query1", "aggregator": "avg"}]}], "type": "query_value"}, "id": 7228117705299642}, {"definition": {"title_size": "16", "title": "", "title_align": "left", "text_align": - "left", "precision": 2, "alert_id": "12076938", "type": "alert_value", "unit": + "left", "precision": 2, "alert_id": "12742199", "type": "alert_value", "unit": "auto"}, "id": 2397823643167820}, {"definition": {"time_windows": ["7d"], "title_size": "16", "show_error_budget": true, "title": "", "title_align": - "left", "slo_id": "6440a931dd1d5f6bbe0eb21a830eecc0", "view_mode": "overall", + "left", "slo_id": "c72541bf2417583d9e7a5730ebeac188", "view_mode": "overall", "view_type": "detail", "time": {}, "global_time_target": "0", "type": "slo"}, "id": 1076364961367720}, {"definition": {"time_windows": ["7d"], "title_size": "16", "show_error_budget": true, "title": "", "title_align": "left", "slo_id": "c4fa01c78d45542cb830598be4f68ad2", "view_mode": "overall", "view_type": "detail", "time": {}, "global_time_target": "0", "type": "slo"}, "id": 4123257207386936}], - "notify_list": [], "created_at": "2023-07-13T15:45:12.219567+00:00", "modified_at": - "2023-07-13T15:45:12.219567+00:00", "reflow_type": "auto", "tags": [], "restricted_roles": + "notify_list": [], "created_at": "2023-08-24T14:06:42.625937+00:00", "modified_at": + "2023-08-24T14:06:42.625937+00:00", "reflow_type": "auto", "tags": [], "restricted_roles": []}' headers: {} status: @@ -3922,32 +3978,32 @@ interactions: Content-Type: - application/json traceparent: - - 00-0000000000000000033a22ef518717ed-84f2b8ecb0af0ff9-01 + - 00-00000000000000009a6c3e61dd9f0958-52857bd3253c1f94-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '9579922684086521849' + - '5946295029805621140' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '232536742023337965' + - '11127337369376590168' method: POST uri: https://api.datadoghq.eu/api/v1/dashboard/lists/manual response: body: string: '{"author": {"name": "Frog", "handle": "frog@datadoghq.com"}, "created": - "2023-07-13T15:45:12.679547+00:00", "dashboards": null, "dashboard_count": - 0, "id": 27618, "is_favorite": false, "modified": "2023-07-13T15:45:12.679558+00:00", + "2023-08-24T14:06:43.047879+00:00", "dashboards": null, "dashboard_count": + 0, "id": 29200, "is_favorite": false, "modified": "2023-08-24T14:06:43.047886+00:00", "name": "Test list", "type": "manual_dashboard_list"}' headers: {} status: code: 200 message: OK - request: - body: '{"dashboards": [{"id": "wcu-wji-cxz", "type": "custom_timeboard"}, {"id": - "xn2-g53-25n", "type": "custom_screenboard"}]}' + body: '{"dashboards": [{"id": "e3e-tx5-q4t", "type": "custom_timeboard"}, {"id": + "7qh-mz6-twu", "type": "custom_screenboard"}]}' headers: Accept: - '*/*' @@ -3956,23 +4012,23 @@ interactions: Content-Type: - application/json traceparent: - - 00-00000000000000008ca0771a27e3ab8d-af45e870b351a238-01 + - 00-00000000000000001a39a3f20b185975-e3f2236da2ec82a6-01 tracestate: - dd=s:1;t.dm:-0 x-datadog-parent-id: - - '12629756300772876856' + - '16425229744765436582' x-datadog-sampling-priority: - '1' x-datadog-tags: - _dd.p.dm=-0 x-datadog-trace-id: - - '10133230115805703053' + - '1889721778622191989' method: PUT - uri: https://api.datadoghq.eu/api/v2/dashboard/lists/manual/27618/dashboards + uri: https://api.datadoghq.eu/api/v2/dashboard/lists/manual/29200/dashboards response: body: - string: '{"dashboards": [{"type": "custom_timeboard", "id": "wcu-wji-cxz"}, - {"type": "custom_screenboard", "id": "xn2-g53-25n"}]}' + string: '{"dashboards": [{"type": "custom_timeboard", "id": "e3e-tx5-q4t"}, + {"type": "custom_screenboard", "id": "7qh-mz6-twu"}]}' headers: {} status: code: 200 diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_no_resource_diffs.frozen b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_no_resource_diffs.frozen index 19cbff7b..a5437811 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_no_resource_diffs.frozen +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_no_resource_diffs.frozen @@ -1 +1 @@ -2023-01-04T16:34:43.927845-05:00 \ No newline at end of file +2023-08-24T10:09:49.346349-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_cleanup.frozen b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_cleanup.frozen index 548868ed..5f7af07f 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_cleanup.frozen +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_cleanup.frozen @@ -1 +1 @@ -2023-01-04T16:34:43.945229-05:00 \ No newline at end of file +2023-08-24T10:09:49.354636-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_cleanup.yaml b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_cleanup.yaml index e55ca3e6..485c6c40 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_cleanup.yaml +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_cleanup.yaml @@ -8,11 +8,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-00000000000000009508ae4e0b6b527f-19c057d2dd41a74e-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '1855579609643460430' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '10739024961687212671' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380053?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742272?force=True response: body: - string: '{"deleted_monitor_id": 9380053}' + string: '{"deleted_monitor_id": 12742272}' headers: {} status: code: 200 @@ -26,11 +38,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000e136065bacb87bbb-3fb554e5a7c2d43b-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '4590668740512896059' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '16228165298085723067' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380047?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742271?force=True response: body: - string: '{"deleted_monitor_id": 9380047}' + string: '{"deleted_monitor_id": 12742271}' headers: {} status: code: 200 @@ -44,11 +68,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000643a0edc743014ee-ffa2030a825c4c33-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '18420288769570393139' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '7222101292446913774' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380049?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742274?force=True response: body: - string: '{"deleted_monitor_id": 9380049}' + string: '{"deleted_monitor_id": 12742274}' headers: {} status: code: 200 @@ -62,11 +98,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-000000000000000043fa3a09cfef7e95-aa4c066c97edab4e-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '12271190148152929102' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '4898291358536531605' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380051?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742275?force=True response: body: - string: '{"deleted_monitor_id": 9380051}' + string: '{"deleted_monitor_id": 12742275}' headers: {} status: code: 200 @@ -80,11 +128,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000378e81de1d16febc-d457418428aa4478-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '15300770294888285304' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '4003279909749718716' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380054?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742273?force=True response: body: - string: '{"deleted_monitor_id": 9380054}' + string: '{"deleted_monitor_id": 12742273}' headers: {} status: code: 200 @@ -98,11 +158,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-000000000000000099a7d55763f9b1dd-ef3b7d8247e0381e-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '17238509997195802654' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '11072052780229833181' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380050?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742269?force=True response: body: - string: '{"deleted_monitor_id": 9380050}' + string: '{"deleted_monitor_id": 12742269}' headers: {} status: code: 200 @@ -116,11 +188,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000e52fb0ce368f4567-b10aa7a25a76b11c-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '12757193210224619804' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '16514612758316008807' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380048?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742270?force=True response: body: - string: '{"deleted_monitor_id": 9380048}' + string: '{"deleted_monitor_id": 12742270}' headers: {} status: code: 200 @@ -134,29 +218,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000667832788d872316-724b1ae6138983bf-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '8235705919049663423' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '7383707082425836310' method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380046?force=True + uri: https://api.datadoghq.eu/api/v1/monitor/12742268?force=True response: body: - string: '{"deleted_monitor_id": 9380046}' - headers: {} - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - method: DELETE - uri: https://api.datadoghq.eu/api/v1/monitor/9380052?force=True - response: - body: - string: '{"deleted_monitor_id": 9380052}' + string: '{"deleted_monitor_id": 12742268}' headers: {} status: code: 200 diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_import.frozen b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_import.frozen index d546f931..b3ec29aa 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_import.frozen +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_import.frozen @@ -1 +1 @@ -2023-01-04T16:34:39.476177-05:00 \ No newline at end of file +2023-08-24T10:09:42.606412-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_import.yaml b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_import.yaml index c8158536..c502577c 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_import.yaml +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_import.yaml @@ -8,31 +8,43 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-00000000000000001100bd41c8605904-979f1d4aa1bd708c-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '10925483427402444940' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '1225187188877056260' method: GET - uri: https://api.datadoghq.com/api/v1/monitor + uri: https://api.datadoghq.com/api/v1/monitor?page=0&page_size=100 response: body: - string: '[{"id": 36230659, "org_id": 569509, "type": "metric alert", "name": + string: '[{"id": 36230659, "org_id": 569509, "type": "query alert", "name": "Composite monitor - Child 2", "message": "Test monitor ----------------", - "tags": [], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} > - 50", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 50.0}, "silenced": {}}, "multi": false, "created_at": + "tags": ["test:foo", "test_two:bar"], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} + > 50", "options": {"thresholds": {"critical": 50.0}, "notify_audit": false, + "require_full_window": true, "notify_no_data": false, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "new_host_delay": 300, "silenced": {}}, "multi": false, "created_at": 1622364217000, "created": "2021-05-30T08:43:37.940520+00:00", "modified": - "2021-06-08T18:14:12.441535+00:00", "deleted": null, "restricted_roles": null, + "2023-08-10T20:39:26.357089+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": "2021-05-30T08:45:28+00:00", "overall_state": "OK", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": - []}, {"id": 36239262, "org_id": 569509, "type": "metric alert", "name": "Composite - monitor - child 1", "message": "Composite monitor - child 1", "tags": [], + []}, {"id": 36239262, "org_id": 569509, "type": "query alert", "name": "Composite + monitor - child 1", "message": "Composite monitor - child 1", "tags": ["test:foo"], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} > 20", "options": - {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": true, - "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 20.0, "warning": 10.0}, "silenced": {}}, "multi": - false, "created_at": 1622404151000, "created": "2021-05-30T19:49:11.945913+00:00", - "modified": "2021-06-08T18:13:33.317204+00:00", "deleted": null, "restricted_roles": + {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": false, + "require_full_window": true, "notify_no_data": false, "renotify_interval": + 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, + "multi": false, "created_at": 1622404151000, "created": "2021-05-30T19:49:11.945913+00:00", + "modified": "2023-08-10T20:39:47.053119+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": "2021-05-30T19:52:07+00:00", "overall_state": "OK", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": @@ -47,15 +59,16 @@ interactions: "Alert", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": []}, {"id": 37284891, "org_id": 569509, "type": "service check", "name": "Host - monitor", "message": "Test host monitor", "tags": [], "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", - "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "thresholds": {"warning": 1, "ok": 1, "critical": 1}, "new_host_delay": - 300, "notify_no_data": true, "renotify_interval": 0, "no_data_timeframe": - 2, "silenced": {}}, "multi": true, "created_at": 1623176221000, "created": - "2021-06-08T18:17:01.656132+00:00", "modified": "2021-06-08T18:30:56.067327+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2021-11-03T15:29:51+00:00", "overall_state": "No Data", "creator": {"name": - "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + monitor", "message": "Test host monitor", "tags": ["service:daimler-health-service"], + "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", + "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": + false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": + {}}, "multi": true, "created_at": 1623176221000, "created": "2021-06-08T18:17:01.656132+00:00", + "modified": "2023-05-16T22:15:12.393592+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": "2023-05-05T17:14:51+00:00", + "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": []}, {"id": 37284965, "org_id": 569509, "type": "query alert", "name": "Anomaly monitor", "message": "Anomaly monitor", "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, @@ -140,7 +153,7 @@ interactions: 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": "2022-11-15T21:05:04.460432+00:00", "modified": "2022-11-15T21:05:04.460432+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2022-11-15T21:05:39+00:00", "overall_state": "OK", "creator": {"name": "Sherzod + "2023-07-14T05:05:08+00:00", "overall_state": "OK", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": []}, {"id": 103095759, "org_id": 569509, "type": "synthetics alert", "name": "[Synthetics] TCP Test", "message": "Notify @@ -151,7 +164,7 @@ interactions: 0, "silenced": {}}, "multi": false, "created_at": 1668546304000, "created": "2022-11-15T21:05:04.469143+00:00", "modified": "2022-11-15T21:05:04.469143+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - "2022-11-17T06:05:39+00:00", "overall_state": "OK", "creator": {"name": "Sherzod + "2023-07-24T13:35:10+00:00", "overall_state": "OK", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": []}, {"id": 103095760, "org_id": 569509, "type": "synthetics alert", "name": "[Synthetics] Browser Test (cloned)", @@ -196,6 +209,26 @@ interactions: "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": "2022-11-15T21:05:45+00:00", "overall_state": "Alert", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", + "id": 2781275}, "matching_downtimes": []}, {"id": 121127083, "org_id": 569509, + "type": "synthetics alert", "name": "[Synthetics] tf-TestAccDatadogSyntheticsTestMultistepApi_Basic-local-1686121345", + "message": "Notify @datadog.user", "tags": ["multistep", "probe_dc:aws:eu-central-1", + "check_type:api-multi", "check_status:paused", "ci_execution_rule:blocking"], + "query": "no_query", "options": {"on_missing_data": "show_no_data", "notify_audit": + false, "new_host_delay": 300, "include_tags": true, "silenced": {}}, "multi": + false, "created_at": 1686121347000, "created": "2023-06-07T07:02:27.979214+00:00", + "modified": "2023-06-07T07:02:27.979214+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": "2023-06-07T07:02:45+00:00", + "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 2781302}, "matching_downtimes": []}, + {"id": 124728911, "org_id": 569509, "type": "slo alert", "name": "Test slo + monitor", "message": "Random message", "tags": [], "query": "error_budget(\"ba72d10835d75e0c8910597144f3733a\").over(\"7d\") + > 100", "options": {"thresholds": {"critical": 100.0}, "notify_no_data": false, + "notify_audit": false, "new_host_delay": 300, "include_tags": true, "silenced": + {}}, "multi": false, "created_at": 1688999118000, "created": "2023-07-10T14:25:18.627726+00:00", + "modified": "2023-07-10T14:25:18.627726+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": "2023-07-10T14:25:22+00:00", + "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": + "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", "id": 2781275}, "matching_downtimes": []}]' headers: Content-Type: diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_sync.frozen b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_sync.frozen index fdbed7bd..07f18d1f 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_sync.frozen +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_sync.frozen @@ -1 +1 @@ -2023-01-04T16:34:39.735018-05:00 \ No newline at end of file +2023-08-24T10:09:42.900560-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_sync.yaml b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_sync.yaml index 4ce67f40..b5fb1535 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_sync.yaml +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_sync.yaml @@ -1,12 +1,12 @@ interactions: - request: - body: '{"type": "metric alert", "name": "Composite monitor - Child 2", "message": - "Test monitor ----------------", "tags": [], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} - > 50", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 50.0}, "silenced": {}}, "multi": false, "restricted_roles": - null, "priority": null}' + body: '{"type": "query alert", "name": "Composite monitor - Child 2", "message": + "Test monitor ----------------", "tags": ["test:foo", "test_two:bar"], "query": + "avg(last_5m):avg:datadog.estimated_usage.hosts{*} > 50", "options": {"thresholds": + {"critical": 50.0}, "notify_audit": false, "require_full_window": true, "notify_no_data": + false, "renotify_interval": 0, "timeout_h": 0, "include_tags": true, "no_data_timeframe": + null, "escalation_message": "", "new_host_delay": 300, "silenced": {}}, "multi": + false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -14,34 +14,46 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000a03e7440515b3caa-eecb0f952057df57-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '17206863934466285399' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '11546794314216193194' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 9380046, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742268, "org_id": 1000044987, "type": "query alert", "name": "Composite monitor - Child 2", "message": "Test monitor ----------------", - "tags": [], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} > - 50", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 50.0}, "silenced": {}}, "multi": false, "created_at": - 1672868079000, "created": "2023-01-04T21:34:39.912029+00:00", "modified": - "2023-01-04T21:34:39.912029+00:00", "deleted": null, "restricted_roles": null, + "tags": ["test:foo", "test_two:bar"], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} + > 50", "options": {"thresholds": {"critical": 50.0}, "notify_audit": false, + "require_full_window": true, "notify_no_data": false, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "new_host_delay": 300, "silenced": {}}, "multi": false, "created_at": + 1692886183000, "created": "2023-08-24T14:09:43.344213+00:00", "modified": + "2023-08-24T14:09:43.344213+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data", - "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com", "id": 1000219663}}' + "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", + "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "metric alert", "name": "Composite monitor - child 1", "message": - "Composite monitor - child 1", "tags": [], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} - > 20", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 20.0, "warning": 10.0}, "silenced": {}}, "multi": - false, "restricted_roles": null, "priority": null}' + body: '{"type": "query alert", "name": "Composite monitor - child 1", "message": + "Composite monitor - child 1", "tags": ["test:foo"], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} + > 20", "options": {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": + false, "require_full_window": true, "notify_no_data": false, "renotify_interval": + 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, + "multi": false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -49,33 +61,45 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000f93ce587a6204db0-b707ae34e4e215b1-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '13188701575979341233' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '17959481784817175984' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 9380047, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742269, "org_id": 1000044987, "type": "query alert", "name": "Composite monitor - child 1", "message": "Composite monitor - child 1", "tags": - [], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} > 20", "options": - {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": true, - "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 20.0, "warning": 10.0}, "silenced": {}}, "multi": - false, "created_at": 1672868080000, "created": "2023-01-04T21:34:40.111245+00:00", - "modified": "2023-01-04T21:34:40.111245+00:00", "deleted": null, "restricted_roles": + ["test:foo"], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} + > 20", "options": {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": + false, "require_full_window": true, "notify_no_data": false, "renotify_interval": + 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, + "multi": false, "created_at": 1692886183000, "created": "2023-08-24T14:09:43.676574+00:00", + "modified": "2023-08-24T14:09:43.676574+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No - Data", "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com", "id": 1000219663}}' + Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": + "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 message: OK - request: body: '{"type": "service check", "name": "Host monitor", "message": "Test host - monitor", "tags": [], "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", - "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "thresholds": {"warning": 1, "ok": 1, "critical": 1}, "new_host_delay": - 300, "notify_no_data": true, "renotify_interval": 0, "no_data_timeframe": 2, - "silenced": {}}, "multi": true, "restricted_roles": null, "priority": null}' + monitor", "tags": ["service:daimler-health-service"], "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", + "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": + false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": + {}}, "multi": true, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -83,21 +107,33 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-000000000000000012a2c08e3285c620-03217926ca71d554-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '225594663857411412' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '1342847355875345952' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 9380048, "org_id": 1000044987, "type": "service check", "name": - "Host monitor", "message": "Test host monitor", "tags": [], "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", - "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "thresholds": {"warning": 1, "ok": 1, "critical": 1}, "new_host_delay": - 300, "notify_no_data": true, "renotify_interval": 0, "no_data_timeframe": - 2, "silenced": {}}, "multi": true, "created_at": 1672868080000, "created": - "2023-01-04T21:34:40.305059+00:00", "modified": "2023-01-04T21:34:40.305059+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 1000219663}}' + string: '{"id": 12742270, "org_id": 1000044987, "type": "service check", "name": + "Host monitor", "message": "Test host monitor", "tags": ["service:daimler-health-service"], + "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", + "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": + false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": + {}}, "multi": true, "created_at": 1692886184000, "created": "2023-08-24T14:09:44.124599+00:00", + "modified": "2023-08-24T14:09:44.124599+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": null, "overall_state": "No + Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": + "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 @@ -119,11 +155,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000fe01a00f0d223207-e30205b2ae31b35c-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '16357643061547873116' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '18303086347115704839' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 9380049, "org_id": 1000044987, "type": "query alert", "name": + string: '{"id": 12742271, "org_id": 1000044987, "type": "query alert", "name": "Anomaly monitor", "message": "Anomaly monitor", "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, ''basic'', 2, direction=''both'', alert_window=''last_15m'', interval=60, count_default_zero=''true'') >= 1", "options": {"notify_audit": false, "locked": @@ -131,12 +179,11 @@ interactions: true, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": "", "threshold_windows": {"recovery_window": "last_15m", "trigger_window": "last_15m"}, "thresholds": {"critical": 1.0, "critical_recovery": - 0.0}, "silenced": {}}, "multi": false, "created_at": 1672868080000, "created": - "2023-01-04T21:34:40.536187+00:00", "modified": "2023-01-04T21:34:40.536187+00:00", + 0.0}, "silenced": {}}, "multi": false, "created_at": 1692886184000, "created": + "2023-08-24T14:09:44.518282+00:00", "modified": "2023-08-24T14:09:44.518282+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 1000219663}}' + null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 @@ -156,22 +203,33 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000aff1b9ba98b5cf3d-5a24184ea07bb40c-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '6495343288554075148' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '12678118637101764413' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 9380050, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742272, "org_id": 1000044987, "type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} stopped reporting", "message": "Private location {{location_id.name}} stopped reporting to Datadog.", "tags": [], "query": "min(last_5m):avg:synthetics.pl.worker.running{*} by {location_id} < 1", "options": {"notify_audit": false, "locked": false, "include_tags": true, "thresholds": {"critical": 1.0}, "new_host_delay": 300, "notify_no_data": - true, "silenced": {}}, "multi": true, "created_at": 1672868080000, "created": - "2023-01-04T21:34:40.758401+00:00", "modified": "2023-01-04T21:34:40.758401+00:00", + true, "silenced": {}}, "multi": true, "created_at": 1692886184000, "created": + "2023-08-24T14:09:44.903060+00:00", "modified": "2023-08-24T14:09:44.903060+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 1000219663}}' + null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 @@ -194,11 +252,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000de7e8e89cda6f7bf-29ef9957c73eac99-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '3021802477272870041' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '16032408445997479871' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 9380051, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742273, "org_id": 1000044987, "type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} uses an outdated image version", "message": "Private location {{location_id.name}} is running an outdated image version. Learn more about the current version in use on your @@ -208,12 +278,11 @@ interactions: "tags": [], "query": "max(last_15m):sum:synthetics.pl.worker.outdated{*} by {location_id} > 0", "options": {"notify_audit": false, "locked": false, "include_tags": true, "thresholds": {"critical": 0.0}, "new_host_delay": 300, "notify_no_data": - false, "silenced": {}}, "multi": true, "created_at": 1672868080000, "created": - "2023-01-04T21:34:40.985176+00:00", "modified": "2023-01-04T21:34:40.985176+00:00", + false, "silenced": {}}, "multi": true, "created_at": 1692886185000, "created": + "2023-08-24T14:09:45.292476+00:00", "modified": "2023-08-24T14:09:45.292476+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 1000219663}}' + null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 @@ -234,23 +303,34 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000f6d0db3d14462c3e-b78f5e350a409467-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '13226894212508718183' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '17784955983865719870' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 9380052, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742274, "org_id": 1000044987, "type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} is underprovisioned", "message": "Private location {{location_id.name}} is underprovisioned.\nVisit this [documentation page](https://docs.datadoghq.com/synthetics/private_locations/?tab=docker#dimension-your-private-location) to learn how to scale your private location.", "tags": [], "query": "avg(last_30m):avg:synthetics.pl.worker.remaining_slots{*} by {location_id} < 1.5", "options": {"notify_audit": false, "locked": false, "include_tags": true, "thresholds": {"critical": 1.5}, "new_host_delay": 300, - "notify_no_data": false, "silenced": {}}, "multi": true, "created_at": 1672868081000, - "created": "2023-01-04T21:34:41.193293+00:00", "modified": "2023-01-04T21:34:41.193293+00:00", + "notify_no_data": false, "silenced": {}}, "multi": true, "created_at": 1692886185000, + "created": "2023-08-24T14:09:45.594328+00:00", "modified": "2023-08-24T14:09:45.594328+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data", "creator": {"name": "Sherzod Karimov", "handle": - "sherzod.karimov@datadoghq.com", "email": "sherzod.karimov@datadoghq.com", - "id": 1000219663}}' + null, "overall_state": "No Data", "creator": {"name": "Frog", "handle": "frog@datadoghq.com", + "email": "frog@datadoghq.com", "id": 1000219667}}' headers: {} status: code: 200 @@ -270,53 +350,34 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000455b5f6771f7ace1-577581cc42e03708-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '6302085967870179080' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '4997693109396024545' method: POST uri: https://api.datadoghq.eu/api/v1/monitor response: body: - string: '{"id": 9380053, "org_id": 1000044987, "type": "event-v2 alert", "name": + string: '{"id": 12742275, "org_id": 1000044987, "type": "event-v2 alert", "name": "Test event monitor", "message": "Test event monitor", "tags": [], "query": "events(\"\").rollup(\"count\").last(\"5m\") > 100", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": true, "restriction_query": null, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": 0, "groupby_simple_monitor": true, "enable_logs_sample": false, "escalation_message": "", "thresholds": {"critical": 100.0}, "silenced": {}}, "multi": false, "created_at": - 1672868081000, "created": "2023-01-04T21:34:41.409829+00:00", "modified": - "2023-01-04T21:34:41.409829+00:00", "deleted": null, "restricted_roles": null, - "priority": null, "overall_state_modified": null, "overall_state": "No Data", - "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com", "id": 1000219663}}' - headers: {} - status: - code: 200 - message: OK -- request: - body: '{"type": "composite", "name": "Composite monitor", "message": "test", "tags": - [], "query": "( 9380047 && 9380046 ) || !9380047", "options": {"notify_audit": - false, "locked": false, "include_tags": false, "new_host_delay": 300, "notify_no_data": - false, "renotify_interval": 0, "escalation_message": "", "silenced": {}}, "multi": - false, "restricted_roles": null, "priority": null}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - method: POST - uri: https://api.datadoghq.eu/api/v1/monitor - response: - body: - string: '{"id": 9380054, "org_id": 1000044987, "type": "composite", "name": - "Composite monitor", "message": "test", "tags": [], "query": "( 9380047 && - 9380046 ) || !9380047", "options": {"notify_audit": false, "locked": false, - "include_tags": false, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": - 0, "escalation_message": "", "silenced": {}}, "multi": false, "created_at": - 1672868081000, "created": "2023-01-04T21:34:41.682698+00:00", "modified": - "2023-01-04T21:34:41.682698+00:00", "deleted": null, "restricted_roles": null, + 1692886185000, "created": "2023-08-24T14:09:45.906448+00:00", "modified": + "2023-08-24T14:09:45.906448+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data", - "creator": {"name": "Sherzod Karimov", "handle": "sherzod.karimov@datadoghq.com", - "email": "sherzod.karimov@datadoghq.com", "id": 1000219663}}' + "creator": {"name": "Frog", "handle": "frog@datadoghq.com", "email": "frog@datadoghq.com", + "id": 1000219667}}' headers: {} status: code: 200 diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_update_sync.frozen b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_update_sync.frozen index 17f73075..f34354a0 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_update_sync.frozen +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_update_sync.frozen @@ -1 +1 @@ -2023-01-04T16:34:41.760422-05:00 \ No newline at end of file +2023-08-24T10:09:45.992253-04:00 \ No newline at end of file diff --git a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_update_sync.yaml b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_update_sync.yaml index 0e60dc4f..6efc905e 100644 --- a/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_update_sync.yaml +++ b/tests/integration/resources/cassettes/test_monitors/TestMonitorsResources.test_resource_update_sync.yaml @@ -1,12 +1,12 @@ interactions: - request: - body: '{"type": "metric alert", "name": "Composite monitor - Child 2updated", - "message": "Test monitor ----------------", "tags": [], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} - > 50", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 50.0}, "silenced": {}}, "multi": false, "restricted_roles": - null, "priority": null}' + body: '{"type": "query alert", "name": "Composite monitor - Child 2updated", "message": + "Test monitor ----------------", "tags": ["test:foo", "test_two:bar"], "query": + "avg(last_5m):avg:datadog.estimated_usage.hosts{*} > 50", "options": {"thresholds": + {"critical": 50.0}, "notify_audit": false, "require_full_window": true, "notify_no_data": + false, "renotify_interval": 0, "timeout_h": 0, "include_tags": true, "no_data_timeframe": + null, "escalation_message": "", "new_host_delay": 300, "silenced": {}}, "multi": + false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -14,32 +14,44 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-00000000000000008fe6ebb90b056c8a-68f60669cca864e6-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '7563239675690247398' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '10369234372053527690' method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380046 + uri: https://api.datadoghq.eu/api/v1/monitor/12742268 response: body: - string: '{"id": 9380046, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742268, "org_id": 1000044987, "type": "query alert", "name": "Composite monitor - Child 2updated", "message": "Test monitor ----------------", - "tags": [], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} > - 50", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 50.0}, "silenced": {}}, "multi": false, "created_at": - 1672868079000, "created": "2023-01-04T21:34:39.912029+00:00", "modified": - "2023-01-04T21:34:41.936985+00:00", "deleted": null, "restricted_roles": null, + "tags": ["test:foo", "test_two:bar"], "query": "avg(last_5m):avg:datadog.estimated_usage.hosts{*} + > 50", "options": {"thresholds": {"critical": 50.0}, "notify_audit": false, + "require_full_window": true, "notify_no_data": false, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "new_host_delay": 300, "silenced": {}}, "multi": false, "created_at": + 1692886183000, "created": "2023-08-24T14:09:43.344213+00:00", "modified": + "2023-08-24T14:09:46.461604+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data"}' headers: {} status: code: 200 message: OK - request: - body: '{"type": "metric alert", "name": "Composite monitor - child 1updated", - "message": "Composite monitor - child 1", "tags": [], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} - > 20", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "no_data_timeframe": null, "require_full_window": true, "new_host_delay": - 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 20.0, "warning": 10.0}, "silenced": {}}, "multi": - false, "restricted_roles": null, "priority": null}' + body: '{"type": "query alert", "name": "Composite monitor - child 1updated", "message": + "Composite monitor - child 1", "tags": ["test:foo"], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} + > 20", "options": {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": + false, "require_full_window": true, "notify_no_data": false, "renotify_interval": + 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, + "multi": false, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -47,19 +59,31 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-000000000000000030f1a54224822ea6-192a1c69ab034423-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '1813293040136307747' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '3526781686706744998' method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380047 + uri: https://api.datadoghq.eu/api/v1/monitor/12742269 response: body: - string: '{"id": 9380047, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742269, "org_id": 1000044987, "type": "query alert", "name": "Composite monitor - child 1updated", "message": "Composite monitor - child - 1", "tags": [], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} - > 20", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, - "include_tags": true, "no_data_timeframe": null, "require_full_window": true, - "new_host_delay": 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": - "", "thresholds": {"critical": 20.0, "warning": 10.0}, "silenced": {}}, "multi": - false, "created_at": 1672868080000, "created": "2023-01-04T21:34:40.111245+00:00", - "modified": "2023-01-04T21:34:42.150717+00:00", "deleted": null, "restricted_roles": + 1", "tags": ["test:foo"], "query": "avg(last_5m):avg:dd.dialtone.historical.metrics{*} + > 20", "options": {"thresholds": {"critical": 20.0, "warning": 10.0}, "notify_audit": + false, "require_full_window": true, "notify_no_data": false, "renotify_interval": + 1440, "timeout_h": 0, "include_tags": true, "no_data_timeframe": null, "escalation_message": + "", "renotify_statuses": ["no data"], "new_host_delay": 300, "silenced": {}}, + "multi": false, "created_at": 1692886183000, "created": "2023-08-24T14:09:43.676574+00:00", + "modified": "2023-08-24T14:09:46.812419+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data"}' headers: {} @@ -68,11 +92,11 @@ interactions: message: OK - request: body: '{"type": "service check", "name": "Host monitorupdated", "message": "Test - host monitor", "tags": [], "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", - "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "thresholds": {"warning": 1, "ok": 1, "critical": 1}, "new_host_delay": - 300, "notify_no_data": true, "renotify_interval": 0, "no_data_timeframe": 2, - "silenced": {}}, "multi": true, "restricted_roles": null, "priority": null}' + host monitor", "tags": ["service:daimler-health-service"], "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", + "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": + false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": + {}}, "multi": true, "restricted_roles": null, "priority": null}' headers: Accept: - '*/*' @@ -80,20 +104,32 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-00000000000000004c705fa396fcbb8a-2d1b8446b41aa975-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '3250336995282168181' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '5508007500491570058' method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380048 + uri: https://api.datadoghq.eu/api/v1/monitor/12742270 response: body: - string: '{"id": 9380048, "org_id": 1000044987, "type": "service check", "name": - "Host monitorupdated", "message": "Test host monitor", "tags": [], "query": - "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", - "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": - true, "thresholds": {"warning": 1, "ok": 1, "critical": 1}, "new_host_delay": - 300, "notify_no_data": true, "renotify_interval": 0, "no_data_timeframe": - 2, "silenced": {}}, "multi": true, "created_at": 1672868080000, "created": - "2023-01-04T21:34:40.305059+00:00", "modified": "2023-01-04T21:34:42.359560+00:00", - "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": - null, "overall_state": "No Data"}' + string: '{"id": 12742270, "org_id": 1000044987, "type": "service check", "name": + "Host monitorupdated", "message": "Test host monitor", "tags": ["service:daimler-health-service"], + "query": "\"datadog.agent.up\".over(\"*\").by(\"host\").last(2).count_by_status()", + "options": {"thresholds": {"critical": 1, "warning": 1, "ok": 1}, "notify_audit": + false, "notify_no_data": true, "no_data_timeframe": 2, "renotify_interval": + 0, "timeout_h": 0, "include_tags": true, "new_group_delay": 300, "silenced": + {}}, "multi": true, "created_at": 1692886184000, "created": "2023-08-24T14:09:44.124599+00:00", + "modified": "2023-08-24T14:09:47.249362+00:00", "deleted": null, "restricted_roles": + null, "priority": null, "overall_state_modified": null, "overall_state": "No + Data"}' headers: {} status: code: 200 @@ -115,11 +151,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-00000000000000005f38dd45badbb85e-94c0cf1e939566d6-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '10718794843373790934' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '6861477323856394334' method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380049 + uri: https://api.datadoghq.eu/api/v1/monitor/12742271 response: body: - string: '{"id": 9380049, "org_id": 1000044987, "type": "query alert", "name": + string: '{"id": 12742271, "org_id": 1000044987, "type": "query alert", "name": "Anomaly monitorupdated", "message": "Anomaly monitor", "tags": [], "query": "avg(last_4h):anomalies(avg:dd.dialtone.historical.metrics{*}, ''basic'', 2, direction=''both'', alert_window=''last_15m'', interval=60, count_default_zero=''true'') @@ -128,8 +176,8 @@ interactions: "new_host_delay": 300, "notify_no_data": false, "renotify_interval": 0, "escalation_message": "", "threshold_windows": {"recovery_window": "last_15m", "trigger_window": "last_15m"}, "thresholds": {"critical": 1.0, "critical_recovery": 0.0}, "silenced": - {}}, "multi": false, "created_at": 1672868080000, "created": "2023-01-04T21:34:40.536187+00:00", - "modified": "2023-01-04T21:34:42.585074+00:00", "deleted": null, "restricted_roles": + {}}, "multi": false, "created_at": 1692886184000, "created": "2023-08-24T14:09:44.518282+00:00", + "modified": "2023-08-24T14:09:47.637229+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data"}' headers: {} @@ -151,18 +199,30 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000217445db3bae8fc3-752e7ac66e7dc1d0-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '8443821344042107344' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '2410628508451508163' method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380050 + uri: https://api.datadoghq.eu/api/v1/monitor/12742272 response: body: - string: '{"id": 9380050, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742272, "org_id": 1000044987, "type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} stopped reportingupdated", "message": "Private location {{location_id.name}} stopped reporting to Datadog.", "tags": [], "query": "min(last_5m):avg:synthetics.pl.worker.running{*} by {location_id} < 1", "options": {"notify_audit": false, "locked": false, "include_tags": true, "thresholds": {"critical": 1.0}, "new_host_delay": 300, "notify_no_data": - true, "silenced": {}}, "multi": true, "created_at": 1672868080000, "created": - "2023-01-04T21:34:40.758401+00:00", "modified": "2023-01-04T21:34:42.806655+00:00", + true, "silenced": {}}, "multi": true, "created_at": 1692886184000, "created": + "2023-08-24T14:09:44.903060+00:00", "modified": "2023-08-24T14:09:48.063503+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data"}' headers: {} @@ -187,11 +247,23 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-000000000000000065a3c2263a57fe20-920f5b7ec1387810-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '10524731454153848848' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '7323910888477949472' method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380051 + uri: https://api.datadoghq.eu/api/v1/monitor/12742273 response: body: - string: '{"id": 9380051, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742273, "org_id": 1000044987, "type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} uses an outdated image versionupdated", "message": "Private location {{location_id.name}} is running an outdated image version. Learn more about the current version in use on @@ -201,8 +273,8 @@ interactions: "tags": [], "query": "max(last_15m):sum:synthetics.pl.worker.outdated{*} by {location_id} > 0", "options": {"notify_audit": false, "locked": false, "include_tags": true, "thresholds": {"critical": 0.0}, "new_host_delay": 300, "notify_no_data": - false, "silenced": {}}, "multi": true, "created_at": 1672868080000, "created": - "2023-01-04T21:34:40.985176+00:00", "modified": "2023-01-04T21:34:43.052816+00:00", + false, "silenced": {}}, "multi": true, "created_at": 1692886185000, "created": + "2023-08-24T14:09:45.292476+00:00", "modified": "2023-08-24T14:09:48.390298+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data"}' headers: {} @@ -225,19 +297,31 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000bf6a915f9f7240a1-170f7bb67f7ece83-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '1661682811276283523' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '13792996648658550945' method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380052 + uri: https://api.datadoghq.eu/api/v1/monitor/12742274 response: body: - string: '{"id": 9380052, "org_id": 1000044987, "type": "metric alert", "name": + string: '{"id": 12742274, "org_id": 1000044987, "type": "metric alert", "name": "[Synthetic Private Locations] {{location_id.name}} is underprovisionedupdated", "message": "Private location {{location_id.name}} is underprovisioned.\nVisit this [documentation page](https://docs.datadoghq.com/synthetics/private_locations/?tab=docker#dimension-your-private-location) to learn how to scale your private location.", "tags": [], "query": "avg(last_30m):avg:synthetics.pl.worker.remaining_slots{*} by {location_id} < 1.5", "options": {"notify_audit": false, "locked": false, "include_tags": true, "thresholds": {"critical": 1.5}, "new_host_delay": 300, - "notify_no_data": false, "silenced": {}}, "multi": true, "created_at": 1672868081000, - "created": "2023-01-04T21:34:41.193293+00:00", "modified": "2023-01-04T21:34:43.265981+00:00", + "notify_no_data": false, "silenced": {}}, "multi": true, "created_at": 1692886185000, + "created": "2023-08-24T14:09:45.594328+00:00", "modified": "2023-08-24T14:09:48.743685+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data"}' headers: {} @@ -259,48 +343,31 @@ interactions: - gzip, deflate Content-Type: - application/json + traceparent: + - 00-0000000000000000c2f41ac693b66344-a5f68315166c3a5e-01 + tracestate: + - dd=s:1;t.dm:-0 + x-datadog-parent-id: + - '11958889987122674270' + x-datadog-sampling-priority: + - '1' + x-datadog-tags: + - _dd.p.dm=-0 + x-datadog-trace-id: + - '14047882577859470148' method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380053 + uri: https://api.datadoghq.eu/api/v1/monitor/12742275 response: body: - string: '{"id": 9380053, "org_id": 1000044987, "type": "event-v2 alert", "name": + string: '{"id": 12742275, "org_id": 1000044987, "type": "event-v2 alert", "name": "Test event monitorupdated", "message": "Test event monitor", "tags": [], "query": "events(\"\").rollup(\"count\").last(\"5m\") > 100", "options": {"notify_audit": false, "locked": false, "timeout_h": 0, "include_tags": true, "restriction_query": null, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": 0, "groupby_simple_monitor": true, "enable_logs_sample": false, "escalation_message": "", "thresholds": {"critical": 100.0}, "silenced": {}}, "multi": false, "created_at": - 1672868081000, "created": "2023-01-04T21:34:41.409829+00:00", "modified": - "2023-01-04T21:34:43.527959+00:00", "deleted": null, "restricted_roles": null, - "priority": null, "overall_state_modified": null, "overall_state": "No Data"}' - headers: {} - status: - code: 200 - message: OK -- request: - body: '{"type": "composite", "name": "Composite monitorupdated", "message": "test", - "tags": [], "query": "( 9380047 && 9380046 ) || !9380047", "options": {"notify_audit": - false, "locked": false, "include_tags": false, "new_host_delay": 300, "notify_no_data": - false, "renotify_interval": 0, "escalation_message": "", "silenced": {}}, "multi": - false, "restricted_roles": null, "priority": null}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Content-Type: - - application/json - method: PUT - uri: https://api.datadoghq.eu/api/v1/monitor/9380054 - response: - body: - string: '{"id": 9380054, "org_id": 1000044987, "type": "composite", "name": - "Composite monitorupdated", "message": "test", "tags": [], "query": "( 9380047 - && 9380046 ) || !9380047", "options": {"notify_audit": false, "locked": false, - "include_tags": false, "new_host_delay": 300, "notify_no_data": false, "renotify_interval": - 0, "escalation_message": "", "silenced": {}}, "multi": false, "created_at": - 1672868081000, "created": "2023-01-04T21:34:41.682698+00:00", "modified": - "2023-01-04T21:34:43.741007+00:00", "deleted": null, "restricted_roles": null, + 1692886185000, "created": "2023-08-24T14:09:45.906448+00:00", "modified": + "2023-08-24T14:09:49.147474+00:00", "deleted": null, "restricted_roles": null, "priority": null, "overall_state_modified": null, "overall_state": "No Data"}' headers: {} status: