diff --git a/Cargo.toml b/Cargo.toml index cd88c4f87..0b92f32fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,39 +30,38 @@ repository = "https://github.com/DataDog/datadog-api-client-rust" version = "0.27.0" [dependencies] -async-stream = "0.3.5" -chrono = {version = "0.4.31", features = ["serde"] } -flate2 = "1.0.28" +async-stream = "0.3.6" +chrono = {version = "0.4.44", features = ["serde"] } +flate2 = "1.1.9" form-data-builder = "1.0.1" -futures-core = "0.3.30" -lazy_static = "1.4.0" -log = "0.4.20" -reqwest = { version = "0.11.24", features = ["multipart"], default-features = false } -reqwest-middleware = "0.2.5" -reqwest-retry = "0.3.0" -serde = { version = "1.0.197", features = ["derive"] } -serde_json = "1.0.114" -serde_with = "3.6.1" -url = "2.5.0" -uuid = { version = "1.8.0", features = ["v4", "fast-rng", "macro-diagnostics", "serde"] } -zstd = "0.13.0" +futures-core = "0.3.32" +lazy_static = "1.5.0" +log = "0.4.29" +reqwest = { version = "0.13.2", features = ["multipart", "query"], default-features = false } +reqwest-middleware = { version = "0.5.1", features = ["query", "multipart"] } +reqwest-retry = "0.9.1" +serde = { version = "1.0.228", features = ["derive"] } +serde_json = "1.0.149" +serde_with = "3.17.0" +url = "2.5.8" +uuid = { version = "1.21.0", features = ["v4", "fast-rng", "macro-diagnostics", "serde"] } +zstd = "0.13.3" [build-dependencies] -rustc_version = "0.4.0" +rustc_version = "0.4.1" [dev-dependencies] -chrono = "0.4.31" -convert_case = "0.6.0" -cucumber = "0.20.2" -env_logger = "0.10.0" -futures = "0.3.28" -futures-util = "0.3.30" -minijinja = "1.0.10" -regex = "1.9.5" -rvcr = { git = "https://github.com/nkzou/rvcr.git", rev = "cb6911dcd05300a95647ed915b94645679fd80eb" } -sha256 = "1.4.0" -tokio = { version = "1.10", features = ["macros", "rt-multi-thread", "time"] } -urlencoding = "2.1.3" +chrono = "0.4.44" +convert_case = "0.11.0" +cucumber = "0.22.1" +env_logger = "0.11.9" +futures = "0.3.32" +futures-util = "0.3.32" +minijinja = "2.16.0" +regex = "1.12.3" +reqwest-vcr = "0.4.0" +sha256 = "1.6.0" +tokio = { version = "1.49.0", features = ["macros", "rt-multi-thread", "time"] } vcr-cassette = "2.0.1" [[test]] @@ -80,4 +79,4 @@ cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] [features] default = ["native-tls"] native-tls = ["reqwest/native-tls"] -rustls-tls = ["reqwest/rustls-tls-webpki-roots"] +rustls-tls = ["reqwest/rustls"] diff --git a/tests/scenarios/cassettes/v1/authentication/Validate-API-key-returns-Forbidden-response.json b/tests/scenarios/cassettes/v1/authentication/Validate-API-key-returns-Forbidden-response.json index 9683c2a7d..a9369b472 100644 --- a/tests/scenarios/cassettes/v1/authentication/Validate-API-key-returns-Forbidden-response.json +++ b/tests/scenarios/cassettes/v1/authentication/Validate-API-key-returns-Forbidden-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/validate" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/authentication/Validate-API-key-returns-OK-response.json b/tests/scenarios/cassettes/v1/authentication/Validate-API-key-returns-OK-response.json index c15bd42fc..9b319247d 100644 --- a/tests/scenarios/cassettes/v1/authentication/Validate-API-key-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/authentication/Validate-API-key-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/validate" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/aws_integration/Create-an-AWS-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/aws_integration/Create-an-AWS-integration-returns-OK-response.json index 4e397f2bd..484a28845 100644 --- a/tests/scenarios/cassettes/v1/aws_integration/Create-an-AWS-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/aws_integration/Create-an-AWS-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"account_id\":\"171234183000\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":true,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"extended_resource_collection_enabled\":true,\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":false,\"role_name\":\"DatadogAWSIntegrationRole\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/aws" }, @@ -40,14 +33,7 @@ "string": "{\"account_id\":\"171234183000\",\"role_name\":\"DatadogAWSIntegrationRole\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/aws" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/aws_integration/Delete-an-AWS-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/aws_integration/Delete-an-AWS-integration-returns-OK-response.json index 60beef48a..5a933e90e 100644 --- a/tests/scenarios/cassettes/v1/aws_integration/Delete-an-AWS-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/aws_integration/Delete-an-AWS-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"account_id\":\"171234183200\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":true,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"extended_resource_collection_enabled\":true,\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":false,\"role_name\":\"DatadogAWSIntegrationRole\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/aws" }, @@ -40,14 +33,7 @@ "string": "{\"account_id\":\"171234183200\",\"role_name\":\"DatadogAWSIntegrationRole\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/aws" }, @@ -74,14 +60,7 @@ "string": "{\"account_id\":\"171234183200\",\"role_name\":\"DatadogAWSIntegrationRole\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/aws" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/aws_integration/Update-an-AWS-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/aws_integration/Update-an-AWS-integration-returns-OK-response.json index 3781288e8..24c58d5f8 100644 --- a/tests/scenarios/cassettes/v1/aws_integration/Update-an-AWS-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/aws_integration/Update-an-AWS-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"account_id\":\"171234183400\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":true,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"extended_resource_collection_enabled\":true,\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":false,\"role_name\":\"DatadogAWSIntegrationRole\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/aws" }, @@ -40,14 +33,7 @@ "string": "{\"account_id\":\"171234183400\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":false,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"extended_resource_collection_enabled\":true,\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":true,\"role_name\":\"DatadogAWSIntegrationRole\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/integration/aws?account_id=171234183400&role_name=DatadogAWSIntegrationRole" }, @@ -74,14 +60,7 @@ "string": "{\"account_id\":\"171234183400\",\"role_name\":\"DatadogAWSIntegrationRole\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/aws" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/azure_integration/Create-an-Azure-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/azure_integration/Create-an-Azure-integration-returns-OK-response.json index 2835955b2..62a5f0ef5 100644 --- a/tests/scenarios/cassettes/v1/azure_integration/Create-an-Azure-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/azure_integration/Create-an-Azure-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/azure" }, @@ -40,14 +33,7 @@ "string": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/azure" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/azure_integration/Delete-an-Azure-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/azure_integration/Delete-an-Azure-integration-returns-OK-response.json index 511ebd71b..9ac4b0eac 100644 --- a/tests/scenarios/cassettes/v1/azure_integration/Delete-an-Azure-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/azure_integration/Delete-an-Azure-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_enabled\":true,\"metrics_enabled_default\":true,\"new_client_id\":\"17344717-0000-0000-0000-173447178000\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178000\",\"resource_collection_enabled\":true,\"resource_provider_configs\":[{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Compute\"},{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Web\"}],\"tenant_name\":\"17344717-0000-0000-0000-173447178000\",\"usage_metrics_enabled\":true}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/azure" }, @@ -40,14 +33,7 @@ "string": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/azure" }, @@ -74,14 +60,7 @@ "string": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/azure" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/azure_integration/Update-an-Azure-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/azure_integration/Update-an-Azure-integration-returns-OK-response.json index c51de0a36..1073aeff3 100644 --- a/tests/scenarios/cassettes/v1/azure_integration/Update-an-Azure-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/azure_integration/Update-an-Azure-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_enabled\":true,\"metrics_enabled_default\":true,\"new_client_id\":\"17344717-0000-0000-0000-173447178100\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"resource_collection_enabled\":true,\"resource_provider_configs\":[{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Compute\"},{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Web\"}],\"tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"usage_metrics_enabled\":true}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/azure" }, @@ -40,14 +33,7 @@ "string": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17344717-0000-0000-0000-173447178100\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"resource_collection_enabled\":true,\"tenant_name\":\"17344717-0000-0000-0000-173447178100\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/integration/azure" }, @@ -74,14 +60,7 @@ "string": "{\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"tenant_name\":\"17344717-0000-0000-0000-173447178100\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/azure" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboard_lists/Create-a-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboard_lists/Create-a-dashboard-list-returns-OK-response.json index 1e6434f21..a57b5527c 100644 --- a/tests/scenarios/cassettes/v1/dashboard_lists/Create-a-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboard_lists/Create-a-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_a_dashboard_list_returns_OK_response-1641430221\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/269879" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboard_lists/Delete-a-dashboard-list-returns-Not-Found-response.json b/tests/scenarios/cassettes/v1/dashboard_lists/Delete-a-dashboard-list-returns-Not-Found-response.json index cd8a39749..9cfa93808 100644 --- a/tests/scenarios/cassettes/v1/dashboard_lists/Delete-a-dashboard-list-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v1/dashboard_lists/Delete-a-dashboard-list-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/0" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboard_lists/Delete-a-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboard_lists/Delete-a-dashboard-list-returns-OK-response.json index 73f7ae39d..160d3fc9c 100644 --- a/tests/scenarios/cassettes/v1/dashboard_lists/Delete-a-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboard_lists/Delete-a-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Delete_a_dashboard_list_returns_OK_response-1641430221\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/269880" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/269880" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboard_lists/Get-a-dashboard-list-returns-Not-Found-response.json b/tests/scenarios/cassettes/v1/dashboard_lists/Get-a-dashboard-list-returns-Not-Found-response.json index e9aa891e7..f18cce521 100644 --- a/tests/scenarios/cassettes/v1/dashboard_lists/Get-a-dashboard-list-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v1/dashboard_lists/Get-a-dashboard-list-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/0" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboard_lists/Get-a-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboard_lists/Get-a-dashboard-list-returns-OK-response.json index b858c775b..c79b5f721 100644 --- a/tests/scenarios/cassettes/v1/dashboard_lists/Get-a-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboard_lists/Get-a-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_a_dashboard_list_returns_OK_response-1641430222\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/269881" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/269881" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboard_lists/Get-all-dashboard-lists-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboard_lists/Get-all-dashboard-lists-returns-OK-response.json index 4c9aade6c..49c754582 100644 --- a/tests/scenarios/cassettes/v1/dashboard_lists/Get-all-dashboard-lists-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboard_lists/Get-all-dashboard-lists-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_all_dashboard_lists_returns_OK_response-1676581817\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/364491" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboard_lists/Update-a-dashboard-list-returns-Not-Found-response.json b/tests/scenarios/cassettes/v1/dashboard_lists/Update-a-dashboard-list-returns-Not-Found-response.json index b7279588c..759448edf 100644 --- a/tests/scenarios/cassettes/v1/dashboard_lists/Update-a-dashboard-list-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v1/dashboard_lists/Update-a-dashboard-list-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Not found\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/0" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboard_lists/Update-a-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboard_lists/Update-a-dashboard-list-returns-OK-response.json index f89302f46..bc75a91df 100644 --- a/tests/scenarios/cassettes/v1/dashboard_lists/Update-a-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboard_lists/Update-a-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Update_a_dashboard_list_returns_OK_response-1641430223\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -40,14 +33,7 @@ "string": "{\"name\":\"updated Test-Update_a_dashboard_list_returns_OK_response-1641430223\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/269882" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/269882" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Clients-deserialize-a-dashboard-with-a-empty-time-object.json b/tests/scenarios/cassettes/v1/dashboards/Clients-deserialize-a-dashboard-with-a-empty-time-object.json index 65f431ff0..d361c9ec2 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Clients-deserialize-a-dashboard-with-a-empty-time-object.json +++ b/tests/scenarios/cassettes/v1/dashboards/Clients-deserialize-a-dashboard-with-a-empty-time-object.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Clients_deserialize_a_dashboard_with_a_empty_time_object-1727205571\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"bars\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"cloud_cost\",\"name\":\"query1\",\"query\":\"sum:aws.cost.amortized{*} by {aws_product}.rollup(sum, monthly)\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"time\":{},\"title\":\"Example Cloud Cost Query\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/han-5zg-c32" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-APM-Stats-query.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-APM-Stats-query.json index e2629d3d4..1953519e3 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-APM-Stats-query.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-APM-Stats-query.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1731699146\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"data_source\":\"apm_resource_stats\",\"env\":\"staging\",\"group_by\":[\"resource_name\"],\"name\":\"query1\",\"operation_name\":\"universal.http.client\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"*\",\"service\":\"azure-bill-import\",\"stat\":\"latency_distribution\"},\"request_type\":\"histogram\",\"style\":{\"palette\":\"dog_classic\"}}],\"show_legend\":false,\"title\":\"APM Stats - Request latency HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":8,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/cp9-wz6-rpj" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-events-query.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-events-query.json index 6305c860c..5b08e02b8 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-events-query.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-events-query.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731699147\",\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731699147\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"compute\":{\"aggregation\":\"min\",\"metric\":\"@duration\"},\"data_source\":\"events\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}},\"request_type\":\"histogram\"}],\"show_legend\":false,\"title\":\"Events Platform - Request latency HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/p6k-cxc-g8m" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-metrics-query.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-metrics-query.json index 5de736e92..37bd19e41 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-metrics-query.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-distribution-widget-using-a-histogram-request-containing-a-formulas-and-functions-metrics-query.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1731699147\",\"widgets\":[{\"definition\":{\"custom_links\":[{\"label\":\"Example\",\"link\":\"https://example.org/\"}],\"requests\":[{\"query\":{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"histogram:trace.Load{*}\"},\"request_type\":\"histogram\",\"style\":{\"palette\":\"dog_classic\"}}],\"show_legend\":false,\"title\":\"Metrics HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ydy-5hn-vib" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-geomap-widget-using-an-event-list-request.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-geomap-widget-using-an-event-list-request.json index ae86acca4..797592afa 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-geomap-widget-using-an-event-list-request.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-geomap-widget-using-an-event-list-request.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1731699148\",\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"fixed\",\"tags\":[],\"template_variables\":[],\"title\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1731699148\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"@network.client.geoip.location.latitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.location.longitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.country.iso_code\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.subdivision.name\",\"width\":\"auto\"},{\"field\":\"classic\",\"width\":\"auto\"},{\"field\":\"\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"indexes\":[],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":6,\"width\":12,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/85y-teg-6gs" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-geomap-widget-with-conditional-formats-and-text-formats.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-geomap-widget-with-conditional-formats-and-text-formats.json index 2f3a1b743..43678c12d 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-geomap-widget-with-conditional-formats-and-text-formats.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-geomap-widget-with-conditional-formats-and-text-formats.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"Test-Create_a_geomap_widget_with_conditional_formats_and_text_formats-1765190775\",\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"fixed\",\"tags\":[],\"template_variables\":[],\"title\":\"Test-Create_a_geomap_widget_with_conditional_formats_and_text_formats-1765190775\",\"widgets\":[{\"definition\":{\"requests\":[{\"conditional_formats\":[{\"comparator\":\">\",\"palette\":\"white_on_green\",\"value\":1000}],\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"@type:session\"}}],\"response_format\":\"scalar\",\"sort\":{\"count\":250,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}},{\"columns\":[{\"field\":\"@network.client.geoip.location.latitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.location.longitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.country.iso_code\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.subdivision.name\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"indexes\":[],\"query_string\":\"\",\"storage\":\"hot\"},\"response_format\":\"event_list\",\"style\":{\"color_by\":\"status\"},\"text_formats\":[{\"match\":{\"type\":\"is\",\"value\":\"error\"},\"palette\":\"white_on_red\"}]}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title\":\"Log Count by Service and Source\",\"type\":\"geomap\",\"view\":{\"focus\":\"NORTH_AMERICA\"}},\"layout\":{\"height\":6,\"width\":12,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/n2i-h6d-x6a" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-returns-OK-response.json index 3b4e774c9..dd71f8ef4 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_returns_OK_response-1731699149 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/8a5-8x9-spj" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-bar-chart-widget-with-stacked-type-and-no-legend-specified.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-bar-chart-widget-with-stacked-type-and-no-legend-specified.json index 32313b514..150a450fc 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-bar-chart-widget-with-stacked-type-and-no-legend-specified.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-bar-chart-widget-with-stacked-type-and-no-legend-specified.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_a_bar_chart_widget_with_stacked_type_and_no_legend_specified-1765833935\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"bar_chart\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/6yv-ayr-nyv" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-change-widget-using-formulas-and-functions-slo-query.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-change-widget-using-formulas-and-functions-slo-query.json index 3cc607ac1..e09c29b6a 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-change-widget-using-formulas-and-functions-slo-query.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-change-widget-using-formulas-and-functions-slo-query.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731699149\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731699149\",\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"asc\",\"queries\":[{\"additional_query_filters\":\"*\",\"data_source\":\"slo\",\"group_mode\":\"overall\",\"measure\":\"slo_status\",\"name\":\"query1\",\"slo_id\":\"425d71bc3445599f92d7c3848731d220\",\"slo_query_type\":\"metric\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/49z-5ib-fcx" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/425d71bc3445599f92d7c3848731d220" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-formulas-and-functions-change-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-formulas-and-functions-change-widget.json index bf23d3e09..2aa73b822 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-formulas-and-functions-change-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-formulas-and-functions-change-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1731699150\",\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"compare_to\":\"hour_before\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"desc\",\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/pwu-pqa-fin" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-formulas-and-functions-treemap-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-formulas-and-functions-treemap-widget.json index 2007052f0..949b1c7a6 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-formulas-and-functions-treemap-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-formulas-and-functions-treemap-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1731699150\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"title\":\"\",\"type\":\"treemap\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/sa5-czr-uat" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-query-value-widget-using-the-percentile-aggregator.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-query-value-widget-using-the-percentile-aggregator.json index e9daed776..7288cc13e 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-query-value-widget-using-the-percentile-aggregator.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-query-value-widget-using-the-percentile-aggregator.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1731699151 with QVW Percentile Aggregator\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"percentile\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"p90:dist.dd.dogweb.latency{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":2,\"width\":2,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/u3x-4y8-hiy" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-query-value-widget-using-timeseries-background.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-query-value-widget-using-timeseries-background.json index 93b11db14..a0ba3e668 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-query-value-widget-using-timeseries-background.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-query-value-widget-using-timeseries-background.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1731699151 with QVW Timeseries Background\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"percentile\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"sum:my.cool.count.metric{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"timeseries_background\":{\"type\":\"area\",\"yaxis\":{\"include_zero\":true}},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":2,\"width\":2,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/t7h-dt9-gt6" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-and-an-overlay-request.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-and-an-overlay-request.json index c3cd67bab..edfad42a1 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-and-an-overlay-request.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-and-an-overlay-request.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1731699152\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"on_right_yaxis\":false,\"queries\":[{\"data_source\":\"metrics\",\"name\":\"mymetric\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\"},{\"display_type\":\"overlay\",\"queries\":[{\"data_source\":\"metrics\",\"name\":\"mymetricoverlay\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"purple\"}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/9kn-skt-493" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-cloud-cost-query.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-cloud-cost-query.json index 1425f7eec..745e858f4 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-cloud-cost-query.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-cloud-cost-query.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1731699152\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"bars\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"cloud_cost\",\"name\":\"query1\",\"query\":\"sum:aws.cost.amortized{*} by {aws_product}.rollup(sum, monthly)\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"time\":{\"live_span\":\"week_to_date\"},\"title\":\"Example Cloud Cost Query\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/vyw-yjx-s93" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-metrics-query-with-combined-semantic-mode.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-metrics-query-with-combined-semantic-mode.json index 0854da94b..f55be4194 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-metrics-query-with-combined-semantic-mode.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-metrics-query-with-combined-semantic-mode.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_metrics_query_with_comb-1765219210 with combined semantic_mode\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\",\"semantic_mode\":\"combined\"}],\"response_format\":\"timeseries\"}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/bpt-wdw-b9x" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-metrics-query-with-native-semantic-mode.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-metrics-query-with-native-semantic-mode.json index 5e57d76a9..516f69d20 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-metrics-query-with-native-semantic-mode.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-timeseries-widget-using-formulas-and-functions-metrics-query-with-native-semantic-mode.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_metrics_query_with_nati-1765218758 with native semantic_mode\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\",\"semantic_mode\":\"native\"}],\"response_format\":\"timeseries\"}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ptr-h98-jx4" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-sorted-by-group.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-sorted-by-group.json index b577cb3ec..8a8694d0b 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-sorted-by-group.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-sorted-by-group.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1731699153\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/w98-fwu-ra3" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-with-stacked-type-and-no-legend-specified.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-with-stacked-type-and-no-legend-specified.json index 57139a4ae..2ae0d3d0d 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-with-stacked-type-and-no-legend-specified.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-a-toplist-widget-with-stacked-type-and-no-legend-specified.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified-1731699153\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/r8v-q4n-f95" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-alert-graph-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-alert-graph-widget.json index b7ae146ee..398649471 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-alert-graph-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-alert-graph-widget.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1731699154\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testcreateanewdashboardwithalertgraphwidget1731699154\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1731699154\",\"widgets\":[{\"definition\":{\"alert_id\":\"158348339\",\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_graph\",\"viz_type\":\"timeseries\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/4jv-jai-fe2" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/158348339" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-alert-value-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-alert-value-widget.json index 2b7f3eeb6..9710d805b 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-alert-value-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-alert-value-widget.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_new_dashboard_with_alert_value_widget-1731699155\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testcreateanewdashboardwithalertvaluewidget1731699155\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_alert_value_widget-1731699155\",\"widgets\":[{\"definition\":{\"alert_id\":\"158348341\",\"precision\":2,\"text_align\":\"left\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_value\",\"unit\":\"auto\"},\"layout\":{\"height\":8,\"width\":15,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/vi5-rq9-zfq" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/158348341" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-an-audit-logs-query.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-an-audit-logs-query.json index ec9799ff9..dd1a17c2a 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-an-audit-logs-query.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-an-audit-logs-query.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_an_audit_logs_query-1731699156 with Audit Logs Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"audit\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"timeseries\"}],\"type\":\"timeseries\"},\"layout\":{\"height\":2,\"width\":4,\"x\":2,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/gu5-cq8-akb" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-dependency-stats-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-dependency-stats-widget.json index 0338fc0ac..bc66ea580 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-dependency-stats-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-dependency-stats-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1731699156\",\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"data_source\":\"apm_dependency_stats\",\"env\":\"ci\",\"name\":\"query1\",\"operation_name\":\"cassandra.query\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"edge-eu1.prod.dog\",\"resource_name\":\"DELETE FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id IN ? AND group = ?\",\"service\":\"cassandra\",\"stat\":\"avg_duration\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/vz4-7gw-y6a" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-issue-stream-list-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-issue-stream-list-stream-widget.json index 8b3db5b3b..314189f85 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-issue-stream-list-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-issue-stream-list-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1731699157 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/tak-bfc-f2k" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-resource-stats-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-resource-stats-widget.json index b9d8f6389..c719ee71b 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-resource-stats-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-apm-resource-stats-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1731699156\",\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"data_source\":\"apm_resource_stats\",\"env\":\"ci\",\"group_by\":[\"resource_name\"],\"name\":\"query1\",\"operation_name\":\"cassandra.query\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"edge-eu1.prod.dog\",\"service\":\"cassandra\",\"stat\":\"hits\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/29d-cad-9rf" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-bar-chart-widget-sorted-by-group.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-bar-chart-widget-sorted-by-group.json index d3a652ebf..4c39fae40 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-bar-chart-widget-sorted-by-group.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-bar-chart-widget-sorted-by-group.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_bar_chart_widget_sorted_by_group-1765833989\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"bar_chart\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/d7t-dfe-vuh" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-bar-chart-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-bar-chart-widget.json index 954c4b525..d6303aab0 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-bar-chart-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-bar-chart-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_bar_chart_widget-1765833978\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"display\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"bar_chart\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/jnt-fik-esx" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-check-status-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-check-status-widget.json index efc0a16ae..c0a8c4679 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-check-status-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-check-status-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_check_status_widget-1731699157\",\"widgets\":[{\"definition\":{\"check\":\"datadog.agent.up\",\"grouping\":\"check\",\"tags\":[\"*\"],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"check_status\"},\"layout\":{\"height\":8,\"width\":15,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/h4u-ixe-ptt" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-ci-test-stream-list-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-ci-test-stream-list-stream-widget.json index a753e27c6..ed2f96bab 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-ci-test-stream-list-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-ci-test-stream-list-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1731699158 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"ci_test_stream\",\"query_string\":\"test_level:suite\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/as4-cys-wwb" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-distribution-widget-and-apm-stats-data.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-distribution-widget-and-apm-stats-data.json index 656f567dc..bf511f371 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-distribution-widget-and-apm-stats-data.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-distribution-widget-and-apm-stats-data.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1731699158\",\"widgets\":[{\"definition\":{\"requests\":[{\"apm_stats_query\":{\"env\":\"prod\",\"name\":\"cassandra.query\",\"primary_tag\":\"datacenter:dc1\",\"row_type\":\"service\",\"service\":\"cassandra\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/jbq-s5a-g9h" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-distribution-widget-with-markers-and-num-buckets.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-distribution-widget-with-markers-and-num-buckets.json index 22ff3793d..9b841ee08 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-distribution-widget-with-markers-and-num-buckets.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-distribution-widget-with-markers-and-num-buckets.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_distribution_widget_with_markers_and_num_buckets-1764889684\",\"widgets\":[{\"definition\":{\"markers\":[{\"display_type\":\"percentile\",\"value\":\"50\"},{\"display_type\":\"percentile\",\"value\":\"99\"},{\"display_type\":\"percentile\",\"value\":\"90\"}],\"requests\":[{\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"num_buckets\":55,\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ved-atm-2g5" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-stream-list-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-stream-list-stream-widget.json index 12fd53b64..69e85cb08 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-stream-list-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-stream-list-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1731699158 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"event_stream\",\"event_size\":\"l\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/vw4-by2-54m" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-stream-widget.json index 7f2a5605d..831390c6c 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_event_stream_widget-1731699159\",\"widgets\":[{\"definition\":{\"event_size\":\"s\",\"query\":\"example-query\",\"tags_execution\":\"and\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"event_stream\"},\"layout\":{\"height\":38,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/uki-9bd-4fm" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-timeline-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-timeline-widget.json index d353f4bdf..b5c69ac7e 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-timeline-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-event-timeline-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_event_timeline_widget-1731699159\",\"widgets\":[{\"definition\":{\"query\":\"status:error priority:all\",\"tags_execution\":\"and\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"event_timeline\"},\"layout\":{\"height\":9,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/y4s-pyq-y6k" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formula-and-function-distribution-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formula-and-function-distribution-widget.json index 14935f912..d15684059 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formula-and-function-distribution-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formula-and-function-distribution-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_formula_and_function_distribution_widget-1765818232\",\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"compute\":{\"aggregation\":\"avg\",\"metric\":\"@duration\"},\"data_source\":\"logs\",\"group_by\":[{\"facet\":\"service\",\"limit\":1000,\"sort\":{\"aggregation\":\"count\",\"order\":\"desc\"}}],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"},\"storage\":\"hot\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ii3-z6t-p8x" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formula-and-function-heatmap-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formula-and-function-heatmap-widget.json index 6e7e8971a..f98aba332 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formula-and-function-heatmap-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formula-and-function-heatmap-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1731699160\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"palette\":\"dog_classic\"}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/g5w-g59-qaw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formulas-and-functions-scatterplot-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formulas-and-functions-scatterplot-widget.json index 54e39a8ea..ee0d052bb 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formulas-and-functions-scatterplot-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-formulas-and-functions-scatterplot-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1731699160\",\"widgets\":[{\"definition\":{\"requests\":{\"table\":{\"formulas\":[{\"alias\":\"my-query1\",\"dimension\":\"x\",\"formula\":\"query1\"},{\"alias\":\"my-query2\",\"dimension\":\"y\",\"formula\":\"query2\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:system.mem.used{*} by {service}\"}],\"response_format\":\"scalar\"}},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"scatterplot\"},\"id\":5346764334358972,\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/s22-z4c-t53" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-free-text-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-free-text-widget.json index e34d457e5..ee4ef7f7b 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-free-text-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-free-text-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_free_text_widget-1731699161\",\"widgets\":[{\"definition\":{\"color\":\"#4d4d4d\",\"font_size\":\"auto\",\"text\":\"Example free text\",\"text_align\":\"left\",\"type\":\"free_text\"},\"layout\":{\"height\":6,\"width\":24,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/gdm-q83-k4r" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-funnel-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-funnel-widget.json index 7288634eb..50ad6fea8 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-funnel-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-funnel-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_funnel_widget-1731699161 with funnel widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"data_source\":\"rum\",\"query_string\":\"\",\"steps\":[]},\"request_type\":\"funnel\"}],\"type\":\"funnel\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/xfs-csi-vjh" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-geomap-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-geomap-widget.json index 88345c219..85ad690f4 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-geomap-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-geomap-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_geomap_widget-1731699161\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[{\"facet\":\"@geo.country_iso_code\",\"limit\":250,\"sort\":{\"aggregation\":\"count\",\"order\":\"desc\"}}],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\",\"sort\":{\"count\":250,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":30,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ccn-3vg-8fw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-heatmap-widget-with-markers-and-num-buckets.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-heatmap-widget-with-markers-and-num-buckets.json index b5c9eda32..29d5aad1c 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-heatmap-widget-with-markers-and-num-buckets.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-heatmap-widget-with-markers-and-num-buckets.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_heatmap_widget_with_markers_and_num_buckets-1765820343\",\"widgets\":[{\"definition\":{\"markers\":[{\"display_type\":\"percentile\",\"value\":\"50\"},{\"display_type\":\"percentile\",\"value\":\"99\"}],\"requests\":[{\"query\":{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"histogram:trace.servlet.request{*}\"},\"request_type\":\"histogram\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\",\"xaxis\":{\"num_buckets\":75},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/r3p-kik-ven" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-heatmap-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-heatmap-widget.json index b35778479..e37b0e475 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-heatmap-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-heatmap-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_heatmap_widget-1731699162\",\"widgets\":[{\"definition\":{\"requests\":[{\"q\":\"avg:system.cpu.user{*} by {service}\",\"style\":{\"palette\":\"dog_classic\"}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/2vd-tnh-iwh" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-hostmap-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-hostmap-widget.json index 56d8a1ae4..4acce9225 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-hostmap-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-hostmap-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_hostmap_widget-1731699162\",\"widgets\":[{\"definition\":{\"no_group_hosts\":true,\"no_metric_hosts\":true,\"node_type\":\"host\",\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*} by {host}\"}},\"style\":{\"palette\":\"green_to_orange\",\"palette_flip\":false},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"hostmap\"},\"layout\":{\"height\":22,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/cny-7s9-9di" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-iframe-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-iframe-widget.json index 38fe156bf..d95ef9db3 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-iframe-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-iframe-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_iframe_widget-1731699163\",\"widgets\":[{\"definition\":{\"type\":\"iframe\",\"url\":\"https://docs.datadoghq.com/api/latest/\"},\"layout\":{\"height\":12,\"width\":12,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/y65-35v-xh5" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-image-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-image-widget.json index baeaf1106..a414a757c 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-image-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-image-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_image_widget-1731699163\",\"widgets\":[{\"definition\":{\"sizing\":\"cover\",\"type\":\"image\",\"url\":\"https://example.com/image.png\"},\"layout\":{\"height\":12,\"width\":12,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/pep-4f2-6my" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-invalid-team-tags-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-invalid-team-tags-returns-Bad-Request-response.json index 3f71cb611..0ff1098c8 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-invalid-team-tags-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-invalid-team-tags-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"tags\":[\"tm:foobar\"],\"title\":\"Test-Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response-1731699164\",\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"compare_to\":\"hour_before\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"desc\",\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget-with-a-valid-sort-parameter-ASC.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget-with-a-valid-sort-parameter-ASC.json index bc965b3ee..08b9c9d07 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget-with-a-valid-sort-parameter-ASC.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget-with-a-valid-sort-parameter-ASC.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1731699164 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"event_stream\",\"event_size\":\"l\",\"query_string\":\"\",\"sort\":{\"column\":\"timestamp\",\"order\":\"asc\"}},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/hmc-wyw-pru" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget-with-a-valid-sort-parameter-DESC.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget-with-a-valid-sort-parameter-DESC.json index ee7d33dbb..593f8995c 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget-with-a-valid-sort-parameter-DESC.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget-with-a-valid-sort-parameter-DESC.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1731699164 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"event_stream\",\"event_size\":\"l\",\"query_string\":\"\",\"sort\":{\"column\":\"timestamp\",\"order\":\"desc\"}},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/8er-jb3-ctv" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget.json index 88d027c93..ca5e6b6d7 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-list-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget-1731699164 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/p6y-umd-i2r" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-llm-observability-stream-list-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-llm-observability-stream-list-stream-widget.json index c1752aaf4..bfe814188 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-llm-observability-stream-list-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-llm-observability-stream-list-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1731699165 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"@status\",\"width\":\"compact\"},{\"field\":\"@content.prompt\",\"width\":\"auto\"},{\"field\":\"@content.response.content\",\"width\":\"auto\"},{\"field\":\"timestamp\",\"width\":\"auto\"},{\"field\":\"@ml_app\",\"width\":\"auto\"},{\"field\":\"service\",\"width\":\"auto\"},{\"field\":\"@meta.evaluations.quality\",\"width\":\"auto\"},{\"field\":\"@meta.evaluations.security\",\"width\":\"auto\"},{\"field\":\"@duration\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"llm_observability_stream\",\"indexes\":[],\"query_string\":\"@event_type:span @parent_id:undefined\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/m3z-v96-834" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-log-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-log-stream-widget.json index 0a776fbb8..584484066 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-log-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-log-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_log_stream_widget-1731699165\",\"widgets\":[{\"definition\":{\"columns\":[\"host\",\"service\"],\"indexes\":[\"main\"],\"message_display\":\"expanded-md\",\"query\":\"\",\"show_date_column\":true,\"show_message_column\":true,\"sort\":{\"column\":\"time\",\"order\":\"desc\"},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"log_stream\"},\"layout\":{\"height\":36,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/eb9-ta5-d6g" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-pattern-stream-list-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-pattern-stream-list-stream-widget.json index 7185305b4..b48a9e86a 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-pattern-stream-list-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-pattern-stream-list-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1733944682 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"},{\"field\":\"message\",\"width\":\"auto\"}],\"query\":{\"clustering_pattern_field_path\":\"message\",\"data_source\":\"logs_pattern_stream\",\"group_by\":[{\"facet\":\"service\"}],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/fue-7tr-ubw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-query-table-widget-and-storage-parameter.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-query-table-widget-and-storage-parameter.json index 659ea7529..0b12d0197 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-query-table-widget-and-storage-parameter.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-query-table-widget-and-storage-parameter.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1731699166 with query table widget and storage parameter\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"cell_display_mode\":\"bar\",\"conditional_formats\":[],\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"},\"storage\":\"online_archives\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":50,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"type\":\"query_table\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/3bi-3is-gj3" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-stream-list-stream-widget-and-storage-parameter.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-stream-list-stream-widget-and-storage-parameter.json index 88d9e5db9..35471188c 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-stream-list-stream-widget-and-storage-parameter.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-stream-list-stream-widget-and-storage-parameter.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1731699167 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"query_string\":\"\",\"storage\":\"hot\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/dbj-z8f-jps" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-transaction-stream-list-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-transaction-stream-list-stream-widget.json index 594ccd5e5..70c7619b8 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-transaction-stream-list-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-logs-transaction-stream-list-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1731699167 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"compute\":[{\"aggregation\":\"count\",\"facet\":\"service\"}],\"data_source\":\"logs_transaction_stream\",\"group_by\":[{\"facet\":\"service\"}],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/6dq-36y-p59" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-manage-status-widget-and-show-priority-parameter.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-manage-status-widget-and-show-priority-parameter.json index f9fa0a461..3ffda7de8 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-manage-status-widget-and-show-priority-parameter.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-manage-status-widget-and-show-priority-parameter.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1731699168\",\"widgets\":[{\"definition\":{\"color_preference\":\"text\",\"count\":50,\"display_format\":\"countsAndList\",\"hide_zero_counts\":true,\"query\":\"\",\"show_last_triggered\":false,\"show_priority\":false,\"sort\":\"priority,asc\",\"start\":0,\"summary_type\":\"monitors\",\"type\":\"manage_status\"},\"layout\":{\"height\":25,\"width\":50,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/u5w-9hp-tch" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-manage-status-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-manage-status-widget.json index bebf1e484..1ae441141 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-manage-status-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-manage-status-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_manage_status_widget-1731699167\",\"widgets\":[{\"definition\":{\"color_preference\":\"text\",\"count\":50,\"display_format\":\"countsAndList\",\"hide_zero_counts\":true,\"query\":\"\",\"show_last_triggered\":false,\"sort\":\"status,asc\",\"start\":0,\"summary_type\":\"monitors\",\"type\":\"manage_status\"},\"layout\":{\"height\":25,\"width\":50,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/5qz-2zt-tj6" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-note-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-note-widget.json index 60f34d11e..51b27c668 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-note-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-note-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_note_widget-1731699168\",\"widgets\":[{\"definition\":{\"content\":\"# Example Note\",\"type\":\"note\"},\"layout\":{\"height\":24,\"width\":18,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/9e4-auv-jbr" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-powerpack-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-powerpack-widget.json index 92eed7da4..58d55853e 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-powerpack-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-powerpack-widget.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Create_a_new_dashboard_with_powerpack_widget-1731699168\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"description\",\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_powerpack_widget-1731699168 with powerpack widget\",\"widgets\":[{\"definition\":{\"powerpack_id\":\"65c564d0-a388-11ef-a7cd-da7ad0900002\",\"template_variables\":{\"controlled_by_powerpack\":[{\"name\":\"foo\",\"prefix\":\"bar\",\"values\":[\"baz\",\"qux\",\"quuz\"]}],\"controlled_externally\":[]},\"type\":\"powerpack\"},\"layout\":{\"height\":2,\"is_column_break\":false,\"width\":2,\"x\":1,\"y\":1}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/zb2-4ez-tuk" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/65c564d0-a388-11ef-a7cd-da7ad0900002" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-cell-display-mode-is-trend.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-cell-display-mode-is-trend.json index 18fbdb8cb..b4e6967a7 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-cell-display-mode-is-trend.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-cell-display-mode-is-trend.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_query_table_widget_and_cell_display_mode_is_trend-1739540217\",\"widgets\":[{\"definition\":{\"has_search_bar\":\"auto\",\"requests\":[{\"formulas\":[{\"cell_display_mode\":\"trend\",\"cell_display_mode_options\":{\"trend_type\":\"line\",\"y_scale\":\"shared\"},\"conditional_formats\":[],\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {host}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":500,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":32,\"width\":54,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/qw6-574-sem" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-text-formatting.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-text-formatting.json index ed69a1948..101d48d2d 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-text-formatting.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget-and-text-formatting.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1731699170\",\"widgets\":[{\"definition\":{\"has_search_bar\":\"never\",\"requests\":[{\"formulas\":[],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:aws.stream.globalaccelerator.processed_bytes_in{*} by {aws_account,acceleratoripaddress}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:aws.stream.globalaccelerator.processed_bytes_out{*} by {aws_account,acceleratoripaddress}\"}],\"response_format\":\"scalar\",\"text_formats\":[[{\"match\":{\"type\":\"is\",\"value\":\"fruit\"},\"palette\":\"white_on_red\",\"replace\":{\"type\":\"all\",\"with\":\"vegetable\"}},{\"custom_bg_color\":\"#632ca6\",\"match\":{\"type\":\"is\",\"value\":\"animal\"},\"palette\":\"custom_bg\"},{\"match\":{\"type\":\"is\",\"value\":\"robot\"},\"palette\":\"red_on_white\"},{\"match\":{\"type\":\"is\",\"value\":\"ai\"},\"palette\":\"yellow_on_white\"}],[{\"match\":{\"type\":\"is_not\",\"value\":\"xyz\"},\"palette\":\"white_on_yellow\"}],[{\"match\":{\"type\":\"contains\",\"value\":\"test\"},\"palette\":\"white_on_green\",\"replace\":{\"type\":\"all\",\"with\":\"vegetable\"}}],[{\"match\":{\"type\":\"does_not_contain\",\"value\":\"blah\"},\"palette\":\"black_on_light_red\"}],[{\"match\":{\"type\":\"starts_with\",\"value\":\"abc\"},\"palette\":\"black_on_light_yellow\"}],[{\"match\":{\"type\":\"ends_with\",\"value\":\"xyz\"},\"palette\":\"black_on_light_green\"},{\"match\":{\"type\":\"ends_with\",\"value\":\"zzz\"},\"palette\":\"green_on_white\"},{\"custom_fg_color\":\"#632ca6\",\"match\":{\"type\":\"is\",\"value\":\"animal\"},\"palette\":\"custom_text\"}]]}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/aj4-ak4-dgu" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget.json index 1efe570a4..e86799036 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-table-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_query_table_widget-1731699170\",\"widgets\":[{\"definition\":{\"has_search_bar\":\"auto\",\"requests\":[{\"formulas\":[{\"cell_display_mode\":\"bar\",\"conditional_formats\":[],\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {host}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":500,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":32,\"width\":54,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/7q6-h26-j3u" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-value-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-value-widget.json index 8dadbd69c..09843eb9d 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-value-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-query-value-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_query_value_widget-1731699170\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/jks-c6t-r8e" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-rum-issue-stream-list-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-rum-issue-stream-list-stream-widget.json index dbbe95794..6195c7264 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-rum-issue-stream-list-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-rum-issue-stream-list-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1731699171 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"rum_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ce9-y6g-66s" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-run-workflow-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-run-workflow-widget.json index 5e72f8690..f0dfceb8f 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-run-workflow-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-run-workflow-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_run_workflow_widget-1731699171\",\"widgets\":[{\"definition\":{\"inputs\":[{\"name\":\"environment\",\"value\":\"$env.value\"}],\"time\":{},\"title\":\"Run workflow title\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"run_workflow\",\"workflow_id\":\"2e055f16-8b6a-4cdd-b452-17a34c44b160\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/iis-hmn-pzf" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-scatterplot-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-scatterplot-widget.json index 12c992de1..801c45558 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-scatterplot-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-scatterplot-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_scatterplot_widget-1731699172\",\"widgets\":[{\"definition\":{\"color_by_groups\":[],\"requests\":{\"table\":{\"formulas\":[{\"alias\":\"\",\"dimension\":\"x\",\"formula\":\"query1\"},{\"alias\":\"\",\"dimension\":\"y\",\"formula\":\"query2\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:system.mem.used{*} by {service}\"}],\"response_format\":\"scalar\"}},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"scatterplot\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/s39-kcu-kcv" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-servicemap-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-servicemap-widget.json index d342334c1..3f4cc0a1f 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-servicemap-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-servicemap-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_servicemap_widget-1731699172\",\"widgets\":[{\"definition\":{\"filters\":[\"env:none\",\"environment:*\"],\"service\":\"\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"servicemap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/npz-y6x-z4g" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-list-widget-with-sort.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-list-widget-with-sort.json index 0d412a487..6b6e7b342 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-list-widget-with-sort.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-list-widget-with-sort.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731699173\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731699173\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"limit\":75,\"query_string\":\"env:prod AND service:my-app\",\"sort\":[{\"column\":\"status.sli\",\"order\":\"asc\"}]},\"request_type\":\"slo_list\"}],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"slo_list\"},\"layout\":{\"height\":21,\"width\":60,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/s9d-ebt-cfz" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/7ae31bf46704510e973d8bf6a1c37430" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-list-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-list-widget.json index c2268d311..57d30a799 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-list-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-list-widget.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_a_new_dashboard_with_slo_list_widget-1731699173\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_slo_list_widget-1731699173\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"limit\":75,\"query_string\":\"env:prod AND service:my-app\"},\"request_type\":\"slo_list\"}],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"slo_list\"},\"layout\":{\"height\":21,\"width\":60,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/rnh-pf5-uu6" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/89fa8ea5e6045df7b43f58ab5a9887cc" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-widget.json index 582b78678..4c7eb7478 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-slo-widget.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_a_new_dashboard_with_slo_widget-1731699174\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_slo_widget-1731699174\",\"widgets\":[{\"definition\":{\"additional_query_filters\":\"!host:excluded_host\",\"global_time_target\":\"0\",\"show_error_budget\":true,\"slo_id\":\"ff0d47f8ee755a4abc061fe92e9978f5\",\"time_windows\":[\"7d\"],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"slo\",\"view_mode\":\"overall\",\"view_type\":\"detail\"},\"layout\":{\"height\":21,\"width\":60,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/87d-8cv-ee8" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/ff0d47f8ee755a4abc061fe92e9978f5" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-split-graph-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-split-graph-widget.json index dbcb6d120..47f32394d 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-split-graph-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-split-graph-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"ordered\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_split_graph_widget-1731699175\",\"widgets\":[{\"definition\":{\"has_uniform_y_axes\":true,\"size\":\"md\",\"source_widget_definition\":{\"requests\":[{\"display_type\":\"line\",\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"},\"split_config\":{\"limit\":24,\"sort\":{\"compute\":{\"aggregation\":\"sum\",\"metric\":\"system.cpu.user\"},\"order\":\"desc\"},\"split_dimensions\":[{\"one_graph_per\":\"service\"}],\"static_splits\":[[{\"tag_key\":\"service\",\"tag_values\":[\"cassandra\"]},{\"tag_key\":\"datacenter\",\"tag_values\":[]}],[{\"tag_key\":\"demo\",\"tag_values\":[\"env\"]}]]},\"title\":\"\",\"type\":\"split_group\"},\"layout\":{\"height\":8,\"width\":12,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/xcs-593-5gu" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-sunburst-widget-and-metrics-data.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-sunburst-widget-and-metrics-data.json index 753469ac8..5165d0ddb 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-sunburst-widget-and-metrics-data.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-sunburst-widget-and-metrics-data.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1731699176\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"sum\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"sum:system.mem.used{*} by {service}\"}],\"response_format\":\"scalar\",\"style\":{\"palette\":\"dog_classic\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"sunburst\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/qfx-a3h-kme" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-team-tags-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-team-tags-returns-OK-response.json index 9198b9d01..e250b1fb5 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-team-tags-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-team-tags-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"tags\":[\"team:foobar\"],\"title\":\"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1731699177\",\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"compare_to\":\"hour_before\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"desc\",\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/zb6-66m-ntf" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-and-default-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-and-default-returns-Bad-Request-response.json index 97f7a6749..7d81f7418 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-and-default-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-and-default-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"default\":\"my-host\",\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-returns-OK-response.json index 5839e0a31..273c73613 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/49a-9qv-6v9" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-whose-value-has-no-length-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-whose-value-has-no-length-returns-Bad-Request-response.json index 00d59819c..951babee1 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-whose-value-has-no-length-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-defaults-whose-value-has-no-length-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-and-value-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-and-value-returns-Bad-Request-response.json index a70e687a4..bcd2ab4b3 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-and-value-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-and-value-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"value\":\"*\",\"values\":[\"*\"]}]}],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-returns-OK-response.json index c6311d699..47605e000 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"values\":[\"*\",\"my-host\"]}]}],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/87t-neh-qip" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-with-no-length-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-with-no-length-returns-Bad-Request-response.json index 6afd474d0..5a06e7427 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-with-no-length-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-presets-using-values-with-no-length-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"values\":[]}]}],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-type-field-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-type-field-returns-OK-response.json index 7c8de9c4b..6b55c9eff 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-type-field-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-template-variable-type-field-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"service\",\"datacenter\",\"env\"],\"defaults\":[\"service\",\"datacenter\"],\"name\":\"group_by_var\",\"type\":\"group\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/zb6-rsj-zej" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-and-formula-style-attributes.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-and-formula-style-attributes.json index 357d39824..12a56fab6 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-and-formula-style-attributes.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-and-formula-style-attributes.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1731699178 with formula style\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\",\"style\":{\"palette\":\"classic\",\"palette_index\":4}}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"styled timeseries\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/z42-55x-nbm" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-containing-style-attributes.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-containing-style-attributes.json index 20a58a2da..a647be9e8 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-containing-style-attributes.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-containing-style-attributes.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1731699179 with timeseries widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"bars\",\"on_right_yaxis\":false,\"q\":\"sum:trace.test.errors{env:prod,service:datadog-api-spec} by {resource_name}.as_count()\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"warm\"}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/3g2-7q5-mxv" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-using-order-by-tags.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-using-order-by-tags.json index fa7bcba10..a2fbadfb7 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-using-order-by-tags.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-using-order-by-tags.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_using_order_by_tags-1768952362 with order_by tags\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"q\":\"avg:system.cpu.user{*} by {host}\",\"style\":{\"order_by\":\"tags\",\"palette\":\"dog_classic\"}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/2r3-a4g-ubz" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-using-order-by-values.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-using-order-by-values.json index 52c070e49..7a31a0378 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-using-order-by-values.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-using-order-by-values.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_using_order_by_values-1768952390 with order_by values\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"q\":\"avg:system.cpu.user{*} by {host}\",\"style\":{\"order_by\":\"values\",\"palette\":\"warm\"}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/5ee-dqv-ruw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-with-custom-unit.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-with-custom-unit.json index 3ebb8544f..49d5c4556 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-with-custom-unit.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-with-custom-unit.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"fixed\",\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_with_custom_unit-1739811056\",\"widgets\":[{\"definition\":{\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\",\"number_format\":{\"unit\":{\"type\":\"canonical_unit\",\"unit_name\":\"fraction\"},\"unit_scale\":{\"type\":\"canonical_unit\",\"unit_name\":\"apdex\"}}}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\"}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"},\"layout\":{\"height\":5,\"width\":12,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/a8v-698-pen" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-without-order-by-for-backward-compatibility.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-without-order-by-for-backward-compatibility.json index 7d8f0fb63..7277660e5 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-without-order-by-for-backward-compatibility.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-timeseries-widget-without-order-by-for-backward-compatibility.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_without_order_by_for_backward_compatibility-1768952415 without order_by\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"q\":\"avg:system.cpu.user{*} by {host}\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/6bg-rgq-fxc" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-toplist-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-toplist-widget.json index 0f6791a4a..cad7ac2ea 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-toplist-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-toplist-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_toplist_widget-1731699179\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"display\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/jwf-ikb-jaw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-topology-map-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-topology-map-widget.json index 1df93b29e..cc9f5a5dd 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-topology-map-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-topology-map-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_topology_map_widget-1731699180\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"data_source\":\"service_map\",\"filters\":[\"env:none\",\"environment:*\"],\"service\":\"\"},\"request_type\":\"topology\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"topology_map\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/9fp-eg8-uae" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-trace-service-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-trace-service-widget.json index cb19877d0..d7838e0d4 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-trace-service-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-trace-service-widget.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_trace_service_widget-1731699180\",\"widgets\":[{\"definition\":{\"display_format\":\"two_column\",\"env\":\"none\",\"service\":\"\",\"show_breakdown\":true,\"show_distribution\":true,\"show_errors\":true,\"show_hits\":true,\"show_latency\":true,\"show_resource_list\":false,\"size_format\":\"medium\",\"span_name\":\"\",\"time\":{},\"title\":\"Service Summary\",\"type\":\"trace_service\"},\"layout\":{\"height\":72,\"width\":72,\"x\":0,\"y\":0}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/8rp-yjv-2c7" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-trace-stream-widget.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-trace-stream-widget.json index 23e54c202..570aca811 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-trace-stream-widget.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-dashboard-with-trace-stream-widget.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_trace_stream_widget-1731699180 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"},{\"field\":\"service\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"trace_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/8hi-5bw-sya" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-ci-pipelines-data-source.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-ci-pipelines-data-source.json index bd8744f36..dbeaca0ad 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-ci-pipelines-data-source.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-ci-pipelines-data-source.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1731699181 with ci_pipelines datasource\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/c2y-k8z-ghy" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-ci-tests-data-source.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-ci-tests-data-source.json index c81c8aeac..5c21a543a 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-ci-tests-data-source.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-ci-tests-data-source.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1731699181 with ci_tests datasource\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"ci_tests\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"test_level:test\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/j89-gve-ggt" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-incident-analytics-data-source.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-incident-analytics-data-source.json index 0701910fb..a31996374 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-incident-analytics-data-source.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-incident-analytics-data-source.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1731699182 with incident_analytics datasource\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"incident_analytics\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"test_level:test\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/acy-6e4-hcx" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-legacy-live-span-time-format.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-legacy-live-span-time-format.json index f007005e7..f0aaf3c26 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-legacy-live-span-time-format.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-legacy-live-span-time-format.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1756237678 with legacy live span time\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"hide_incomplete_cost_data\":true,\"live_span\":\"5m\"},\"title\":\"\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/wek-eci-qnn" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-new-fixed-span-time-format.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-new-fixed-span-time-format.json index 6c8bd915a..c037b6d5b 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-new-fixed-span-time-format.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-new-fixed-span-time-format.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1756237678 with new fixed span time\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"from\":1712080128,\"hide_incomplete_cost_data\":true,\"to\":1712083128,\"type\":\"fixed\"},\"title\":\"\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/43b-7uw-9hv" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-new-live-span-time-format.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-new-live-span-time-format.json index 38d1e4fe4..4d8bfa57c 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-new-live-span-time-format.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-new-live-span-time-format.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1756237679 with new live span time\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"hide_incomplete_cost_data\":true,\"type\":\"live\",\"unit\":\"minute\",\"value\":8},\"title\":\"\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/gwt-rfa-qem" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-product-analytics-data-source.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-product-analytics-data-source.json index 889f960f0..662f4ecfb 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-product-analytics-data-source.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-new-timeseries-widget-with-product-analytics-data-source.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_product_analytics_data_source-1758221477 with product_analytics datasource\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"product_analytics\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"test_level:test\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/zvr-td5-ppm" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-returns-Dashboard-Not-Found-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-returns-Dashboard-Not-Found-response.json index b6c5f3c01..3260e2049 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-returns-Dashboard-Not-Found-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-returns-Dashboard-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"dashboard_id\":\"abc-123-def\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_type\":\"open\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-returns-OK-response.json index c2a343c82..dee06cd2a 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_shared_dashboard_returns_OK_response-1731699183 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"dashboard_id\":\"g3v-56r-qqm\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_type\":\"open\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-4893b23e8e8483063cfae1c21abb8de1" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/g3v-56r-qqm" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-with-a-group-template-variable-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-with-a-group-template-variable-returns-OK-response.json index 03eb2d699..3ea25ec63 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-with-a-group-template-variable-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Create-a-shared-dashboard-with-a-group-template-variable-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_shared_dashboard_with_a_group_template_variable_returns_OK_response-1751298438 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"dashboard_id\":\"73x-8zb-5cq\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"selectable_template_vars\":[{\"default_value\":\"*\",\"name\":\"group_by_var\",\"type\":\"group\",\"visible_tags\":[\"selectableValue1\",\"selectableValue2\"]}],\"share_type\":\"open\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-546a27681750cfe1aa43a9930683c116" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/73x-8zb-5cq" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Delete-a-dashboard-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Delete-a-dashboard-returns-OK-response.json index f69ce9420..24491bdd8 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Delete-a-dashboard-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Delete-a-dashboard-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Delete_a_dashboard_returns_OK_response-1731699184 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/hai-uhn-87g" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/hai-uhn-87g" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Delete-dashboards-returns-No-Content-response.json b/tests/scenarios/cassettes/v1/dashboards/Delete-dashboards-returns-No-Content-response.json index b1b4ecc70..b683df74c 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Delete-dashboards-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Delete-dashboards-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Delete_dashboards_returns_No_Content_response-1731699185 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"data\":[{\"id\":\"jp2-chp-z7f\",\"type\":\"dashboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/jp2-chp-z7f" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Get-a-dashboard-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Get-a-dashboard-returns-OK-response.json index 8ab6f28ef..6f1856f99 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Get-a-dashboard-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Get-a-dashboard-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_a_dashboard_returns_OK_response-1731699186 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard/448-ktj-ezs" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/448-ktj-ezs" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Get-a-dashboard-returns-author-name-.json b/tests/scenarios/cassettes/v1/dashboards/Get-a-dashboard-returns-author-name-.json index 690ea0282..0acb318ad 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Get-a-dashboard-returns-author-name-.json +++ b/tests/scenarios/cassettes/v1/dashboards/Get-a-dashboard-returns-author-name-.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_a_dashboard_returns_author_name_-1641832482 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard/mv9-uwu-9q8" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/mv9-uwu-9q8" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Get-a-shared-dashboard-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Get-a-shared-dashboard-returns-OK-response.json index a10da7ee0..8f59ce67c 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Get-a-shared-dashboard-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Get-a-shared-dashboard-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_a_shared_dashboard_returns_OK_response-1731699186 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"dashboard_id\":\"8ev-xtr-upp\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testgetashareddashboardreturnsokresponse1731699186@datadoghq.com\"],\"share_type\":\"invite\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-a0de932128a4590dd2936030efe4536f" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-a0de932128a4590dd2936030efe4536f" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/8ev-xtr-upp" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Get-all-dashboards-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v1/dashboards/Get-all-dashboards-returns-OK-response-with-pagination.json index 8e3d565ef..b6080f0ee 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Get-all-dashboards-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v1/dashboards/Get-all-dashboards-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard?count=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard?count=2&start=2" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Get-all-dashboards-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Get-all-dashboards-returns-OK-response.json index 8fee92b19..83c8c15d0 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Get-all-dashboards-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Get-all-dashboards-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_all_dashboards_returns_OK_response-1676584070 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard?filter%5Bshared%5D=false" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/npw-6di-usv" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Get-all-invitations-for-a-shared-dashboard-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Get-all-invitations-for-a-shared-dashboard-returns-OK-response.json index b46fc31ab..3e7d3fb93 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Get-all-invitations-for-a-shared-dashboard-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Get-all-invitations-for-a-shared-dashboard-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1731699187 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"dashboard_id\":\"qnh-gkv-jbc\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testgetallinvitationsforashareddashboardreturnsokresponse1731699187@datadoghq.com\"],\"share_type\":\"invite\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-d7c9444d4bf13c445437741538d0ad29/invitation" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-d7c9444d4bf13c445437741538d0ad29" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/qnh-gkv-jbc" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Get-deleted-dashboards-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Get-deleted-dashboards-returns-OK-response.json index 4b1a0e670..bcd7658c6 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Get-deleted-dashboards-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Get-deleted-dashboards-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_deleted_dashboards_returns_OK_response-1642441413 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ssn-gb2-k7k" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/dashboard?filter%5Bdeleted%5D=true" }, @@ -93,11 +78,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ssn-gb2-k7k" }, @@ -120,4 +101,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Restore-deleted-dashboards-returns-No-Content-response.json b/tests/scenarios/cassettes/v1/dashboards/Restore-deleted-dashboards-returns-No-Content-response.json index 6789a9faf..491a90c5e 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Restore-deleted-dashboards-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Restore-deleted-dashboards-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Restore_deleted_dashboards_returns_No_Content_response-1731699188 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/xsv-pnb-qcn" }, @@ -68,14 +57,7 @@ "string": "{\"data\":[{\"id\":\"xsv-pnb-qcn\",\"type\":\"dashboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/xsv-pnb-qcn" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Send-shared-dashboard-invitation-email-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Send-shared-dashboard-invitation-email-returns-OK-response.json index f36d7eb5f..e085733e3 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Send-shared-dashboard-invitation-email-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Send-shared-dashboard-invitation-email-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1731699189 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"dashboard_id\":\"yri-q6w-8gq\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com\"],\"share_type\":\"invite\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com\"},\"type\":\"public_dashboard_invitation\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b/invitation" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com\"},\"type\":\"public_dashboard_invitation\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b/invitation" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b" }, @@ -167,11 +135,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/yri-q6w-8gq" }, @@ -194,4 +158,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Update-a-dashboard-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Update-a-dashboard-returns-OK-response.json index 9f4f80896..7bdd54694 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Update-a-dashboard-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Update-a-dashboard-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_dashboard_returns_OK_response-1731699190 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"Updated description\",\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_dashboard_returns_OK_response-1731699190 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/dashboard/p63-b2n-sjg" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/p63-b2n-sjg" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Update-a-dashboard-with-tags-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Update-a-dashboard-with-tags-returns-OK-response.json index 4931defca..d06a7d307 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Update-a-dashboard-with-tags-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Update-a-dashboard-with-tags-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_dashboard_with_tags_returns_OK_response-1731699191 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"Updated description\",\"layout_type\":\"ordered\",\"tags\":[\"team:foo\",\"team:bar\"],\"title\":\"Test-Update_a_dashboard_with_tags_returns_OK_response-1731699191 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/dashboard/dpm-665-j6y" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/dpm-665-j6y" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Update-a-shared-dashboard-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Update-a-shared-dashboard-returns-OK-response.json index 6da597201..90ad8dc7a 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Update-a-shared-dashboard-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Update-a-shared-dashboard-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_shared_dashboard_returns_OK_response-1731699192 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"dashboard_id\":\"7gy-n9j-kdz\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testupdateashareddashboardreturnsokresponse1731699192@datadoghq.com\"],\"share_type\":\"invite\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public" }, @@ -74,14 +60,7 @@ "string": "{\"global_time\":{\"live_span\":\"15m\"},\"share_list\":[],\"share_type\":\"open\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-601fe99239741e02ee84c1852ce59a37" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-601fe99239741e02ee84c1852ce59a37" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/7gy-n9j-kdz" }, @@ -160,4 +131,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/dashboards/Update-a-shared-dashboard-with-selectable-template-vars-returns-OK-response.json b/tests/scenarios/cassettes/v1/dashboards/Update-a-shared-dashboard-with-selectable-template-vars-returns-OK-response.json index 3341b3909..973c56d69 100644 --- a/tests/scenarios/cassettes/v1/dashboards/Update-a-shared-dashboard-with-selectable-template-vars-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/dashboards/Update-a-shared-dashboard-with-selectable-template-vars-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_shared_dashboard_with_selectable_template_vars_returns_OK_response-1751298440 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -40,14 +33,7 @@ "string": "{\"dashboard_id\":\"u77-2y3-a8u\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testupdateashareddashboardwithselectabletemplatevarsreturnsokresponse1751298440@datadoghq.com\"],\"share_type\":\"invite\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/public" }, @@ -74,14 +60,7 @@ "string": "{\"global_time\":{\"live_span\":\"15m\"},\"selectable_template_vars\":[{\"default_value\":\"*\",\"name\":\"group_by_var\",\"type\":\"group\",\"visible_tags\":[\"selectableValue1\",\"selectableValue2\"]}],\"share_list\":[],\"share_type\":\"open\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-e45981fc09294b85d655016fc6109985" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-e45981fc09294b85d655016fc6109985" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/u77-2y3-a8u" }, @@ -160,4 +131,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Cancel-a-downtime-returns-Downtime-not-found-response.json b/tests/scenarios/cassettes/v1/downtimes/Cancel-a-downtime-returns-Downtime-not-found-response.json index 7ebc5aa40..3a707d7cb 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Cancel-a-downtime-returns-Downtime-not-found-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Cancel-a-downtime-returns-Downtime-not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/0" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Cancel-a-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v1/downtimes/Cancel-a-downtime-returns-OK-response.json index 017cad57d..7590e430e 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Cancel-a-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Cancel-a-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"end\":1684769356,\"message\":\"Test-Cancel_a_downtime_returns_OK_response-1684765756\",\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"until_date\":1686580156,\"week_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\"]},\"scope\":[\"test:testcanceladowntimereturnsokresponse1684765756\"],\"start\":1684765756,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2941964683" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2941964683" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Cancel-downtimes-by-scope-returns-Downtimes-not-found-response.json b/tests/scenarios/cassettes/v1/downtimes/Cancel-downtimes-by-scope-returns-Downtimes-not-found-response.json index 1ac5e9c2f..958d7fdcc 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Cancel-downtimes-by-scope-returns-Downtimes-not-found-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Cancel-downtimes-by-scope-returns-Downtimes-not-found-response.json @@ -6,14 +6,7 @@ "string": "{\"scope\":\"test:testcanceldowntimesbyscopereturnsdowntimesnotfoundresponse1641430245_invalid\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime/cancel/by_scope" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Cancel-downtimes-by-scope-returns-OK-response.json b/tests/scenarios/cassettes/v1/downtimes/Cancel-downtimes-by-scope-returns-OK-response.json index e70167235..2002be2ea 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Cancel-downtimes-by-scope-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Cancel-downtimes-by-scope-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"end\":1684769382,\"message\":\"Test-Cancel_downtimes_by_scope_returns_OK_response-1684765782\",\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"until_date\":1686580182,\"week_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\"]},\"scope\":[\"test:testcanceldowntimesbyscopereturnsokresponse1684765782\"],\"start\":1684765782,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -40,14 +33,7 @@ "string": "{\"scope\":\"test:testcanceldowntimesbyscopereturnsokresponse1684765782\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime/cancel/by_scope" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2941965647" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Get-a-downtime-returns-Downtime-not-found-response.json b/tests/scenarios/cassettes/v1/downtimes/Get-a-downtime-returns-Downtime-not-found-response.json index 4ca71b445..06e09782b 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Get-a-downtime-returns-Downtime-not-found-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Get-a-downtime-returns-Downtime-not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/downtime/0" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Get-a-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v1/downtimes/Get-a-downtime-returns-OK-response.json index 3c0101163..fe17d56f8 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Get-a-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Get-a-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"end\":1684769410,\"message\":\"Test-Get_a_downtime_returns_OK_response-1684765810\",\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"until_date\":1686580210,\"week_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\"]},\"scope\":[\"test:testgetadowntimereturnsokresponse1684765810\"],\"start\":1684765810,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/downtime/2941966869" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2941966869" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Get-all-downtimes-returns-OK-response.json b/tests/scenarios/cassettes/v1/downtimes/Get-all-downtimes-returns-OK-response.json index 22c0df43e..a7fc5f48b 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Get-all-downtimes-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Get-all-downtimes-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/downtime?with_creator=true" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-once-a-year.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-once-a-year.json index 784779724..c6ece9c5b 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-once-a-year.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-once-a-year.json @@ -6,14 +6,7 @@ "string": "{\"end\":1683227857,\"message\":\"Test-Schedule_a_downtime_once_a_year-1683224257\",\"monitor_tags\":[\"tag0\"],\"mute_first_recovery_notification\":true,\"notify_end_states\":[\"alert\",\"warn\"],\"notify_end_types\":[\"expired\"],\"recurrence\":{\"period\":1,\"type\":\"years\"},\"scope\":[\"*\"],\"start\":1683224257,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2890657808" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-returns-Bad-Request-response.json index da71de672..11569f8eb 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"monitor_tags\":[\"tag0\",\"tag1\",\"tag2\",\"tag3\",\"tag4\",\"tag5\",\"tag6\",\"tag7\",\"tag8\",\"tag9\",\"tag10\",\"tag11\",\"tag12\",\"tag13\",\"tag14\",\"tag15\",\"tag16\",\"tag17\",\"tag18\",\"tag19\",\"tag20\",\"tag21\",\"tag22\",\"tag23\",\"tag24\",\"tag25\",\"tag26\",\"tag27\",\"tag28\",\"tag29\",\"tag30\",\"tag31\",\"tag32\",\"tag33\",\"tag34\",\"tag35\",\"tag36\",\"tag37\",\"tag38\",\"tag39\",\"tag40\",\"tag41\",\"tag42\",\"tag43\",\"tag44\",\"tag45\",\"tag46\",\"tag47\",\"tag48\",\"tag49\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-returns-OK-response.json index 34dde6fdb..c8584858a 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"end\":1684769697,\"message\":\"Test-Schedule_a_downtime_returns_OK_response-1684766097\",\"notify_end_states\":[\"alert\",\"no data\",\"warn\"],\"notify_end_types\":[\"canceled\",\"expired\"],\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"until_date\":1686580497,\"week_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\"]},\"scope\":[\"test:testscheduleadowntimereturnsokresponse1684766097\"],\"start\":1684766097,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2941976753" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-until-date.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-until-date.json index aeb229e95..3998b4305 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-until-date.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-until-date.json @@ -6,14 +6,7 @@ "string": "{\"end\":1683227859,\"message\":\"Test-Schedule_a_downtime_until_date-1683224259\",\"monitor_tags\":[\"tag0\"],\"mute_first_recovery_notification\":true,\"notify_end_states\":[\"alert\"],\"notify_end_types\":[\"canceled\"],\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"until_date\":1685038659,\"week_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\"]},\"scope\":[\"*\"],\"start\":1683224259,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2890657859" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-invalid-type-hours.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-invalid-type-hours.json index ffea2106b..8adff8cca 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-invalid-type-hours.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-invalid-type-hours.json @@ -6,14 +6,7 @@ "string": "{\"end\":1657667266,\"message\":\"Test-Schedule_a_downtime_with_invalid_type_hours-1657663666\",\"monitor_tags\":[\"tag0\"],\"recurrence\":{\"period\":1,\"type\":\"hours\"},\"scope\":[\"*\"],\"start\":1657663666,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-invalid-weekdays.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-invalid-weekdays.json index 18b54e6de..20f2ea8e4 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-invalid-weekdays.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-invalid-weekdays.json @@ -6,14 +6,7 @@ "string": "{\"end\":1657667266,\"message\":\"Test-Schedule_a_downtime_with_invalid_weekdays-1657663666\",\"monitor_tags\":[\"tag0\"],\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"week_days\":[\"mon\",\"tue\"]},\"scope\":[\"*\"],\"start\":1657663666,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-mutually-exclusive-until-occurrences-and-until-date-properties.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-mutually-exclusive-until-occurrences-and-until-date-properties.json index 2b3a0961a..c1d1287d5 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-mutually-exclusive-until-occurrences-and-until-date-properties.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-mutually-exclusive-until-occurrences-and-until-date-properties.json @@ -6,14 +6,7 @@ "string": "{\"end\":1657667266,\"message\":\"Test-Schedule_a_downtime_with_mutually_exclusive_until_occurrences_and_until_date_properties-1657663666\",\"monitor_tags\":[\"tag0\"],\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"until_date\":1659478066,\"until_occurrences\":3,\"week_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\"]},\"scope\":[\"*\"],\"start\":1657663666,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-until-occurrences.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-until-occurrences.json index 9637fda2d..9c866223d 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-until-occurrences.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-downtime-with-until-occurrences.json @@ -6,14 +6,7 @@ "string": "{\"end\":1657667267,\"message\":\"Test-Schedule_a_downtime_with_until_occurrences-1657663667\",\"monitor_tags\":[\"tag0\"],\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"until_occurrences\":3,\"week_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\"]},\"scope\":[\"*\"],\"start\":1657663667,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2082107712" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-monitor-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-monitor-downtime-returns-OK-response.json index 0bf00f651..296db7c5d 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Schedule-a-monitor-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Schedule-a-monitor-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Schedule_a_monitor_downtime_returns_OK_response-1728578689\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testscheduleamonitordowntimereturnsokresponse1728578689\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -40,14 +33,7 @@ "string": "{\"message\":\"Test-Schedule_a_monitor_downtime_returns_OK_response-1728578689\",\"monitor_id\":155845546,\"scope\":[\"test:testscheduleamonitordowntimereturnsokresponse1728578689\"],\"start\":1728578689,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/4432145271" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/155845546" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/downtimes/Update-a-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v1/downtimes/Update-a-downtime-returns-OK-response.json index 63cbb1551..85df5aaee 100644 --- a/tests/scenarios/cassettes/v1/downtimes/Update-a-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/downtimes/Update-a-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"end\":1684769834,\"message\":\"Test-Update_a_downtime_returns_OK_response-1684766234\",\"recurrence\":{\"period\":1,\"type\":\"weeks\",\"until_date\":1686580634,\"week_days\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\"]},\"scope\":[\"test:testupdateadowntimereturnsokresponse1684766234\"],\"start\":1684766234,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -40,14 +33,7 @@ "string": "{\"message\":\"Test-Update_a_downtime_returns_OK_response-1684766234-updated\",\"mute_first_recovery_notification\":true,\"notify_end_states\":[\"alert\",\"no data\",\"warn\"],\"notify_end_types\":[\"canceled\",\"expired\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/downtime/2941982639" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2941982639" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/events/Post-an-event-in-the-past-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/events/Post-an-event-in-the-past-returns-Bad-Request-response.json index 3f84dd15e..98195ef82 100644 --- a/tests/scenarios/cassettes/v1/events/Post-an-event-in-the-past-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/events/Post-an-event-in-the-past-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"date_happened\":1,\"tags\":[\"test:TestPostaneventinthepastreturnsBadRequestresponse1641430251\"],\"text\":\"A text message.\",\"title\":\"Test-Post_an_event_in_the_past_returns_Bad_Request_response-1641430251\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/events" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/events/Post-an-event-returns-OK-response.json b/tests/scenarios/cassettes/v1/events/Post-an-event-returns-OK-response.json index d8d034683..5ea745138 100644 --- a/tests/scenarios/cassettes/v1/events/Post-an-event-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/events/Post-an-event-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"tags\":[\"test:TestPostaneventreturnsOKresponse1641430251\"],\"text\":\"A text message.\",\"title\":\"Test-Post_an_event_returns_OK_response-1641430251\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/events" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/events/Post-an-event-with-a-long-title-returns-OK-response.json b/tests/scenarios/cassettes/v1/events/Post-an-event-with-a-long-title-returns-OK-response.json index 9f871ead5..7ec4cfde1 100644 --- a/tests/scenarios/cassettes/v1/events/Post-an-event-with-a-long-title-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/events/Post-an-event-with-a-long-title-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"tags\":[\"test:TestPostaneventwithalongtitlereturnsOKresponse1641430251\"],\"text\":\"A text message.\",\"title\":\"Test-Post_an_event_with_a_long_title_returns_OK_response-1641430251 very very very looooooooong looooooooooooong loooooooooooooooooooooong looooooooooooooooooooooooooong title with 100+ characters\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/events" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/gcp_integration/Create-a-GCP-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/gcp_integration/Create-a-GCP-integration-returns-OK-response.json index effc40eec..2122af1a1 100644 --- a/tests/scenarios/cassettes/v1/gcp_integration/Create-a-GCP-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/gcp_integration/Create-a-GCP-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"f28619c1be385271@example.com\",\"client_id\":\"172833269717283326970\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"cloud_run_revision_filters\":[\"dr:dre\"],\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -40,14 +33,7 @@ "string": "{\"client_email\":\"f28619c1be385271@example.com\",\"client_id\":\"172833269717283326970\",\"project_id\":\"datadog-apitest\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/gcp_integration/Delete-a-GCP-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/gcp_integration/Delete-a-GCP-integration-returns-OK-response.json index 576414c18..20c2a4c6a 100644 --- a/tests/scenarios/cassettes/v1/gcp_integration/Delete-a-GCP-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/gcp_integration/Delete-a-GCP-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"8c747ddd32fcd610@example.com\",\"client_id\":\"172833300917283330090\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -40,14 +33,7 @@ "string": "{\"client_email\":\"8c747ddd32fcd610@example.com\",\"client_id\":\"172833300917283330090\",\"project_id\":\"datadog-apitest\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -74,14 +60,7 @@ "string": "{\"client_email\":\"8c747ddd32fcd610@example.com\",\"client_id\":\"172833300917283330090\",\"project_id\":\"datadog-apitest\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/gcp_integration/List-all-GCP-integrations-returns-OK-response.json b/tests/scenarios/cassettes/v1/gcp_integration/List-all-GCP-integrations-returns-OK-response.json index f53bec8bf..5b5b5351c 100644 --- a/tests/scenarios/cassettes/v1/gcp_integration/List-all-GCP-integrations-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/gcp_integration/List-all-GCP-integrations-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/gcp_integration/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response.json b/tests/scenarios/cassettes/v1/gcp_integration/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response.json index 34a9d3c66..ae920554f 100644 --- a/tests/scenarios/cassettes/v1/gcp_integration/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/gcp_integration/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"0a9b348679053531@example.com\",\"client_id\":\"172833301017283330100\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -40,14 +33,7 @@ "string": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"0a9b348679053531@example.com\",\"client_id\":\"172833301017283330100\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"cloud_run_revision_filters\":[\"merp:derp\"],\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -74,14 +60,7 @@ "string": "{\"client_email\":\"0a9b348679053531@example.com\",\"client_id\":\"172833301017283330100\",\"project_id\":\"datadog-apitest\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/gcp_integration/Update-a-GCP-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/gcp_integration/Update-a-GCP-integration-returns-OK-response.json index c18da8be5..0718ce24a 100644 --- a/tests/scenarios/cassettes/v1/gcp_integration/Update-a-GCP-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/gcp_integration/Update-a-GCP-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"b4b2a84c6669b5d4@example.com\",\"client_id\":\"172833301117283330110\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -40,14 +33,7 @@ "string": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"b4b2a84c6669b5d4@example.com\",\"client_id\":\"172833301117283330110\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -74,14 +60,7 @@ "string": "{\"client_email\":\"b4b2a84c6669b5d4@example.com\",\"client_id\":\"172833301117283330110\",\"project_id\":\"datadog-apitest\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/gcp" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/hosts/Get-all-hosts-with-metadata-deserializes-successfully.json b/tests/scenarios/cassettes/v1/hosts/Get-all-hosts-with-metadata-deserializes-successfully.json index 8ebe5eebf..a1939785a 100644 --- a/tests/scenarios/cassettes/v1/hosts/Get-all-hosts-with-metadata-deserializes-successfully.json +++ b/tests/scenarios/cassettes/v1/hosts/Get-all-hosts-with-metadata-deserializes-successfully.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/hosts?include_hosts_metadata=true" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/hosts/Get-all-hosts-with-metadata-for-your-organization-returns-OK-response.json b/tests/scenarios/cassettes/v1/hosts/Get-all-hosts-with-metadata-for-your-organization-returns-OK-response.json index a785294b2..dc486c864 100644 --- a/tests/scenarios/cassettes/v1/hosts/Get-all-hosts-with-metadata-for-your-organization-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/hosts/Get-all-hosts-with-metadata-for-your-organization-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/hosts?include_hosts_metadata=true" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/ip_ranges/List-IP-Ranges-returns-OK-response.json b/tests/scenarios/cassettes/v1/ip_ranges/List-IP-Ranges-returns-OK-response.json index f922edf03..58ceca77a 100644 --- a/tests/scenarios/cassettes/v1/ip_ranges/List-IP-Ranges-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/ip_ranges/List-IP-Ranges-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://ip-ranges.datadoghq.com/" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs/Search-test-logs-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs/Search-test-logs-returns-OK-response.json index 256ee545a..3cf302a7e 100644 --- a/tests/scenarios/cassettes/v1/logs/Search-test-logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs/Search-test-logs-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"index\":\"main\",\"query\":\"host:Test*\",\"sort\":\"asc\",\"time\":{\"from\":\"2022-04-12T13:46:01.054Z\",\"timezone\":\"Europe/Paris\",\"to\":\"2022-04-12T14:46:01.054Z\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs-queries/list" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs/Send-logs-returns-Response-from-server-always-200-empty-JSON-response.json b/tests/scenarios/cassettes/v1/logs/Send-logs-returns-Response-from-server-always-200-empty-JSON-response.json index 0d12abdba..6c525fd88 100644 --- a/tests/scenarios/cassettes/v1/logs/Send-logs-returns-Response-from-server-always-200-empty-JSON-response.json +++ b/tests/scenarios/cassettes/v1/logs/Send-logs-returns-Response-from-server-always-200-empty-JSON-response.json @@ -6,14 +6,7 @@ "string": "[{\"ddtags\":\"host:TestSendlogsreturnsResponsefromserveralways200emptyJSONresponse1649774806\",\"message\":\"Test-Send_logs_returns_Response_from_server_always_200_empty_JSON_response-1649774806\"}]", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://http-intake.logs.datadoghq.com/v1/input" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-returns-OK-response.json index 77b6f7234..98722e389 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testPipelineArrayAppend\",\"processors\":[{\"is_enabled\":true,\"name\":\"append_ip_to_array\",\"operation\":{\"source\":\"network.client.ip\",\"target\":\"sourceIps\",\"type\":\"append\"},\"type\":\"array-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/s_cPqdnkQVaU6PwbPPt2ZQ" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-with-preserve-source-false-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-with-preserve-source-false-returns-OK-response.json index ab602d498..d96beb72f 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-with-preserve-source-false-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-with-preserve-source-false-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testPipelineArrayAppendNoPreserve\",\"processors\":[{\"is_enabled\":true,\"name\":\"append_ip_and_remove_source\",\"operation\":{\"preserve_source\":false,\"source\":\"network.client.ip\",\"target\":\"sourceIps\",\"type\":\"append\"},\"type\":\"array-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/B91fO94kQnCeZ4bOoZQOWg" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-with-preserve-source-true-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-with-preserve-source-true-returns-OK-response.json index fd9fa7438..4abc2a45a 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-with-preserve-source-true-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Append-Operation-with-preserve-source-true-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testPipelineArrayAppendPreserve\",\"processors\":[{\"is_enabled\":true,\"name\":\"append_ip_and_keep_source\",\"operation\":{\"preserve_source\":true,\"source\":\"network.client.ip\",\"target\":\"sourceIps\",\"type\":\"append\"},\"type\":\"array-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/VX29vifpTjOKtlFWDp2-gA" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Length-Operation-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Length-Operation-returns-OK-response.json index 3956b75b4..f197910a2 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Length-Operation-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Length-Operation-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testPipelineArrayLength\",\"processors\":[{\"is_enabled\":true,\"name\":\"count_tags\",\"operation\":{\"source\":\"tags\",\"target\":\"tagCount\",\"type\":\"length\"},\"type\":\"array-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/MB-HZA9rRlKRHb-2LpYBxw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Select-Operation-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Select-Operation-returns-OK-response.json index 84eecd527..a88ca9ac7 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Select-Operation-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Array-Processor-Select-Operation-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testPipelineArraySelect\",\"processors\":[{\"is_enabled\":true,\"name\":\"extract_referrer\",\"operation\":{\"filter\":\"name:Referrer\",\"source\":\"httpRequest.headers\",\"target\":\"referrer\",\"type\":\"select\",\"value_to_extract\":\"value\"},\"type\":\"array-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/e3TVPUCYQ7a37CTTJB1HcA" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Decoder-Processor-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Decoder-Processor-returns-OK-response.json index 6ba9ee128..41e517604 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Decoder-Processor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Decoder-Processor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testDecoderProcessor\",\"processors\":[{\"binary_to_text_encoding\":\"base16\",\"input_representation\":\"utf_8\",\"is_enabled\":true,\"name\":\"test_decoder\",\"source\":\"encoded.field\",\"target\":\"decoded.field\",\"type\":\"decoder-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/BEg5CcvmSfyIGoMi9PWyTQ" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Schema-Processor-and-preserve-source-false-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Schema-Processor-and-preserve-source-false-returns-OK-response.json index 350027f4c..3c4c58f42 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Schema-Processor-and-preserve-source-false-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Schema-Processor-and-preserve-source-false-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testSchemaProcessor\",\"processors\":[{\"is_enabled\":true,\"mappers\":[{\"categories\":[{\"filter\":{\"query\":\"@eventName:(*Create*)\"},\"id\":1,\"name\":\"Create\"},{\"filter\":{\"query\":\"@eventName:(ChangePassword OR PasswordUpdated)\"},\"id\":3,\"name\":\"Password Change\"},{\"filter\":{\"query\":\"@eventName:(*Attach*)\"},\"id\":7,\"name\":\"Attach Policy\"},{\"filter\":{\"query\":\"@eventName:(*Detach* OR *Remove*)\"},\"id\":8,\"name\":\"Detach Policy\"},{\"filter\":{\"query\":\"@eventName:(*Delete*)\"},\"id\":6,\"name\":\"Delete\"},{\"filter\":{\"query\":\"@eventName:*\"},\"id\":99,\"name\":\"Other\"}],\"fallback\":{\"sources\":{\"ocsf.activity_name\":[\"eventName\"]},\"values\":{\"ocsf.activity_id\":\"99\",\"ocsf.activity_name\":\"Other\"}},\"name\":\"activity_id and activity_name\",\"targets\":{\"id\":\"ocsf.activity_id\",\"name\":\"ocsf.activity_name\"},\"type\":\"schema-category-mapper\"},{\"categories\":[{\"filter\":{\"query\":\"-@errorCode:*\"},\"id\":1,\"name\":\"Success\"},{\"filter\":{\"query\":\"@errorCode:*\"},\"id\":2,\"name\":\"Failure\"}],\"name\":\"status\",\"targets\":{\"id\":\"ocsf.status_id\",\"name\":\"ocsf.status\"},\"type\":\"schema-category-mapper\"},{\"categories\":[{\"filter\":{\"query\":\"@eventName:*\"},\"id\":1,\"name\":\"Informational\"}],\"name\":\"Set default severity\",\"targets\":{\"id\":\"ocsf.severity_id\",\"name\":\"ocsf.severity\"},\"type\":\"schema-category-mapper\"},{\"name\":\"Map userIdentity to ocsf.user.uid\",\"preserve_source\":false,\"sources\":[\"userIdentity.principalId\",\"responseElements.role.roleId\",\"responseElements.user.userId\"],\"target\":\"ocsf.user.uid\",\"type\":\"schema-remapper\"},{\"name\":\"Map userName to ocsf.user.name\",\"preserve_source\":false,\"sources\":[\"requestParameters.userName\",\"responseElements.role.roleName\",\"requestParameters.roleName\",\"responseElements.user.userName\"],\"target\":\"ocsf.user.name\",\"type\":\"schema-remapper\"},{\"name\":\"Map api to ocsf.api\",\"preserve_source\":false,\"sources\":[\"api\"],\"target\":\"ocsf.api\",\"type\":\"schema-remapper\"},{\"name\":\"Map user to ocsf.user\",\"preserve_source\":false,\"sources\":[\"user\"],\"target\":\"ocsf.user\",\"type\":\"schema-remapper\"},{\"name\":\"Map actor to ocsf.actor\",\"preserve_source\":false,\"sources\":[\"actor\"],\"target\":\"ocsf.actor\",\"type\":\"schema-remapper\"},{\"name\":\"Map cloud to ocsf.cloud\",\"preserve_source\":false,\"sources\":[\"cloud\"],\"target\":\"ocsf.cloud\",\"type\":\"schema-remapper\"},{\"name\":\"Map http_request to ocsf.http_request\",\"preserve_source\":false,\"sources\":[\"http_request\"],\"target\":\"ocsf.http_request\",\"type\":\"schema-remapper\"},{\"name\":\"Map metadata to ocsf.metadata\",\"preserve_source\":false,\"sources\":[\"metadata\"],\"target\":\"ocsf.metadata\",\"type\":\"schema-remapper\"},{\"name\":\"Map time to ocsf.time\",\"preserve_source\":false,\"sources\":[\"time\"],\"target\":\"ocsf.time\",\"type\":\"schema-remapper\"},{\"name\":\"Map src_endpoint to ocsf.src_endpoint\",\"preserve_source\":false,\"sources\":[\"src_endpoint\"],\"target\":\"ocsf.src_endpoint\",\"type\":\"schema-remapper\"},{\"name\":\"Map severity to ocsf.severity\",\"preserve_source\":false,\"sources\":[\"severity\"],\"target\":\"ocsf.severity\",\"type\":\"schema-remapper\"},{\"name\":\"Map severity_id to ocsf.severity_id\",\"preserve_source\":false,\"sources\":[\"severity_id\"],\"target\":\"ocsf.severity_id\",\"type\":\"schema-remapper\"}],\"name\":\"Apply OCSF schema for 3001\",\"schema\":{\"class_name\":\"Account Change\",\"class_uid\":3001,\"profiles\":[\"cloud\",\"datetime\"],\"schema_type\":\"ocsf\",\"version\":\"1.5.0\"},\"type\":\"schema-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/-qkKiJPYTne-113i8XJ_Nw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Schema-Processor-and-preserve-source-true-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Schema-Processor-and-preserve-source-true-returns-OK-response.json index f53fa78b3..7df7a9f4e 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Schema-Processor-and-preserve-source-true-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Schema-Processor-and-preserve-source-true-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testSchemaProcessor\",\"processors\":[{\"is_enabled\":true,\"mappers\":[{\"categories\":[{\"filter\":{\"query\":\"@eventName:(*Create*)\"},\"id\":1,\"name\":\"Create\"},{\"filter\":{\"query\":\"@eventName:(ChangePassword OR PasswordUpdated)\"},\"id\":3,\"name\":\"Password Change\"},{\"filter\":{\"query\":\"@eventName:(*Attach*)\"},\"id\":7,\"name\":\"Attach Policy\"},{\"filter\":{\"query\":\"@eventName:(*Detach* OR *Remove*)\"},\"id\":8,\"name\":\"Detach Policy\"},{\"filter\":{\"query\":\"@eventName:(*Delete*)\"},\"id\":6,\"name\":\"Delete\"},{\"filter\":{\"query\":\"@eventName:*\"},\"id\":99,\"name\":\"Other\"}],\"fallback\":{\"sources\":{\"ocsf.activity_name\":[\"eventName\"]},\"values\":{\"ocsf.activity_id\":\"99\",\"ocsf.activity_name\":\"Other\"}},\"name\":\"activity_id and activity_name\",\"targets\":{\"id\":\"ocsf.activity_id\",\"name\":\"ocsf.activity_name\"},\"type\":\"schema-category-mapper\"},{\"categories\":[{\"filter\":{\"query\":\"-@errorCode:*\"},\"id\":1,\"name\":\"Success\"},{\"filter\":{\"query\":\"@errorCode:*\"},\"id\":2,\"name\":\"Failure\"}],\"name\":\"status\",\"targets\":{\"id\":\"ocsf.status_id\",\"name\":\"ocsf.status\"},\"type\":\"schema-category-mapper\"},{\"categories\":[{\"filter\":{\"query\":\"@eventName:*\"},\"id\":1,\"name\":\"Informational\"}],\"name\":\"Set default severity\",\"targets\":{\"id\":\"ocsf.severity_id\",\"name\":\"ocsf.severity\"},\"type\":\"schema-category-mapper\"},{\"name\":\"Map userIdentity to ocsf.user.uid\",\"preserve_source\":true,\"sources\":[\"userIdentity.principalId\",\"responseElements.role.roleId\",\"responseElements.user.userId\"],\"target\":\"ocsf.user.uid\",\"type\":\"schema-remapper\"},{\"name\":\"Map userName to ocsf.user.name\",\"preserve_source\":true,\"sources\":[\"requestParameters.userName\",\"responseElements.role.roleName\",\"requestParameters.roleName\",\"responseElements.user.userName\"],\"target\":\"ocsf.user.name\",\"type\":\"schema-remapper\"},{\"name\":\"Map api to ocsf.api\",\"preserve_source\":true,\"sources\":[\"api\"],\"target\":\"ocsf.api\",\"type\":\"schema-remapper\"},{\"name\":\"Map user to ocsf.user\",\"preserve_source\":true,\"sources\":[\"user\"],\"target\":\"ocsf.user\",\"type\":\"schema-remapper\"},{\"name\":\"Map actor to ocsf.actor\",\"preserve_source\":true,\"sources\":[\"actor\"],\"target\":\"ocsf.actor\",\"type\":\"schema-remapper\"},{\"name\":\"Map cloud to ocsf.cloud\",\"preserve_source\":true,\"sources\":[\"cloud\"],\"target\":\"ocsf.cloud\",\"type\":\"schema-remapper\"},{\"name\":\"Map http_request to ocsf.http_request\",\"preserve_source\":true,\"sources\":[\"http_request\"],\"target\":\"ocsf.http_request\",\"type\":\"schema-remapper\"},{\"name\":\"Map metadata to ocsf.metadata\",\"preserve_source\":true,\"sources\":[\"metadata\"],\"target\":\"ocsf.metadata\",\"type\":\"schema-remapper\"},{\"name\":\"Map time to ocsf.time\",\"preserve_source\":true,\"sources\":[\"time\"],\"target\":\"ocsf.time\",\"type\":\"schema-remapper\"},{\"name\":\"Map src_endpoint to ocsf.src_endpoint\",\"preserve_source\":true,\"sources\":[\"src_endpoint\"],\"target\":\"ocsf.src_endpoint\",\"type\":\"schema-remapper\"},{\"name\":\"Map severity to ocsf.severity\",\"preserve_source\":true,\"sources\":[\"severity\"],\"target\":\"ocsf.severity\",\"type\":\"schema-remapper\"},{\"name\":\"Map severity_id to ocsf.severity_id\",\"preserve_source\":true,\"sources\":[\"severity_id\"],\"target\":\"ocsf.severity_id\",\"type\":\"schema-remapper\"}],\"name\":\"Apply OCSF schema for 3001\",\"schema\":{\"class_name\":\"Account Change\",\"class_uid\":3001,\"profiles\":[\"cloud\",\"datetime\"],\"schema_type\":\"ocsf\",\"version\":\"1.5.0\"},\"type\":\"schema-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/ReEWRVSbQ-ersoCn0Ibo6g" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Span-Id-Remapper-returns-OK-response.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Span-Id-Remapper-returns-OK-response.json index ef1f652f6..0655de5ba 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Span-Id-Remapper-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-Span-Id-Remapper-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testPipeline\",\"processors\":[{\"is_enabled\":true,\"name\":\"test_filter\",\"sources\":[\"dd.span_id\"],\"type\":\"span-id-remapper\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/duWU4bc3ROq5nz7GVi5TzA" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-schema-processor.json b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-schema-processor.json index ff5c2c798..2427f4d6b 100644 --- a/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-schema-processor.json +++ b/tests/scenarios/cassettes/v1/logs_pipelines/Create-a-pipeline-with-schema-processor.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"query\":\"source:python\"},\"name\":\"testSchemaProcessor\",\"processors\":[{\"is_enabled\":true,\"mappers\":[{\"categories\":[{\"filter\":{\"query\":\"@eventName:(*Create*)\"},\"id\":1,\"name\":\"Create\"},{\"filter\":{\"query\":\"@eventName:(ChangePassword OR PasswordUpdated)\"},\"id\":3,\"name\":\"Password Change\"},{\"filter\":{\"query\":\"@eventName:(*Attach*)\"},\"id\":7,\"name\":\"Attach Policy\"},{\"filter\":{\"query\":\"@eventName:(*Detach* OR *Remove*)\"},\"id\":8,\"name\":\"Detach Policy\"},{\"filter\":{\"query\":\"@eventName:(*Delete*)\"},\"id\":6,\"name\":\"Delete\"},{\"filter\":{\"query\":\"@eventName:*\"},\"id\":99,\"name\":\"Other\"}],\"fallback\":{\"sources\":{\"ocsf.activity_name\":[\"eventName\"]},\"values\":{\"ocsf.activity_id\":\"99\",\"ocsf.activity_name\":\"Other\"}},\"name\":\"activity_id and activity_name\",\"targets\":{\"id\":\"ocsf.activity_id\",\"name\":\"ocsf.activity_name\"},\"type\":\"schema-category-mapper\"},{\"categories\":[{\"filter\":{\"query\":\"-@errorCode:*\"},\"id\":1,\"name\":\"Success\"},{\"filter\":{\"query\":\"@errorCode:*\"},\"id\":2,\"name\":\"Failure\"}],\"name\":\"status\",\"targets\":{\"id\":\"ocsf.status_id\",\"name\":\"ocsf.status\"},\"type\":\"schema-category-mapper\"},{\"categories\":[{\"filter\":{\"query\":\"@eventName:*\"},\"id\":1,\"name\":\"Informational\"}],\"name\":\"Set default severity\",\"targets\":{\"id\":\"ocsf.severity_id\",\"name\":\"ocsf.severity\"},\"type\":\"schema-category-mapper\"},{\"name\":\"Map userIdentity to ocsf.user.uid\",\"sources\":[\"userIdentity.principalId\",\"responseElements.role.roleId\",\"responseElements.user.userId\"],\"target\":\"ocsf.user.uid\",\"type\":\"schema-remapper\"},{\"name\":\"Map userName to ocsf.user.name\",\"sources\":[\"requestParameters.userName\",\"responseElements.role.roleName\",\"requestParameters.roleName\",\"responseElements.user.userName\"],\"target\":\"ocsf.user.name\",\"type\":\"schema-remapper\"},{\"name\":\"Map api to ocsf.api\",\"sources\":[\"api\"],\"target\":\"ocsf.api\",\"type\":\"schema-remapper\"},{\"name\":\"Map user to ocsf.user\",\"sources\":[\"user\"],\"target\":\"ocsf.user\",\"type\":\"schema-remapper\"},{\"name\":\"Map actor to ocsf.actor\",\"sources\":[\"actor\"],\"target\":\"ocsf.actor\",\"type\":\"schema-remapper\"},{\"name\":\"Map cloud to ocsf.cloud\",\"sources\":[\"cloud\"],\"target\":\"ocsf.cloud\",\"type\":\"schema-remapper\"},{\"name\":\"Map http_request to ocsf.http_request\",\"sources\":[\"http_request\"],\"target\":\"ocsf.http_request\",\"type\":\"schema-remapper\"},{\"name\":\"Map metadata to ocsf.metadata\",\"sources\":[\"metadata\"],\"target\":\"ocsf.metadata\",\"type\":\"schema-remapper\"},{\"name\":\"Map time to ocsf.time\",\"sources\":[\"time\"],\"target\":\"ocsf.time\",\"type\":\"schema-remapper\"},{\"name\":\"Map src_endpoint to ocsf.src_endpoint\",\"sources\":[\"src_endpoint\"],\"target\":\"ocsf.src_endpoint\",\"type\":\"schema-remapper\"},{\"name\":\"Map severity to ocsf.severity\",\"sources\":[\"severity\"],\"target\":\"ocsf.severity\",\"type\":\"schema-remapper\"},{\"name\":\"Map severity_id to ocsf.severity_id\",\"sources\":[\"severity_id\"],\"target\":\"ocsf.severity_id\",\"type\":\"schema-remapper\"}],\"name\":\"Apply OCSF schema for 3001\",\"schema\":{\"class_name\":\"Account Change\",\"class_uid\":3001,\"profiles\":[\"cloud\",\"datetime\"],\"schema_type\":\"ocsf\",\"version\":\"1.5.0\"},\"type\":\"schema-processor\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/logs/config/pipelines/1unf0vMNQKSSwzsg6BuWMw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/metrics/Query-timeseries-points-returns-OK-response.json b/tests/scenarios/cassettes/v1/metrics/Query-timeseries-points-returns-OK-response.json index d0fb2db96..98e26c281 100644 --- a/tests/scenarios/cassettes/v1/metrics/Query-timeseries-points-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/metrics/Query-timeseries-points-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/query?from=1641343852&to=1641430252&query=system.cpu.idle%7B%2A%7D" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/metrics/Submit-metrics-returns-Payload-accepted-response.json b/tests/scenarios/cassettes/v1/metrics/Submit-metrics-returns-Payload-accepted-response.json index a541b749a..5f85bb736 100644 --- a/tests/scenarios/cassettes/v1/metrics/Submit-metrics-returns-Payload-accepted-response.json +++ b/tests/scenarios/cassettes/v1/metrics/Submit-metrics-returns-Payload-accepted-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"system.load.1\",\"points\":[[1652349005,1.1]],\"tags\":[\"test:TestSubmitmetricsreturnsPayloadacceptedresponse1652349005\"],\"type\":\"gauge\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "text/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/series" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Check-if-a-monitor-can-be-deleted-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Check-if-a-monitor-can-be-deleted-returns-OK-response.json index 74eeaeea7..7d0c26211 100644 --- a/tests/scenarios/cassettes/v1/monitors/Check-if-a-monitor-can-be-deleted-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Check-if-a-monitor-can-be-deleted-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Check_if_a_monitor_can_be_deleted_returns_OK_response-1763748205\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testcheckifamonitorcanbedeletedreturnsokresponse1763748205\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/can_delete?monitor_ids=238669218" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/238669218" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-Cost-Monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-Cost-Monitor-returns-OK-response.json index be37f0934..524a9f718 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-Cost-Monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-Cost-Monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Example Monitor\",\"options\":{\"include_tags\":true,\"thresholds\":{\"critical\":5,\"warning\":3},\"variables\":[{\"aggregator\":\"sum\",\"data_source\":\"cloud_cost\",\"name\":\"query1\",\"query\":\"sum:aws.cost.net.amortized.shared.resources.allocated{aws_product IN (amplify ,athena, backup, bedrock ) } by {aws_product}.rollup(sum, 86400)\"}]},\"priority\":3,\"query\":\"formula(\\\"exclude_null(query1)\\\").last(\\\"7d\\\").anomaly(direction=\\\"above\\\", threshold=10) >= 5\",\"tags\":[\"test:examplemonitor\",\"env:ci\"],\"type\":\"cost alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/162921056" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-Data-Quality-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-Data-Quality-monitor-returns-OK-response.json index eb1d95c75..86a374315 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-Data-Quality-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-Data-Quality-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"Data quality alert triggered\",\"name\":\"Test-Create_a_Data_Quality_monitor_returns_OK_response-1768238629\",\"options\":{\"thresholds\":{\"critical\":100},\"variables\":[{\"data_source\":\"data_quality_metrics\",\"filter\":\"search for column where `database:production AND table:users`\",\"group_by\":[\"entity_id\"],\"measure\":\"row_count\",\"name\":\"query1\"}]},\"priority\":3,\"query\":\"formula(\\\"query1\\\").last(\\\"5m\\\") > 100\",\"tags\":[\"test:testcreateadataqualitymonitorreturnsokresponse1768238629\",\"env:ci\"],\"type\":\"data-quality alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/250323411" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-RUM-formula-and-functions-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-RUM-formula-and-functions-monitor-returns-OK-response.json index f075136dd..07433ce5d 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-RUM-formula-and-functions-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-RUM-formula-and-functions-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_RUM_formula_and_functions_monitor_returns_OK_response-1747261633\",\"options\":{\"thresholds\":{\"critical\":0.8},\"variables\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query2\",\"search\":{\"query\":\"\"}},{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"status:error\"}}]},\"priority\":3,\"query\":\"formula(\\\"query2 / query1 * 100\\\").last(\\\"15m\\\") >= 0.8\",\"tags\":[\"test:testcreatearumformulaandfunctionsmonitorreturnsokresponse1747261633\",\"env:ci\"],\"type\":\"rum alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/172140181" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-ci-pipelines-formula-and-functions-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-ci-pipelines-formula-and-functions-monitor-returns-OK-response.json index e1c31f3c5..99306d310 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-ci-pipelines-formula-and-functions-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-ci-pipelines-formula-and-functions-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_ci_pipelines_formula_and_functions_monitor_returns_OK_response-1647960862\",\"options\":{\"thresholds\":{\"critical\":0.8},\"variables\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"@ci.status:error\"}},{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query2\",\"search\":{\"query\":\"\"}}]},\"priority\":3,\"query\":\"formula(\\\"query1 / query2 * 100\\\").last(\\\"15m\\\") >= 0.8\",\"tags\":[\"test:testcreateacipipelinesformulaandfunctionsmonitorreturnsokresponse1647960862\",\"env:ci\"],\"type\":\"ci-pipelines alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/66627974" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-ci-pipelines-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-ci-pipelines-monitor-returns-OK-response.json index ef283d068..ec88e1b2f 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-ci-pipelines-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-ci-pipelines-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_ci_pipelines_monitor_returns_OK_response-1641430253\",\"options\":{\"thresholds\":{\"critical\":1}},\"priority\":3,\"query\":\"ci-pipelines(\\\"ci_level:pipeline @git.branch:staging* @ci.status:error\\\").rollup(\\\"count\\\").by(\\\"@git.branch,@ci.pipeline.name\\\").last(\\\"5m\\\") >= 1\",\"tags\":[\"test:testcreateacipipelinesmonitorreturnsokresponse1641430253\",\"env:ci\"],\"type\":\"ci-pipelines alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/59800609" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-ci-tests-formula-and-functions-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-ci-tests-formula-and-functions-monitor-returns-OK-response.json index 7bfa45384..aab5f4d09 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-ci-tests-formula-and-functions-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-ci-tests-formula-and-functions-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_ci_tests_formula_and_functions_monitor_returns_OK_response-1652438435\",\"options\":{\"thresholds\":{\"critical\":0.8},\"variables\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"ci_tests\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"@test.status:fail\"}},{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"ci_tests\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query2\",\"search\":{\"query\":\"\"}}]},\"priority\":3,\"query\":\"formula(\\\"query1 / query2 * 100\\\").last(\\\"15m\\\") >= 0.8\",\"tags\":[\"test:testcreateacitestsformulaandfunctionsmonitorreturnsokresponse1652438435\",\"env:ci\"],\"type\":\"ci-tests alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/71427772" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-ci-tests-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-ci-tests-monitor-returns-OK-response.json index c41bc83c2..d982fb632 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-ci-tests-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-ci-tests-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_ci_tests_monitor_returns_OK_response-1652800228\",\"options\":{\"thresholds\":{\"critical\":1}},\"priority\":3,\"query\":\"ci-tests(\\\"type:test @git.branch:staging* @test.status:fail\\\").rollup(\\\"count\\\").by(\\\"@test.name\\\").last(\\\"5m\\\") >= 1\",\"tags\":[\"test:testcreateacitestsmonitorreturnsokresponse1652800228\",\"env:ci\"],\"type\":\"ci-tests alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/71774917" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-metric-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-metric-monitor-returns-OK-response.json index 12c30523d..19ae53ce2 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-metric-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-metric-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_metric_monitor_returns_OK_response-1673258836\",\"options\":{\"scheduling_options\":{\"evaluation_window\":{\"day_starts\":\"04:00\",\"month_starts\":1}},\"thresholds\":{\"critical\":0.5}},\"query\":\"avg(current_1mo):avg:system.load.5{*} > 0.5\",\"type\":\"metric alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/107235710" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-metric-monitor-with-a-custom-schedule-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-metric-monitor-with-a-custom-schedule-returns-OK-response.json index 8eaabf4e7..63f43968f 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-metric-monitor-with-a-custom-schedule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-metric-monitor-with-a-custom-schedule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"draft_status\":\"published\",\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_metric_monitor_with_a_custom_schedule_returns_OK_response-1747261709\",\"options\":{\"include_tags\":false,\"notify_audit\":false,\"scheduling_options\":{\"custom_schedule\":{\"recurrences\":[{\"rrule\":\"FREQ=DAILY;INTERVAL=1\",\"start\":\"2024-10-26T09:13:00\",\"timezone\":\"America/Los_Angeles\"}]},\"evaluation_window\":{\"day_starts\":\"04:00\",\"month_starts\":1}},\"thresholds\":{\"critical\":0.5}},\"query\":\"avg(current_1mo):avg:system.load.5{*} > 0.5\",\"tags\":[],\"type\":\"query alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/172140210" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-returns-Bad-Request-response.json index 985e1276a..978e5a009 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"query\":\"query\",\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-returns-OK-response.json index 283480003..00c51636c 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_monitor_returns_OK_response-1652348780\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_monitor_returns_OK_response-1652348780\",\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"restricted_roles\":[\"61162af2-d1d8-11ec-ad3d-da7ad0900002\"],\"tags\":[\"test:testcreateamonitorreturnsokresponse1652348780\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/71310040" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/61162af2-d1d8-11ec-ad3d-da7ad0900002" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-with-assets-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-with-assets-returns-OK-response.json index 820a9796d..8eebcea51 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-with-assets-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-a-monitor-with-assets-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"assets\":[{\"category\":\"runbook\",\"name\":\"Monitor Runbook\",\"resource_key\":\"12345\",\"resource_type\":\"notebook\",\"url\":\"/notebooks/12345\"}],\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Create_a_monitor_with_assets_returns_OK_response-1763751895\",\"options\":{\"scheduling_options\":{\"evaluation_window\":{\"day_starts\":\"04:00\",\"month_starts\":1}},\"thresholds\":{\"critical\":0.5}},\"query\":\"avg(current_1mo):avg:system.load.5{*} > 0.5\",\"type\":\"metric alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/238681257" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Create-an-Error-Tracking-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Create-an-Error-Tracking-monitor-returns-OK-response.json index 96df192d4..ea0ba163a 100644 --- a/tests/scenarios/cassettes/v1/monitors/Create-an-Error-Tracking-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Create-an-Error-Tracking-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"draft_status\":\"draft\",\"message\":\"some message\",\"name\":\"Test-Create_an_Error_Tracking_monitor_returns_OK_response-1747261042\",\"options\":{\"thresholds\":{\"critical\":1}},\"priority\":3,\"query\":\"error-tracking-rum(\\\"service:foo AND @error.source:source\\\").rollup(\\\"count\\\").by(\\\"@issue.id\\\").last(\\\"1h\\\") >= 1\",\"tags\":[\"test:testcreateanerrortrackingmonitorreturnsokresponse1747261042\",\"env:ci\"],\"type\":\"error-tracking alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/172139812" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Delete-a-monitor-returns-Item-not-found-error-response.json b/tests/scenarios/cassettes/v1/monitors/Delete-a-monitor-returns-Item-not-found-error-response.json index c194498a4..2159a6542 100644 --- a/tests/scenarios/cassettes/v1/monitors/Delete-a-monitor-returns-Item-not-found-error-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Delete-a-monitor-returns-Item-not-found-error-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/0" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Delete-a-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Delete-a-monitor-returns-OK-response.json index ca2b8f743..eee9ff20b 100644 --- a/tests/scenarios/cassettes/v1/monitors/Delete-a-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Delete-a-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Delete_a_monitor_returns_OK_response-1728578430\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testdeleteamonitorreturnsokresponse1728578430\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/155845206" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/155845206" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Edit-a-monitor-returns-Monitor-Not-Found-error-response.json b/tests/scenarios/cassettes/v1/monitors/Edit-a-monitor-returns-Monitor-Not-Found-error-response.json index 855c643e8..d7df1f3ec 100644 --- a/tests/scenarios/cassettes/v1/monitors/Edit-a-monitor-returns-Monitor-Not-Found-error-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Edit-a-monitor-returns-Monitor-Not-Found-error-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"updated\",\"options\":{\"evaluation_delay\":null,\"new_group_delay\":600,\"new_host_delay\":null,\"renotify_interval\":null,\"thresholds\":{\"critical\":2,\"warning\":null},\"timeout_h\":null}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/monitor/0" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Edit-a-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Edit-a-monitor-returns-OK-response.json index 3db2071d5..4247124e1 100644 --- a/tests/scenarios/cassettes/v1/monitors/Edit-a-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Edit-a-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Edit_a_monitor_returns_OK_response-1728578419\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testeditamonitorreturnsokresponse1728578419\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -40,14 +33,7 @@ "string": "{\"name\":\"Test-Edit_a_monitor_returns_OK_response-1728578419-updated\",\"options\":{\"evaluation_delay\":null,\"new_group_delay\":600,\"new_host_delay\":null,\"renotify_interval\":null,\"thresholds\":{\"critical\":2,\"warning\":null},\"timeout_h\":null},\"priority\":null}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/monitor/155845150" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/155845150" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-returns-Monitor-Not-Found-error-response.json b/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-returns-Monitor-Not-Found-error-response.json index 7c51c23ca..b58efc90f 100644 --- a/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-returns-Monitor-Not-Found-error-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-returns-Monitor-Not-Found-error-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/12345" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-returns-OK-response.json index 916d95760..3397f9c20 100644 --- a/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Get_a_monitor_s_details_returns_OK_response-1728578339\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testgetamonitorsdetailsreturnsokresponse1728578339\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/155844758?with_downtimes=true" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/155844758" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-with-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-with-downtime-returns-OK-response.json index 94bcbd67a..f35ea9a90 100644 --- a/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-with-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Get-a-monitor-s-details-with-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Get_a_monitor_s_details_with_downtime_returns_OK_response-1684790119\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testgetamonitorsdetailswithdowntimereturnsokresponse1684790119\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -40,14 +33,7 @@ "string": "{\"end\":1685394919,\"message\":\"Test-Get_a_monitor_s_details_with_downtime_returns_OK_response-1684790119\",\"monitor_id\":119766008,\"mute_first_recovery_notification\":true,\"notify_end_states\":[\"alert\"],\"notify_end_types\":[\"canceled\"],\"scope\":[\"*\"],\"start\":1684790119,\"timezone\":\"Etc/UTC\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/downtime" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/119766008?with_downtimes=true" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/downtime/2942947856" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/119766008" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Get-a-synthetics-monitor-s-details.json b/tests/scenarios/cassettes/v1/monitors/Get-a-synthetics-monitor-s-details.json index f8edd52c6..d5c2885a6 100644 --- a/tests/scenarios/cassettes/v1/monitors/Get-a-synthetics-monitor-s-details.json +++ b/tests/scenarios/cassettes/v1/monitors/Get-a-synthetics-monitor-s-details.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"timingsScope\":\"withoutDNS\",\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"elementsOperator\":\"atLeastOneElementMatches\",\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"},{\"operator\":\"md5\",\"target\":\"a\",\"type\":\"bodyHash\"},{\"code\":\"const hello = 'world';\",\"type\":\"javascript\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testgetasyntheticsmonitorsdetails1722945796\"},\"method\":\"GET\",\"persistCookies\":true,\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"variablesFromScript\":\"dd.variable.set(\\\"FOO\\\", \\\"foo\\\")\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Get_a_synthetics_monitor_s_details-1722945796\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Get_a_synthetics_monitor_s_details-1722945796\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/150677868" }, @@ -68,14 +57,7 @@ "string": "{\"public_ids\":[\"4c7-n7j-xbv\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Get-all-monitors-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/monitors/Get-all-monitors-returns-Bad-Request-response.json index cfd0062d6..9fa86335a 100644 --- a/tests/scenarios/cassettes/v1/monitors/Get-all-monitors-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Get-all-monitors-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor?group_states=notagroupstate" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Get-all-monitors-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v1/monitors/Get-all-monitors-returns-OK-response-with-pagination.json index f846ad061..f70934494 100644 --- a/tests/scenarios/cassettes/v1/monitors/Get-all-monitors-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v1/monitors/Get-all-monitors-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor?page_size=2&page=0" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor?page_size=2&page=1" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Monitors-group-search-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/monitors/Monitors-group-search-returns-Bad-Request-response.json index d56bf3710..93d2d7fd4 100644 --- a/tests/scenarios/cassettes/v1/monitors/Monitors-group-search-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Monitors-group-search-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/groups/search?query=status%3Anotastatus" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Monitors-group-search-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Monitors-group-search-returns-OK-response.json index f758b8e6c..55cc14191 100644 --- a/tests/scenarios/cassettes/v1/monitors/Monitors-group-search-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Monitors-group-search-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/groups/search" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Monitors-search-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/monitors/Monitors-search-returns-Bad-Request-response.json index d31971eb0..ce031a44d 100644 --- a/tests/scenarios/cassettes/v1/monitors/Monitors-search-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Monitors-search-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/search?query=status%3Anotastatus" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Monitors-search-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Monitors-search-returns-OK-response.json index 62330eb5b..c56d0b731 100644 --- a/tests/scenarios/cassettes/v1/monitors/Monitors-search-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Monitors-search-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monitor/search" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Validate-a-monitor-returns-Invalid-JSON-response.json b/tests/scenarios/cassettes/v1/monitors/Validate-a-monitor-returns-Invalid-JSON-response.json index 607fca78a..e957aedae 100644 --- a/tests/scenarios/cassettes/v1/monitors/Validate-a-monitor-returns-Invalid-JSON-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Validate-a-monitor-returns-Invalid-JSON-response.json @@ -6,14 +6,7 @@ "string": "{\"query\":\"query\",\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Validate-a-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Validate-a-monitor-returns-OK-response.json index e5b428685..8d811a5ef 100644 --- a/tests/scenarios/cassettes/v1/monitors/Validate-a-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Validate-a-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_a_monitor_returns_OK_response-1728485694\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testvalidateamonitorreturnsokresponse1728485694\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Validate-a-multi-alert-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Validate-a-multi-alert-monitor-returns-OK-response.json index 67d704e53..8a4c98f7d 100644 --- a/tests/scenarios/cassettes/v1/monitors/Validate-a-multi-alert-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Validate-a-multi-alert-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_a_multi_alert_monitor_returns_OK_response-1728485695\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"group_retention_duration\":\"2d\",\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notify_audit\":false,\"notify_by\":[\"status\"],\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source,status\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testvalidateamultialertmonitorreturnsokresponse1728485695\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Validate-an-existing-monitor-returns-Invalid-JSON-response.json b/tests/scenarios/cassettes/v1/monitors/Validate-an-existing-monitor-returns-Invalid-JSON-response.json index 1184ad45f..ded679fd8 100644 --- a/tests/scenarios/cassettes/v1/monitors/Validate-an-existing-monitor-returns-Invalid-JSON-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Validate-an-existing-monitor-returns-Invalid-JSON-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_an_existing_monitor_returns_Invalid_JSON_response-1728578313\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testvalidateanexistingmonitorreturnsinvalidjsonresponse1728578313\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -40,14 +33,7 @@ "string": "{\"query\":\"query\",\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor/155844640/validate" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/155844640" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/monitors/Validate-an-existing-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v1/monitors/Validate-an-existing-monitor-returns-OK-response.json index 1534efc2c..8d3a97904 100644 --- a/tests/scenarios/cassettes/v1/monitors/Validate-an-existing-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/monitors/Validate-an-existing-monitor-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_an_existing_monitor_returns_OK_response-1728578270\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testvalidateanexistingmonitorreturnsokresponse1728578270\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor" }, @@ -40,14 +33,7 @@ "string": "{\"message\":\"some message Notify: @hipchat-channel\",\"name\":\"Test-Validate_an_existing_monitor_returns_OK_response-1728578270\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2,\"warning\":1},\"timeout_h\":24},\"priority\":3,\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"tags\":[\"test:testvalidateanexistingmonitorreturnsokresponse1728578270\",\"env:ci\"],\"type\":\"log alert\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/monitor/155844413/validate" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/monitor/155844413" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/notebooks/Create-a-notebook-returns-OK-response.json b/tests/scenarios/cassettes/v1/notebooks/Create-a-notebook-returns-OK-response.json index d0d4df85d..135263bba 100644 --- a/tests/scenarios/cassettes/v1/notebooks/Create-a-notebook-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/notebooks/Create-a-notebook-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"cells\":[{\"attributes\":{\"definition\":{\"text\":\"## Some test markdown\\n\\n```\\nvar x, y;\\nx = 5;\\ny = 6;\\n```\",\"type\":\"markdown\"}},\"type\":\"notebook_cells\"},{\"attributes\":{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"q\":\"avg:system.load.1{*}\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"type\":\"timeseries\",\"yaxis\":{\"scale\":\"linear\"}},\"graph_size\":\"m\",\"split_by\":{\"keys\":[],\"tags\":[]},\"time\":null},\"type\":\"notebook_cells\"}],\"name\":\"Test-Create_a_notebook_returns_OK_response-1759502996\",\"status\":\"published\",\"time\":{\"live_span\":\"1h\"}},\"type\":\"notebooks\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/notebooks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/notebooks/13244449" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/notebooks/Delete-a-notebook-returns-Not-Found-response.json b/tests/scenarios/cassettes/v1/notebooks/Delete-a-notebook-returns-Not-Found-response.json index 536c47b17..29732e41a 100644 --- a/tests/scenarios/cassettes/v1/notebooks/Delete-a-notebook-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v1/notebooks/Delete-a-notebook-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/notebooks/123456" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/notebooks/Delete-a-notebook-returns-OK-response.json b/tests/scenarios/cassettes/v1/notebooks/Delete-a-notebook-returns-OK-response.json index 67ee73c9e..88c6584dc 100644 --- a/tests/scenarios/cassettes/v1/notebooks/Delete-a-notebook-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/notebooks/Delete-a-notebook-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"cells\":[{\"attributes\":{\"definition\":{\"text\":\"# Test-Delete_a_notebook_returns_OK_response-1652349007 notebook text\",\"type\":\"markdown\"}},\"type\":\"notebook_cells\"}],\"name\":\"Test-Delete_a_notebook_returns_OK_response-1652349007\",\"time\":{\"live_span\":\"1h\"}},\"type\":\"notebooks\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/notebooks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/notebooks/2466032" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/notebooks/2466032" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/notebooks/Get-a-notebook-returns-OK-response.json b/tests/scenarios/cassettes/v1/notebooks/Get-a-notebook-returns-OK-response.json index ff4086211..8b4422403 100644 --- a/tests/scenarios/cassettes/v1/notebooks/Get-a-notebook-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/notebooks/Get-a-notebook-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"cells\":[{\"attributes\":{\"definition\":{\"text\":\"# Test-Get_a_notebook_returns_OK_response-1652349008 notebook text\",\"type\":\"markdown\"}},\"type\":\"notebook_cells\"}],\"name\":\"Test-Get_a_notebook_returns_OK_response-1652349008\",\"time\":{\"live_span\":\"1h\"}},\"type\":\"notebooks\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/notebooks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/notebooks/2466033" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/notebooks/2466033" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/notebooks/Get-all-notebooks-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v1/notebooks/Get-all-notebooks-returns-OK-response-with-pagination.json index 6beec817d..d520b6c6f 100644 --- a/tests/scenarios/cassettes/v1/notebooks/Get-all-notebooks-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v1/notebooks/Get-all-notebooks-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/notebooks?count=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/notebooks?count=2&start=2" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/notebooks/Get-all-notebooks-returns-OK-response.json b/tests/scenarios/cassettes/v1/notebooks/Get-all-notebooks-returns-OK-response.json index 2820fae4a..25e7121b9 100644 --- a/tests/scenarios/cassettes/v1/notebooks/Get-all-notebooks-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/notebooks/Get-all-notebooks-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/notebooks" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/notebooks/Update-a-notebook-returns-OK-response.json b/tests/scenarios/cassettes/v1/notebooks/Update-a-notebook-returns-OK-response.json index c1ff3f5f4..fa5dc8ed9 100644 --- a/tests/scenarios/cassettes/v1/notebooks/Update-a-notebook-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/notebooks/Update-a-notebook-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"cells\":[{\"attributes\":{\"definition\":{\"text\":\"# Test-Update_a_notebook_returns_OK_response-1652349010 notebook text\",\"type\":\"markdown\"}},\"type\":\"notebook_cells\"}],\"name\":\"Test-Update_a_notebook_returns_OK_response-1652349010\",\"time\":{\"live_span\":\"1h\"}},\"type\":\"notebooks\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/notebooks" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"cells\":[{\"attributes\":{\"definition\":{\"text\":\"## Some test markdown\\n\\n```\\nvar x, y;\\nx = 5;\\ny = 6;\\n```\",\"type\":\"markdown\"}},\"type\":\"notebook_cells\"},{\"attributes\":{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"q\":\"avg:system.load.1{*}\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"type\":\"timeseries\",\"yaxis\":{\"scale\":\"linear\"}},\"graph_size\":\"m\",\"split_by\":{\"keys\":[],\"tags\":[]},\"time\":null},\"type\":\"notebook_cells\"}],\"name\":\"Test-Update_a_notebook_returns_OK_response-1652349010-updated\",\"status\":\"published\",\"time\":{\"live_span\":\"1h\"}},\"type\":\"notebooks\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/notebooks/2466034" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/notebooks/2466034" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/security_monitoring/Add-a-security-signal-to-an-incident-returns-OK-response.json b/tests/scenarios/cassettes/v1/security_monitoring/Add-a-security-signal-to-an-incident-returns-OK-response.json index 8996c562c..ba731a29a 100644 --- a/tests/scenarios/cassettes/v1/security_monitoring/Add-a-security-signal-to-an-incident-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/security_monitoring/Add-a-security-signal-to-an-incident-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"incident_id\":2609}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v1/security_analytics/signals/AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE/add_to_incident" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/security_monitoring/Change-the-triage-state-of-a-security-signal-returns-OK-response.json b/tests/scenarios/cassettes/v1/security_monitoring/Change-the-triage-state-of-a-security-signal-returns-OK-response.json index a6426ef60..b1f6863c9 100644 --- a/tests/scenarios/cassettes/v1/security_monitoring/Change-the-triage-state-of-a-security-signal-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/security_monitoring/Change-the-triage-state-of-a-security-signal-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"archiveReason\":\"none\",\"state\":\"open\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v1/security_analytics/signals/AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE/state" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/security_monitoring/Modify-the-triage-assignee-of-a-security-signal-returns-OK-response.json b/tests/scenarios/cassettes/v1/security_monitoring/Modify-the-triage-assignee-of-a-security-signal-returns-OK-response.json index b0490c53b..f5730a6f7 100644 --- a/tests/scenarios/cassettes/v1/security_monitoring/Modify-the-triage-assignee-of-a-security-signal-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/security_monitoring/Modify-the-triage-assignee-of-a-security-signal-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"assignee\":\"773b045d-ccf8-4808-bd3b-955ef6a8c940\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v1/security_analytics/signals/AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE/assignee" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_checks/Submit-a-Service-Check-returns-Payload-accepted-response.json b/tests/scenarios/cassettes/v1/service_checks/Submit-a-Service-Check-returns-Payload-accepted-response.json index e667de92a..c49ed6a8e 100644 --- a/tests/scenarios/cassettes/v1/service_checks/Submit-a-Service-Check-returns-Payload-accepted-response.json +++ b/tests/scenarios/cassettes/v1/service_checks/Submit-a-Service-Check-returns-Payload-accepted-response.json @@ -6,14 +6,7 @@ "string": "[{\"check\":\"app.ok\",\"host_name\":\"host\",\"status\":0,\"tags\":[\"test:TestSubmitaServiceCheckreturnsPayloadacceptedresponse1652349011\"]}]", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/check_run" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Create-an-SLO-correction-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Create-an-SLO-correction-returns-OK-response.json index 7bd4c88cf..4f2750d38 100644 --- a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Create-an-SLO-correction-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Create-an-SLO-correction-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_an_SLO_correction_returns_OK_response-1652349011\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"Scheduled Maintenance\",\"description\":\"Test-Create_an_SLO_correction_returns_OK_response-1652349011\",\"end\":1652352611,\"slo_id\":\"26d1f492d25b598fb6ef1a0405faa153\",\"start\":1652349011,\"timezone\":\"UTC\"},\"type\":\"correction\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo/correction" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/correction/eb223538-d1d8-11ec-8dd2-da7ad0902002" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/26d1f492d25b598fb6ef1a0405faa153" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Create-an-SLO-correction-with-rrule-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Create-an-SLO-correction-with-rrule-returns-OK-response.json index 4844761af..67688002b 100644 --- a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Create-an-SLO-correction-with-rrule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Create-an-SLO-correction-with-rrule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_an_SLO_correction_with_rrule_returns_OK_response-1652349014\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"Scheduled Maintenance\",\"description\":\"Test-Create_an_SLO_correction_with_rrule_returns_OK_response-1652349014\",\"duration\":3600,\"rrule\":\"FREQ=DAILY;INTERVAL=10;COUNT=5\",\"slo_id\":\"24892d3875ee57e7a9e1320ebffa3916\",\"start\":1652349014,\"timezone\":\"UTC\"},\"type\":\"correction\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo/correction" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/correction/ec8f9488-d1d8-11ec-bc64-da7ad0902002" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/24892d3875ee57e7a9e1320ebffa3916" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-all-SLO-corrections-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-all-SLO-corrections-returns-OK-response-with-pagination.json index e10a19c9b..7da48fe7d 100644 --- a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-all-SLO-corrections-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-all-SLO-corrections-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo/correction?limit=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo/correction?limit=2&offset=2" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-all-SLO-corrections-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-all-SLO-corrections-returns-OK-response.json index 9d5e6aea1..196e9046c 100644 --- a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-all-SLO-corrections-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-all-SLO-corrections-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_all_SLO_corrections_returns_OK_response-1668703099\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"Other\",\"description\":\"Test Correction\",\"end\":1668706699,\"slo_id\":\"60569193a09054f6bc6fa6e87fb43031\",\"start\":1668703099,\"timezone\":\"UTC\"},\"type\":\"correction\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo/correction" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo/correction?offset=1&limit=1" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/correction/3ecd96c6-6696-11ed-9c21-da7ad0902002" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/60569193a09054f6bc6fa6e87fb43031" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-an-SLO-correction-for-an-SLO-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-an-SLO-correction-for-an-SLO-returns-OK-response.json index 1adceff47..e32c7cad1 100644 --- a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-an-SLO-correction-for-an-SLO-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Get-an-SLO-correction-for-an-SLO-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_an_SLO_correction_for_an_SLO_returns_OK_response-1652349019\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"Other\",\"description\":\"Test Correction\",\"end\":1652352619,\"slo_id\":\"b7e8543aac97516ebb61e8743d1a10a1\",\"start\":1652349019,\"timezone\":\"UTC\"},\"type\":\"correction\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo/correction" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo/correction/efa6f9ea-d1d8-11ec-9495-da7ad0902002" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/correction/efa6f9ea-d1d8-11ec-9495-da7ad0902002" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/b7e8543aac97516ebb61e8743d1a10a1" }, @@ -150,4 +124,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Update-an-SLO-correction-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Update-an-SLO-correction-returns-OK-response.json index bc83509a4..e6c1445d3 100644 --- a/tests/scenarios/cassettes/v1/service_level_objective_corrections/Update-an-SLO-correction-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objective_corrections/Update-an-SLO-correction-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Update_an_SLO_correction_returns_OK_response-1652349022\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"Other\",\"description\":\"Test Correction\",\"end\":1652352622,\"slo_id\":\"c20f6845962c5776b1440ed8d324d6fe\",\"start\":1652349022,\"timezone\":\"UTC\"},\"type\":\"correction\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo/correction" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"Deployment\",\"description\":\"Test-Update_an_SLO_correction_returns_OK_response-1652349022\",\"end\":1652352622,\"start\":1652349022,\"timezone\":\"UTC\"},\"type\":\"correction\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v1/slo/correction/f12e44e4-d1d8-11ec-9dc0-da7ad0902002" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/correction/f12e44e4-d1d8-11ec-9dc0-da7ad0902002" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/c20f6845962c5776b1440ed8d324d6fe" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Create-a-new-metric-SLO-object-using-sli-specification-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Create-a-new-metric-SLO-object-using-sli-specification-returns-OK-response.json index a96d91dc9..726445004 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Create-a-new-metric-SLO-object-using-sli-specification-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Create-a-new-metric-SLO-object-using-sli-specification-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"Metric SLO using sli_specification\",\"name\":\"Test-Create_a_new_metric_SLO_object_using_sli_specification_returns_OK_response-1770322058\",\"sli_specification\":{\"count\":{\"good_events_formula\":{\"formula\":\"query1 - query2\"},\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"sum:httpservice.hits{*}.as_count()\"},{\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"sum:httpservice.errors{*}.as_count()\"}],\"total_events_formula\":{\"formula\":\"query1\"}}},\"tags\":[\"env:prod\",\"type:count\"],\"target_threshold\":99,\"thresholds\":[{\"target\":99,\"target_display\":\"99.0\",\"timeframe\":\"7d\",\"warning\":99.5,\"warning_display\":\"99.5\"}],\"timeframe\":\"7d\",\"type\":\"metric\",\"warning_threshold\":99.5}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/6e49f8aa9883507dbc719f00eede5a5d" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Create-a-time-slice-SLO-object-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Create-a-time-slice-SLO-object-returns-OK-response.json index 3c65a8af1..c0c8a82d8 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Create-a-time-slice-SLO-object-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Create-a-time-slice-SLO-object-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"string\",\"name\":\"Test-Create_a_time_slice_SLO_object_returns_OK_response-1704322484\",\"sli_specification\":{\"time_slice\":{\"comparator\":\">\",\"query\":{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"trace.servlet.request{env:prod}\"}]},\"threshold\":5}},\"tags\":[\"env:prod\"],\"target_threshold\":97,\"thresholds\":[{\"target\":97,\"target_display\":\"97.0\",\"timeframe\":\"7d\",\"warning\":98,\"warning_display\":\"98.0\"}],\"timeframe\":\"7d\",\"type\":\"time_slice\",\"warning_threshold\":98}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/776b80141eda520bbfae33e897849f61" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Create-an-SLO-object-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Create-an-SLO-object-returns-Bad-Request-response.json index c6fcf2bc1..37e052a98 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Create-an-SLO-object-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Create-an-SLO-object-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_an_SLO_object_returns_Bad_Request_response-1704322485\",\"thresholds\":[{\"target\":95,\"target_display\":\"95.0\",\"timeframe\":\"7d\",\"warning\":98,\"warning_display\":\"98.0\"}],\"type\":\"monitor\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Create-an-SLO-object-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Create-an-SLO-object-returns-OK-response.json index aca590bdb..4257e1d2c 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Create-an-SLO-object-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Create-an-SLO-object-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"description\":\"string\",\"groups\":[\"env:test\",\"role:mysql\"],\"monitor_ids\":[],\"name\":\"Test-Create_an_SLO_object_returns_OK_response-1704322485\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"tags\":[\"env:prod\",\"app:core\"],\"target_threshold\":97,\"thresholds\":[{\"target\":97,\"target_display\":\"97.0\",\"timeframe\":\"7d\",\"warning\":98,\"warning_display\":\"98.0\"}],\"timeframe\":\"7d\",\"type\":\"metric\",\"warning_threshold\":98}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/6a3ffb99fc285f4f947ccf83d888558b" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Delete-an-SLO-returns-Not-found-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Delete-an-SLO-returns-Not-found-response.json index d9528f341..b586ae170 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Delete-an-SLO-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Delete-an-SLO-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/testdeleteansloreturnsnotfoundresponse1704322485" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Delete-an-SLO-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Delete-an-SLO-returns-OK-response.json index 15210b39f..f7607c2fd 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Delete-an-SLO-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Delete-an-SLO-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Delete_an_SLO_returns_OK_response-1704322486\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/6065f42541b856f3abaf255e6a61de79" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/6065f42541b856f3abaf255e6a61de79" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Get-Corrections-For-an-SLO-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Get-Corrections-For-an-SLO-returns-OK-response.json index 8d5953f60..2d31e3920 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Get-Corrections-For-an-SLO-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Get-Corrections-For-an-SLO-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_Corrections_For_an_SLO_returns_OK_response-1704322486\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"Other\",\"description\":\"Test Correction\",\"end\":1704326086,\"slo_id\":\"029b3b619a6255eb899c46681dd7038f\",\"start\":1704322486,\"timezone\":\"UTC\"},\"type\":\"correction\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo/correction" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo/029b3b619a6255eb899c46681dd7038f/corrections" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/correction/17b61420-aa8b-11ee-97f2-da7ad0902002" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/029b3b619a6255eb899c46681dd7038f" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Get-all-SLOs-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v1/service_level_objectives/Get-all-SLOs-returns-OK-response-with-pagination.json index b7c066526..8d0880b98 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Get-all-SLOs-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Get-all-SLOs-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo?limit=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo?limit=2&offset=2" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Get-all-SLOs-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Get-all-SLOs-returns-OK-response.json index 45fb01b82..a48f78805 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Get-all-SLOs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Get-all-SLOs-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_all_SLOs_returns_OK_response-1704322487\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo?ids=c2ce7fb6030c5c0b8035d1ce94dec12c" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/c2ce7fb6030c5c0b8035d1ce94dec12c" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Get-an-SLO-s-details-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Get-an-SLO-s-details-returns-OK-response.json index 57e7c1bfb..5e3116fb4 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Get-an-SLO-s-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Get-an-SLO-s-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_an_SLO_s_details_returns_OK_response-1704322488\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo/ebf2e048f49a5134b61a586438c66505" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/ebf2e048f49a5134b61a586438c66505" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Get-an-SLO-s-history-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Get-an-SLO-s-history-returns-OK-response.json index 11b9852c4..957cdfba6 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Get-an-SLO-s-history-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Get-an-SLO-s-history-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_an_SLO_s_history_returns_OK_response-1704322488\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo/627a3ccd24af50beb8eacbd36c5962f9/history?from_ts=1704236088&to_ts=1704322488" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/627a3ccd24af50beb8eacbd36c5962f9" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Search-for-SLOs-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Search-for-SLOs-returns-OK-response.json index 9a3813af8..880b0681c 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Search-for-SLOs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Search-for-SLOs-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Search_for_SLOs_returns_OK_response-1676410539\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/slo/search?page%5Bnumber%5D=0&page%5Bsize%5D=20&query=Test-Search_for_SLOs_returns_OK_response-1676410539" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/34c97838f5c5578ebe812e5d068977a9" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Update-an-SLO-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Update-an-SLO-returns-Bad-Request-response.json index 7df7819d9..91d9048f6 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Update-an-SLO-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Update-an-SLO-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Update_an_SLO_returns_Bad_Request_response-1704322489\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"name\":\"Test-Update_an_SLO_returns_Bad_Request_response-1704322489\",\"thresholds\":[{\"target\":95,\"target_display\":\"95.0\",\"timeframe\":\"7d\",\"warning\":98,\"warning_display\":\"98.0\"}],\"type\":\"monitor\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/slo/9000070725e15b55a16fa1b2bcd1909c" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/9000070725e15b55a16fa1b2bcd1909c" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/service_level_objectives/Update-an-SLO-returns-OK-response.json b/tests/scenarios/cassettes/v1/service_level_objectives/Update-an-SLO-returns-OK-response.json index 5fa96b530..a154297e8 100644 --- a/tests/scenarios/cassettes/v1/service_level_objectives/Update-an-SLO-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/service_level_objectives/Update-an-SLO-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Update_an_SLO_returns_OK_response-1704322489\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"thresholds\":[{\"target\":95,\"timeframe\":\"7d\",\"warning\":98}],\"type\":\"metric\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/slo" }, @@ -40,14 +33,7 @@ "string": "{\"name\":\"Test-Update_an_SLO_returns_OK_response-1704322489\",\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"target_threshold\":97,\"thresholds\":[{\"target\":97,\"timeframe\":\"7d\",\"warning\":98}],\"timeframe\":\"7d\",\"type\":\"metric\",\"warning_threshold\":98}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/slo/f38441f875995acc9682503ee2d1901e" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/slo/f38441f875995acc9682503ee2d1901e" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Client-is-resilient-to-enum-and-oneOf-deserialization-errors.json b/tests/scenarios/cassettes/v1/synthetics/Client-is-resilient-to-enum-and-oneOf-deserialization-errors.json index 867727bbc..108b3899d 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Client-is-resilient-to-enum-and-oneOf-deserialization-errors.json +++ b/tests/scenarios/cassettes/v1/synthetics/Client-is-resilient-to-enum-and-oneOf-deserialization-errors.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-FIDO-global-variable-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-FIDO-global-variable-returns-OK-response.json index c2623c8aa..f6fdaf9cc 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-FIDO-global-variable-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-FIDO-global-variable-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"exitIfSucceed\":true,\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"extractedValuesFromScript\":\"dd.variable.set('STATUS_CODE', dd.response.statusCode);\",\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"name\":\"Wait\",\"subtype\":\"wait\",\"value\":1},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"isInMoreThan\",\"target\":10,\"type\":\"certificate\"}],\"isCritical\":true,\"name\":\"SSL step\",\"request\":{\"checkCertificateRevocation\":true,\"disableAiaIntermediateFetching\":true,\"host\":\"example.org\",\"port\":443},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"ssl\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"DNS step\",\"request\":{\"dnsServer\":\"8.8.8.8\",\"dnsServerPort\":\"53\",\"host\":\"troisdizaines.com\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"dns\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"TCP step\",\"request\":{\"host\":\"34.95.79.70\",\"port\":80,\"shouldTrackHops\":true,\"timeout\":32},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"tcp\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"is\",\"target\":0,\"type\":\"packetLossPercentage\"}],\"isCritical\":true,\"name\":\"ICMP step\",\"request\":{\"host\":\"34.95.79.70\",\"numberOfPackets\":4,\"shouldTrackHops\":true,\"timeout\":38},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"icmp\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"Websocket step\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"web\",\"username\":\"user\"},\"headers\":{\"f\":\"g\"},\"isMessageBase64Encoded\":true,\"message\":\"My message\",\"url\":\"ws://34.95.79.70/web-socket\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"websocket\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"UDP step\",\"request\":{\"host\":\"8.8.8.8\",\"message\":\"A image.google.com\",\"port\":53},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"udp\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_FIDO_global_variable_returns_OK_response-1752254627\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_FIDO_global_variable_returns_OK_response-1752254627\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"is_fido\":true,\"name\":\"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1752254627\",\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/variables" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/synthetics/variables/5ac7f334-cb78-4ab4-94a4-3490e25f1479" }, @@ -102,14 +84,7 @@ "string": "{\"public_ids\":[\"n7v-ha9-ks4\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-TOTP-global-variable-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-TOTP-global-variable-returns-OK-response.json index b8334fb98..64ad62fd4 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-TOTP-global-variable-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-TOTP-global-variable-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"exitIfSucceed\":true,\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"extractedValuesFromScript\":\"dd.variable.set('STATUS_CODE', dd.response.statusCode);\",\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"name\":\"Wait\",\"subtype\":\"wait\",\"value\":1},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"isInMoreThan\",\"target\":10,\"type\":\"certificate\"}],\"isCritical\":true,\"name\":\"SSL step\",\"request\":{\"checkCertificateRevocation\":true,\"disableAiaIntermediateFetching\":true,\"host\":\"example.org\",\"port\":443},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"ssl\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"DNS step\",\"request\":{\"dnsServer\":\"8.8.8.8\",\"dnsServerPort\":\"53\",\"host\":\"troisdizaines.com\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"dns\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"TCP step\",\"request\":{\"host\":\"34.95.79.70\",\"port\":80,\"shouldTrackHops\":true,\"timeout\":32},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"tcp\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"is\",\"target\":0,\"type\":\"packetLossPercentage\"}],\"isCritical\":true,\"name\":\"ICMP step\",\"request\":{\"host\":\"34.95.79.70\",\"numberOfPackets\":4,\"shouldTrackHops\":true,\"timeout\":38},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"icmp\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"Websocket step\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"web\",\"username\":\"user\"},\"headers\":{\"f\":\"g\"},\"isMessageBase64Encoded\":true,\"message\":\"My message\",\"url\":\"ws://34.95.79.70/web-socket\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"websocket\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"UDP step\",\"request\":{\"host\":\"8.8.8.8\",\"message\":\"A image.google.com\",\"port\":53},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"udp\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_TOTP_global_variable_returns_OK_response-1752254630\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_TOTP_global_variable_returns_OK_response-1752254630\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"is_totp\":true,\"name\":\"GLOBAL_VARIABLE_TOTP_PAYLOAD_TESTCREATEATOTPGLOBALVARIABLERETURNSOKRESPONSE1752254630\",\"tags\":[],\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/variables" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/synthetics/variables/93c47222-ce0c-47d8-ac31-50b3cca2d4a4" }, @@ -102,14 +84,7 @@ "string": "{\"public_ids\":[\"kgr-bme-8nw\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-returns-OK-Returns-saved-rumSettings-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-returns-OK-Returns-saved-rumSettings-response.json index 497246b87..893206991 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-returns-OK-Returns-saved-rumSettings-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-returns-OK-Returns-saved-rumSettings-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"certificateDomains\":[\"https://datadoghq.com\"],\"method\":\"GET\",\"url\":\"https://datadoghq.com\"},\"setCookie\":\"name:test\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"Test message\",\"name\":\"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1734947236\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"ci\":{\"executionRule\":\"skipped\"},\"device_ids\":[\"tablet\"],\"disableCors\":true,\"disableCsp\":true,\"follow_redirects\":true,\"ignoreServerCertificateError\":true,\"initialNavigationTimeout\":200,\"min_failure_duration\":10,\"min_location_failed\":1,\"noScreenshot\":true,\"retry\":{\"count\":2,\"interval\":10},\"rumSettings\":{\"applicationId\":\"mockApplicationId\",\"clientTokenId\":12345,\"isEnabled\":true},\"tick_every\":300},\"steps\":[{\"allowFailure\":false,\"isCritical\":true,\"name\":\"Refresh page\",\"params\":{},\"type\":\"refresh\"}],\"tags\":[\"testing:browser\"],\"type\":\"browser\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/browser" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"2pq-h6b-phj\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.json index c55d3d8d1..8dc987b06 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"secure\":true,\"type\":\"text\"}],\"request\":{\"method\":\"GET\",\"url\":\"https://datadoghq.com\"},\"setCookie\":\"name:test\",\"variables\":[{\"example\":\"secret\",\"name\":\"TEST_VARIABLE\",\"pattern\":\"secret\",\"secure\":true,\"type\":\"text\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"Test message\",\"name\":\"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1751289604\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"device_ids\":[\"chrome.laptop_large\"],\"disableCors\":true,\"enableProfiling\":true,\"enableSecurityTesting\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"noScreenshot\":true,\"retry\":{\"count\":2,\"interval\":10},\"tick_every\":300},\"steps\":[{\"allowFailure\":false,\"alwaysExecute\":true,\"exitIfSucceed\":true,\"isCritical\":true,\"name\":\"Refresh page\",\"params\":{},\"type\":\"refresh\"}],\"tags\":[\"testing:browser\"],\"type\":\"browser\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/browser" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"yyg-vy3-ii9\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-with-advanced-scheduling-options-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-with-advanced-scheduling-options-returns-OK-Returns-the-created-test-details-response.json index 849b56c36..eb4c3ed2d 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-with-advanced-scheduling-options-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-browser-test-with-advanced-scheduling-options-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"method\":\"GET\",\"url\":\"https://datadoghq.com\"},\"setCookie\":\"name:test\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"Test message\",\"name\":\"Test-Create_a_browser_test_with_advanced_scheduling_options_returns_OK_Returns_the_created_test_details_r-1733743067\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"device_ids\":[\"tablet\"],\"disableCors\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"noScreenshot\":true,\"retry\":{\"count\":2,\"interval\":10},\"scheduling\":{\"timeframes\":[{\"day\":1,\"from\":\"07:00\",\"to\":\"16:00\"},{\"day\":3,\"from\":\"07:00\",\"to\":\"16:00\"}],\"timezone\":\"America/New_York\"},\"tick_every\":300},\"steps\":[{\"allowFailure\":false,\"isCritical\":true,\"name\":\"Refresh page\",\"params\":{},\"type\":\"refresh\"}],\"tags\":[\"testing:browser\"],\"type\":\"browser\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/browser" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"69t-ekt-ux5\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-global-variable-from-test-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-global-variable-from-test-returns-OK-response.json index 36a36e6e8..2794b04bf 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-global-variable-from-test-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-global-variable-from-test-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"exitIfSucceed\":true,\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"extractedValuesFromScript\":\"dd.variable.set('STATUS_CODE', dd.response.statusCode);\",\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"name\":\"Wait\",\"subtype\":\"wait\",\"value\":1},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"isInMoreThan\",\"target\":10,\"type\":\"certificate\"}],\"isCritical\":true,\"name\":\"SSL step\",\"request\":{\"checkCertificateRevocation\":true,\"disableAiaIntermediateFetching\":true,\"host\":\"example.org\",\"port\":443},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"ssl\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"DNS step\",\"request\":{\"dnsServer\":\"8.8.8.8\",\"dnsServerPort\":\"53\",\"host\":\"troisdizaines.com\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"dns\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"TCP step\",\"request\":{\"host\":\"34.95.79.70\",\"port\":80,\"shouldTrackHops\":true,\"timeout\":32},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"tcp\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"is\",\"target\":0,\"type\":\"packetLossPercentage\"}],\"isCritical\":true,\"name\":\"ICMP step\",\"request\":{\"host\":\"34.95.79.70\",\"numberOfPackets\":4,\"shouldTrackHops\":true,\"timeout\":38},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"icmp\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"Websocket step\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"web\",\"username\":\"user\"},\"headers\":{\"f\":\"g\"},\"isMessageBase64Encoded\":true,\"message\":\"My message\",\"url\":\"ws://34.95.79.70/web-socket\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"websocket\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"UDP step\",\"request\":{\"host\":\"8.8.8.8\",\"message\":\"A image.google.com\",\"port\":53},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"udp\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1752254634\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1752254634\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"name\":\"GLOBAL_VARIABLE_FROM_TEST_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1752254634\",\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_public_id\":\"kpq-ja8-3rg\",\"tags\":[],\"value\":{\"secure\":false,\"value\":\"\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/variables" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/synthetics/variables/9e7cddea-3a17-4c1f-a73e-73f5bde41812" }, @@ -102,14 +84,7 @@ "string": "{\"public_ids\":[\"kpq-ja8-3rg\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-global-variable-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-global-variable-returns-OK-response.json index dc60c4f64..897eb304e 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-global-variable-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-global-variable-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"name\":\"Wait\",\"subtype\":\"wait\",\"value\":1},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_global_variable_returns_OK_response-1721225671\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_returns_OK_response-1721225671\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLERETURNSOKRESPONSE1721225671\",\"tags\":[],\"value\":{\"secure\":false,\"value\":\"\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/variables" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/synthetics/variables/288ffd6c-6322-43c4-b18b-3bf30db834ab" }, @@ -102,14 +84,7 @@ "string": "{\"public_ids\":[\"6ha-935-dj6\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-mobile-test-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-mobile-test-returns-OK-Returns-the-created-test-details-response.json index a6b40f3ba..f6361e756 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-mobile-test-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-mobile-test-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"variables\":[]},\"message\":\"\",\"name\":\"Test-Create_a_mobile_test_returns_OK_Returns_the_created_test_details_response-1733743072\",\"options\":{\"device_ids\":[\"synthetics:mobile:device:iphone_15_ios_17\"],\"mobileApplication\":{\"applicationId\":\"ab0e0aed-536d-411a-9a99-5428c27d8f8e\",\"referenceId\":\"6115922a-5f5d-455e-bc7e-7955a57f3815\",\"referenceType\":\"version\"},\"tick_every\":3600},\"status\":\"paused\",\"steps\":[],\"type\":\"mobile\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/mobile" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"gcc-5su-udk\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-multi-step-api-test-with-every-type-of-basicAuth-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-multi-step-api-test-with-every-type-of-basicAuth-returns-OK-Returns-the-created-test-details-response.json index d94369bc0..7980095cc 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-multi-step-api-test-with-every-type-of-basicAuth-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-multi-step-api-test-with-every-type-of-basicAuth-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"steps\":[{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"web\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessKey\":\"accessKey\",\"secretKey\":\"secretKey\",\"type\":\"sigv4\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"type\":\"ntlm\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"digest\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"accessTokenUrl\",\"clientId\":\"clientId\",\"clientSecret\":\"clientSecret\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"accessTokenUrl\",\"password\":\"password\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-rop\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_with_every_type_of_basic_auth.json\",\"name\":\"Test-Create_a_multi_step_api_test_with_every_type_of_basicAuth_returns_OK_Returns_the_created_test_detail-1733743073\",\"options\":{\"tick_every\":60},\"subtype\":\"multi\",\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"vj7-th4-9tj\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-multistep-test-with-subtest-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-multistep-test-with-subtest-returns-OK-response.json index 7146fb7ae..82ed445a5 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-multistep-test-with-subtest-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-multistep-test-with-subtest-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"timingsScope\":\"withoutDNS\",\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"elementsOperator\":\"atLeastOneElementMatches\",\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"},{\"operator\":\"md5\",\"target\":\"a\",\"type\":\"bodyHash\"},{\"code\":\"const hello = 'world';\",\"type\":\"javascript\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testcreateamultisteptestwithsubtestreturnsokresponse1766762565\"},\"method\":\"GET\",\"persistCookies\":true,\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"variablesFromScript\":\"dd.variable.set(\\\"FOO\\\", \\\"foo\\\")\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Create_a_multistep_test_with_subtest_returns_OK_response-1766762565\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_multistep_test_with_subtest_returns_OK_response-1766762565\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"config\":{\"steps\":[{\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"name\":\"request is sent\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"username\":\"username\"},\"method\":\"GET\",\"url\":\"https://httpbin.org/status/200\"},\"subtype\":\"http\"},{\"name\":\"subtest step\",\"subtestPublicId\":\"f8v-zk3-x5h\",\"subtype\":\"playSubTest\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_with_subtest.json\",\"name\":\"Test-Create_a_multistep_test_with_subtest_returns_OK_response-1766762565\",\"options\":{\"tick_every\":60},\"subtype\":\"multi\",\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -74,14 +60,7 @@ "string": "{\"public_ids\":[\"5kg-4fz-eh9\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -108,14 +87,7 @@ "string": "{\"public_ids\":[\"f8v-zk3-x5h\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -138,4 +110,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-a-private-location-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-a-private-location-returns-OK-response.json index f94356a29..244a40059 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-a-private-location-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-a-private-location-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_private_location_returns_OK_response-1706264429\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"description\":\"Test Test-Create_a_private_location_returns_OK_response-1706264429 description\",\"metadata\":{\"restricted_roles\":[\"88260ec6-bc34-11ee-aae0-da7ad0900002\"]},\"name\":\"Test-Create_a_private_location_returns_OK_response-1706264429\",\"tags\":[\"test:testcreateaprivatelocationreturnsokresponse1706264429\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/private-locations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/synthetics/private-locations/pl%3Atest-create_a_private_location_returns_ok_response-1706264429-142add9a13d5e67404ac364c8b25d1dc" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/88260ec6-bc34-11ee-aae0-da7ad0900002" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-GRPC-test-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-GRPC-test-returns-OK-Returns-the-created-test-details-response.json index c445457ee..31a57ed7d 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-GRPC-test-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-GRPC-test-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"target\":1,\"type\":\"grpcHealthcheckStatus\"},{\"operator\":\"is\",\"target\":\"proto target\",\"type\":\"grpcProto\"},{\"operator\":\"is\",\"property\":\"property\",\"target\":\"123\",\"type\":\"grpcMetadata\"}],\"request\":{\"host\":\"localhost\",\"message\":\"\",\"metadata\":{},\"method\":\"GET\",\"port\":50051,\"service\":\"Hello\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_grpc_test_payload.json\",\"name\":\"Test-Create_an_API_GRPC_test_returns_OK_Returns_the_created_test_details_response-1733743075\",\"options\":{\"min_failure_duration\":0,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_GRPC_test_returns_OK_Returns_the_created_test_details_response-1733743075\",\"monitor_options\":{\"renotify_interval\":0},\"tick_every\":60},\"subtype\":\"grpc\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"ysc-nuq-x8y\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-has-bodyHash-filled-out.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-has-bodyHash-filled-out.json index 1b66a6ae2..ccce6e3b2 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-has-bodyHash-filled-out.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-has-bodyHash-filled-out.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"timingsScope\":\"withoutDNS\",\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"elementsOperator\":\"atLeastOneElementMatches\",\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"},{\"operator\":\"md5\",\"target\":\"a\",\"type\":\"bodyHash\"},{\"code\":\"const hello = 'world';\",\"type\":\"javascript\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testcreateanapihttptesthasbodyhashfilledout1733743077\"},\"method\":\"GET\",\"persistCookies\":true,\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"variablesFromScript\":\"dd.variable.set(\\\"FOO\\\", \\\"foo\\\")\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Create_an_API_HTTP_test_has_bodyHash_filled_out-1733743077\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_HTTP_test_has_bodyHash_filled_out-1733743077\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"xej-vs3-2kp\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-returns-OK-Returns-the-created-test-details-response.json index c54b8e600..279c79c90 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"timingsScope\":\"withoutDNS\",\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"elementsOperator\":\"atLeastOneElementMatches\",\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"},{\"operator\":\"md5\",\"target\":\"a\",\"type\":\"bodyHash\"},{\"code\":\"const hello = 'world';\",\"type\":\"javascript\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testcreateanapihttptestreturnsokreturnsthecreatedtestdetailsresponse1733743079\"},\"method\":\"GET\",\"persistCookies\":true,\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"variablesFromScript\":\"dd.variable.set(\\\"FOO\\\", \\\"foo\\\")\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Create_an_API_HTTP_test_returns_OK_Returns_the_created_test_details_response-1733743079\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_HTTP_test_returns_OK_Returns_the_created_test_details_response-1733743079\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"j29-yg3-jd3\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-with-jsonPath-assertion-succeeds.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-with-jsonPath-assertion-succeeds.json index 299c946a7..4ce5837ef 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-with-jsonPath-assertion-succeeds.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-test-with-jsonPath-assertion-succeeds.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[],\"request\":{\"method\":\"GET\",\"url\":\"https://example.com\"}},\"locations\":[\"aws:eu-west-3\"],\"message\":\"Notification message\",\"name\":\"Example test name\",\"options\":{\"ci\":{\"executionRule\":\"blocking\"},\"device_ids\":[\"chrome.laptop_large\"],\"httpVersion\":\"http1\",\"monitor_options\":{},\"restricted_roles\":[\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"],\"retry\":{},\"rumSettings\":{\"applicationId\":\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\"clientTokenId\":12345,\"isEnabled\":true},\"scheduling\":{\"timeframes\":[{\"day\":1,\"from\":\"07:00\",\"to\":\"16:00\"},{\"day\":3,\"from\":\"07:00\",\"to\":\"16:00\"}],\"timezone\":\"America/New_York\"}},\"status\":\"live\",\"subtype\":\"http\",\"tags\":[\"env:production\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-with-oauth-rop-test-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-with-oauth-rop-test-returns-OK-Returns-the-created-test-details-response.json index 3a88b0e12..c4fecc368 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-with-oauth-rop-test-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-HTTP-with-oauth-rop-test-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"password\":\"oauth-password\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"body\",\"type\":\"oauth-rop\",\"username\":\"oauth-usermame\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testcreateanapihttpwithoauthroptestreturnsokreturnsthecreatedtestdetailsresponse1733743081\"},\"method\":\"GET\",\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Create_an_API_HTTP_with_oauth_rop_test_returns_OK_Returns_the_created_test_details_response-1733743081\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_HTTP_with_oauth_rop_test_returns_OK_Returns_the_created_test_details_response-1733743081\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"yjp-h74-mx8\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-SSL-test-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-SSL-test-returns-OK-Returns-the-created-test-details-response.json index a9ef437c3..69f08ef68 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-SSL-test-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-SSL-test-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"isInMoreThan\",\"target\":10,\"type\":\"certificate\"}],\"request\":{\"host\":\"datadoghq.com\",\"port\":\"{{ DATADOG_PORT }}\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_ssl_test_payload.json\",\"name\":\"Test-Create_an_API_SSL_test_returns_OK_Returns_the_created_test_details_response-1752254637\",\"options\":{\"accept_self_signed\":true,\"checkCertificateRevocation\":true,\"disableAiaIntermediateFetching\":true,\"tick_every\":60},\"subtype\":\"ssl\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"ppr-ina-vd6\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-returns-OK-Returns-the-created-test-details-response.json index 68270e318..7a911f308 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testcreateanapitestreturnsokreturnsthecreatedtestdetailsresponse1644495851\"},\"method\":\"GET\",\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_payload.json\",\"name\":\"Test-Create_an_API_test_returns_OK_Returns_the_created_test_details_response-1644495851\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_returns_OK_Returns_the_created_test_details_response-1644495851\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"x87-4ez-4xz\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-UDP-subtype-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-UDP-subtype-returns-OK-Returns-the-created-test-details-response.json index f231cf407..a2ba630a4 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-UDP-subtype-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-UDP-subtype-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"target\":\"message\",\"type\":\"receivedMessage\"},{\"operator\":\"lessThan\",\"target\":2000,\"type\":\"responseTime\"}],\"configVariables\":[],\"request\":{\"host\":\"https://datadoghq.com\",\"message\":\"message\",\"port\":443}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_udp_payload.json\",\"name\":\"Test-Create_an_API_test_with_UDP_subtype_returns_OK_Returns_the_created_test_details_response-1733743084\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_UDP_subtype_returns_OK_Returns_the_created_test_details_response-1733743084\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"udp\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"dxe-93y-pxq\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-WEBSOCKET-subtype-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-WEBSOCKET-subtype-returns-OK-Returns-the-created-test-details-response.json index 539ac8a7c..0c03add80 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-WEBSOCKET-subtype-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-WEBSOCKET-subtype-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"target\":\"message\",\"type\":\"receivedMessage\"},{\"operator\":\"lessThan\",\"target\":2000,\"type\":\"responseTime\"}],\"configVariables\":[],\"request\":{\"message\":\"message\",\"url\":\"ws://datadoghq.com\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_websocket_payload.json\",\"name\":\"Test-Create_an_API_test_with_WEBSOCKET_subtype_returns_OK_Returns_the_created_test_details_response-1733743086\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_WEBSOCKET_subtype_returns_OK_Returns_the_created_test_details_response-1733743086\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"websocket\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"bae-2wv-3kh\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-a-file-payload-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-a-file-payload-returns-OK-Returns-the-created-test-details-response.json index be5639418..ad2ec3e69 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-a-file-payload-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-a-file-payload-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"timingsScope\":\"withoutDNS\",\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"bodyType\":\"application/octet-stream\",\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"files\":[{\"content\":\"file content\",\"name\":\"file name\",\"originalFileName\":\"image.png\",\"type\":\"file type\"}],\"headers\":{\"unique\":\"testcreateanapitestwithafilepayloadreturnsokreturnsthecreatedtestdetailsresponse1733743088\"},\"method\":\"GET\",\"persistCookies\":true,\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Create_an_API_test_with_a_file_payload_returns_OK_Returns_the_created_test_details_response-1733743088\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_a_file_payload_returns_OK_Returns_the_created_test_details_response-1733743088\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"pbm-cwk-hzr\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response.json b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response.json index 2b5186bc8..fc9e5f124 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"exitIfSucceed\":true,\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"extractedValuesFromScript\":\"dd.variable.set('STATUS_CODE', dd.response.statusCode);\",\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"name\":\"Wait\",\"subtype\":\"wait\",\"value\":1},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"isInMoreThan\",\"target\":10,\"type\":\"certificate\"}],\"isCritical\":true,\"name\":\"SSL step\",\"request\":{\"checkCertificateRevocation\":true,\"disableAiaIntermediateFetching\":true,\"host\":\"example.org\",\"port\":443},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"ssl\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"DNS step\",\"request\":{\"dnsServer\":\"8.8.8.8\",\"dnsServerPort\":\"53\",\"host\":\"troisdizaines.com\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"dns\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"TCP step\",\"request\":{\"host\":\"34.95.79.70\",\"port\":80,\"shouldTrackHops\":true,\"timeout\":32},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"tcp\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"is\",\"target\":0,\"type\":\"packetLossPercentage\"}],\"isCritical\":true,\"name\":\"ICMP step\",\"request\":{\"host\":\"34.95.79.70\",\"numberOfPackets\":4,\"shouldTrackHops\":true,\"timeout\":38},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"icmp\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"Websocket step\",\"request\":{\"basicAuth\":{\"password\":\"password\",\"type\":\"web\",\"username\":\"user\"},\"headers\":{\"f\":\"g\"},\"isMessageBase64Encoded\":true,\"message\":\"My message\",\"url\":\"ws://34.95.79.70/web-socket\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"websocket\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"isCritical\":true,\"name\":\"UDP step\",\"request\":{\"host\":\"8.8.8.8\",\"message\":\"A image.google.com\",\"port\":53},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"udp\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1752254639\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1752254639\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"public_ids\":[\"rv5-fh5-qxi\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Edit-a-Mobile-test-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Edit-a-Mobile-test-returns-OK-response.json index 2fbfa36e3..5e8fc83c1 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Edit-a-Mobile-test-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Edit-a-Mobile-test-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"variables\":[]},\"message\":\"\",\"name\":\"Test-Edit_a_Mobile_test_returns_OK_response-1733743091\",\"options\":{\"device_ids\":[\"synthetics:mobile:device:iphone_15_ios_17\"],\"mobileApplication\":{\"applicationId\":\"ab0e0aed-536d-411a-9a99-5428c27d8f8e\",\"referenceId\":\"6115922a-5f5d-455e-bc7e-7955a57f3815\",\"referenceType\":\"version\"},\"tick_every\":3600},\"status\":\"paused\",\"steps\":[],\"type\":\"mobile\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/mobile" }, @@ -40,14 +33,7 @@ "string": "{\"config\":{\"variables\":[]},\"message\":\"\",\"name\":\"Test-Edit_a_Mobile_test_returns_OK_response-1733743091-updated\",\"options\":{\"device_ids\":[\"synthetics:mobile:device:iphone_15_ios_17\"],\"mobileApplication\":{\"applicationId\":\"ab0e0aed-536d-411a-9a99-5428c27d8f8e\",\"referenceId\":\"6115922a-5f5d-455e-bc7e-7955a57f3815\",\"referenceType\":\"version\"},\"tick_every\":3600},\"status\":\"paused\",\"steps\":[],\"type\":\"mobile\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/mobile/cxt-jqd-x42" }, @@ -74,14 +60,7 @@ "string": "{\"public_ids\":[\"cxt-jqd-x42\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Edit-an-API-test-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Edit-an-API-test-returns-OK-response.json index 8827ab199..9920c95b4 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Edit-an-API-test-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Edit-an-API-test-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"timingsScope\":\"withoutDNS\",\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"elementsOperator\":\"atLeastOneElementMatches\",\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"},{\"operator\":\"md5\",\"target\":\"a\",\"type\":\"bodyHash\"},{\"code\":\"const hello = 'world';\",\"type\":\"javascript\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testeditanapitestreturnsokresponse1733743094\"},\"method\":\"GET\",\"persistCookies\":true,\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"variablesFromScript\":\"dd.variable.set(\\\"FOO\\\", \\\"foo\\\")\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Edit_an_API_test_returns_OK_response-1733743094\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Edit_an_API_test_returns_OK_response-1733743094\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"certificate\":{\"cert\":{\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testeditanapitestreturnsokresponse1733743094\"},\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_payload.json\",\"name\":\"Test-Edit_an_API_test_returns_OK_response-1733743094-updated\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-TestSyntheticsAPITestLifecycle-1623076664\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"status\":\"live\",\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api/ep3-5gs-3ra" }, @@ -74,14 +60,7 @@ "string": "{\"public_ids\":[\"ep3-5gs-3ra\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Fetch-uptime-for-multiple-tests-returns-JSON-format-is-wrong-response.json b/tests/scenarios/cassettes/v1/synthetics/Fetch-uptime-for-multiple-tests-returns-JSON-format-is-wrong-response.json index 8ea61d8ea..a95d5ddbd 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Fetch-uptime-for-multiple-tests-returns-JSON-format-is-wrong-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Fetch-uptime-for-multiple-tests-returns-JSON-format-is-wrong-response.json @@ -6,14 +6,7 @@ "string": "{\"from_ts\":0,\"public_ids\":[],\"to_ts\":0}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/uptimes" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Fetch-uptime-for-multiple-tests-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Fetch-uptime-for-multiple-tests-returns-OK-response.json index e45574495..fdbcf7477 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Fetch-uptime-for-multiple-tests-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Fetch-uptime-for-multiple-tests-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"from_ts\":1726041488,\"public_ids\":[\"p8m-9gw-nte\"],\"to_ts\":1726055954}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/uptimes" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Get-a-Mobile-test-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Get-a-Mobile-test-returns-OK-response.json index ba62e049f..aab21abfe 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Get-a-Mobile-test-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Get-a-Mobile-test-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"variables\":[]},\"message\":\"\",\"name\":\"Test-Get_a_Mobile_test_returns_OK_response-1733743097\",\"options\":{\"device_ids\":[\"synthetics:mobile:device:iphone_15_ios_17\"],\"mobileApplication\":{\"applicationId\":\"ab0e0aed-536d-411a-9a99-5428c27d8f8e\",\"referenceId\":\"6115922a-5f5d-455e-bc7e-7955a57f3815\",\"referenceType\":\"version\"},\"tick_every\":3600},\"status\":\"paused\",\"steps\":[],\"type\":\"mobile\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/mobile" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/mobile/n3k-v7t-7xq" }, @@ -68,14 +57,7 @@ "string": "{\"public_ids\":[\"n3k-v7t-7xq\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Get-a-browser-test-result-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Get-a-browser-test-result-returns-OK-response.json index 02c742b62..39030c934 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Get-a-browser-test-result-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Get-a-browser-test-result-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/browser/2yy-sem-mjh/results/5671719892074090418" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Get-a-browser-test-s-latest-results-summaries-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Get-a-browser-test-s-latest-results-summaries-returns-OK-response.json index 4b55979a4..ade04d161 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Get-a-browser-test-s-latest-results-summaries-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Get-a-browser-test-s-latest-results-summaries-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/browser/2yy-sem-mjh/results" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-result-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-result-returns-OK-response.json index 596a730f3..00dddd8f6 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-result-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-result-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/hwb-332-3xe/results/3420446318379485707" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-result-returns-result-with-failure-object.json b/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-result-returns-result-with-failure-object.json index 3415c55a9..a4df4c4f6 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-result-returns-result-with-failure-object.json +++ b/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-result-returns-result-with-failure-object.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"request\":{\"method\":\"GET\",\"url\":\"https://app.datadfoghq.com\"}},\"locations\":[\"aws:eu-west-3\"],\"message\":\"Testing wrong DNS error\",\"name\":\"Test-Get_an_API_test_result_returns_result_with_failure_object-1644495858\",\"options\":{\"min_failure_duration\":0,\"min_location_failed\":1,\"monitor_options\":{\"renotify_interval\":0},\"tick_every\":86400},\"subtype\":\"http\",\"tags\":[],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"tests\":[{\"public_id\":\"ive-g7h-dgu\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/trigger" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/ive-g7h-dgu/results/990211588540730529" }, @@ -102,14 +84,7 @@ "string": "{\"public_ids\":[\"ive-g7h-dgu\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-s-latest-results-summaries-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-s-latest-results-summaries-returns-OK-response.json index 6c0c65a1d..c90de2cb8 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-s-latest-results-summaries-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Get-an-API-test-s-latest-results-summaries-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/hwb-332-3xe/results" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Get-the-list-of-all-Synthetic-tests-returns-OK-Returns-the-list-of-all-Synthetic-tests-response-with-pagination.json b/tests/scenarios/cassettes/v1/synthetics/Get-the-list-of-all-Synthetic-tests-returns-OK-Returns-the-list-of-all-Synthetic-tests-response-with-pagination.json index 0015cd1ad..d1e13cb45 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Get-the-list-of-all-Synthetic-tests-returns-OK-Returns-the-list-of-all-Synthetic-tests-response-with-pagination.json +++ b/tests/scenarios/cassettes/v1/synthetics/Get-the-list-of-all-Synthetic-tests-returns-OK-Returns-the-list-of-all-Synthetic-tests-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests?page_size=2&page_number=0" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests?page_size=2&page_number=1" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Get-the-list-of-default-locations-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Get-the-list-of-default-locations-returns-OK-response.json index c22e79314..8ebc801ff 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Get-the-list-of-default-locations-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Get-the-list-of-default-locations-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/settings/default_locations" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Patch-a-Synthetic-test-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Patch-a-Synthetic-test-returns-OK-response.json index f895b8af7..b548beabb 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Patch-a-Synthetic-test-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Patch-a-Synthetic-test-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"timingsScope\":\"withoutDNS\",\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"elementsOperator\":\"atLeastOneElementMatches\",\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"},{\"operator\":\"md5\",\"target\":\"a\",\"type\":\"bodyHash\"},{\"code\":\"const hello = 'world';\",\"type\":\"javascript\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testpatchasynthetictestreturnsokresponse1733743099\"},\"method\":\"GET\",\"persistCookies\":true,\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"variablesFromScript\":\"dd.variable.set(\\\"FOO\\\", \\\"foo\\\")\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Patch_a_Synthetic_test_returns_OK_response-1733743099\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Patch_a_Synthetic_test_returns_OK_response-1733743099\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"data\":[{\"op\":\"replace\",\"path\":\"/name\",\"value\":\"New test name\"},{\"op\":\"remove\",\"path\":\"/config/assertions/0\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/sv2-vrq-d82" }, @@ -74,14 +60,7 @@ "string": "{\"public_ids\":[\"sv2-vrq-d82\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.json b/tests/scenarios/cassettes/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.json index a2c2c15a6..89b3477c4 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.json +++ b/tests/scenarios/cassettes/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/search?text=tag%3Avalue&include_full_config=true&search_suites=true&facets_only=true&start=10&count=5&sort=name%2Cdesc" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.json index 4c2e30632..97458cc56 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"timingsScope\":\"withoutDNS\",\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"elementsOperator\":\"atLeastOneElementMatches\",\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesJSONSchema\",\"target\":{\"jsonSchema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\":{\\\"slideshow\\\":{\\\"type\\\":\\\"object\\\"}}}\",\"metaSchema\":\"draft-07\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"},{\"operator\":\"md5\",\"target\":\"a\",\"type\":\"bodyHash\"},{\"code\":\"const hello = 'world';\",\"type\":\"javascript\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testtriggersynthetictestsreturnsokresponse1751385176\"},\"method\":\"GET\",\"persistCookies\":true,\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"variablesFromScript\":\"dd.variable.set(\\\"FOO\\\", \\\"foo\\\")\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Trigger_Synthetic_tests_returns_OK_response-1751385176\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Trigger_Synthetic_tests_returns_OK_response-1751385176\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"tests\":[{\"public_id\":\"tau-wah-m7h\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/trigger" }, @@ -74,14 +60,7 @@ "string": "{\"public_ids\":[\"tau-wah-m7h\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/synthetics/Trigger-Synthetics-tests-returns-OK-response.json b/tests/scenarios/cassettes/v1/synthetics/Trigger-Synthetics-tests-returns-OK-response.json index 1c0aac4b8..8e29736f7 100644 --- a/tests/scenarios/cassettes/v1/synthetics/Trigger-Synthetics-tests-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/synthetics/Trigger-Synthetics-tests-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testtriggersyntheticstestsreturnsokresponse1673476032\"},\"method\":\"GET\",\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Trigger_Synthetics_tests_returns_OK_response-1673476032\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Trigger_Synthetics_tests_returns_OK_response-1673476032\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, @@ -40,14 +33,7 @@ "string": "{\"tests\":[{\"public_id\":\"rsj-jug-mjq\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/trigger" }, @@ -74,14 +60,7 @@ "string": "{\"public_ids\":[\"rsj-jug-mjq\"]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" }, @@ -104,4 +83,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.json index b545ffeba..b9bf235ca 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/top_avg_metrics" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.json index 979951ccb..8f7605dbb 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/top_avg_metrics?day=2022-03-29T00%3A41%3A20.876Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.json index d8802fa31..a56b6875e 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/logs-by-retention?start_hr=2022-03-29T00%3A41%3A21.295Z&end_hr=2022-03-27T00%3A41%3A21.295Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.json index edf0376a9..48d14a1b9 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/logs-by-retention?start_hr=2022-03-27T00%3A41%3A21.397Z&end_hr=2022-03-29T00%3A41%3A21.397Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.json index 6330a297a..2c4ae2c81 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/hourly-attribution?start_hr=2022-05-20T08%3A46%3A26.291Z&usage_type=infra_host_usage" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.json index b120d9517..cbfb1bb5e 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/ci-app?start_hr=2023-09-22T19%3A13%3A30.824Z&end_hr=2023-09-20T19%3A13%3A30.824Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.json index 6fc70d25d..e1ff21ab6 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/ci-app?start_hr=2023-09-20T18%3A27%3A41.222Z&end_hr=2023-09-22T18%3A27%3A41.222Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.json index dac0ca712..9fec9ac3d 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/cspm?start_hr=2023-09-17T21%3A11%3A12.476Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSPM-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSPM-returns-OK-response.json index 46106b26c..a6057a850 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSPM-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSPM-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/cspm?start_hr=2022-01-18T12%3A03%3A20.978Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.json index 0dbdd6e4d..2f2307714 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/dbm?start_hr=2022-03-27T15%3A43%3A36.948Z&end_hr=2022-03-29T15%3A43%3A36.948Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.json index ef94eaa7f..5cebd328a 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/fargate?start_hr=2022-03-29T00%3A41%3A23.099Z&end_hr=2022-03-27T00%3A41%3A23.099Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.json index e0c7b2aa0..759cd64f9 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/fargate?start_hr=2022-03-27T00%3A41%3A23.206Z&end_hr=2022-03-29T00%3A41%3A23.206Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.json index 263c3745d..89289fa4e 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/iot?start_hr=2022-01-28T09%3A34%3A27.865Z&end_hr=2022-01-26T09%3A34%3A27.865Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.json index 92657d7df..3e5483f83 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/iot?start_hr=2022-01-26T09%3A34%3A28.357Z&end_hr=2022-01-28T09%3A34%3A28.357Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.json index 4ae8bf6d1..3acbe6923 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/aws_lambda?start_hr=2022-03-29T00%3A41%3A23.917Z&end_hr=2022-03-27T00%3A41%3A23.917Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.json index 9f0ae22b8..54aff895f 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/aws_lambda?start_hr=2022-03-27T00%3A41%3A24.021Z&end_hr=2022-03-29T00%3A41%3A24.021Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.json index d867ad6f2..d6b319ab4 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/logs_by_index?start_hr=2022-03-29T17%3A01%3A53.545Z&end_hr=2022-03-27T17%3A01%3A53.545Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.json index a23f924d2..66c4593a4 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/logs_by_index?start_hr=2022-03-27T15%3A43%3A39.457Z&end_hr=2022-03-29T15%3A43%3A39.457Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.json index 7705fee4a..1c2972a6f 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/logs?start_hr=2022-03-29T15%3A43%3A39.812Z&end_hr=2022-03-27T15%3A43%3A39.812Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.json index 210fd36e3..1deafeba7 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/logs?start_hr=2022-03-27T15%3A43%3A39.992Z&end_hr=2022-03-29T15%3A43%3A39.992Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.json index 0c9488d08..a46fdf19c 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/network_flows?start_hr=2022-03-29T15%3A43%3A40.233Z&end_hr=2022-03-27T15%3A43%3A40.233Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.json index b64115699..bb2881d7e 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/network_flows?start_hr=2022-03-27T15%3A43%3A40.429Z&end_hr=2022-03-29T15%3A43%3A40.429Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.json index 10d794fe9..c565c5f24 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/network_hosts?start_hr=2022-03-29T17%3A01%3A55.545Z&end_hr=2022-03-27T17%3A01%3A55.545Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.json index fe06a5a8c..bca6844ba 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/network_hosts?start_hr=2022-03-27T15%3A43%3A40.923Z&end_hr=2022-03-29T15%3A43%3A40.923Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.json index 9d3b392f8..068e8ff00 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/online-archive?start_hr=2022-03-05T15%3A58%3A31.986Z&end_hr=2022-03-03T15%3A58%3A31.986Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.json index 07c848111..8991825dd 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/online-archive?start_hr=2022-03-03T15%3A58%3A32.586Z&end_hr=2022-03-05T15%3A58%3A32.586Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.json index 30b0cbfaa..4cd8ab3d1 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2022-03-29T00%3A41%3A26.836Z&end_hr=2022-03-27T00%3A41%3A26.836Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.json index ab89d25e0..cf3c0e2d6 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2022-03-27T00%3A41%3A26.958Z&end_hr=2022-03-29T00%3A41%3A26.958Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.json index 2718ad027..5629e8d4f 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/rum?start_hr=2022-03-27T00%3A41%3A27.572Z&end_hr=2022-03-29T00%3A41%3A27.572Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.json index ec9039c08..4f4090a7f 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/snmp?start_hr=2022-01-28T09%3A34%3A29.203Z&end_hr=2022-01-26T09%3A34%3A29.203Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.json index f44e3d1bd..fea9641dd 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/snmp?start_hr=2022-01-26T09%3A34%3A29.627Z&end_hr=2022-01-28T09%3A34%3A29.627Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.json index 3808f6cd0..973387fb1 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/sds?start_hr=2022-03-27T00%3A41%3A27.888Z&end_hr=2022-03-29T00%3A41%3A27.888Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.json index 153e82dfb..22fd613e9 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_api?start_hr=2022-03-29T15%3A43%3A44.039Z&end_hr=2022-03-27T15%3A43%3A44.039Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.json index c8714eb8a..d65e305d1 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_api?start_hr=2022-03-27T15%3A43%3A44.274Z&end_hr=2022-03-29T15%3A43%3A44.274Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.json index 759ea5207..7065eb326 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_browser?start_hr=2022-03-29T00%3A41%3A28.391Z&end_hr=2022-03-27T00%3A41%3A28.391Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.json index 198e40a99..d38877849 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_browser?start_hr=2022-03-27T00%3A41%3A28.503Z&end_hr=2022-03-29T00%3A41%3A28.503Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.json index 60a34ac02..15f7f23cc 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/analyzed_logs?start_hr=2022-01-28T09%3A34%3A30.286Z&end_hr=2022-01-26T09%3A34%3A30.286Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.json index 5034f767f..7d2cb8980 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/analyzed_logs?start_hr=2022-01-26T09%3A34%3A30.705Z&end_hr=2022-01-28T09%3A34%3A30.705Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.json index 497e1097a..3cb451d00 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/audit_logs?start_hr=2022-03-27T00%3A41%3A28.687Z&end_hr=2022-03-29T00%3A41%3A28.687Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.json index f284ec6f3..18d0aacbd 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/cws?start_hr=2023-09-20T19%3A19%3A28.364Z&end_hr=2023-09-22T19%3A19%3A28.364Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.json index e14f87e5d..43fe097af 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/timeseries?start_hr=2022-03-29T00%3A41%3A29.079Z&end_hr=2022-03-27T00%3A41%3A29.079Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.json index 8bd3d7b74..5043ff2a1 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/timeseries?start_hr=2022-03-27T00%3A41%3A29.168Z&end_hr=2022-03-29T00%3A41%3A29.168Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.json index 7547c31ac..cb6bf7193 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/hosts?start_hr=2022-03-29T00%3A41%3A30.106Z&end_hr=2022-03-27T00%3A41%3A30.106Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.json index f17004713..56d7b25ed 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/hosts?start_hr=2022-03-27T00%3A41%3A30.234Z&end_hr=2022-03-29T00%3A41%3A30.234Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.json index ccc4e66ff..c9d44666e 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/incident-management?start_hr=2022-01-28T09%3A34%3A31.364Z&end_hr=2022-01-26T09%3A34%3A31.364Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.json index bc814d7df..36b15bb61 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/incident-management?start_hr=2022-01-26T09%3A34%3A31.797Z&end_hr=2022-01-28T09%3A34%3A31.797Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.json index dc2c5ef57..1790ebdf0 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/indexed-spans?start_hr=2022-01-28T09%3A34%3A32.316Z&end_hr=2022-01-26T09%3A34%3A32.316Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.json index 3b1601ec2..05900cc87 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/indexed-spans?start_hr=2022-01-26T09%3A34%3A32.749Z&end_hr=2022-01-28T09%3A34%3A32.749Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.json index 1cbda382f..308f16672 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/ingested-spans?start_hr=2022-01-28T09%3A34%3A33.304Z&end_hr=2022-01-26T09%3A34%3A33.304Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.json index 80df9d65b..f2c2fba7e 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/ingested-spans?start_hr=2022-01-26T09%3A34%3A33.739Z&end_hr=2022-01-28T09%3A34%3A33.739Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.json index de94af88c..3efa2fb56 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/profiling?start_hr=2022-01-28T09%3A34%3A34.396Z&end_hr=2022-01-26T09%3A34%3A34.396Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.json index db376eb44..0b2743515 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/profiling?start_hr=2022-01-26T09%3A34%3A34.802Z&end_hr=2022-01-28T09%3A34%3A34.802Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.json index 9a1faa618..d1fe20788 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2022-05-05T15%3A31%3A42.562Z&end_hr=2022-05-07T15%3A31%3A42.562Z&type=mobile" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.json index 650356935..dde98f08f 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/monthly-attribution?start_month=2022-05-20T08%3A46%3A27.028Z&fields=infra_host_usage" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-specified-daily-custom-reports-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-specified-daily-custom-reports-returns-OK-response.json index fdd5bb809..0e8bab202 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-specified-daily-custom-reports-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-specified-daily-custom-reports-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/daily_custom_reports/2022-03-20" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-specified-monthly-custom-reports-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-specified-monthly-custom-reports-returns-OK-response.json index 936e1ec38..edf367e4b 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-specified-monthly-custom-reports-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-specified-monthly-custom-reports-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monthly_custom_reports/2021-05-01" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-the-list-of-available-daily-custom-reports-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-the-list-of-available-daily-custom-reports-returns-OK-response.json index 4f1185344..6fdee7e66 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-the-list-of-available-daily-custom-reports-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-the-list-of-available-daily-custom-reports-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/daily_custom_reports" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-the-list-of-available-monthly-custom-reports-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-the-list-of-available-monthly-custom-reports-returns-OK-response.json index 3ded48264..3d5c801de 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-the-list-of-available-monthly-custom-reports-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-the-list-of-available-monthly-custom-reports-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/monthly_custom_reports" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-usage-attribution-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-usage-attribution-returns-OK-response.json index 68c17eb6b..2e7d91f65 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-usage-attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-usage-attribution-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/attribution?start_month=2022-05-20T08%3A46%3A27.749Z&fields=%2A&offset=0&limit=1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/usage_metering/Paginate-Monthly-Usage-Attribution.json b/tests/scenarios/cassettes/v1/usage_metering/Paginate-Monthly-Usage-Attribution.json index e8c1aaf87..c9f3d3370 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Paginate-Monthly-Usage-Attribution.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Paginate-Monthly-Usage-Attribution.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/monthly-attribution?start_month=2022-03-26T15%3A05%3A25.629Z&fields=infra_host_usage" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/usage/monthly-attribution?next_record_id=null&start_month=2022-03-26T15%3A05%3A25.629Z&fields=infra_host_usage" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/users/Create-a-user-returns-User-created-response-test.json b/tests/scenarios/cassettes/v1/users/Create-a-user-returns-User-created-response-test.json index 575437b03..6bc66f4f5 100644 --- a/tests/scenarios/cassettes/v1/users/Create-a-user-returns-User-created-response-test.json +++ b/tests/scenarios/cassettes/v1/users/Create-a-user-returns-User-created-response-test.json @@ -6,14 +6,7 @@ "string": "{\"access_role\":\"st\",\"disabled\":false,\"email\":\"test@datadoghq.com\",\"handle\":\"test@datadoghq.com\",\"name\":\"test user\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/user" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/user/test%40datadoghq.com" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/users/Create-a-user-returns-null-access-role.json b/tests/scenarios/cassettes/v1/users/Create-a-user-returns-null-access-role.json index 1f527ffce..9ac4f1a6b 100644 --- a/tests/scenarios/cassettes/v1/users/Create-a-user-returns-null-access-role.json +++ b/tests/scenarios/cassettes/v1/users/Create-a-user-returns-null-access-role.json @@ -6,14 +6,7 @@ "string": "{\"access_role\":null,\"disabled\":false,\"email\":\"test@datadoghq.com\",\"handle\":\"test@datadoghq.com\",\"name\":\"test user\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/user" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/user/test%40datadoghq.com" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/webhooks_integration/Create-a-custom-variable-returns-OK-response.json b/tests/scenarios/cassettes/v1/webhooks_integration/Create-a-custom-variable-returns-OK-response.json index 41afab6e6..da809a1ff 100644 --- a/tests/scenarios/cassettes/v1/webhooks_integration/Create-a-custom-variable-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/webhooks_integration/Create-a-custom-variable-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"is_secret\":true,\"name\":\"TESTCREATEACUSTOMVARIABLERETURNSOKRESPONSE1652349031\",\"value\":\"CUSTOM_VARIABLE_VALUE\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/TESTCREATEACUSTOMVARIABLERETURNSOKRESPONSE1652349031" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/webhooks_integration/Create-a-webhooks-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/webhooks_integration/Create-a-webhooks-integration-returns-OK-response.json index 853fdb7a4..0626be381 100644 --- a/tests/scenarios/cassettes/v1/webhooks_integration/Create-a-webhooks-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/webhooks_integration/Create-a-webhooks-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Create_a_webhooks_integration_returns_OK_response-1652349037\",\"url\":\"https://example.com/webhook\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks/Test-Create_a_webhooks_integration_returns_OK_response-1652349037" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/webhooks_integration/Delete-a-custom-variable-returns-OK-response.json b/tests/scenarios/cassettes/v1/webhooks_integration/Delete-a-custom-variable-returns-OK-response.json index cd72a8f70..f3e9ab9cf 100644 --- a/tests/scenarios/cassettes/v1/webhooks_integration/Delete-a-custom-variable-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/webhooks_integration/Delete-a-custom-variable-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"is_secret\":false,\"name\":\"TESTDELETEACUSTOMVARIABLERETURNSOKRESPONSE1652349041\",\"value\":\"variable-value\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/TESTDELETEACUSTOMVARIABLERETURNSOKRESPONSE1652349041" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/TESTDELETEACUSTOMVARIABLERETURNSOKRESPONSE1652349041" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/webhooks_integration/Delete-a-webhook-returns-OK-response.json b/tests/scenarios/cassettes/v1/webhooks_integration/Delete-a-webhook-returns-OK-response.json index c5cd96074..081a75459 100644 --- a/tests/scenarios/cassettes/v1/webhooks_integration/Delete-a-webhook-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/webhooks_integration/Delete-a-webhook-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Delete_a_webhook_returns_OK_response-1652349047\",\"url\":\"http://example.com/webhook\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks/Test-Delete_a_webhook_returns_OK_response-1652349047" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks/Test-Delete_a_webhook_returns_OK_response-1652349047" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/webhooks_integration/Get-a-webhook-integration-returns-OK-response.json b/tests/scenarios/cassettes/v1/webhooks_integration/Get-a-webhook-integration-returns-OK-response.json index 90ab8e3fd..c71fd65a0 100644 --- a/tests/scenarios/cassettes/v1/webhooks_integration/Get-a-webhook-integration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/webhooks_integration/Get-a-webhook-integration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_a_webhook_integration_returns_OK_response-1652349051\",\"url\":\"http://example.com/webhook\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks/Test-Get_a_webhook_integration_returns_OK_response-1652349051" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks/Test-Get_a_webhook_integration_returns_OK_response-1652349051" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/webhooks_integration/Update-a-custom-variable-returns-OK-response.json b/tests/scenarios/cassettes/v1/webhooks_integration/Update-a-custom-variable-returns-OK-response.json index b024c36e0..e092415a0 100644 --- a/tests/scenarios/cassettes/v1/webhooks_integration/Update-a-custom-variable-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/webhooks_integration/Update-a-custom-variable-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"is_secret\":false,\"name\":\"TESTUPDATEACUSTOMVARIABLERETURNSOKRESPONSE1652349056\",\"value\":\"variable-value\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables" }, @@ -40,14 +33,7 @@ "string": "{\"value\":\"variable-updated\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/TESTUPDATEACUSTOMVARIABLERETURNSOKRESPONSE1652349056" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/TESTUPDATEACUSTOMVARIABLERETURNSOKRESPONSE1652349056" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v1/webhooks_integration/Update-a-webhook-returns-OK-response.json b/tests/scenarios/cassettes/v1/webhooks_integration/Update-a-webhook-returns-OK-response.json index 1de9e12d3..58f1b91d7 100644 --- a/tests/scenarios/cassettes/v1/webhooks_integration/Update-a-webhook-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/webhooks_integration/Update-a-webhook-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Update_a_webhook_returns_OK_response-1652349062\",\"url\":\"http://example.com/webhook\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks" }, @@ -40,14 +33,7 @@ "string": "{\"url\":\"https://example.com/webhook-updated\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks/Test-Update_a_webhook_returns_OK_response-1652349062" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks/Test-Update_a_webhook_returns_OK_response-1652349062" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Create-a-new-Action-Connection-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/action_connection/Create-a-new-Action-Connection-returns-Bad-Request-response.json index 3b4d9f882..86e6e6ca5 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Create-a-new-Action-Connection-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Create-a-new-Action-Connection-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"1\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection\"},\"type\":\"action_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions/connections" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Create-a-new-Action-Connection-returns-Successfully-created-Action-Connection-response.json b/tests/scenarios/cassettes/v2/action_connection/Create-a-new-Action-Connection-returns-Successfully-created-Action-Connection-response.json index dcf2bd756..9d21801db 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Create-a-new-Action-Connection-returns-Successfully-created-Action-Connection-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Create-a-new-Action-Connection-returns-Successfully-created-Action-Connection-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testcreateanewactionconnectionreturnssuccessfullycreatedactionconnectionresponse1743020699\"},\"type\":\"action_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions/connections" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions/connections/67aa2f61-266d-48d1-a1ee-cf7c3acc6b20" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-Not-Found-response.json index 9a4a25e8e..6c53ad885 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions/connections/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-Successfully-deleted-Action-Connection-response.json b/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-Successfully-deleted-Action-Connection-response.json index fd4bdfacd..d3c2daafb 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-Successfully-deleted-Action-Connection-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-Successfully-deleted-Action-Connection-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRole\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection DELETE\"},\"type\":\"action_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions/connections" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions/connections/4b60345a-85b2-4417-94b2-72a9528b4060" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions/connections/4b60345a-85b2-4417-94b2-72a9528b4060" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-The-resource-was-deleted-successfully-response.json b/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-The-resource-was-deleted-successfully-response.json index 1889040c9..beb9b37ef 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-The-resource-was-deleted-successfully-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Delete-an-existing-Action-Connection-returns-The-resource-was-deleted-successfully-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRole\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection testdeleteanexistingactionconnectionreturnstheresourcewasdeletedsuccessfullyresponse1743020700\"},\"type\":\"action_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions/connections" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions/connections/c3c3d83b-c495-4c1b-bb1d-592825d21db0" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions/connections/c3c3d83b-c495-4c1b-bb1d-592825d21db0" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Bad-Request-response.json index a4271a3f4..13c2fbe2c 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions/connections/bad-format" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Not-Found-response.json index dd8f8b7eb..45652095b 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions/connections/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Successfully-get-Action-Connection-response.json b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Successfully-get-Action-Connection-response.json index 8e15c4720..66fa566de 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Successfully-get-Action-Connection-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-Action-Connection-returns-Successfully-get-Action-Connection-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions/connections/cb460d51-3c88-4e87-adac-d47131d0423d" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-Bad-request-response.json b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-Bad-request-response.json index 2221e0028..8ed90c67c 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-Bad-request-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-Bad-request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions/app_key_registrations/not_valid_app_key_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-Not-found-response.json index afec9ed1c..13fba44ee 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions/app_key_registrations/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-OK-response.json b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-OK-response.json index 90f9ff895..7d3b2e0cc 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Get-an-existing-App-Key-Registration-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions/app_key_registrations/b7feea52-994e-4714-a100-1bd9eff5aee1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/List-App-Key-Registrations-returns-OK-response.json b/tests/scenarios/cassettes/v2/action_connection/List-App-Key-Registrations-returns-OK-response.json index 7a3c5fa4d..a060cbdf7 100644 --- a/tests/scenarios/cassettes/v2/action_connection/List-App-Key-Registrations-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/List-App-Key-Registrations-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions/app_key_registrations" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Register-a-new-App-Key-returns-Bad-request-response.json b/tests/scenarios/cassettes/v2/action_connection/Register-a-new-App-Key-returns-Bad-request-response.json index c29b9d718..47514ab98 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Register-a-new-App-Key-returns-Bad-request-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Register-a-new-App-Key-returns-Bad-request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/actions/app_key_registrations/not_valid_app_key_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Register-a-new-App-Key-returns-Created-response.json b/tests/scenarios/cassettes/v2/action_connection/Register-a-new-App-Key-returns-Created-response.json index 6346a386f..4a408526c 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Register-a-new-App-Key-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Register-a-new-App-Key-returns-Created-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/actions/app_key_registrations/b7feea52-994e-4714-a100-1bd9eff5aee1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Unregister-an-App-Key-returns-Bad-request-response.json b/tests/scenarios/cassettes/v2/action_connection/Unregister-an-App-Key-returns-Bad-request-response.json index dcfa38daf..2d0dea2f5 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Unregister-an-App-Key-returns-Bad-request-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Unregister-an-App-Key-returns-Bad-request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions/app_key_registrations/not_valid_app_key_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Unregister-an-App-Key-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/action_connection/Unregister-an-App-Key-returns-Not-found-response.json index e04d39865..2c7704eb8 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Unregister-an-App-Key-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Unregister-an-App-Key-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions/app_key_registrations/57cc69ae-9214-4ecc-8df8-43ecc1d92d99" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Bad-Request-response.json index 6d4a0b691..bd1951efc 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"1\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection\"},\"type\":\"action_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions/connections/cb460d51-3c88-4e87-adac-d47131d0423d" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Not-Found-response.json index 22a1e1c53..c3ac98b45 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection\"},\"type\":\"action_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions/connections/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Successfully-updated-Action-Connection-response.json b/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Successfully-updated-Action-Connection-response.json index 644634726..227e454ae 100644 --- a/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Successfully-updated-Action-Connection-response.json +++ b/tests/scenarios/cassettes/v2/action_connection/Update-an-existing-Action-Connection-returns-Successfully-updated-Action-Connection-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"integration\":{\"credentials\":{\"account_id\":\"123456789123\",\"role\":\"MyRoleUpdated\",\"type\":\"AWSAssumeRole\"},\"type\":\"AWS\"},\"name\":\"Cassette Connection\"},\"type\":\"action_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions/connections/cb460d51-3c88-4e87-adac-d47131d0423d" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-Bad-Request-response.json index 577c25636..2e3abaf5b 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"item_keys\":[]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/2b088869-d596-4103-9cff-038b5f81fc0c/items/bulk" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/2b088869-d596-4103-9cff-038b5f81fc0c" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-Not-Found-response.json index b82569c2f..ac6fd305d 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"item_keys\":[\"nonexistent\"]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/c1eb5bb8-726a-4e59-9a61-ccbb26f95329/items/bulk" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-OK-response.json index 10d4448fb..c844f9c94 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-delete-datastore-items-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conflict_mode\":\"fail_on_conflict\",\"values\":[{\"data\":\"test-value\",\"id\":\"test-key\"}]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/c6bc5eee-04af-4d7e-97a5-57c9c4dc0b15/items/bulk" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"item_keys\":[\"test-key\"]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/c6bc5eee-04af-4d7e-97a5-57c9c4dc0b15/items/bulk" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/c6bc5eee-04af-4d7e-97a5-57c9c4dc0b15" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-Bad-Request-response.json index e2f9b0cd5..8d2ec1149 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"values\":[{\"id\":\"cust_3141\",\"name\":\"Johnathan\"},{\"badPrimaryKey\":\"key2\",\"name\":\"Johnathan\"}]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/226df00a-c52e-41cd-9067-2b8c2b18649d/items/bulk" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/226df00a-c52e-41cd-9067-2b8c2b18649d" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-Not-Found-response.json index cb7d0bf95..dd6c92e48 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"values\":[{\"id\":\"cust_3141\",\"name\":\"Johnathan\"},{\"id\":\"cust_3142\",\"name\":\"Mary\"}]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/70b87c26-886f-497a-bd9d-09f53bc9b40c/items/bulk" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-OK-response.json index 90212c0a2..7dee67a3c 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Bulk-write-datastore-items-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"values\":[{\"id\":\"cust_3141\",\"name\":\"Johnathan\"},{\"id\":\"cust_3142\",\"name\":\"Mary\"}]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/6c0dbbfd-a905-4f79-9c2f-16cb4d9a56a7/items/bulk" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/6c0dbbfd-a905-4f79-9c2f-16cb4d9a56a7" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Create-datastore-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Create-datastore-returns-Bad-Request-response.json index feffe26ad..064f02ea0 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Create-datastore-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Create-datastore-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"datastore-name\",\"primary_column_name\":\"0invalid_key\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Create-datastore-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Create-datastore-returns-OK-response.json index 981d598dc..4cdf25570 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Create-datastore-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Create-datastore-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"datastore-name\",\"primary_column_name\":\"primaryKey\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/040e45f8-b354-4817-8c01-e5d2bb8aa55d" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-Bad-Request-response.json index fb2b8d872..a21799220 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"item_key\":\"primaryKey\"},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/invalid-uuid/items" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-Not-Found-response.json index 8669a8bbc..53dd4f749 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"item_key\":\"primaryKey\"},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/70b87c26-886f-497a-bd9d-09f53bc9b40c/items" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-OK-response.json index 8a8dd7320..4e30cbeb2 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-item-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conflict_mode\":\"fail_on_conflict\",\"values\":[{\"data\":\"test-value\",\"id\":\"test-key\"}]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/ad9cc3b7-da9b-452d-8eab-a1e0a0a4e3d8/items/bulk" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"item_key\":\"test-key\"},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/ad9cc3b7-da9b-452d-8eab-a1e0a0a4e3d8/items" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/ad9cc3b7-da9b-452d-8eab-a1e0a0a4e3d8" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-returns-Bad-Request-response.json index 016acc6eb..687296404 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/invalid-uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-returns-OK-response.json index 39dc54420..a892e0f6c 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Delete-datastore-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/8185f4a4-6cf6-4fde-a705-e248effe50fc" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/8185f4a4-6cf6-4fde-a705-e248effe50fc" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-Bad-Request-response.json index 8425616a7..dc6164ef1 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/invalid-uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-Not-Found-response.json index 2b0bbf636..e769b703b 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/5bf53b3f-b230-4b35-ab1a-b39f2633eb22" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-OK-response.json index 32049748f..7b74d4d44 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Get-datastore-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/b06309e7-b4e9-4edb-a494-e5dd27d9525f" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/b06309e7-b4e9-4edb-a494-e5dd27d9525f" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-Bad-Request-response.json index cb6599f6c..196c38dc2 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/invalid-uuid/items" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-Not-Found-response.json index 973aef3cb..7b3b7067c 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/3cfdd0b8-c490-4969-8d51-69add64a70ea/items" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-OK-response.json index 5b3510487..252e67f6e 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/List-datastore-items-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conflict_mode\":\"fail_on_conflict\",\"values\":[{\"data\":\"test-value\",\"id\":\"test-key\"}]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/edfe7784-570c-4984-a4ae-883642b561d8/items/bulk" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/edfe7784-570c-4984-a4ae-883642b561d8/items" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/edfe7784-570c-4984-a4ae-883642b561d8" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/List-datastores-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/List-datastores-returns-OK-response.json index cb8562edb..ec4ecc191 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/List-datastores-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/List-datastores-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-Bad-Request-response.json index 1977906d3..66b5a3a23 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"item_changes\":{},\"item_key\":\"\"},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/invalid-uuid/items" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-Not-Found-response.json index a5525a873..f57d338e5 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"item_changes\":{},\"item_key\":\"itemKey\"},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/3cfdd0b8-c490-4969-8d51-69add64a70ea/items" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-OK-response.json index ac5b405b3..d99b304b4 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-item-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conflict_mode\":\"fail_on_conflict\",\"values\":[{\"data\":\"test-value\",\"id\":\"test-key\"}]},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/6d5556c8-04d7-45dc-9a08-cd671c4e519a/items/bulk" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"item_changes\":{},\"item_key\":\"test-key\"},\"type\":\"items\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/6d5556c8-04d7-45dc-9a08-cd671c4e519a/items" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/6d5556c8-04d7-45dc-9a08-cd671c4e519a" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-Bad-Request-response.json index 5e116bd62..ff9c83fc9 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{},\"id\":\"invalid-uuid\",\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/invalid-uuid" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-Not-Found-response.json index 306d1c4ab..bc70d4b47 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"updated name\"},\"id\":\"c1eb5bb8-726a-4e59-9a61-ccbb26f95329\",\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/c1eb5bb8-726a-4e59-9a61-ccbb26f95329" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-OK-response.json b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-OK-response.json index a54435bae..53be41c83 100644 --- a/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/actions_datastores/Update-datastore-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"\",\"name\":\"Test Datastore\",\"org_access\":\"contributor\",\"primary_column_name\":\"id\",\"primary_key_generation_strategy\":\"none\"},\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/actions-datastores" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"updated name\"},\"id\":\"785f6031-19e8-4dda-8ccc-f4e700ae5c99\",\"type\":\"datastores\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/785f6031-19e8-4dda-8ccc-f4e700ae5c99" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/actions-datastores/785f6031-19e8-4dda-8ccc-f4e700ae5c99" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-on-demand-task-returns-AWS-on-demand-task-created-successfully-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-on-demand-task-returns-AWS-on-demand-task-created-successfully-response.json index 5a3d3d7b1..afc2f6613 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-on-demand-task-returns-AWS-on-demand-task-created-successfully-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-on-demand-task-returns-AWS-on-demand-task-created-successfully-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"arn\":\"arn:aws:lambda:us-west-2:123456789012:function:my-function\"},\"type\":\"aws_resource\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-on-demand-task-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-on-demand-task-returns-Bad-Request-response.json index 31b719a7e..3b0b6dcc4 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-on-demand-task-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-on-demand-task-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"arn\":\"invalid-arn\"},\"type\":\"aws_resource\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.json index 5c58c3a53..bc35821df 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-scan-options-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":true,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"123\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.json index 49524ca6a..318c0f92f 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Create-AWS-scan-options-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":false,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000002\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-Azure-scan-options-returns-Created-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Create-Azure-scan-options-returns-Created-response.json index 883ddff97..e88718da7 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-Azure-scan-options-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Create-Azure-scan-options-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"12345678-90ab-cdef-1234-567890abcdef\",\"type\":\"azure_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/azure" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/azure/12345678-90ab-cdef-1234-567890abcdef" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Agentless-scan-options-enabled-successfully-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Agentless-scan-options-enabled-successfully-response.json index 7e541bab4..1fd5d3655 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Agentless-scan-options-enabled-successfully-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Agentless-scan-options-enabled-successfully-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"new-project\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/new-project" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Bad-Request-response.json index 881a2cd34..dadf652a2 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"no\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Conflict-response.json index 44fbe3396..5c1f2adfc 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Create-GCP-scan-options-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"api-spec-test\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-scan-options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-scan-options-returns-Bad-Request-response.json index 610145f3d..843f41579 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-scan-options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-scan-options-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/incorrectId" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-scan-options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-scan-options-returns-Not-Found-response.json index 88d4f62fc..cb95ac54a 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-scan-options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-scan-options-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000005" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-scan-options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-scan-options-returns-Bad-Request-response.json index f593e091b..7aad5cc29 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-scan-options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-scan-options-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/no" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-scan-options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-scan-options-returns-Not-Found-response.json index 3d5b1e814..175d9aa6e 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-scan-options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-scan-options-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/nonexistent-project-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-Bad-Request-response.json index aaae369ad..f0009645a 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws/invalid-uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-Not-Found-response.json index 3806cb492..01f4e90d1 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws/00000000-0000-0000-824a-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-OK-response.json index 669168f13..e8a77973d 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-task-by-id-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws/63d6b4f5-e5d0-4d90-824a-9580f05f026a" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-tasks-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-tasks-returns-OK-response.json index fa7e46ea0..ee3c7a2c8 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-tasks-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-On-Demand-tasks-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-Bad-Request-response.json index 4ff8fb01f..12d0aec18 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws/invalid-uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-Not-Found-response.json index 601317aee..a0e84a074 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws/00000000-0000-0000-824a-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-OK-response.json index ae37588c5..653a4670e 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-on-demand-task-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws/63d6b4f5-e5d0-4d90-824a-9580f05f026a" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-Bad-Request-response.json index 8e8028b34..64d5c6623 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/not-an-account-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-Not-Found-response.json index 3eba06979..0f36837fd 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/404404404404" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-OK-response.json index 7a1117cd7..6386b7161 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-AWS-scan-options-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000002" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-Azure-scan-options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-Azure-scan-options-returns-Bad-Request-response.json index aba5bfbd1..2c845bc69 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-Azure-scan-options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-Azure-scan-options-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/azure/invalid%20uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-Azure-scan-options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-Azure-scan-options-returns-Not-Found-response.json index 716a7c3ef..83f14ce99 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-Azure-scan-options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-Azure-scan-options-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/azure/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-Bad-Request-response.json index 0809e3c0b..7d0d75ff2 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/no" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-Not-Found-response.json index baaa00d1c..c99ba9e9b 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/nonexistent-project-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-OK-response.json index 3e757e1ed..3111239e7 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Get-GCP-scan-options-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/api-spec-test" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-on-demand-tasks-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-on-demand-tasks-returns-OK-response.json index f23864b92..12e36ba0d 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-on-demand-tasks-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-on-demand-tasks-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-scan-options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-scan-options-returns-OK-response.json index 6ed5ce557..46faf5f06 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-scan-options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-scan-options-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/List-Azure-scan-options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/List-Azure-scan-options-returns-OK-response.json index 79ca48459..e16744bec 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-Azure-scan-options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/List-Azure-scan-options-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/azure" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/List-GCP-scan-options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/List-GCP-scan-options-returns-OK-response.json index 599c11e66..08903633b 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-GCP-scan-options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/List-GCP-scan-options-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Bad-Request-response-2.json b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Bad-Request-response-2.json index 8c9940d8f..571697635 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Bad-Request-response-2.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Bad-Request-response-2.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000005\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000003" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Bad-Request-response.json index d02532bf2..3d138184a 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Bad-Request-response.json @@ -3,14 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000003" }, @@ -33,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-No-Content-response.json index 033cf4d01..9b6483ea9 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000002\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000002" }, @@ -32,4 +25,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Not-Found-response.json index 5bac08362..17fed4af7 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000005\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000005" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-OK-response.json index ed1c22f1c..ede042cd7 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-AWS-Scan-Options-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000002\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000002" }, @@ -32,4 +25,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-Bad-Request-response.json index 936f69abe..8453c64d1 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"different-project-id\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/no" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-Not-Found-response.json index 364e70e5a..ada8c96de 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"nonexistent-project-id\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/nonexistent-project-id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-OK-response.json index 4965cd11e..0bcdd1b5e 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Patch-GCP-Scan-Options-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":false},\"id\":\"api-spec-test\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/api-spec-test" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Agentless-scan-options-enabled-successfully-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Agentless-scan-options-enabled-successfully-response.json index 3f944ea53..f93adb51a 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Agentless-scan-options-enabled-successfully-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Agentless-scan-options-enabled-successfully-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000003\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000003" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Bad-Request-response.json index 661e460e0..447ebb908 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":true,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"123\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Conflict-response.json index d9922a1ec..28bd65bcd 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":false,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000002\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-OK-response.json index 52854ea27..3e6f48ff3 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-AWS-Scan-Options-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":true,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000003\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000003" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Agentless-scan-options-enabled-successfully-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Agentless-scan-options-enabled-successfully-response.json index 25e73528f..4709eeb7b 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Agentless-scan-options-enabled-successfully-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Agentless-scan-options-enabled-successfully-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"new-project\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/new-project" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Bad-Request-response.json index f75981aa5..e4f782d6e 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"no\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Conflict-response.json index 0a6d4d467..00cf9db3f 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-GCP-Scan-Options-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"api-spec-test\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-an-AWS-on-demand-task-returns-AWS-on-demand-task-created-successfully-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-an-AWS-on-demand-task-returns-AWS-on-demand-task-created-successfully-response.json index 774313c51..bf91c5817 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-an-AWS-on-demand-task-returns-AWS-on-demand-task-created-successfully-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-an-AWS-on-demand-task-returns-AWS-on-demand-task-created-successfully-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"arn\":\"arn:aws:lambda:us-west-2:123456789012:function:my-function\"},\"type\":\"aws_resource\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Post-an-AWS-on-demand-task-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Post-an-AWS-on-demand-task-returns-Bad-Request-response.json index 0141dc423..b8cf39ac9 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Post-an-AWS-on-demand-task-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Post-an-AWS-on-demand-task-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"arn\":\"invalid-arn\"},\"type\":\"aws_resource\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-Bad-Request-response-2.json b/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-Bad-Request-response-2.json index f600c3e11..26c940141 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-Bad-Request-response-2.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-Bad-Request-response-2.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000005\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000003" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-No-Content-response.json index bd80f3065..85ed4cb3e 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"lambda\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000002\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000002" }, @@ -32,4 +25,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-Not-Found-response.json index f19a03717..81d91cebe 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Update-AWS-scan-options-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"000000000005\",\"type\":\"aws_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000005" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-Bad-Request-response.json index e55d49d5b..62ebda3bb 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"different-project-id\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/no" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-Not-Found-response.json index 25205089c..7fd2cd2ac 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"nonexistent-project-id\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/nonexistent-project-id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-OK-response.json b/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-OK-response.json index 1118f7576..2da20bdaf 100644 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/agentless_scanning/Update-GCP-scan-options-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"vuln_containers_os\":false},\"id\":\"api-spec-test\",\"type\":\"gcp_scan_options\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/api-spec-test" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-default-retention-filter-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-default-retention-filter-returns-Bad-Request-response.json index ce34d6f5b..0829c48d9 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-default-retention-filter-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-default-retention-filter-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@http.status_code:200 service:my-service\"},\"filter_type\":\"spans-errors-sampling-processor\",\"name\":\"my retention filter\",\"rate\":1},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-returns-Bad-Request-response.json index c2466b0a0..78131e632 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@http.status_code:200 service:my-service\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"my retention filter\",\"rate\":2},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-returns-OK-response.json index 6badc7817..40f00d89d 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@http.status_code:200 service:my-service\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"my retention filter\",\"rate\":1},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/x1aRVkAVQN2CBx1ghs4xDQ" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-with-trace-rate-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-with-trace-rate-returns-OK-response.json index 07ef048b2..949c0e9ac 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-with-trace-rate-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Create-a-retention-filter-with-trace-rate-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@http.status_code:200 service:my-service\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"my retention filter\",\"rate\":1,\"trace_rate\":1},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/QAtIbDKzQmCnHSvQde-VWw" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Delete-a-retention-filter-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Delete-a-retention-filter-returns-Not-Found-response.json index 4c83b0b2f..cb6a97834 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Delete-a-retention-filter-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Delete-a-retention-filter-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/not_found" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Delete-a-retention-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Delete-a-retention-filter-returns-OK-response.json index 71dc5e4d0..ddaca2de2 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Delete-a-retention-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Delete-a-retention-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"demo retention filter\",\"rate\":0.9},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/ZHyaGYKyQNO4nNxGqIxrdg" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/ZHyaGYKyQNO4nNxGqIxrdg" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Get-a-given-APM-retention-filter-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Get-a-given-APM-retention-filter-returns-Not-Found-response.json index 361a65151..86e225ccb 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Get-a-given-APM-retention-filter-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Get-a-given-APM-retention-filter-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/REPLACE.ME" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Get-a-given-APM-retention-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Get-a-given-APM-retention-filter-returns-OK-response.json index f607cd34f..913153d44 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Get-a-given-APM-retention-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Get-a-given-APM-retention-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"demo retention filter\",\"rate\":0.9},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/IbsDnxY0SC-Wuz4g82UZ2w" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/IbsDnxY0SC-Wuz4g82UZ2w" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/List-all-APM-retention-filters-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/List-all-APM-retention-filters-returns-OK-response.json index e4dd9dc71..e154f4ebb 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/List-all-APM-retention-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/List-all-APM-retention-filters-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"demo retention filter\",\"rate\":0.9},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/WvrVucoORM6ZPyIkbmOrCg" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Re-order-retention-filters-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Re-order-retention-filters-returns-OK-response.json index a7ef40df4..11a6fbd24 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Re-order-retention-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Re-order-retention-filters-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"id\":\"jdZrilSJQLqzb6Cu7aub9Q\",\"type\":\"apm_retention_filter\"},{\"id\":\"7RBOb7dLSYWI01yc3pIH8w\",\"type\":\"apm_retention_filter\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters-execution-order" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-Bad-Request-response.json index 9f628a130..ad913ea8f 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"demo retention filter\",\"rate\":0.9},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"test\",\"rate\":1.9},\"id\":\"test-id\",\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/JL7QU9ejR-C6t9rXeyHrIg" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/JL7QU9ejR-C6t9rXeyHrIg" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-Not-Found-response.json index 86727e35c..5172e3f0b 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"test\",\"rate\":0.9},\"id\":\"not_found\",\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/not_found" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-OK-response.json index 6c5cca12e..4c342ba7c 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"demo retention filter\",\"rate\":0.9},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"test\",\"rate\":0.9},\"id\":\"test-id\",\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/9GCsJn-gSde5fIBpwk1P0g" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/9GCsJn-gSde5fIBpwk1P0g" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-with-trace-rate-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-with-trace-rate-returns-OK-response.json index f1257fe47..f823573bd 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-with-trace-rate-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filter-with-trace-rate-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"demo retention filter\",\"rate\":0.9},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"test\",\"rate\":0.9,\"trace_rate\":1},\"id\":\"test-id\",\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/yf41wyfPQ0m1RWfI9mYMLw" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/yf41wyfPQ0m1RWfI9mYMLw" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-Bad-Request-response.json index e1b6b7601..bff331de2 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"demo retention filter\",\"rate\":0.9},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"test\",\"rate\":1.9},\"id\":\"test-id\",\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/7-OGpPS-SvyZKxEt0p01kA" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/7-OGpPS-SvyZKxEt0p01kA" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-Not-Found-response.json index 550e349c3..aa459c627 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"test\",\"rate\":0.9},\"id\":\"not_found\",\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/not_found" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-OK-response.json b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-OK-response.json index d1ff79b75..efc49931f 100644 --- a/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/apm_retention_filters/Update-a-retention-filters-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"demo retention filter\",\"rate\":0.9},\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@_top_level:1 test:service-demo\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"test\",\"rate\":0.9},\"id\":\"test-id\",\"type\":\"apm_retention_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/CDqOdN7wRGahYAPVsdAvfw" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/CDqOdN7wRGahYAPVsdAvfw" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Create-App-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/app_builder/Create-App-returns-Bad-Request-response.json index e910e1533..36b9445fe 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Create-App-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Create-App-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"This is a bad example app\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Create-App-returns-Created-response.json b/tests/scenarios/cassettes/v2/app_builder/Create-App-returns-Created-response.json index d5a2ac238..363ce416d 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Create-App-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Create-App-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/b6becff0-4703-4724-b92a-1445df194b75" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Delete-App-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/app_builder/Delete-App-returns-Not-Found-response.json index e19e224b1..81d5a494e 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Delete-App-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Delete-App-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Delete-App-returns-OK-response.json b/tests/scenarios/cassettes/v2/app_builder/Delete-App-returns-OK-response.json index 19eb1b2bb..39b99ea8f 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Delete-App-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Delete-App-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/de4f1fa8-bd84-4d67-a245-507a500f12e1" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/de4f1fa8-bd84-4d67-a245-507a500f12e1" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Delete-Multiple-Apps-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/app_builder/Delete-Multiple-Apps-returns-Not-Found-response.json index 011bf40ed..fcc0cc33a 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Delete-Multiple-Apps-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Delete-Multiple-Apps-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"id\":\"aea2ed17-b45f-40d0-ba59-c86b7972c901\",\"type\":\"appDefinitions\"},{\"id\":\"f69bb8be-6168-4fe7-a30d-370256b6504a\",\"type\":\"appDefinitions\"},{\"id\":\"ab1ed73e-13ad-4426-b0df-a0ff8876a088\",\"type\":\"appDefinitions\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Delete-Multiple-Apps-returns-OK-response.json b/tests/scenarios/cassettes/v2/app_builder/Delete-Multiple-Apps-returns-OK-response.json index 42454967c..1acecce2b 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Delete-Multiple-Apps-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Delete-Multiple-Apps-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -40,14 +33,7 @@ "string": "{\"data\":[{\"id\":\"f33597bb-5c91-497c-ba26-68b7493905c0\",\"type\":\"appDefinitions\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/f33597bb-5c91-497c-ba26-68b7493905c0" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-Gone-response.json b/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-Gone-response.json index deeeeb86c..68086c917 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-Gone-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-Gone-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/84b262f9-ae08-4be9-9050-93ff89ccd474?version=31" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/84b262f9-ae08-4be9-9050-93ff89ccd474" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-Not-Found-response.json index e6600ca0d..c9022a11f 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-OK-response.json b/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-OK-response.json index eb280c80d..8f1d19835 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Get-App-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/55b4bd3f-a1e9-4595-95c8-ef3741481b97" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/55b4bd3f-a1e9-4595-95c8-ef3741481b97" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/List-Apps-returns-OK-response.json b/tests/scenarios/cassettes/v2/app_builder/List-Apps-returns-OK-response.json index 9a61ca683..fbcfb1530 100644 --- a/tests/scenarios/cassettes/v2/app_builder/List-Apps-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/List-Apps-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Publish-App-returns-Created-response.json b/tests/scenarios/cassettes/v2/app_builder/Publish-App-returns-Created-response.json index d4c7eedb4..782756ac7 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Publish-App-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Publish-App-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/5677160c-03ea-41cf-b9cb-1dabc7904656/deployment" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/5677160c-03ea-41cf-b9cb-1dabc7904656" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Publish-App-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/app_builder/Publish-App-returns-Not-Found-response.json index 9d9bc3444..673cf43a3 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Publish-App-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Publish-App-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/deployment" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Unpublish-App-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/app_builder/Unpublish-App-returns-Not-Found-response.json index e5d589790..b228a2536 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Unpublish-App-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Unpublish-App-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/deployment" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Unpublish-App-returns-OK-response.json b/tests/scenarios/cassettes/v2/app_builder/Unpublish-App-returns-OK-response.json index f34621bc4..1ea535b1e 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Unpublish-App-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Unpublish-App-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/24628726-cdf1-45e6-9e05-6e73d7612d3f/deployment" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/24628726-cdf1-45e6-9e05-6e73d7612d3f" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Update-App-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/app_builder/Update-App-returns-Bad-Request-response.json index ebf5bbe95..16e2a1580 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Update-App-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Update-App-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"rootInstanceName\":\"\"},\"id\":\"28f5b1d6-f416-46b5-8cc4-94ae094c97f4\",\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/28f5b1d6-f416-46b5-8cc4-94ae094c97f4" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/28f5b1d6-f416-46b5-8cc4-94ae094c97f4" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/app_builder/Update-App-returns-OK-response.json b/tests/scenarios/cassettes/v2/app_builder/Update-App-returns-OK-response.json index e24da0637..d1ffc9353 100644 --- a/tests/scenarios/cassettes/v2/app_builder/Update-App-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/app_builder/Update-App-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Updated Name\",\"rootInstanceName\":\"grid0\"},\"id\":\"9f9a2053-6156-471b-aca8-2fa6ec87f797\",\"type\":\"appDefinitions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/9f9a2053-6156-471b-aca8-2fa6ec87f797" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/app-builder/apps/9f9a2053-6156-471b-aca8-2fa6ec87f797" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Create-a-WAF-exclusion-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/application_security/Create-a-WAF-exclusion-filter-returns-OK-response.json index 41261be38..7d84ca672 100644 --- a/tests/scenarios/cassettes/v2/application_security/Create-a-WAF-exclusion-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Create-a-WAF-exclusion-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Exclude false positives on a path\",\"enabled\":true,\"parameters\":[\"list.search.query\"],\"path_glob\":\"/accounts/*\",\"rules_target\":[{\"tags\":{\"category\":\"attack_attempt\",\"type\":\"lfi\"}}],\"scope\":[{\"env\":\"www\",\"service\":\"prod\"}]},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/662e28c3-e4fe-42c8-bc93-79b73cd04d48" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Create-a-legacy-WAF-exclusion-filter-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/application_security/Create-a-legacy-WAF-exclusion-filter-returns-Bad-Request-response.json index 4e4cda501..3d2a39fb0 100644 --- a/tests/scenarios/cassettes/v2/application_security/Create-a-legacy-WAF-exclusion-filter-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Create-a-legacy-WAF-exclusion-filter-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Exclude false positives on a path\",\"enabled\":true,\"event_query\":\"test:1\"},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Delete-a-WAF-exclusion-filter-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/application_security/Delete-a-WAF-exclusion-filter-returns-Not-Found-response.json index 5306c045d..84707a3b1 100644 --- a/tests/scenarios/cassettes/v2/application_security/Delete-a-WAF-exclusion-filter-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Delete-a-WAF-exclusion-filter-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/unknown" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Delete-a-WAF-exclusion-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/application_security/Delete-a-WAF-exclusion-filter-returns-OK-response.json index 77db28192..dab2a2a25 100644 --- a/tests/scenarios/cassettes/v2/application_security/Delete-a-WAF-exclusion-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Delete-a-WAF-exclusion-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Exclusion Filter\",\"enabled\":true,\"parameters\":[\"list.search.query\"],\"path_glob\":\"*\",\"rules_target\":[{\"tags\":{\"category\":\"attack_attempt\",\"type\":\"xss\"}}],\"scope\":[{\"env\":\"staging\",\"service\":\"event-query\"}]},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/da282618-ff1f-41ed-9f79-947817641a02" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/da282618-ff1f-41ed-9f79-947817641a02" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Get-a-WAF-exclusion-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/application_security/Get-a-WAF-exclusion-filter-returns-OK-response.json index 1fe37619e..e825a2905 100644 --- a/tests/scenarios/cassettes/v2/application_security/Get-a-WAF-exclusion-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Get-a-WAF-exclusion-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Exclusion Filter\",\"enabled\":true,\"parameters\":[\"list.search.query\"],\"path_glob\":\"*\",\"rules_target\":[{\"tags\":{\"category\":\"attack_attempt\",\"type\":\"xss\"}}],\"scope\":[{\"env\":\"staging\",\"service\":\"event-query\"}]},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/6f9d3e8a-b867-4d11-9164-48cd8eb517d3" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/6f9d3e8a-b867-4d11-9164-48cd8eb517d3" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/List-all-WAF-custom-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/application_security/List-all-WAF-custom-rules-returns-OK-response.json index 5212bd180..e2c8efffb 100644 --- a/tests/scenarios/cassettes/v2/application_security/List-all-WAF-custom-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/application_security/List-all-WAF-custom-rules-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/List-all-WAF-exclusion-filters-returns-OK-response.json b/tests/scenarios/cassettes/v2/application_security/List-all-WAF-exclusion-filters-returns-OK-response.json index 7807966b4..b81cb76cf 100644 --- a/tests/scenarios/cassettes/v2/application_security/List-all-WAF-exclusion-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/application_security/List-all-WAF-exclusion-filters-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-Custom-Rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-Custom-Rule-returns-Bad-Request-response.json index 82d0f11d0..774bbbb64 100644 --- a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-Custom-Rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-Custom-Rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"blocking\":false,\"conditions\":[{\"operator\":\"match_regex\",\"parameters\":{\"inputs\":[{\"address\":\"server.request.query\",\"key_path\":[\"id\"]}],\"regex\":\"badactor\"}}],\"enabled\":true,\"name\":\"test\",\"path_glob\":\"/test\",\"scope\":[{\"env\":\"test\",\"service\":\"test\"}],\"tags\":{\"category\":\"attack_attempt\",\"type\":\"test\"}},\"type\":\"custom_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"blocking\":false,\"conditions\":[{\"operator\":\"match_regex\",\"parameters\":{\"inputs\":[{\"address\":\"server.request.query\",\"key_path\":[\"id\"]}],\"regex\":\"\\\\\"}}],\"enabled\":false,\"name\":\"test\",\"path_glob\":\"/test\",\"scope\":[{\"env\":\"test\",\"service\":\"test\"}],\"tags\":{\"category\":\"attack_attempt\",\"type\":\"test\"}},\"type\":\"custom_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules/23343b96-cbde-4029-aad6-09d0fcbf2067" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules/23343b96-cbde-4029-aad6-09d0fcbf2067" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-Custom-Rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-Custom-Rule-returns-OK-response.json index 4d6bf51cb..d8e0af9ca 100644 --- a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-Custom-Rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-Custom-Rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"blocking\":false,\"conditions\":[{\"operator\":\"match_regex\",\"parameters\":{\"inputs\":[{\"address\":\"server.request.query\",\"key_path\":[\"id\"]}],\"regex\":\"badactor\"}}],\"enabled\":true,\"name\":\"test\",\"path_glob\":\"/test\",\"scope\":[{\"env\":\"test\",\"service\":\"test\"}],\"tags\":{\"category\":\"attack_attempt\",\"type\":\"test\"}},\"type\":\"custom_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"blocking\":false,\"conditions\":[{\"operator\":\"match_regex\",\"parameters\":{\"inputs\":[{\"address\":\"server.request.query\",\"key_path\":[\"id\"]}],\"regex\":\"badactor\"}}],\"enabled\":false,\"name\":\"test\",\"path_glob\":\"/test\",\"scope\":[{\"env\":\"test\",\"service\":\"test\"}],\"tags\":{\"category\":\"attack_attempt\",\"type\":\"test\"}},\"type\":\"custom_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules/cc8931e2-df6b-43ec-b132-ac2b7ed217e9" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules/cc8931e2-df6b-43ec-b132-ac2b7ed217e9" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-Bad-Request-response.json index 84d86d9bd..f01fe8219 100644 --- a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"blocking\":false,\"conditions\":[{\"operator\":\"match_regex\",\"parameters\":{\"inputs\":[{\"address\":\"server.request.query\",\"key_path\":[\"id\"]}],\"regex\":\"badactor\"}}],\"enabled\":true,\"name\":\"test\",\"path_glob\":\"/test\",\"scope\":[{\"env\":\"test\",\"service\":\"test\"}],\"tags\":{\"category\":\"attack_attempt\",\"type\":\"test\"}},\"type\":\"custom_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Exclude false positives on a path\",\"enabled\":false,\"ip_list\":[\"198.51.100.72\"],\"on_match\":\"monitor\",\"parameters\":[\"list.search.query\"],\"path_glob\":\"/accounts/*\",\"rules_target\":[{\"rule_id\":\"dog-913-009\",\"tags\":{\"category\":\"attack_attempt\",\"type\":\"lfi\"}}],\"scope\":[{\"env\":\"www\",\"service\":\"prod\"}]},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/c72e76c1-ddf7-49bb-b7a2-0b178c16a987" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/custom_rules/c72e76c1-ddf7-49bb-b7a2-0b178c16a987" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-Not-Found-response.json index c33af03a0..849286602 100644 --- a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Exclude false positives on a path\",\"enabled\":true,\"parameters\":[\"list.search.query\"],\"path_glob\":\"/accounts/*\",\"rules_target\":[{\"rule_id\":\"dog-913-009\",\"tags\":{\"category\":\"attack_attempt\",\"type\":\"lfi\"}}],\"scope\":[{\"env\":\"www\",\"service\":\"prod\"}]},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/unknown" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-OK-response.json index 8bf077e5a..d72af02ca 100644 --- a/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Update-a-WAF-exclusion-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Exclusion Filter\",\"enabled\":true,\"parameters\":[\"list.search.query\"],\"path_glob\":\"*\",\"rules_target\":[{\"tags\":{\"category\":\"attack_attempt\",\"type\":\"xss\"}}],\"scope\":[{\"env\":\"staging\",\"service\":\"event-query\"}]},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Exclude false positives on a path\",\"enabled\":false,\"ip_list\":[\"198.51.100.72\"],\"on_match\":\"monitor\"},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/05b2e632-332e-4c58-947c-40e5c9f22314" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/05b2e632-332e-4c58-947c-40e5c9f22314" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/application_security/Update-a-legacy-WAF-exclusion-filter-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/application_security/Update-a-legacy-WAF-exclusion-filter-returns-Bad-Request-response.json index c5b729994..23b858f75 100644 --- a/tests/scenarios/cassettes/v2/application_security/Update-a-legacy-WAF-exclusion-filter-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/application_security/Update-a-legacy-WAF-exclusion-filter-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Exclusion Filter\",\"enabled\":true,\"parameters\":[\"list.search.query\"],\"path_glob\":\"*\",\"rules_target\":[{\"tags\":{\"category\":\"attack_attempt\",\"type\":\"xss\"}}],\"scope\":[{\"env\":\"staging\",\"service\":\"event-query\"}]},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Exclude false positives on a path\",\"enabled\":true,\"event_query\":\"test:1\"},\"type\":\"exclusion_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/bd04e3ac-9f29-4a66-976f-2f409477a329" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/asm/waf/exclusion_filters/bd04e3ac-9f29-4a66-976f-2f409477a329" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/audit/Get-a-list-of-Audit-Logs-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/audit/Get-a-list-of-Audit-Logs-events-returns-OK-response-with-pagination.json index 3e046ecf7..7d54b43cd 100644 --- a/tests/scenarios/cassettes/v2/audit/Get-a-list-of-Audit-Logs-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/audit/Get-a-list-of-Audit-Logs-events-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/audit/events?page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/audit/events?page%5Blimit%5D=2&page%5Bcursor%5D=eyJhZnRlciI6IkFRQUFBWUFpUWhuWTNTSHVVUUFBQUFCQldVRnBVV2h4UmtGQlEwczJhSGMyTWtoNGNuUjNRVUUifQ" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/audit/Get-a-list-of-Audit-Logs-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/audit/Get-a-list-of-Audit-Logs-events-returns-OK-response.json index 3dc71d3eb..77c40302f 100644 --- a/tests/scenarios/cassettes/v2/audit/Get-a-list-of-Audit-Logs-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/audit/Get-a-list-of-Audit-Logs-events-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/audit/events" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/audit/Search-Audit-Logs-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/audit/Search-Audit-Logs-events-returns-OK-response-with-pagination.json index eab00deb7..564725f60 100644 --- a/tests/scenarios/cassettes/v2/audit/Search-Audit-Logs-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/audit/Search-Audit-Logs-events-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/audit/events/search" }, @@ -40,14 +33,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWUFpT2hZV1JxeFgzUUFBQUFCQldVRnBUMmh2VFVGQlFrczVOa2wwVFZKVFYycEJRVUUifQ\",\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/audit/events/search" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/audit/Search-Audit-Logs-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/audit/Search-Audit-Logs-events-returns-OK-response.json index 26e569948..d5d5684eb 100644 --- a/tests/scenarios/cassettes/v2/audit/Search-Audit-Logs-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/audit/Search-Audit-Logs-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@type:session AND @session.type:user\",\"to\":\"now\"},\"options\":{\"time_offset\":0,\"timezone\":\"GMT\"},\"page\":{\"limit\":25},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/audit/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/authn_mappings/Create-an-AuthN-Mapping-returns-OK-response.json b/tests/scenarios/cassettes/v2/authn_mappings/Create-an-AuthN-Mapping-returns-OK-response.json index f11004b25..16c67dae6 100644 --- a/tests/scenarios/cassettes/v2/authn_mappings/Create-an-AuthN-Mapping-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/authn_mappings/Create-an-AuthN-Mapping-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_an_AuthN_Mapping_returns_OK_response-1652349066\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attribute_key\":\"testcreateanauthnmappingreturnsokresponse1652349066\",\"attribute_value\":\"Test-Create_an_AuthN_Mapping_returns_OK_response-1652349066\"},\"relationships\":{\"role\":{\"data\":{\"id\":\"0b9db2f6-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"roles\"}}},\"type\":\"authn_mappings\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/authn_mappings" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/authn_mappings/0bf0acd6-d1d9-11ec-ad3d-da7ad0900002" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/0b9db2f6-d1d9-11ec-ad3d-da7ad0900002" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/authn_mappings/Delete-an-AuthN-Mapping-returns-OK-response.json b/tests/scenarios/cassettes/v2/authn_mappings/Delete-an-AuthN-Mapping-returns-OK-response.json index 494bd0512..661d46997 100644 --- a/tests/scenarios/cassettes/v2/authn_mappings/Delete-an-AuthN-Mapping-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/authn_mappings/Delete-an-AuthN-Mapping-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_an_AuthN_Mapping_returns_OK_response-1652349069\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attribute_key\":\"testdeleteanauthnmappingreturnsokresponse1652349069\",\"attribute_value\":\"Test-Delete_an_AuthN_Mapping_returns_OK_response-1652349069\"},\"relationships\":{\"role\":{\"data\":{\"id\":\"0cd38a56-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"roles\"}}},\"type\":\"authn_mappings\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/authn_mappings" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/authn_mappings/0d2328cc-d1d9-11ec-ad3d-da7ad0900002" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/authn_mappings/0d2328cc-d1d9-11ec-ad3d-da7ad0900002" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/0cd38a56-d1d9-11ec-ad3d-da7ad0900002" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/authn_mappings/Edit-an-AuthN-Mapping-returns-OK-response.json b/tests/scenarios/cassettes/v2/authn_mappings/Edit-an-AuthN-Mapping-returns-OK-response.json index bce639de0..c80ee9bdf 100644 --- a/tests/scenarios/cassettes/v2/authn_mappings/Edit-an-AuthN-Mapping-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/authn_mappings/Edit-an-AuthN-Mapping-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_AuthN_Mapping_returns_OK_response-1652349071\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attribute_key\":\"testeditanauthnmappingreturnsokresponse1652349071\",\"attribute_value\":\"Test-Edit_an_AuthN_Mapping_returns_OK_response-1652349071\"},\"relationships\":{\"role\":{\"data\":{\"id\":\"0e6f2848-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"roles\"}}},\"type\":\"authn_mappings\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/authn_mappings" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"attribute_key\":\"member-of\",\"attribute_value\":\"Development\"},\"id\":\"0ece1b8c-d1d9-11ec-ad3d-da7ad0900002\",\"relationships\":{\"role\":{\"data\":{\"id\":\"0e6f2848-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"roles\"}}},\"type\":\"authn_mappings\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/authn_mappings/0ece1b8c-d1d9-11ec-ad3d-da7ad0900002" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/authn_mappings/0ece1b8c-d1d9-11ec-ad3d-da7ad0900002" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/0e6f2848-d1d9-11ec-ad3d-da7ad0900002" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/authn_mappings/Get-an-AuthN-Mapping-by-UUID-returns-OK-response.json b/tests/scenarios/cassettes/v2/authn_mappings/Get-an-AuthN-Mapping-by-UUID-returns-OK-response.json index 1fac3f1ae..819cc7aa3 100644 --- a/tests/scenarios/cassettes/v2/authn_mappings/Get-an-AuthN-Mapping-by-UUID-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/authn_mappings/Get-an-AuthN-Mapping-by-UUID-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_an_AuthN_Mapping_by_UUID_returns_OK_response-1652349074\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attribute_key\":\"testgetanauthnmappingbyuuidreturnsokresponse1652349074\",\"attribute_value\":\"Test-Get_an_AuthN_Mapping_by_UUID_returns_OK_response-1652349074\"},\"relationships\":{\"role\":{\"data\":{\"id\":\"100b029e-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"roles\"}}},\"type\":\"authn_mappings\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/authn_mappings" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/authn_mappings/10da3f46-d1d9-11ec-ad3d-da7ad0900002" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/authn_mappings/10da3f46-d1d9-11ec-ad3d-da7ad0900002" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/100b029e-d1d9-11ec-ad3d-da7ad0900002" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/authn_mappings/List-all-AuthN-Mappings-returns-OK-response.json b/tests/scenarios/cassettes/v2/authn_mappings/List-all-AuthN-Mappings-returns-OK-response.json index b47b07c35..827acaed0 100644 --- a/tests/scenarios/cassettes/v2/authn_mappings/List-all-AuthN-Mappings-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/authn_mappings/List-all-AuthN-Mappings-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-List_all_AuthN_Mappings_returns_OK_response-1652349077\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attribute_key\":\"testlistallauthnmappingsreturnsokresponse1652349077\",\"attribute_value\":\"Test-List_all_AuthN_Mappings_returns_OK_response-1652349077\"},\"relationships\":{\"role\":{\"data\":{\"id\":\"120a6d32-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"roles\"}}},\"type\":\"authn_mappings\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/authn_mappings" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/authn_mappings" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/authn_mappings/125e0500-d1d9-11ec-ad3d-da7ad0900002" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/120a6d32-d1d9-11ec-ad3d-da7ad0900002" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-AWS-Account-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-AWS-Account-object-response.json index fc5a870d6..ceb80afc7 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-AWS-Account-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-AWS-Account-object-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/83eacdb0-09e6-4e72-bf2e-b2fbcdf438b7" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-Bad-Request-response.json index c6528e8a4..776e1c08a 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws-invalid\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-Conflict-response.json index b4e7f48b8..7689c96f2 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-config-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"id\":\"00000000-abcd-0001-0000-000000000000\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/fa9e70b4-5fbb-499d-ba36-b802512cbc83" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-with-invalid-aws-partition-returns-400-API-error-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-with-invalid-aws-partition-returns-400-API-error-response.json index 1c6a1f5e5..eb0c89789 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-with-invalid-aws-partition-returns-400-API-error-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-with-invalid-aws-partition-returns-400-API-error-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"aws_account\":{\"account_tags\":[],\"auth_config\":{\"role_name\":\"test\"},\"aws_account_id\":\"172322422800\",\"aws_partition\":\"aws-test\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[],\"sources\":[\"s3\"]}},\"metrics_config\":{\"namespace_filters\":{\"exclude_only\":[\"AWS/EC2\"],\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[]}]},\"resources_config\":{},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}}},\"id\":\"172322422800\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-with-valid-config-returns-AWS-Account-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-with-valid-config-returns-AWS-Account-object-response.json index ced3f00d8..ba47853e3 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-with-valid-config-returns-AWS-Account-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Create-account-with-valid-config-returns-AWS-Account-object-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"aws_account\":{\"account_tags\":[],\"auth_config\":{\"role_name\":\"test\"},\"aws_account_id\":\"172322422800\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[],\"sources\":[\"s3\"]}},\"metrics_config\":{\"namespace_filters\":{\"exclude_only\":[\"AWS/EC2\"],\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[]}]},\"resources_config\":{},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}}},\"id\":\"172322422800\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/172322422800" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-Bad-Request-response.json index d815b8b81..0c5290aa5 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/not-a-uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-No-Content-response.json index dad019df5..a92af7b1e 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"id\":\"00000000-abcd-0001-0000-000000000000\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/ea195e91-95f9-4811-9161-cbcce608b8ed" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/ea195e91-95f9-4811-9161-cbcce608b8ed" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-Not-Found-response.json index cfef26746..95030a798 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Delete-account-config-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"id\":\"00000000-abcd-0001-0000-000000000000\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/448169a8-251c-4344-abee-1c4edef39f7a" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/615cc571-774b-4e40-bc94-ad3f178cbfc8" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Generate-new-external-ID-returns-AWS-External-ID-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Generate-new-external-ID-returns-AWS-External-ID-object-response.json index 7c73789f2..e5cb7be63 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Generate-new-external-ID-returns-AWS-External-ID-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Generate-new-external-ID-returns-AWS-External-ID-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/generate_new_external_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-AWS-Account-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-AWS-Account-object-response.json index cdeb34a2c..3621c3d56 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-AWS-Account-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-AWS-Account-object-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"id\":\"00000000-abcd-0001-0000-000000000000\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/35ed0f5a-6a49-4fd7-bdf6-cc8edc410ea0" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/35ed0f5a-6a49-4fd7-bdf6-cc8edc410ea0" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-Bad-Request-response.json index fa4a2e573..e82754952 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/not-a-uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-Not-Found-response.json index a008b220f..cf660414c 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-account-config-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/448169a8-251c-4344-abee-1c4edef39f7a" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-all-account-configs-returns-AWS-Accounts-List-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-all-account-configs-returns-AWS-Accounts-List-object-response.json index cf6763da6..c02761e8d 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-all-account-configs-returns-AWS-Accounts-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Get-all-account-configs-returns-AWS-Accounts-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-available-namespaces-returns-AWS-Namespaces-List-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-available-namespaces-returns-AWS-Namespaces-List-object-response.json index fe2953d27..23915767e 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-available-namespaces-returns-AWS-Namespaces-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-available-namespaces-returns-AWS-Namespaces-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/available_namespaces" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-log-services-returns-AWS-Logs-Services-List-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-log-services-returns-AWS-Logs-Services-List-object-response.json index d96c8902c..cf2d47a18 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-log-services-returns-AWS-Logs-Services-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-log-services-returns-AWS-Logs-Services-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/logs/services" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-namespaces-returns-AWS-Namespaces-List-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-namespaces-returns-AWS-Namespaces-List-object-response.json index fe2953d27..23915767e 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-namespaces-returns-AWS-Namespaces-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-List-namespaces-returns-AWS-Namespaces-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/available_namespaces" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-API-error-response-response.json index 69933522b..db7e610c5 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"$KEY:$VALUE\"],\"auth_config\":{\"role_name\":\"DatadogAWSIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-2\",\"us-west-1\"]},\"logs_config\":{},\"metrics_config\":{\"automute_enabled\":true,\"enabled\":false,\"namespace_filters\":{\"exclude_only\":[\"AWS/AutoScaling\",\"AWS/ElasticMapReduce\",\"AWS/SQS\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"$KEY:$VALUE\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":true,\"extended_collection\":true},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"id\":\"123456789012\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[],\"auth_config\":{\"role_name\":\"test\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws-test\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[],\"sources\":[\"s3\"]}},\"metrics_config\":{\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[]}]},\"resources_config\":{},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"id\":\"123456789012\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/123456789012" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/123456789012" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-AWS-Account-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-AWS-Account-object-response.json index 37e7c6cb7..e1316f391 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-AWS-Account-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-AWS-Account-object-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"id\":\"00000000-abcd-0001-0000-000000000000\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/28a2004c-84b4-4f07-a2a4-01c9ab6a021e" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/28a2004c-84b4-4f07-a2a4-01c9ab6a021e" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-Bad-Request-response.json index 9620151c0..09fd8ccd9 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"id\":\"00000000-abcd-0001-0000-000000000000\",\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"access_key_id\":\"AKIAIOSFODNN7EXAMPLE\",\"secret_access_key\":\"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/84a5a2e9-80f6-4740-a478-c885ae8d4117" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/84a5a2e9-80f6-4740-a478-c885ae8d4117" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-Not-Found-response.json index d1bd53a58..3d9ab686f 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/AWS-Integration-Patch-account-config-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/448169a8-251c-4344-abee-1c4edef39f7a" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.json index e8a09f1cd..145853b95 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-account-returns-AWS-Account-object-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/4ee52a3f-d0e9-487b-bde9-cd1cbc0e4cb0" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.json index 1d69b393d..a55b60359 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-AWS-Account-object-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"access_key_id\":\"AKIAIOSFODNN7EXAMPLE\",\"secret_access_key\":\"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/c80e30d5-b3f9-45b1-85fc-bad652af206b" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.json index 0132d6f14..3d515fba8 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws-invalid\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.json index 5c3d36258..cf2798576 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Create-an-AWS-integration-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/9bb08fa5-18b0-49fd-a5d7-b74f930e52b0" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.json index 8c4a92379..c266ada9d 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/not-a-uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.json index 479a811e7..09f6f170b 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/f45e01d8-2cc4-45b6-af71-6b3d3bb18dd2" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/f45e01d8-2cc4-45b6-af71-6b3d3bb18dd2" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.json index b547decde..98773e387 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Delete-an-AWS-integration-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/448169a8-251c-4344-abee-1c4edef39f7a" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/b995026f-036d-4303-b2b1-fe6003893f2e" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.json index 8026431af..f68de2536 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Generate-a-new-external-ID-returns-AWS-External-ID-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/generate_new_external_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.json index 1c3f96fa7..49fc3e548 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Generate-new-external-ID-returns-AWS-External-ID-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/generate_new_external_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Get-AWS-integration-standard-IAM-permissions-returns-AWS-IAM-Permissions-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/Get-AWS-integration-standard-IAM-permissions-returns-AWS-IAM-Permissions-object-response.json index 020f26ffd..1028ac283 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Get-AWS-integration-standard-IAM-permissions-returns-AWS-IAM-Permissions-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Get-AWS-integration-standard-IAM-permissions-returns-AWS-IAM-Permissions-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/iam_permissions/standard" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.json index cac167bc6..171401ba0 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-AWS-Account-object-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/957a9f7c-72ec-4946-baf4-42f00420f299" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/957a9f7c-72ec-4946-baf4-42f00420f299" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.json index 3343867f8..7f0c7b0e4 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/not-a-uuid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.json index e74b68271..80802a87a 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Get-an-AWS-integration-by-config-ID-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/448169a8-251c-4344-abee-1c4edef39f7a" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Get-resource-collection-IAM-permissions-returns-AWS-IAM-Permissions-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/Get-resource-collection-IAM-permissions-returns-AWS-IAM-Permissions-object-response.json index 06994a2bd..80b496b27 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Get-resource-collection-IAM-permissions-returns-AWS-IAM-Permissions-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Get-resource-collection-IAM-permissions-returns-AWS-IAM-Permissions-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/iam_permissions/resource_collection" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.json index 95e304028..24eca4d0f 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/List-all-AWS-integrations-returns-AWS-Accounts-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.json index 2171fbbb6..25c7d2d7e 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/List-available-namespaces-returns-AWS-Namespaces-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/available_namespaces" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/List-log-services-returns-AWS-Logs-Services-List-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/List-log-services-returns-AWS-Logs-Services-List-object-response.json index 00a023db4..6f819adbb 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/List-log-services-returns-AWS-Logs-Services-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/List-log-services-returns-AWS-Logs-Services-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/logs/services" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.json index 2171fbbb6..25c7d2d7e 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/List-namespaces-returns-AWS-Namespaces-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/available_namespaces" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.json b/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.json index 7641aee0c..ad86382de 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-AWS-Account-object-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/ab6528e3-5dab-4375-ae47-4ce93d1216e2" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/ab6528e3-5dab-4375-ae47-4ce93d1216e2" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.json index a4c31cdf2..ff6602244 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"aws_regions\":{\"include_only\":[\"us-east-1\"]},\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":false,\"collect_custom_metrics\":false,\"enabled\":true,\"namespace_filters\":{\"include_only\":[\"AWS/EC2\"]},\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{\"xray_services\":{\"include_only\":[\"AWS/AppSync\"]}}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"access_key_id\":\"AKIAIOSFODNN7EXAMPLE\",\"secret_access_key\":\"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/dff6d3ee-e90a-4df1-b0d7-6f4e1ed35acc" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/dff6d3ee-e90a-4df1-b0d7-6f4e1ed35acc" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.json index 0c67e3d95..3e4b95b6d 100644 --- a/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/aws_integration/Update-an-AWS-integration-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"key:value\"],\"auth_config\":{\"role_name\":\"DatadogIntegrationRole\"},\"aws_account_id\":\"123456789012\",\"aws_partition\":\"aws\",\"logs_config\":{\"lambda_forwarder\":{\"lambdas\":[\"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder\"],\"log_source_config\":{\"tag_filters\":[{\"source\":\"s3\",\"tags\":[\"test:test\"]}]},\"sources\":[\"s3\"]}},\"metrics_config\":{\"automute_enabled\":true,\"collect_cloudwatch_alarms\":true,\"collect_custom_metrics\":true,\"enabled\":true,\"tag_filters\":[{\"namespace\":\"AWS/EC2\",\"tags\":[\"key:value\"]}]},\"resources_config\":{\"cloud_security_posture_management_collection\":false,\"extended_collection\":false},\"traces_config\":{}},\"type\":\"account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/aws/accounts/448169a8-251c-4344-abee-1c4edef39f7a" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/aws_logs_integration/Get-list-of-AWS-log-ready-services-returns-AWS-Logs-Services-List-object-response.json b/tests/scenarios/cassettes/v2/aws_logs_integration/Get-list-of-AWS-log-ready-services-returns-AWS-Logs-Services-List-object-response.json index 580359315..5600ee2d7 100644 --- a/tests/scenarios/cassettes/v2/aws_logs_integration/Get-list-of-AWS-log-ready-services-returns-AWS-Logs-Services-List-object-response.json +++ b/tests/scenarios/cassettes/v2/aws_logs_integration/Get-list-of-AWS-log-ready-services-returns-AWS-Logs-Services-List-object-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/aws/logs/services" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.json index 9976b8610..e34a42525 100644 --- a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"type\":\"project\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/e3f011bc-8ae6-4ec2-b80d-3069e73bc6a1/archive" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Not-Found-response.json index 3abe97b88..8fa2c4dfb 100644 --- a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/archive" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.json index fc31f638e..73f71f2c0 100644 --- a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/926e6b8a-4af6-43b2-8a29-33813af68594/archive" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.json index 6ad5c4335..a60af2002 100644 --- a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"assignee_id\":\"invalid-uuid\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/b3cef7a0-9637-43fb-88cf-d9ac56310a7b/assign" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Not-Found-response.json index b851436a6..20df3d117 100644 --- a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_Not_Found_response-1759322792@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"assignee_id\":\"a906fadf-9ec4-11f0-8e55-4666095c4509\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/assign" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/a906fadf-9ec4-11f0-8e55-4666095c4509" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.json index ffef62374..80a7060d8 100644 --- a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1767102585@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"assignee_id\":\"06fe1d45-8040-47eb-b161-837f416635e7\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/0bb969fd-0864-46a1-8e6d-35434e677004/assign" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/06fe1d45-8040-47eb-b161-837f416635e7" }, @@ -128,4 +103,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.json index 99c8313f8..197eb64a8 100644 --- a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"comment\":\"\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/dabff9f7-18d4-40ac-acd5-50b2d311ff53/comment" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Not-Found-response.json index 955934d68..2b57274b3 100644 --- a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"comment\":\"Hello world !\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/comment" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.json index 98da3f4a5..6fa9b2f3d 100644 --- a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"comment\":\"Hello World !\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/84a0af3b-6609-442a-b4de-b082652354cf/comment" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-Bad-Request-response.json index 4edaccc1d..fa4f54bd4 100644 --- a/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"e555e290-ed65-49bd-ae18-8acbfcf18db7\",\"type\":\"userx\"}},\"project\":{\"data\":{\"id\":\"e555e290-ed65-49bd-ae18-8acbfcf18db7\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-CREATED-response.json index 08284ad15..7a92775f3 100644 --- a/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_case_returns_CREATED_response-1759322799@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation in 6667abc22c9b9dc7\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"ace4fe48-9ec4-11f0-988b-7627cf2efb1e\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/ace4fe48-9ec4-11f0-988b-7627cf2efb1e" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-Not-Found-response.json index 5f4164f76..c54b28aa6 100644 --- a/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Create-a-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"721074c8-63df-4d8f-a43d-ab41dd24ec35\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"721074c8-63df-4d8f-a43d-ab41dd24ec35\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Bad-Request-response.json index 3469f0299..2cb138504 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/b17ef97a-c38f-4b67-91a6-546a0a3da4d3/comment/not-an-uuid" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-No-Content-response.json index 885e1296a..b861e446d 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"comment\":\"This is my new comment !\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment/bd8ee088-15bc-43a1-bc95-92e365b71459" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment/bd8ee088-15bc-43a1-bc95-92e365b71459" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.json index 55cb437a4..620bb0483 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/e48aba34-ea79-45c7-a425-56d5b09c9fc4/comment/23fca2aa-4967-4936-bdd7-9157d9e456d7" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.json index b83235f34..ec34302ae 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/83a5e059-3fde-48b5-b4d4-8bcc5227db32/custom_attributes/invalid_key" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.json index c737aff04..f75126bc5 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577890200\",\"is_multi\":true,\"key\":\"attribute_08d279361f9bcdbb\",\"type\":\"TEXT\"},\"type\":\"custom_attribute\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types/3dd78296-b989-466d-97ef-428517d851ee/custom_attributes" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"3dd78296-b989-466d-97ef-428517d851ee\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/15f17d2e-4972-44d9-9f31-684f2d19a16c/custom_attributes/attribute_08d279361f9bcdbb" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/3dd78296-b989-466d-97ef-428517d851ee" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.json index 6a5ec796c..71a815954 100644 --- a/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.json index 31eeee8a3..a0b07e01b 100644 --- a/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cases/9daaa414-8843-46e2-8360-c36d3713285f" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.json index 59cf8db13..0b616f138 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"type\":\"project\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/21c1b181-cee4-4b72-bf96-38859d367da4/unarchive" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Not-Found-response.json index 6a6de5e2a..0930ea9f9 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/unarchive" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.json index c3c4b3a43..0b9cbe6e5 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/a02bcfe0-5678-49bb-a696-86544bde2bee/unarchive" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.json index 568d7dc19..fd542685a 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"type\":\"project\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/5fa6cf48-aa31-40bc-9d17-f8f78eea95be/unassign" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Not-Found-response.json index a046743a6..3bb123d8f 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/unassign" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.json index 14f299cef..f6e8793dd 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/6491a991-9117-46dc-9762-ea2cc244e5b3/unassign" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-Bad-Request-response.json index faf09590a..a2fd71afd 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"type\":\"invalid_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cases/projects/d4bbe1af-f36e-42f1-87c1-493ca35c320e" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-Not-Found-response.json index 415baee14..90479566c 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Updated Project Name\"},\"type\":\"project\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cases/projects/67d80aa3-36ff-44b9-a694-c501a7591737" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-OK-response.json index 0fb0100a4..9d9184ea0 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-a-project-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Updated Project Name Test-Update_a_project_returns_OK_response-1769604677\"},\"type\":\"project\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cases/projects/d4bbe1af-f36e-42f1-87c1-493ca35c320e" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-Bad-Request-response.json index 3a11ac9d7..6200847bd 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attributes\":{\"service\":\"web-store\"}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/0fac8699-2b39-4acb-b290-05a0fd19eb95/attributes" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-Not-Found-response.json index d78f0b3b1..33ca053ab 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"attributes\":{}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/attributes" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.json index 6aff1a5b7..e0d51f444 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/8c6346d6-448d-43a0-b957-b38773438c4f/attributes" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.json index 41df0e8d9..706aa0ec5 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577891000\",\"is_multi\":true,\"key\":\"attribute_1d2a4f8f9b39a284\",\"type\":\"TEXT\"},\"type\":\"custom_attribute\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types/b36e8af6-a952-43bb-b54b-d7b80fc1344e/custom_attributes" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"is_multi\":true,\"type\":\"FLOAT\",\"value\":[1,2.4]},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/5ed64f4d-a8d0-4dc6-879c-9b5f10a25cdb/custom_attributes/attribute_1d2a4f8f9b39a284" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/b36e8af6-a952-43bb-b54b-d7b80fc1344e" }, @@ -162,4 +130,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.json index c0c0b6c38..3003eadca 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"is_multi\":true,\"type\":\"TEXT\",\"value\":[\"Abba\",\"The Cure\"]},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/6ace1538-7ef1-4a00-a0bd-67c8ed9a3cd3/custom_attributes/invalid_key" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-OK-response.json index d3985ef33..7fcc80708 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577891300\",\"is_multi\":true,\"key\":\"attribute_661efcf8a00203e4\",\"type\":\"TEXT\"},\"type\":\"custom_attribute\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types/bf109065-175f-4d2f-848d-8f5232dfce1a/custom_attributes" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"is_multi\":true,\"type\":\"TEXT\",\"value\":[\"Abba\",\"The Cure\"]},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/4e88fd93-7a35-46a1-881e-3ee48185afe4/custom_attributes/attribute_661efcf8a00203e4" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/bf109065-175f-4d2f-848d-8f5232dfce1a" }, @@ -162,4 +130,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-Bad-Request-response.json index a53b8e7a1..4dbffafeb 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Seeing some weird memory increase... We shouldn't ignore this\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/efb715f8-47e6-4035-a8aa-2562ac8d46b1/description" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-Not-Found-response.json index cf9dab19f..e44cf5b62 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Seeing some weird memory increase... We shouldn't ignore this\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/0198c6b0-2a0a-7bea-87ff-3876f119aebb/description" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.json index 3ce9ed506..b8f34b4c8 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Seeing some weird memory increase... Updating the description\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/a4887f3f-c7a8-47d7-ae65-a1f7ce9687c5/description" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.json index 0c9d1c419..577b7e46c 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P1234\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/4ef03b27-6d40-455b-8dd8-3f3224a34a7a/priority" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Not-Found-response.json index 78b75ae03..b3b136ed3 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P3\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/priority" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.json index 453c04441..71d5baf97 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P3\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/511f7667-3d80-4498-8118-416211a1a131/priority" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.json index 1e3404734..6b8364c6b 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"status\":\"OPENED\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/ae30545d-e705-493d-a672-7210315ccec2/status" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Not-Found-response.json index 75d2dc843..c1f5e201d 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"status\":\"OPEN\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/status" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.json index 6ab4a6b3c..b6852b579 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"status\":\"IN_PROGRESS\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/d417f9be-d247-4ce8-b3e4-ae7a9283f3d6/status" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.json index b099eb12d..8d2b96846 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"title\":\"\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/00a64fed-4338-458b-9af5-77ba6e6c9d7b/title" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Not-Found-response.json index 517d5c189..4b149d4d7 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"title\":\"Memory leak investigation on API\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/0198c6b8-b08f-7c08-978a-d95217f2eeac/title" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.json index 550031e2d..8122aa45e 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"title\":\"[UPDATED] Memory leak investigation on API\"},\"type\":\"case\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/03ec656b-5d21-41c4-a655-ccb18b0aa990/title" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.json index df8eac7d3..2a91d6079 100644 --- a/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"display_name\":\"AWS Region 17593230-0000-0000-0000-175932301100\",\"is_multi\":true,\"key\":\"region_4fd8eeb20ad8f927\",\"type\":\"FLOAT\"},\"type\":\"custom_attribute\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types/a52ea7e5-7cdf-4414-a585-63e58d3dc7a0/custom_attributes" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.json index aa4425ae4..d4bb68af7 100644 --- a/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"display_name\":\"AWS Region 17593230-0000-0000-0000-175932301200\",\"is_multi\":true,\"key\":\"region_34a76e3ae14c4076\",\"type\":\"NUMBER\"},\"type\":\"custom_attribute\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types/d6472e40-180e-4f7f-bdc0-9c8a749da7ee/custom_attributes" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.json index 76ed022a3..1c2aff59e 100644 --- a/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management_attribute/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"display_name\":\"AWS Region 79eef6c4d883c2c5\",\"is_multi\":true,\"key\":\"region_79eef6c4d883c2c5\",\"type\":\"NUMBER\"},\"type\":\"custom_attribute\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types/9fd476d7-a955-454a-851d-980c655c02d3/custom_attributes" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.json index 9a69cf635..946fd42e8 100644 --- a/tests/scenarios/cassettes/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management_attribute/Delete-custom-attributes-config-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/3ffd2bc8-e360-40d4-8ed6-60f72161fd89/custom_attributes/not-an-uuid" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.json index ccc3b2e1f..620161d0e 100644 --- a/tests/scenarios/cassettes/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/case_management_attribute/Delete-custom-attributes-config-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557801-0000-0000-0000-175578010600\",\"is_multi\":true,\"key\":\"attribute_a058b510f096c932\",\"type\":\"TEXT\"},\"type\":\"custom_attribute\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753/custom_attributes" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753/custom_attributes/7ce13520-94b7-4391-bb64-c45776011f05" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.json index e9ece116c..a4faf2c1e 100644 --- a/tests/scenarios/cassettes/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management_attribute/Get-all-custom-attributes-config-of-case-type-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cases/types/f91c5f4a-53c4-4f18-a21d-9f82fd7bd3e9/custom_attributes" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.json index 8e7dc31b6..b114eb1f0 100644 --- a/tests/scenarios/cassettes/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management_attribute/Get-all-custom-attributes-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cases/types/custom_attributes" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.json index 9c14ddf71..40e0abe17 100644 --- a/tests/scenarios/cassettes/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management_type/Create-a-case-type-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"notanemoji\",\"name\":\"Investigation\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_type/Create-a-case-type-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/case_management_type/Create-a-case-type-returns-CREATED-response.json index f89066fab..7376e7905 100644 --- a/tests/scenarios/cassettes/v2/case_management_type/Create-a-case-type-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/case_management_type/Create-a-case-type-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.json b/tests/scenarios/cassettes/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.json index 2b1919d40..e412b3848 100644 --- a/tests/scenarios/cassettes/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.json +++ b/tests/scenarios/cassettes/v2/case_management_type/Delete-a-case-type-returns-NotContent-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/f580bda9-aed7-49b6-ad70-5707d1c183fa" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_type/Delete-a-case-type-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management_type/Delete-a-case-type-returns-OK-response.json index 49b42829c..c8da91110 100644 --- a/tests/scenarios/cassettes/v2/case_management_type/Delete-a-case-type-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management_type/Delete-a-case-type-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/08c89b77-5c9d-4f4f-8d0f-fe6d36351539" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cases/types/08c89b77-5c9d-4f4f-8d0f-fe6d36351539" }, @@ -84,4 +69,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/case_management_type/Get-all-case-types-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management_type/Get-all-case-types-returns-OK-response.json index a4cb84118..a244d34b7 100644 --- a/tests/scenarios/cassettes/v2/case_management_type/Get-all-case-types-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management_type/Get-all-case-types-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cases/types" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Aggregate-pipelines-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Aggregate-pipelines-events-returns-OK-response.json index 339c89584..c32f96a93 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Aggregate-pipelines-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Aggregate-pipelines-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"compute\":[{\"aggregation\":\"pc90\",\"metric\":\"@duration\",\"type\":\"total\"}],\"filter\":{\"from\":\"now-15m\",\"query\":\"@ci.provider.name:(gitlab OR github)\",\"to\":\"now\"},\"group_by\":[{\"facet\":\"@ci.status\",\"limit\":10,\"total\":false}],\"options\":{\"timezone\":\"GMT\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipelines/analytics/aggregate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Get-a-list-of-pipelines-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Get-a-list-of-pipelines-events-returns-OK-response-with-pagination.json index 0f938d720..5deb4db7b 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Get-a-list-of-pipelines-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Get-a-list-of-pipelines-events-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ci/pipelines/events?filter%5Bfrom%5D=2022-10-21T08%3A44%3A43.365Z&filter%5Bto%5D=2022-10-21T08%3A45%3A13.365Z&page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ci/pipelines/events?filter%5Bfrom%5D=2022-10-21T08%3A44%3A43.365Z&filter%5Bto%5D=2022-10-21T08%3A45%3A13.365Z&page%5Blimit%5D=2&page%5Bcursor%5D=eyJhZnRlciI6IkFnQUFBWVA1dDNkd0V5YkFCZ0FBQUFBQUFBQVlBQUFBQUVGWlVEVjBNMlIzUVVGQmJVTTNZbmR3V21SVFNuQlFXQUFBQUNRQUFBQUFNREU0TTJZNVlqY3ROMkkxT0MwMFlqUXdMV0ZtTmpFdE5qbGxZVFV3WWpBMVltSTMifQ" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Get-a-list-of-pipelines-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Get-a-list-of-pipelines-events-returns-OK-response.json index 197018553..596b79088 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Get-a-list-of-pipelines-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Get-a-list-of-pipelines-events-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ci/pipelines/events?filter%5Bquery%5D=%40ci.provider.name%3Acircleci&filter%5Bfrom%5D=2024-11-25T19%3A38%3A40.699Z&filter%5Bto%5D=2024-11-25T20%3A08%3A40.699Z&page%5Blimit%5D=5" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Search-pipelines-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Search-pipelines-events-returns-OK-response-with-pagination.json index eefbd1042..b8b744e55 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Search-pipelines-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Search-pipelines-events-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-30s\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipelines/events/search" }, @@ -40,14 +33,7 @@ "string": "{\"filter\":{\"from\":\"now-30s\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFnQUFBWVA1eXIwSTBPQy1YQUFBQUFBQUFBQVlBQUFBQUVGWlVEVjVjakJKUVVGRWVrbDJSbmhSTUdScGJGWXlVd0FBQUNRQUFBQUFNREU0TTJZNVkyRXRZemhqTUMwMFpUVmxMVGszT0RrdFpUVmxZMkUwTXpJeU5tSTMifQ\",\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipelines/events/search" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Search-pipelines-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Search-pipelines-events-returns-OK-response.json index ab37cb113..9ffc0a944 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Search-pipelines-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Search-pipelines-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@ci.provider.name:github AND @ci.status:error\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":5},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipelines/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-event-returns-Request-accepted-for-processing-response.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-event-returns-Request-accepted-for-processing-response.json index 653c9a6a9..e47cbdc3a 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-event-returns-Request-accepted-for-processing-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-event-returns-Request-accepted-for-processing-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"resource\":{\"end\":\"2024-11-25T20:08:11.018Z\",\"git\":{\"author_email\":\"john.doe@email.com\",\"repository_url\":\"https://github.com/DataDog/datadog-agent\",\"sha\":\"7f263865994b76066c4612fd1965215e7dcb4cd2\"},\"level\":\"pipeline\",\"name\":\"Deploy to AWS\",\"partial_retry\":false,\"start\":\"2024-11-25T20:06:41.018Z\",\"status\":\"success\",\"unique_id\":\"3eacb6f3-ff04-4e10-8a9c-46e6d054024a\",\"url\":\"https://my-ci-provider.example/pipelines/my-pipeline/run/1\"}},\"type\":\"cipipeline_resource_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipeline" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-event-with-custom-provider-returns-Request-accepted-for-processing-response.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-event-with-custom-provider-returns-Request-accepted-for-processing-response.json index acced118d..5449c9b4b 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-event-with-custom-provider-returns-Request-accepted-for-processing-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-event-with-custom-provider-returns-Request-accepted-for-processing-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"provider_name\":\"example-provider\",\"resource\":{\"end\":\"2025-01-08T08:56:59.599Z\",\"git\":{\"author_email\":\"john.doe@email.com\",\"repository_url\":\"https://github.com/DataDog/datadog-agent\",\"sha\":\"7f263865994b76066c4612fd1965215e7dcb4cd2\"},\"level\":\"pipeline\",\"name\":\"Deploy to AWS\",\"partial_retry\":false,\"start\":\"2025-01-08T08:55:29.599Z\",\"status\":\"success\",\"unique_id\":\"3eacb6f3-ff04-4e10-8a9c-46e6d054024a\",\"url\":\"https://my-ci-provider.example/pipelines/my-pipeline/run/1\"}},\"type\":\"cipipeline_resource_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipeline" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-job-event-returns-Request-accepted-for-processing-response.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-job-event-returns-Request-accepted-for-processing-response.json index f1be4ea88..11f862cc1 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-job-event-returns-Request-accepted-for-processing-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-pipeline-job-event-returns-Request-accepted-for-processing-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"resource\":{\"end\":\"2024-11-25T20:08:11.167Z\",\"id\":\"cf9456de-8b9e-4c27-aa79-27b1e78c1a33\",\"level\":\"job\",\"name\":\"Build image\",\"pipeline_name\":\"Deploy to AWS\",\"pipeline_unique_id\":\"3eacb6f3-ff04-4e10-8a9c-46e6d054024a\",\"start\":\"2024-11-25T20:06:41.167Z\",\"status\":\"error\",\"url\":\"https://my-ci-provider.example/jobs/my-jobs/run/1\"}},\"type\":\"cipipeline_resource_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipeline" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-running-pipeline-event-returns-Request-accepted-for-processing-response.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-running-pipeline-event-returns-Request-accepted-for-processing-response.json index 31dce3fa9..b645e4508 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-running-pipeline-event-returns-Request-accepted-for-processing-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-running-pipeline-event-returns-Request-accepted-for-processing-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"resource\":{\"git\":{\"author_email\":\"john.doe@email.com\",\"repository_url\":\"https://github.com/DataDog/datadog-agent\",\"sha\":\"7f263865994b76066c4612fd1965215e7dcb4cd2\"},\"level\":\"pipeline\",\"name\":\"Deploy to AWS\",\"partial_retry\":false,\"start\":\"2024-11-25T20:06:41.317Z\",\"status\":\"running\",\"unique_id\":\"3eacb6f3-ff04-4e10-8a9c-46e6d054024a\",\"url\":\"https://my-ci-provider.example/pipelines/my-pipeline/run/1\"}},\"type\":\"cipipeline_resource_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipeline" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-several-pipeline-events-returns-Request-accepted-for-processing-response.json b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-several-pipeline-events-returns-Request-accepted-for-processing-response.json index e86ba8a92..ff8769050 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-several-pipeline-events-returns-Request-accepted-for-processing-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_pipelines/Send-several-pipeline-events-returns-Request-accepted-for-processing-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{\"provider_name\":\"example-provider\",\"resource\":{\"end\":\"2025-09-02T15:09:56.479Z\",\"git\":{\"author_email\":\"john.doe@email.com\",\"repository_url\":\"https://github.com/DataDog/datadog-agent\",\"sha\":\"7f263865994b76066c4612fd1965215e7dcb4cd2\"},\"level\":\"pipeline\",\"name\":\"Deploy to AWS\",\"partial_retry\":false,\"start\":\"2025-09-02T15:08:26.479Z\",\"status\":\"success\",\"unique_id\":\"3eacb6f3-ff04-4e10-8a9c-46e6d054024a\",\"url\":\"https://my-ci-provider.example/pipelines/my-pipeline/run/1\"}},\"type\":\"cipipeline_resource_request\"},{\"attributes\":{\"provider_name\":\"example-provider\",\"resource\":{\"end\":\"2025-09-02T15:09:41.479Z\",\"git\":{\"author_email\":\"jane.smith@email.com\",\"repository_url\":\"https://github.com/DataDog/datadog-agent\",\"sha\":\"9a4f7c28b3e5d12f8e6c9b2a5d8f3e1c7b4a6d9e\"},\"level\":\"pipeline\",\"name\":\"Deploy to Production\",\"partial_retry\":false,\"start\":\"2025-09-02T15:07:26.479Z\",\"status\":\"success\",\"unique_id\":\"7b2c8f9e-aa15-4d22-9c7d-83f4e065138b\",\"url\":\"https://my-ci-provider.example/pipelines/prod-pipeline/run/2\"}},\"type\":\"cipipeline_resource_request\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/pipeline" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_tests/Aggregate-tests-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/ci_visibility_tests/Aggregate-tests-events-returns-OK-response.json index 642c1b334..b1d1f12ef 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_tests/Aggregate-tests-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_tests/Aggregate-tests-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"compute\":[{\"aggregation\":\"count\",\"metric\":\"@test.is_flaky\",\"type\":\"total\"}],\"filter\":{\"from\":\"now-15m\",\"query\":\"@language:(python OR go)\",\"to\":\"now\"},\"group_by\":[{\"facet\":\"@git.branch\",\"limit\":10,\"sort\":{\"order\":\"asc\"},\"total\":false}],\"options\":{\"timezone\":\"GMT\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/tests/analytics/aggregate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_tests/Get-a-list-of-tests-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/ci_visibility_tests/Get-a-list-of-tests-events-returns-OK-response-with-pagination.json index 98bd2665d..b11e73625 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_tests/Get-a-list-of-tests-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_tests/Get-a-list-of-tests-events-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ci/tests/events?filter%5Bfrom%5D=2022-10-21T14%3A43%3A41.511Z&filter%5Bto%5D=2022-10-21T14%3A44%3A11.511Z&page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ci/tests/events?filter%5Bfrom%5D=2022-10-21T14%3A43%3A41.511Z&filter%5Bto%5D=2022-10-21T14%3A44%3A11.511Z&page%5Blimit%5D=2&page%5Bcursor%5D=eyJhZnRlciI6IkFRQUFBWVA3QUdFNG83ci1YQUFBQUFCQldWQTNRVWRGTkVGQlEyMHdjM0JYTFdOWVVEQjVaMU0ifQ" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_tests/Get-a-list-of-tests-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/ci_visibility_tests/Get-a-list-of-tests-events-returns-OK-response.json index e0342f6f3..ff41edaf0 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_tests/Get-a-list-of-tests-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_tests/Get-a-list-of-tests-events-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ci/tests/events?filter%5Bquery%5D=%40test.service%3Aweb-ui-tests&filter%5Bfrom%5D=2022-10-21T14%3A58%3A51.171Z&filter%5Bto%5D=2022-10-21T14%3A59%3A21.171Z&page%5Blimit%5D=5" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_tests/Search-tests-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/ci_visibility_tests/Search-tests-events-returns-OK-response-with-pagination.json index 156e35101..fceae4935 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_tests/Search-tests-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_tests/Search-tests-events-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@test.status:pass AND -@language:python\",\"to\":\"now\"},\"page\":{\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/tests/events/search" }, @@ -40,14 +33,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@test.status:pass AND -@language:python\",\"to\":\"now\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWVA2OVlPRGhTWWVSd0FBQUFCQldWQTJPVmxQUkVGQlFtcHRaM0pKZFV0cFJtTTBTM1UifQ\",\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/tests/events/search" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ci_visibility_tests/Search-tests-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/ci_visibility_tests/Search-tests-events-returns-OK-response.json index 8e9e604a4..d2cb446b4 100644 --- a/tests/scenarios/cassettes/v2/ci_visibility_tests/Search-tests-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/ci_visibility_tests/Search-tests-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@test.service:web-ui-tests AND @test.status:skip\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":25},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/ci/tests/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-AWS-CUR-config-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-AWS-CUR-config-returns-OK-response.json index 40bcc60ad..63933d8a2 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-AWS-CUR-config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-AWS-CUR-config-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_id\":\"123456789123\",\"bucket_name\":\"dd-cost-bucket\",\"bucket_region\":\"us-east-1\",\"report_name\":\"dd-report-name\",\"report_prefix\":\"dd-report-prefix\"},\"type\":\"aws_cur_config_post_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cost/aws_cur_config" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-Azure-configs-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-Azure-configs-returns-Bad-Request-response.json index 548f8dfe5..fc859e296 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-Azure-configs-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-Azure-configs-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_id\":\"1234abcd-1234-abcd-1234-1234abcd1234\",\"actual_bill_config\":{\"export_name\":\"dd-actual-export\",\"export_path\":\"dd-export-path\",\"storage_account\":\"dd-storage-account\",\"storage_container\":\"dd-storage-container\"},\"amortized_bill_config\":{\"export_name\":\"dd-actual-export\",\"export_path\":\"dd-export-path\",\"storage_account\":\"dd-storage-account\",\"storage_container\":\"dd-storage-container\"},\"client_id\":\"1234abcd-1234-abcd-1234-1234abcd1234\",\"scope\":\"this_is_an_invalid_scope\"},\"type\":\"azure_uc_config_post_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cost/azure_uc_config" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-Azure-configs-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-Azure-configs-returns-OK-response.json index 10b8e4787..fd8fee9d9 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-Azure-configs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Cloud-Cost-Management-Azure-configs-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_id\":\"1234abcd-1234-abcd-1234-1234abcd1234\",\"actual_bill_config\":{\"export_name\":\"dd-actual-export\",\"export_path\":\"dd-export-path\",\"storage_account\":\"dd-storage-account\",\"storage_container\":\"dd-storage-container\"},\"amortized_bill_config\":{\"export_name\":\"dd-actual-export\",\"export_path\":\"dd-export-path\",\"storage_account\":\"dd-storage-account\",\"storage_container\":\"dd-storage-container\"},\"client_id\":\"1234abcd-1234-abcd-1234-1234abcd1234\",\"scope\":\"subscriptions/1234abcd-1234-abcd-1234-1234abcd1234\"},\"type\":\"azure_uc_config_post_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cost/azure_uc_config" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Google-Cloud-Usage-Cost-config-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Google-Cloud-Usage-Cost-config-returns-Bad-Request-response.json index 5c8ace27b..82daaa67c 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Google-Cloud-Usage-Cost-config-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Google-Cloud-Usage-Cost-config-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"billing_account_id\":\"123456_A123BC_12AB34\",\"bucket_name\":\"dd-cost-bucket\",\"export_dataset_name\":\"billing\",\"export_prefix\":\"datadog_cloud_cost_usage_export\",\"export_project_name\":\"dd-cloud-cost-report\",\"service_account\":\"InvalidServiceAccount\"},\"type\":\"gcp_uc_config_post_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Google-Cloud-Usage-Cost-config-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Google-Cloud-Usage-Cost-config-returns-OK-response.json index ca0ee6340..a5c577d6d 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Google-Cloud-Usage-Cost-config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-Google-Cloud-Usage-Cost-config-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"billing_account_id\":\"123456_A123BC_12AB34\",\"bucket_name\":\"dd-cost-bucket\",\"export_dataset_name\":\"billing\",\"export_prefix\":\"datadog_cloud_cost_usage_export\",\"export_project_name\":\"dd-cloud-cost-report\",\"service_account\":\"dd-ccm-gcp-integration@my-environment.iam.gserviceaccount.com\"},\"type\":\"gcp_uc_config_post_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-custom-allocation-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-custom-allocation-rule-returns-OK-response.json index 31b0a54d0..cc816f6ab 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-custom-allocation-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-custom-allocation-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"costs_to_allocate\":[{\"condition\":\"is\",\"tag\":\"account_id\",\"value\":\"123456789\"},{\"condition\":\"in\",\"tag\":\"environment\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"enabled\":true,\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"allocated_by_tag_keys\":[\"team\",\"environment\"],\"based_on_costs\":[{\"condition\":\"is\",\"tag\":\"service\",\"value\":\"web-api\"},{\"condition\":\"not in\",\"tag\":\"team\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"granularity\":\"daily\",\"method\":\"proportional\"},\"type\":\"shared\"},\"type\":\"upsert_arbitrary_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-tag-pipeline-ruleset-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-tag-pipeline-ruleset-returns-OK-response.json index 69857c404..606eeabb4 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-tag-pipeline-ruleset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-tag-pipeline-ruleset-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"rules\":[{\"enabled\":true,\"mapping\":null,\"name\":\"Add Cost Center Tag\",\"query\":{\"addition\":{\"key\":\"cost_center\",\"value\":\"engineering\"},\"case_insensitivity\":false,\"if_not_exists\":true,\"query\":\"account_id:\\\"123456789\\\" AND service:\\\"web-api\\\"\"},\"reference_table\":null}]},\"id\":\"New Ruleset\",\"type\":\"create_ruleset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-tag-pipeline-ruleset-with-if-tag-exists-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-tag-pipeline-ruleset-with-if-tag-exists-returns-OK-response.json index 5946a17bb..91a7ccfab 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Create-tag-pipeline-ruleset-with-if-tag-exists-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Create-tag-pipeline-ruleset-with-if-tag-exists-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"rules\":[{\"enabled\":true,\"mapping\":null,\"name\":\"Add Cost Center Tag\",\"query\":{\"addition\":{\"key\":\"cost_center\",\"value\":\"engineering\"},\"case_insensitivity\":false,\"if_tag_exists\":\"replace\",\"query\":\"account_id:\\\"123456789\\\" AND service:\\\"web-api\\\"\"},\"reference_table\":null}]},\"id\":\"New Ruleset\",\"type\":\"create_ruleset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-AWS-CUR-config-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-AWS-CUR-config-returns-No-Content-response.json index 4a2575065..9b5fafd3e 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-AWS-CUR-config-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-AWS-CUR-config-returns-No-Content-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/aws_cur_config/100" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.json index 4fdabe59d..0458110d8 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/aws_cur_config/123456" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-Azure-config-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-Azure-config-returns-No-Content-response.json index 9c31f69f2..552f30d0d 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-Azure-config-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-Azure-config-returns-No-Content-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/azure_uc_config/100" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.json index cb003b04f..1928fd42f 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/azure_uc_config/123456" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Custom-Costs-File-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Custom-Costs-File-returns-No-Content-response.json index c9dee2252..e88605969 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Custom-Costs-File-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Custom-Costs-File-returns-No-Content-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/custom_costs/9d055d22-a838-4e9f-bc34-a4f9ab66280c" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Custom-Costs-file-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Custom-Costs-file-returns-Not-Found-response.json index 1de9ee620..3c17f7591 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Custom-Costs-file-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Custom-Costs-file-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/custom_costs/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Google-Cloud-Usage-Cost-config-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Google-Cloud-Usage-Cost-config-returns-No-Content-response.json index ab86b3331..8b687358b 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Google-Cloud-Usage-Cost-config-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Google-Cloud-Usage-Cost-config-returns-No-Content-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config/100" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Google-Cloud-Usage-Cost-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Google-Cloud-Usage-Cost-config-returns-Not-Found-response.json index b49cb9a07..07c3823d5 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Google-Cloud-Usage-Cost-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-Google-Cloud-Usage-Cost-config-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config/123456" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-a-budget-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-a-budget-returns-Bad-Request-response.json index f5b755c4b..425e74dcd 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-a-budget-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-a-budget-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/budget/1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-custom-allocation-rule-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-custom-allocation-rule-returns-No-Content-response.json index afcf53732..d29467ceb 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-custom-allocation-rule-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-custom-allocation-rule-returns-No-Content-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/683" }, @@ -26,4 +22,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-tag-pipeline-ruleset-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-tag-pipeline-ruleset-returns-No-Content-response.json index 7b6337015..bcc00f1cc 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-tag-pipeline-ruleset-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Delete-tag-pipeline-ruleset-returns-No-Content-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment/ee10c3ff-312f-464c-b4f6-46adaa6d00a1" }, @@ -26,4 +22,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Custom-Costs-File-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Custom-Costs-File-returns-OK-response.json index 7d3f41c3b..9e842f984 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Custom-Costs-File-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Custom-Costs-File-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/custom_costs/9d055d22-a838-4e9f-bc34-a4f9ab66280c" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Custom-Costs-file-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Custom-Costs-file-returns-Not-Found-response.json index 48979cef7..49b54d4d0 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Custom-Costs-file-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Custom-Costs-file-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/custom_costs/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Google-Cloud-Usage-Cost-config-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Google-Cloud-Usage-Cost-config-returns-OK-response.json index 04d22f5d3..055aed1d8 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Google-Cloud-Usage-Cost-config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-Google-Cloud-Usage-Cost-config-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config/123456" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-a-budget-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-a-budget-returns-Not-Found-response.json index 4b399f830..f529f26fa 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-a-budget-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-a-budget-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/budget/9d055d22-0a0a-0a0a-aaa0-00000000000a" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-a-tag-pipeline-ruleset-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-a-tag-pipeline-ruleset-returns-OK-response.json index 75886ffd9..78b2eddcc 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-a-tag-pipeline-ruleset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-a-tag-pipeline-ruleset-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment/a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-cost-AWS-CUR-config-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-cost-AWS-CUR-config-returns-OK-response.json index 29bc709b8..854e1ea92 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-cost-AWS-CUR-config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-cost-AWS-CUR-config-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/aws_cur_config/123456" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-cost-Azure-UC-config-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-cost-Azure-UC-config-returns-OK-response.json index 710c075a7..0d2a4d6e0 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-cost-Azure-UC-config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-cost-Azure-UC-config-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/azure_uc_config/123456" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-custom-allocation-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-custom-allocation-rule-returns-OK-response.json index ad76f5c7d..efbffe269 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-custom-allocation-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-custom-allocation-rule-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/683" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-tag-pipeline-ruleset-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-tag-pipeline-ruleset-returns-OK-response.json index be26ae97b..4fa6c43a7 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Get-tag-pipeline-ruleset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Get-tag-pipeline-ruleset-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment/ee10c3ff-312f-464c-b4f6-46adaa6d00a1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Cloud-Cost-Management-AWS-CUR-configs-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Cloud-Cost-Management-AWS-CUR-configs-returns-OK-response.json index 528db76a5..9ecf028e3 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Cloud-Cost-Management-AWS-CUR-configs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Cloud-Cost-Management-AWS-CUR-configs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/aws_cur_config" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Cloud-Cost-Management-Azure-configs-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Cloud-Cost-Management-Azure-configs-returns-OK-response.json index 27774f959..e829502cd 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Cloud-Cost-Management-Azure-configs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Cloud-Cost-Management-Azure-configs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/azure_uc_config" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Custom-Costs-Files-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Custom-Costs-Files-returns-OK-response.json index 9b1d3da8b..4497ca411 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Custom-Costs-Files-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Custom-Costs-Files-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/custom_costs" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Custom-Costs-files-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Custom-Costs-files-returns-Bad-Request-response.json index b56246b66..d5eb29d30 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Custom-Costs-files-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Custom-Costs-files-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/custom_costs?filter%5Bstatus%5D=invalid_file_status" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Google-Cloud-Usage-Cost-configs-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Google-Cloud-Usage-Cost-configs-returns-OK-response.json index a24d081e6..24dec5f19 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/List-Google-Cloud-Usage-Cost-configs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/List-Google-Cloud-Usage-Cost-configs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/List-budgets-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/List-budgets-returns-OK-response.json index 971343e53..766dd14f3 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/List-budgets-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/List-budgets-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/budgets" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/List-custom-allocation-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/List-custom-allocation-rules-returns-OK-response.json index 78d550d02..d2ef973c3 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/List-custom-allocation-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/List-custom-allocation-rules-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/List-tag-pipeline-rulesets-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/List-tag-pipeline-rulesets-returns-OK-response.json index 3ff5c82dd..76ca731f8 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/List-tag-pipeline-rulesets-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/List-tag-pipeline-rulesets-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.json index 8a5037d51..c337db08d 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true},\"type\":\"aws_cur_config_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cost/aws_cur_config/123456" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-OK-response.json index d733f7327..2b6101932 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-AWS-CUR-config-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\": {\"attributes\": {\"is_enabled\": true}, \"type\": \"aws_cur_config_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cost/aws_cur_config/100" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.json index a64441493..999ba1225 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true},\"type\":\"azure_uc_config_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cost/azure_uc_config/123456" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-OK-response.json index bf4ee2c0c..df921159e 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-Azure-config-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\": {\"attributes\": {\"is_enabled\": true}, \"type\": \"azure_uc_config_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cost/azure_uc_config/100" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-GCP-Usage-Cost-config-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-GCP-Usage-Cost-config-returns-Bad-Request-response.json index 46eda76be..80d503440 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-GCP-Usage-Cost-config-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Cloud-Cost-Management-GCP-Usage-Cost-config-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true},\"type\":\"gcp_uc_config_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config/InvalidValue" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Google-Cloud-Usage-Cost-config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Google-Cloud-Usage-Cost-config-returns-Not-Found-response.json index 89e6adfe4..151f788c5 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Google-Cloud-Usage-Cost-config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Google-Cloud-Usage-Cost-config-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true},\"type\":\"gcp_uc_config_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config/123456" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Google-Cloud-Usage-Cost-config-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Google-Cloud-Usage-Cost-config-returns-OK-response.json index d4582a163..1560f90ce 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Google-Cloud-Usage-Cost-config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-Google-Cloud-Usage-Cost-config-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true},\"type\":\"gcp_uc_config_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cost/gcp_uc_config/100" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-custom-allocation-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-custom-allocation-rule-returns-OK-response.json index 743e4f1b9..a845c8ceb 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-custom-allocation-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-custom-allocation-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"costs_to_allocate\":[{\"condition\":\"is\",\"tag\":\"account_id\",\"value\":\"123456789\",\"values\":[]},{\"condition\":\"in\",\"tag\":\"environment\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"enabled\":true,\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"allocated_by_tag_keys\":[\"team\",\"environment\"],\"based_on_costs\":[{\"condition\":\"is\",\"tag\":\"service\",\"value\":\"web-api\",\"values\":[]},{\"condition\":\"not in\",\"tag\":\"team\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"granularity\":\"daily\",\"method\":\"proportional\"},\"type\":\"shared\"},\"type\":\"upsert_arbitrary_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/683" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-Bad-Request-response.json index 5d80493b1..d2d1394b1 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cost/budget" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-Not-Found-response.json index ea7e63e1e..fc361b5cd 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"end_month\":202502,\"entries\":[{\"amount\":500,\"month\":202501,\"tag_filters\":[{\"tag_key\":\"service\",\"tag_value\":\"ec2\"}]},{\"amount\":500,\"month\":202502,\"tag_filters\":[{\"tag_key\":\"service\",\"tag_value\":\"ec2\"}]}],\"metrics_query\":\"aws.cost.amortized{service:ec2} by {service}\",\"name\":\"my budget\",\"start_month\":202501,\"tags\":[\"service\"]},\"id\":\"00000000-0a0a-0a0a-aaa0-00000000000a\",\"type\":\"budget\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cost/budget" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-OK-response.json index da3137f13..f84391540 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-if-exists-or-create-a-new-budget-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"end_month\":202502,\"entries\":[{\"amount\":500,\"month\":202501,\"tag_filters\":[{\"tag_key\":\"service\",\"tag_value\":\"ec2\"}]},{\"amount\":500,\"month\":202502,\"tag_filters\":[{\"tag_key\":\"service\",\"tag_value\":\"ec2\"}]}],\"metrics_query\":\"aws.cost.amortized{service:ec2} by {service}\",\"name\":\"my budget\",\"start_month\":202501},\"type\":\"budget\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cost/budget" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cost/budget/041ec283-154d-4427-987b-113f806e73f0" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-tag-pipeline-ruleset-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-tag-pipeline-ruleset-returns-OK-response.json index e8a08918b..4ef0ccf35 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-tag-pipeline-ruleset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-tag-pipeline-ruleset-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"last_version\":3611102,\"rules\":[{\"enabled\":true,\"mapping\":{\"destination_key\":\"team_owner\",\"if_not_exists\":true,\"source_keys\":[\"account_name\",\"account_id\"]},\"name\":\"Account Name Mapping\",\"query\":null,\"reference_table\":null}]},\"id\":\"New Ruleset\",\"type\":\"update_ruleset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment/ee10c3ff-312f-464c-b4f6-46adaa6d00a1" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-tag-pipeline-ruleset-with-if-tag-exists-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-tag-pipeline-ruleset-with-if-tag-exists-returns-OK-response.json index a008e5193..2e9054260 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Update-tag-pipeline-ruleset-with-if-tag-exists-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Update-tag-pipeline-ruleset-with-if-tag-exists-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"last_version\":3611102,\"rules\":[{\"enabled\":true,\"mapping\":{\"destination_key\":\"team_owner\",\"if_tag_exists\":\"replace\",\"source_keys\":[\"account_name\",\"account_id\"]},\"name\":\"Account Name Mapping\",\"query\":null,\"reference_table\":null}]},\"id\":\"New Ruleset\",\"type\":\"update_ruleset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment/ee10c3ff-312f-464c-b4f6-46adaa6d00a1" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Upload-Custom-Costs-File-returns-Accepted-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Upload-Custom-Costs-File-returns-Accepted-response.json index 6befc7183..3c639b318 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Upload-Custom-Costs-File-returns-Accepted-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Upload-Custom-Costs-File-returns-Accepted-response.json @@ -6,14 +6,7 @@ "string": "[{\"BilledCost\":250,\"BillingCurrency\":\"USD\",\"ChargeDescription\":\"my_description\",\"ChargePeriodEnd\":\"2023-06-06\",\"ChargePeriodStart\":\"2023-05-06\",\"ProviderName\":\"my_provider\",\"Tags\":{\"key\":\"value\"}}]", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cost/custom_costs" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Upload-Custom-Costs-file-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Upload-Custom-Costs-file-returns-Bad-Request-response.json index 43382ebc6..88b1cc293 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Upload-Custom-Costs-file-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Upload-Custom-Costs-file-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "[{\"BilledCost\":100.5,\"BillingCurrency\":\"USD\",\"ChargeDescription\":\"Monthly usage charge for my service\",\"ChargePeriodEnd\":\"2023-02-28\",\"ChargePeriodStart\":\"2023-02-01\"}]", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cost/custom_costs" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_cost_management/Validate-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_cost_management/Validate-query-returns-OK-response.json index 7ba13877f..c2af5fc51 100644 --- a/tests/scenarios/cassettes/v2/cloud_cost_management/Validate-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_cost_management/Validate-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"Query\":\"example:query AND test:true\"},\"type\":\"validate_query\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/tags/enrichment/validate-query" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-aggregated-connections-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-aggregated-connections-returns-OK-response.json index 7c0b86b7b..2baa28abd 100644 --- a/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-aggregated-connections-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-aggregated-connections-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/network/connections/aggregate" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-DNS-traffic-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-DNS-traffic-returns-Bad-Request-response.json index 1178d3a76..2f7c4d7b2 100644 --- a/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-DNS-traffic-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-DNS-traffic-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/network/dns/aggregate?group_by=server_ungrouped%2Cserver_service" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-DNS-traffic-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-DNS-traffic-returns-OK-response.json index 590a83514..189c5dd10 100644 --- a/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-DNS-traffic-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-DNS-traffic-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/network/dns/aggregate" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-connections-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-connections-returns-Bad-Request-response.json index e4ad1252c..dd98c29fe 100644 --- a/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-connections-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/cloud_network_monitoring/Get-all-aggregated-connections-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/network/connections/aggregate?limit=8000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-Bad-Request-response-due-to-missing-email.json b/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-Bad-Request-response-due-to-missing-email.json index a7d6ebdac..c8c7897ae 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-Bad-Request-response-due-to-missing-email.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-Bad-Request-response-due-to-missing-email.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"name\":\"testaddcloudflareaccountreturnsbadrequestresponseduetomissingemail1704393640\"},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-Bad-Request-response-using-invalid-auth-key.json b/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-Bad-Request-response-using-invalid-auth-key.json index fef18dfc5..d2ef82bf4 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-Bad-Request-response-using-invalid-auth-key.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-Bad-Request-response-using-invalid-auth-key.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"name\":\"testaddcloudflareaccountreturnsbadrequestresponseusinginvalidauthkey1704393641\"},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-CREATED-response-with-optional-filters.json b/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-CREATED-response-with-optional-filters.json index b652d3456..efe08dcc9 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-CREATED-response-with-optional-filters.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-CREATED-response-with-optional-filters.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"email\":\"new@email\",\"name\":\"testaddcloudflareaccountreturnscreatedresponsewithoptionalfilters1704309457\",\"resources\":[\"lb\",\"dns\"],\"zones\":[\"zone-id-1\",\"zone-id-2\"]},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-CREATED-response.json index 0be864118..26acba693 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/Add-Cloudflare-account-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"email\":\"dev@datadoghq.com\",\"name\":\"testaddcloudflareaccountreturnscreatedresponse1704393641\"},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/baa2079200095466b080d75adfdb32fa" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/Get-Cloudflare-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloudflare_integration/Get-Cloudflare-account-returns-OK-response.json index a5e63cff5..67de18f04 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/Get-Cloudflare-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/Get-Cloudflare-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"email\":\"dev@datadog.com\",\"name\":\"testgetcloudflareaccountreturnsokresponse1704393642\",\"resources\":[\"web\",\"dns\"],\"zones\":[\"zone-id-1\",\"zone-id-2\"]},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/88d65a60026254bfaf976a427606c061" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/88d65a60026254bfaf976a427606c061" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/List-Cloudflare-accounts-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloudflare_integration/List-Cloudflare-accounts-returns-OK-response.json index e925f3de7..fc7d7c05d 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/List-Cloudflare-accounts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/List-Cloudflare-accounts-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"email\":\"dev@datadog.com\",\"name\":\"testlistcloudflareaccountsreturnsokresponse1704393643\",\"resources\":[\"web\",\"dns\"],\"zones\":[\"zone-id-1\",\"zone-id-2\"]},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/032c2a7bec2890a18b9ff810ffbaf789" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-Bad-Request-response-due-to-invalid-api-key.json b/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-Bad-Request-response-due-to-invalid-api-key.json index d3b5b1059..c28db7927 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-Bad-Request-response-due-to-invalid-api-key.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-Bad-Request-response-due-to-invalid-api-key.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"email\":\"dev@datadog.com\",\"name\":\"testupdatecloudflareaccountreturnsbadrequestresponseduetoinvalidapikey1704393644\",\"resources\":[\"web\",\"dns\"],\"zones\":[\"zone-id-1\",\"zone-id-2\"]},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/25336f9851edaf58647eec09ce3b636f" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/25336f9851edaf58647eec09ce3b636f" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-Bad-Request-response-due-to-missing-required-email.json b/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-Bad-Request-response-due-to-missing-required-email.json index 35232b643..4417cdcaf 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-Bad-Request-response-due-to-missing-required-email.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-Bad-Request-response-due-to-missing-required-email.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"email\":\"dev@datadog.com\",\"name\":\"testupdatecloudflareaccountreturnsbadrequestresponseduetomissingrequiredemail1704393646\",\"resources\":[\"web\",\"dns\"],\"zones\":[\"zone-id-1\",\"zone-id-2\"]},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\"},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/f1d4f10fbad4add4962f2bc1fcb18c36" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/f1d4f10fbad4add4962f2bc1fcb18c36" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-OK-response.json index f4f2a2211..df1f04533 100644 --- a/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/cloudflare_integration/Update-Cloudflare-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"email\":\"dev@datadog.com\",\"name\":\"testupdatecloudflareaccountreturnsokresponse1704393647\",\"resources\":[\"web\",\"dns\"],\"zones\":[\"zone-id-1\",\"zone-id-2\"]},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"fakekey\",\"email\":\"dev@datadoghq.com\",\"zones\":[\"zone-id-3\"]},\"type\":\"cloudflare-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/6956534375b31b062c809696f3c34ee8" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/cloudflare/accounts/6956534375b31b062c809696f3c34ee8" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/confluent_cloud/Add-resource-to-Confluent-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/confluent_cloud/Add-resource-to-Confluent-account-returns-OK-response.json index c84159a37..070db0093 100644 --- a/tests/scenarios/cassettes/v2/confluent_cloud/Add-resource-to-Confluent-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/confluent_cloud/Add-resource-to-Confluent-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestAddresourcetoConfluentaccountreturnsOKresponse1688395120\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enable_custom_metrics\":false,\"resource_type\":\"kafka\",\"tags\":[\"myTag\",\"myTag2:myValue\"]},\"id\":\"testaddresourcetoconfluentaccountreturnsokresponse1688395120\",\"type\":\"confluent-cloud-resources\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/ca66091df9181d4c62d17f0484461a0d/resources" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/ca66091df9181d4c62d17f0484461a0d" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/confluent_cloud/Delete-Confluent-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/confluent_cloud/Delete-Confluent-account-returns-OK-response.json index 9febdb8a4..674f1522a 100644 --- a/tests/scenarios/cassettes/v2/confluent_cloud/Delete-Confluent-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/confluent_cloud/Delete-Confluent-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestDeleteConfluentaccountreturnsOKresponse1697461335\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/ed3f03aa36fdd7ba6b48381d54280e45" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/ed3f03aa36fdd7ba6b48381d54280e45" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/confluent_cloud/Get-Confluent-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/confluent_cloud/Get-Confluent-account-returns-OK-response.json index 93421d4e3..0d3059078 100644 --- a/tests/scenarios/cassettes/v2/confluent_cloud/Get-Confluent-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/confluent_cloud/Get-Confluent-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestGetConfluentaccountreturnsOKresponse1688395121\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/8a03a240e4d322d42edf6d4f4654a624" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/8a03a240e4d322d42edf6d4f4654a624" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/confluent_cloud/List-Confluent-accounts-returns-OK-response.json b/tests/scenarios/cassettes/v2/confluent_cloud/List-Confluent-accounts-returns-OK-response.json index a4a7f0d4b..a190cf24b 100644 --- a/tests/scenarios/cassettes/v2/confluent_cloud/List-Confluent-accounts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/confluent_cloud/List-Confluent-accounts-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestListConfluentaccountsreturnsOKresponse1665090166\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/45iw6lb8j5" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/confluent_cloud/Update-Confluent-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/confluent_cloud/Update-Confluent-account-returns-OK-response.json index ccf5ccb64..d7ede637f 100644 --- a/tests/scenarios/cassettes/v2/confluent_cloud/Update-Confluent-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/confluent_cloud/Update-Confluent-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestUpdateConfluentaccountreturnsOKresponse1665090166\",\"api_secret\":\"test-api-secret\",\"resources\":[{\"id\":\"test-resource-id\",\"resource_type\":\"kafka\",\"tags\":[\"tag1\",\"tag2:val2\"]}],\"tags\":[\"tag1\",\"tag2:val2\"]},\"type\":\"confluent-cloud-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestUpdateConfluentaccountreturnsOKresponse1665090166\",\"api_secret\":\"update-secret\",\"tags\":[\"updated_tag:val\"]},\"type\":\"confluent-cloud-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/ytthkwvtde" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/confluent-cloud/accounts/ytthkwvtde" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Image-groups-returns-OK-response.json b/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Image-groups-returns-OK-response.json index fb3c76912..c51b791d2 100644 --- a/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Image-groups-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Image-groups-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/container_images?group_by=short_image" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Images-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Images-returns-OK-response-with-pagination.json index 6e494c1e8..002b2de7a 100644 --- a/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Images-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Images-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/container_images?page%5Bsize%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/container_images?page%5Bsize%5D=2&page%5Bcursor%5D=bmFtZTowMTM5MTA3MzM1MTIuZGtyLmVjci51cy1lYXN0LTEuYW1hem9uYXdzLmNvbS9hcmdvfGlkOjAxMzkxMDczMzUxMi5ka3IuZWNyLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tL2FyZ29Ac2hhMjU2OjNlYWJjNzMwY2RiOTBiMWQ1N2QwNTkyNzJkZWQ3OWQ5NzZkNzk1ZTk0NzM0M2Q0NWFjMjA5MGViZjVmY2I2MTk%3D" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Images-returns-OK-response.json b/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Images-returns-OK-response.json index ef322bfb3..1074d47c8 100644 --- a/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Images-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/container_images/Get-all-Container-Images-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/container_images" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/containers/Get-All-Container-groups-returns-OK-response.json b/tests/scenarios/cassettes/v2/containers/Get-All-Container-groups-returns-OK-response.json index 98078ce90..cfca4002e 100644 --- a/tests/scenarios/cassettes/v2/containers/Get-All-Container-groups-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/containers/Get-All-Container-groups-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/containers?group_by=short_image" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/containers/Get-All-Containers-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/containers/Get-All-Containers-returns-OK-response-with-pagination.json index 2dc3b1bbc..584799f60 100644 --- a/tests/scenarios/cassettes/v2/containers/Get-All-Containers-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/containers/Get-All-Containers-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/containers?page%5Bsize%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/containers?page%5Bsize%5D=2&page%5Bcursor%5D=c3RhcnRlZDoxNjk3MTE4NDExMDAwLjAwMDAwMHxpZC5yYXc6Mjg4YmRmMWMtZWUyNS00M2EyLTY0NzAtMTFlMA%3D%3D" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/containers/Get-All-Containers-returns-OK-response.json b/tests/scenarios/cassettes/v2/containers/Get-All-Containers-returns-OK-response.json index 12892e5cb..bf7e23496 100644 --- a/tests/scenarios/cassettes/v2/containers/Get-All-Containers-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/containers/Get-All-Containers-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/containers" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_agents/Get-all-CSM-Agents-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_agents/Get-all-CSM-Agents-returns-OK-response.json index 6af610379..6d2292ded 100644 --- a/tests/scenarios/cassettes/v2/csm_agents/Get-all-CSM-Agents-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_agents/Get-all-CSM-Agents-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/csm/onboarding/agents" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_agents/Get-all-CSM-Serverless-Agents-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_agents/Get-all-CSM-Serverless-Agents-returns-OK-response.json index d849de6ba..23d75c0a3 100644 --- a/tests/scenarios/cassettes/v2/csm_agents/Get-all-CSM-Serverless-Agents-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_agents/Get-all-CSM-Serverless-Agents-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/csm/onboarding/serverless/agents" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Cloud-Accounts-Coverage-Analysis-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Cloud-Accounts-Coverage-Analysis-returns-OK-response.json index 3c7f3f8e3..9f75595a0 100644 --- a/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Cloud-Accounts-Coverage-Analysis-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Cloud-Accounts-Coverage-Analysis-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/csm/onboarding/coverage_analysis/cloud_accounts" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Hosts-and-Containers-Coverage-Analysis-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Hosts-and-Containers-Coverage-Analysis-returns-OK-response.json index 6c9605fe7..8b4ce9ee4 100644 --- a/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Hosts-and-Containers-Coverage-Analysis-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Hosts-and-Containers-Coverage-Analysis-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/csm/onboarding/coverage_analysis/hosts_and_containers" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Serverless-Coverage-Analysis-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Serverless-Coverage-Analysis-returns-OK-response.json index d1b67710e..931a767e5 100644 --- a/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Serverless-Coverage-Analysis-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_coverage_analysis/Get-the-CSM-Serverless-Coverage-Analysis-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/csm/onboarding/coverage_analysis/serverless" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-US1-FED-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-US1-FED-returns-Bad-Request-response.json index 199026f99..cf1e5046f 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-US1-FED-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-US1-FED-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsbadrequestresponse1748342086\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name\",\"filters\":[],\"name\":\"my_agent_rule\"},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/tit-1qd-6up" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json index c539291f6..2b10b5344 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsokresponse1748342075\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[],\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsokresponse1748342075\"},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/xxe-f2q-be6" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/ies-ggj-tnt" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-returns-Bad-Request-response.json index 3c9e5ddd0..d85608579 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1765469352\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name\",\"filters\":[],\"name\":\"my_agent_rule\",\"policy_id\":\"0w7-waz-oev\",\"product_tags\":[]},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/0w7-waz-oev" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-returns-OK-response.json index 16b56bfd1..afa2d1817 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1765469355\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"agent_version\":\"> 7.60\",\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1765469355\",\"policy_id\":\"gar-bus-heu\",\"product_tags\":[]},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/chr-zcp-dek" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/gar-bus-heu" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-with-set-action-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-with-set-action-returns-OK-response.json index 22805e89d..5b56ddb44 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-with-set-action-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-with-set-action-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1765469358\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"inherited\":true,\"name\":\"test_set\",\"scope\":\"process\",\"value\":\"test_value\"}},{\"hash\":{\"field\":\"exec.file\"}}],\"description\":\"My Agent rule with set action\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1765469358\",\"policy_id\":\"20s-mzx-tbv\",\"product_tags\":[]},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/7qu-bf8-yq0" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/20s-mzx-tbv" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-with-set-action-with-expression-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-with-set-action-with-expression-returns-OK-response.json index 7e60fe08b..649b6b152 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-with-set-action-with-expression-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-agent-rule-with-set-action-with-expression-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1765469361\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"default_value\":\"/dev/null\",\"expression\":\"exec.file.path\",\"name\":\"test_set\",\"scope\":\"process\"}}],\"description\":\"My Agent rule with set action with expression\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1765469361\",\"policy_id\":\"xia-aut-8xj\",\"product_tags\":[]},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/0xb-jfr-rih" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/xia-aut-8xj" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-policy-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-policy-returns-Bad-Request-response.json index d8eaca710..84d88a58c 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-policy-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-policy-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[],\"hostTagsLists\":[],\"name\":\"test\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-policy-returns-OK-response.json index e34fa9c83..d4144b1b8 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Create-a-Workload-Protection-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTagsLists\":[[\"env:test\"]],\"name\":\"my_agent_policy_2\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/dmx-r5f-1rk" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json index 4288e2da5..ec3cdd2ce 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/non-existent-rule-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json index d1e9cbc2d..a8843b710 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testdeleteaworkloadprotectionagentruleus1fedreturnsokresponse1748342056\"},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/3mv-eeb-jbf" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/3mv-eeb-jbf" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-returns-Not-Found-response.json index 0a19bf8e8..6eee1e8e2 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/non-existent-rule-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-returns-OK-response.json index a3d580fe2..4fbc8b92f 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-agent-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1765469367\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"scope\":\"process\",\"value\":\"test_value\"}},{\"hash\":{}}],\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1765469367\",\"policy_id\":\"smh-tlz-mqj\",\"product_tags\":[\"security:attack\",\"technique:T1059\"]},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/aah-hmj-z0c?policy_id=smh-tlz-mqj" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/aah-hmj-z0c" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/smh-tlz-mqj" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-policy-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-policy-returns-Not-Found-response.json index 68228b1a0..2b188605f 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-policy-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-policy-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/non-existent-policy-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-policy-returns-OK-response.json index e08def8ff..d6ac87299 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Delete-a-Workload-Protection-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testdeleteaworkloadprotectionpolicyreturnsokresponse1765469372\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/vsz-2f2-xdy" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/vsz-2f2-xdy" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Download-the-Workload-Protection-policy-US1-FED-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Download-the-Workload-Protection-policy-US1-FED-returns-OK-response.json index 740e3405c..48e6244f7 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Download-the-Workload-Protection-policy-US1-FED-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Download-the-Workload-Protection-policy-US1-FED-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/yaml, application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/cloud_workload/policy/download" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Download-the-Workload-Protection-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Download-the-Workload-Protection-policy-returns-OK-response.json index da1d2376d..7bcd9623c 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Download-the-Workload-Protection-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Download-the-Workload-Protection-policy-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/zip, application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/download" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json index e3c370768..5a372a764 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/abc-def-ghi" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json index d5b8d09be..f7bed77e1 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testgetaworkloadprotectionagentruleus1fedreturnsokresponse1765469377\"},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/gdb-grp-c2f" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/gdb-grp-c2f" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-returns-Not-Found-response.json index c963862fc..93d884b57 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/abc-def-ghi" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-returns-OK-response.json index bfb6214ec..5f9ae9e40 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-agent-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testgetaworkloadprotectionagentrulereturnsokresponse1765469379\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"scope\":\"process\",\"value\":\"test_value\"}},{\"hash\":{}}],\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testgetaworkloadprotectionagentrulereturnsokresponse1765469379\",\"policy_id\":\"yos-skc-lxw\",\"product_tags\":[\"security:attack\",\"technique:T1059\"]},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/5dm-ng6-nh7?policy_id=yos-skc-lxw" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/5dm-ng6-nh7" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/yos-skc-lxw" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-policy-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-policy-returns-Not-Found-response.json index 6cc53b2b0..58118a1db 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-policy-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-policy-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/non-existent-policy-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-policy-returns-OK-response.json index 62e12d5cc..a773eb833 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-a-Workload-Protection-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testgetaworkloadprotectionpolicyreturnsokresponse1765469384\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/cs2-3lk-r1k" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/cs2-3lk-r1k" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-agent-rules-US1-FED-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-agent-rules-US1-FED-returns-OK-response.json index 1d6d08471..b2d4c8afc 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-agent-rules-US1-FED-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-agent-rules-US1-FED-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-agent-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-agent-rules-returns-OK-response.json index a8ef0beef..87c985263 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-agent-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-agent-rules-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-policies-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-policies-returns-OK-response.json index 708d62b09..16ea68e9d 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-policies-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Get-all-Workload-Protection-policies-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-Bad-Request-response.json index 2c29434fd..debca26ab 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateaworkloadprotectionagentruleus1fedreturnsbadrequestresponse1748342045\"},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name\"},\"id\":\"q58-cpj-dtw\",\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/q58-cpj-dtw" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/q58-cpj-dtw" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json index ed721b2d2..d751936b9 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"id\":\"invalid-agent-rule-id\",\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/non-existent-rule-id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json index c86dfa0f7..7a419ecb0 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-US1-FED-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateaworkloadprotectionagentruleus1fedreturnsokresponse1748342023\"},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Updated Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"id\":\"dz8-9mj-136\",\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/dz8-9mj-136" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/dz8-9mj-136" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-returns-Bad-Request-response.json index 63ec92eab..690bd5034 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1765469392\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"scope\":\"process\",\"value\":\"test_value\"}},{\"hash\":{}}],\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1765469392\",\"policy_id\":\"jhz-vb4-ice\",\"product_tags\":[\"security:attack\",\"technique:T1059\"]},\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"policy_id\":\"jhz-vb4-ice\",\"product_tags\":[]},\"id\":\"invalid-agent-rule-id\",\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/q0v-vqt-vvf" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/q0v-vqt-vvf" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/jhz-vb4-ice" }, @@ -160,4 +131,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-returns-Not-Found-response.json index a121c44b4..bf5be35eb 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-agent-rule-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testupdateaworkloadprotectionagentrulereturnsnotfoundresponse1765469395\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"policy_id\":\"y3m-xkt-wor\",\"product_tags\":[]},\"id\":\"non-existent-rule-id\",\"type\":\"agent_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/non-existent-rule-id" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/y3m-xkt-wor" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-Bad-Request-response.json index 4911f5fe9..c84841e6a 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testupdateaworkloadprotectionpolicyreturnsbadrequestresponse1765469398\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:test\"],\"hostTagsLists\":[[\"env:test\"]],\"name\":\"\"},\"id\":\"gfx-iai-hwm\",\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/gfx-iai-hwm" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/gfx-iai-hwm" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-Not-Found-response.json index 05ca27591..73b04f64e 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[],\"name\":\"my_agent_policy\"},\"id\":\"non-existent-policy-id\",\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/non-existent-policy-id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-OK-response.json index 5a76394a6..c07f9baf5 100644 --- a/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/csm_threats/Update-a-Workload-Protection-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"My agent policy\",\"enabled\":true,\"hostTags\":[\"env:staging\"],\"name\":\"testupdateaworkloadprotectionpolicyreturnsokresponse1765469401\"},\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Updated agent policy\",\"enabled\":true,\"hostTagsLists\":[[\"env:test\"]],\"name\":\"updated_agent_policy\"},\"id\":\"enm-uk3-cvx\",\"type\":\"policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/enm-uk3-cvx" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/enm-uk3-cvx" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dashboard_lists/Add-custom-screenboard-dashboard-to-an-existing-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v2/dashboard_lists/Add-custom-screenboard-dashboard-to-an-existing-dashboard-list-returns-OK-response.json index 51115e66a..1c6cde06a 100644 --- a/tests/scenarios/cassettes/v2/dashboard_lists/Add-custom-screenboard-dashboard-to-an-existing-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dashboard_lists/Add-custom-screenboard-dashboard-to-an-existing-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Add_custom_screenboard_dashboard_to_an_existing_dashboard_list_returns_OK_response-1647890202\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -40,14 +33,7 @@ "string": "{\"layout_type\":\"free\",\"title\":\"Test-Add_custom_screenboard_dashboard_to_an_existing_dashboard_list_returns_OK_response-1647890202 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"layout\":{\"height\":10,\"width\":10,\"x\":10,\"y\":10}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -74,14 +60,7 @@ "string": "{\"dashboards\":[{\"id\":\"sza-uj6-6p4\",\"type\":\"custom_screenboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284061/dashboards" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/sza-uj6-6p4" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/284061" }, @@ -160,4 +131,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dashboard_lists/Add-custom-timeboard-dashboard-to-an-existing-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v2/dashboard_lists/Add-custom-timeboard-dashboard-to-an-existing-dashboard-list-returns-OK-response.json index 7c79d5a69..7c7928baa 100644 --- a/tests/scenarios/cassettes/v2/dashboard_lists/Add-custom-timeboard-dashboard-to-an-existing-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dashboard_lists/Add-custom-timeboard-dashboard-to-an-existing-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Add_custom_timeboard_dashboard_to_an_existing_dashboard_list_returns_OK_response-1647890204\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -40,14 +33,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Add_custom_timeboard_dashboard_to_an_existing_dashboard_list_returns_OK_response-1647890204 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -74,14 +60,7 @@ "string": "{\"dashboards\":[{\"id\":\"r9t-5r7-8gb\",\"type\":\"custom_timeboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284062/dashboards" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/r9t-5r7-8gb" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/284062" }, @@ -160,4 +131,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dashboard_lists/Delete-custom-screenboard-dashboard-from-an-existing-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v2/dashboard_lists/Delete-custom-screenboard-dashboard-from-an-existing-dashboard-list-returns-OK-response.json index c1391d340..0b06480eb 100644 --- a/tests/scenarios/cassettes/v2/dashboard_lists/Delete-custom-screenboard-dashboard-from-an-existing-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dashboard_lists/Delete-custom-screenboard-dashboard-from-an-existing-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Delete_custom_screenboard_dashboard_from_an_existing_dashboard_list_returns_OK_response-1647890206\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -40,14 +33,7 @@ "string": "{\"layout_type\":\"free\",\"title\":\"Test-Delete_custom_screenboard_dashboard_from_an_existing_dashboard_list_returns_OK_response-1647890206 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"layout\":{\"height\":10,\"width\":10,\"x\":10,\"y\":10}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -74,14 +60,7 @@ "string": "{\"dashboards\":[{\"id\":\"dam-zij-6w8\",\"type\":\"custom_screenboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284063/dashboards" }, @@ -108,14 +87,7 @@ "string": "{\"dashboards\":[{\"id\":\"dam-zij-6w8\",\"type\":\"custom_screenboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284063/dashboards" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/dam-zij-6w8" }, @@ -167,11 +135,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/284063" }, @@ -194,4 +158,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dashboard_lists/Delete-custom-timeboard-dashboard-from-an-existing-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v2/dashboard_lists/Delete-custom-timeboard-dashboard-from-an-existing-dashboard-list-returns-OK-response.json index c1f135b1a..2737efdff 100644 --- a/tests/scenarios/cassettes/v2/dashboard_lists/Delete-custom-timeboard-dashboard-from-an-existing-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dashboard_lists/Delete-custom-timeboard-dashboard-from-an-existing-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Delete_custom_timeboard_dashboard_from_an_existing_dashboard_list_returns_OK_response-1647890207\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -40,14 +33,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Delete_custom_timeboard_dashboard_from_an_existing_dashboard_list_returns_OK_response-1647890207 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -74,14 +60,7 @@ "string": "{\"dashboards\":[{\"id\":\"x4b-fxa-rsf\",\"type\":\"custom_timeboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284064/dashboards" }, @@ -108,14 +87,7 @@ "string": "{\"dashboards\":[{\"id\":\"x4b-fxa-rsf\",\"type\":\"custom_timeboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284064/dashboards" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/x4b-fxa-rsf" }, @@ -167,11 +135,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/284064" }, @@ -194,4 +158,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dashboard_lists/Get-items-of-a-Dashboard-List-returns-OK-response.json b/tests/scenarios/cassettes/v2/dashboard_lists/Get-items-of-a-Dashboard-List-returns-OK-response.json index 048a1e126..8a22721bf 100644 --- a/tests/scenarios/cassettes/v2/dashboard_lists/Get-items-of-a-Dashboard-List-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dashboard_lists/Get-items-of-a-Dashboard-List-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Get_items_of_a_Dashboard_List_returns_OK_response-1647890209\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -40,14 +33,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_items_of_a_Dashboard_List_returns_OK_response-1647890209 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -74,14 +60,7 @@ "string": "{\"dashboards\":[{\"id\":\"ayt-gzk-ffi\",\"type\":\"custom_timeboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284065/dashboards" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284065/dashboards" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/ayt-gzk-ffi" }, @@ -161,11 +132,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/284065" }, @@ -188,4 +155,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dashboard_lists/Update-items-of-a-dashboard-list-returns-OK-response.json b/tests/scenarios/cassettes/v2/dashboard_lists/Update-items-of-a-dashboard-list-returns-OK-response.json index c03c23f2f..0d7cdf5a9 100644 --- a/tests/scenarios/cassettes/v2/dashboard_lists/Update-items-of-a-dashboard-list-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dashboard_lists/Update-items-of-a-dashboard-list-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"name\":\"Test-Update_items_of_a_dashboard_list_returns_OK_response-1647890211\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual" }, @@ -40,14 +33,7 @@ "string": "{\"layout_type\":\"ordered\",\"title\":\"Test-Update_items_of_a_dashboard_list_returns_OK_response-1647890211 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -74,14 +60,7 @@ "string": "{\"layout_type\":\"free\",\"title\":\"Test-Update_items_of_a_dashboard_list_returns_OK_response-1647890211 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"layout\":{\"height\":10,\"width\":10,\"x\":10,\"y\":10}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/dashboard" }, @@ -108,14 +87,7 @@ "string": "{\"dashboards\":[{\"id\":\"niu-g3w-pmy\",\"type\":\"custom_timeboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284066/dashboards" }, @@ -142,14 +114,7 @@ "string": "{\"dashboards\":[{\"id\":\"kqn-ck6-7nq\",\"type\":\"custom_screenboard\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/dashboard/lists/manual/284066/dashboards" }, @@ -173,11 +138,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/kqn-ck6-7nq" }, @@ -201,11 +162,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/niu-g3w-pmy" }, @@ -229,11 +186,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/284066" }, @@ -256,4 +209,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-Bad-Request-response.json index 86ca4f9c8..217f6a698 100644 --- a/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deletion/requests/id-1/cancel" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-OK-response.json b/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-OK-response.json index 2cbf20314..ea3b6113d 100644 --- a/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1672527600000,\"indexes\":[\"test-index\",\"test-index-2\"],\"query\":{\"host\":\"abc\",\"service\":\"xyz\"},\"to\":1704063600000},\"type\":\"create_deletion_req\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deletion/data/logs" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deletion/requests/753/cancel" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deletion/requests/753/cancel" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-Precondition-failed-error-response.json b/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-Precondition-failed-error-response.json index 53fae2756..9115a6da2 100644 --- a/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-Precondition-failed-error-response.json +++ b/tests/scenarios/cassettes/v2/data_deletion/Cancels-a-data-deletion-request-returns-Precondition-failed-error-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deletion/requests/-1/cancel" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/data_deletion/Creates-a-data-deletion-request-returns-OK-response.json b/tests/scenarios/cassettes/v2/data_deletion/Creates-a-data-deletion-request-returns-OK-response.json index ceaea4d06..3bc5269a9 100644 --- a/tests/scenarios/cassettes/v2/data_deletion/Creates-a-data-deletion-request-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/data_deletion/Creates-a-data-deletion-request-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1672527600000,\"indexes\":[\"test-index\",\"test-index-2\"],\"query\":{\"host\":\"abc\",\"service\":\"xyz\"},\"to\":1704063600000},\"type\":\"create_deletion_req\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deletion/data/logs" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deletion/requests/754/cancel" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/data_deletion/Creates-a-data-deletion-request-returns-Precondition-failed-error-response.json b/tests/scenarios/cassettes/v2/data_deletion/Creates-a-data-deletion-request-returns-Precondition-failed-error-response.json index 795a1dd3a..74f465e17 100644 --- a/tests/scenarios/cassettes/v2/data_deletion/Creates-a-data-deletion-request-returns-Precondition-failed-error-response.json +++ b/tests/scenarios/cassettes/v2/data_deletion/Creates-a-data-deletion-request-returns-Precondition-failed-error-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1672527600000,\"indexes\":[\"test-index\",\"test-index-2\"],\"query\":{},\"to\":1704063600000},\"type\":\"create_deletion_req\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deletion/data/logs" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/data_deletion/Gets-a-list-of-data-deletion-requests-returns-OK-response.json b/tests/scenarios/cassettes/v2/data_deletion/Gets-a-list-of-data-deletion-requests-returns-OK-response.json index cc5e6e7dd..ca2ce93d5 100644 --- a/tests/scenarios/cassettes/v2/data_deletion/Gets-a-list-of-data-deletion-requests-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/data_deletion/Gets-a-list-of-data-deletion-requests-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1672527600000,\"indexes\":[\"test-index\",\"test-index-2\"],\"query\":{\"host\":\"abc\",\"service\":\"xyz\"},\"to\":1704063600000},\"type\":\"create_deletion_req\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deletion/data/logs" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/deletion/requests" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deletion/requests/755/cancel" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-Bad-Request-response.json index aa0df6a1c..cfdcb6404 100644 --- a/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"test\":\"bad_request\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-Conflict-response.json index 520531a46..624c36257 100644 --- a/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/7cbada94-7d01-4e73-8c74-ea70fb3b3088" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-OK-response.json b/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-OK-response.json index b9051e0ab..579a5b45f 100644 --- a/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Create-a-dataset-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/86f67664-8b7b-49ae-b671-919ebe11886c" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-Bad-Request-response.json index 79d903017..b21ec86ce 100644 --- a/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/malformed_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-No-Content-response.json index 0e67b7f29..d00d780b6 100644 --- a/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/60ee6562-48f5-455f-bdb4-fd3f5f899978" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/60ee6562-48f5-455f-bdb4-fd3f5f899978" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-Not-Found-response.json index 5f0521e2f..85a1fff88 100644 --- a/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Delete-a-dataset-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Edit-a-dataset-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/datasets/Edit-a-dataset-returns-Bad-Request-response.json index f3f3df190..34be72e0f 100644 --- a/tests/scenarios/cassettes/v2/datasets/Edit-a-dataset-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Edit-a-dataset-returns-Bad-Request-response.json @@ -3,14 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/datasets/malformed_id" }, @@ -33,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Edit-a-dataset-returns-OK-response.json b/tests/scenarios/cassettes/v2/datasets/Edit-a-dataset-returns-OK-response.json index 2da45e8a8..49a287e13 100644 --- a/tests/scenarios/cassettes/v2/datasets/Edit-a-dataset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Edit-a-dataset-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:1234\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/datasets/2bf848a1-b18a-4602-8348-814a53862c52" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/2bf848a1-b18a-4602-8348-814a53862c52" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Get-a-single-dataset-by-ID-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/datasets/Get-a-single-dataset-by-ID-returns-Bad-Request-response.json index bd1a144e0..e876ea188 100644 --- a/tests/scenarios/cassettes/v2/datasets/Get-a-single-dataset-by-ID-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Get-a-single-dataset-by-ID-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/datasets/malformed_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Get-a-single-dataset-by-ID-returns-OK-response.json b/tests/scenarios/cassettes/v2/datasets/Get-a-single-dataset-by-ID-returns-OK-response.json index 193d3164e..3fa3ef7be 100644 --- a/tests/scenarios/cassettes/v2/datasets/Get-a-single-dataset-by-ID-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Get-a-single-dataset-by-ID-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/datasets/9e576299-3cc1-4145-8aad-67a1ab914829" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/9e576299-3cc1-4145-8aad-67a1ab914829" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/datasets/Get-all-datasets-returns-OK-response.json b/tests/scenarios/cassettes/v2/datasets/Get-all-datasets-returns-OK-response.json index e94c8482c..639c74239 100644 --- a/tests/scenarios/cassettes/v2/datasets/Get-all-datasets-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/datasets/Get-all-datasets-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Audit Dataset\",\"principals\":[\"role:94172442-be03-11e9-a77a-3b7612558ac1\"],\"product_filters\":[{\"filters\":[\"@application.id:ABCD\"],\"product\":\"metrics\"}]},\"type\":\"dataset\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/datasets" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/datasets/b0f617b4-affb-4411-970a-2c157933514c" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-gate-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-gate-returns-Bad-Request-response.json index abce249a7..5a2ce9894 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-gate-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-gate-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"env\":\"\",\"identifier\":\"my-gate\",\"service\":\"test-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-gate-returns-OK-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-gate-returns-OK-response.json index 003147943..fbec156a6 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-gate-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-gate-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-1\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/0cc075c2-fec1-4ed3-9e43-0882646fac07" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-rule-returns-Bad-Request-response.json index e744a4f83..acaa327cb 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testcreatedeploymentrulereturnsbadrequestresponse1765358629\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"test\",\"options\":{\"excluded_resources\":[]},\"type\":\"fdd\"},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/39b27cfd-44c1-4ec0-900b-3b46ca2ab8c1/rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/39b27cfd-44c1-4ec0-900b-3b46ca2ab8c1" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-rule-returns-OK-response.json index 86a3f56e8..0d0d1b76d 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Create-deployment-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testcreatedeploymentrulereturnsokresponse1765358630\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/24d967fe-1dec-4957-bf77-7eda18a65d47/rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/24d967fe-1dec-4957-bf77-7eda18a65d47/rules/ebe85a93-a82d-49ec-8925-6d3d569012bb" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/24d967fe-1dec-4957-bf77-7eda18a65d47" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-gate-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-gate-returns-Bad-Request-response.json index 04b5058d4..735e03b46 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-gate-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-gate-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/invalid-gate-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-gate-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-gate-returns-No-Content-response.json index 86cddd094..ccdbd74cb 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-gate-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-gate-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testdeletedeploymentgatereturnsnocontentresponse1765358631\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/03a2ecd3-87ad-45aa-9dbb-fda1215a4087" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/03a2ecd3-87ad-45aa-9dbb-fda1215a4087" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-rule-returns-Bad-Request-response.json index e6527d05b..2e790595c 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-rule-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/invalid-gate-id/rules/invalid-rule-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-rule-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-rule-returns-No-Content-response.json index 388958620..3192c2fc2 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-rule-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Delete-deployment-rule-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testdeletedeploymentrulereturnsnocontentresponse1765358631\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/b30401bf-4220-4d42-82ef-68d1a7916f21/rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/b30401bf-4220-4d42-82ef-68d1a7916f21/rules/3e9bb31e-27be-43d0-9ef8-571a7f221f59" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/b30401bf-4220-4d42-82ef-68d1a7916f21/rules/3e9bb31e-27be-43d0-9ef8-571a7f221f59" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/b30401bf-4220-4d42-82ef-68d1a7916f21" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-gate-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-gate-returns-Bad-Request-response.json index 034976c6e..be3b02a59 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-gate-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-gate-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/invalid-gate-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-gate-returns-OK-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-gate-returns-OK-response.json index 6aa1e4776..c1e7bb3b6 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-gate-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-gate-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentgatereturnsokresponse1765358631\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/da8c8c14-6bb2-4fc6-8dac-4027468738e4" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/da8c8c14-6bb2-4fc6-8dac-4027468738e4" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-rule-returns-Bad-Request-response.json index 7dc3b6c3f..b68501f00 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentrulereturnsbadrequestresponse1765358631\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/5815296a-7bd8-4a27-86c1-9bb266c19078/rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/invalid-gate-id/rules/invalid-rule-id" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/5815296a-7bd8-4a27-86c1-9bb266c19078/rules/1b2fb3ea-a7aa-4d17-92ac-53e625de862e" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/5815296a-7bd8-4a27-86c1-9bb266c19078" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-rule-returns-OK-response.json index 1b438e43d..6e9d3df45 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Get-deployment-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentrulereturnsokresponse1765358631\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/6177e46c-44dc-453d-8af8-8af86aa93c29/rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/6177e46c-44dc-453d-8af8-8af86aa93c29/rules/38e32cd3-d245-49c1-85c5-b039ef868a18" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/6177e46c-44dc-453d-8af8-8af86aa93c29/rules/38e32cd3-d245-49c1-85c5-b039ef868a18" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/6177e46c-44dc-453d-8af8-8af86aa93c29" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Get-rules-for-a-deployment-gate-returns-OK-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Get-rules-for-a-deployment-gate-returns-OK-response.json index 920b04523..d372e9a61 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Get-rules-for-a-deployment-gate-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Get-rules-for-a-deployment-gate-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetrulesforadeploymentgatereturnsokresponse1765394842\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/718d7fb4-bbc4-4b69-8a1b-98dda014726d/rules" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/718d7fb4-bbc4-4b69-8a1b-98dda014726d" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-gate-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-gate-returns-Bad-Request-response.json index bd87dd989..501f9b7c8 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-gate-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-gate-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":true},\"id\":\"invalid-gate-id\",\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/invalid-gate-id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-gate-returns-OK-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-gate-returns-OK-response.json index b00c6cd07..d9294901e 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-gate-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-gate-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentgatereturnsokresponse1765358632\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false},\"id\":\"12345678-1234-1234-1234-123456789012\",\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/c718bd5b-86d4-43a5-9aff-b4e7757074ba" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/c718bd5b-86d4-43a5-9aff-b4e7757074ba" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-rule-returns-Bad-Request-response.json index 294c2fea8..0cc4f5fac 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentrulereturnsbadrequestresponse1765358632\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/edb4daf3-86d3-43d0-9a18-0390d53c4a52/rules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"Updated deployment rule\",\"options\":{\"excluded_resources\":[]}},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/invalid-gate-id/rules/invalid-rule-id" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/edb4daf3-86d3-43d0-9a18-0390d53c4a52/rules/f66b2121-b794-4926-8d65-c1f2dcb7870b" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/edb4daf3-86d3-43d0-9a18-0390d53c4a52" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-rule-returns-OK-response.json index 248887f5b..935c64536 100644 --- a/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/deployment_gates/Update-deployment-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentrulereturnsokresponse1765358632\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/3acb9ac2-abba-4579-8697-79493b221d41/rules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"Updated deployment rule\",\"options\":{\"excluded_resources\":[]}},\"type\":\"deployment_rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/3acb9ac2-abba-4579-8697-79493b221d41/rules/ee04f24f-a980-4a28-a839-29911a632978" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/3acb9ac2-abba-4579-8697-79493b221d41/rules/ee04f24f-a980-4a28-a839-29911a632978" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/deployment_gates/3acb9ac2-abba-4579-8697-79493b221d41" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/domain_allowlist/Get-Domain-Allowlist-returns-OK-response.json b/tests/scenarios/cassettes/v2/domain_allowlist/Get-Domain-Allowlist-returns-OK-response.json index f5abb962e..79b490450 100644 --- a/tests/scenarios/cassettes/v2/domain_allowlist/Get-Domain-Allowlist-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/domain_allowlist/Get-Domain-Allowlist-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/domain_allowlist" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/domain_allowlist/Sets-Domain-Allowlist-returns-OK-response.json b/tests/scenarios/cassettes/v2/domain_allowlist/Sets-Domain-Allowlist-returns-OK-response.json index 7aa2f7dbd..9708db2cd 100644 --- a/tests/scenarios/cassettes/v2/domain_allowlist/Sets-Domain-Allowlist-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/domain_allowlist/Sets-Domain-Allowlist-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"domains\":[\"@static-test-domain.test\"],\"enabled\":false},\"type\":\"domain_allowlist\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/domain_allowlist" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-deployment-events-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-deployment-events-returns-Bad-Request-response.json index b210e2836..7d811fb22 100644 --- a/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-deployment-events-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-deployment-events-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"limit\":10}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dora/deployments" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-deployment-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-deployment-events-returns-OK-response.json index af4760542..7737b2edf 100644 --- a/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-deployment-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-deployment-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":\"2025-03-23T00:00:00Z\",\"limit\":1,\"to\":\"2025-03-24T00:00:00Z\"},\"type\":\"dora_deployments_list_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dora/deployments" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-failure-events-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-failure-events-returns-Bad-Request-response.json index 0765cb5b7..1a54bd689 100644 --- a/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-failure-events-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-failure-events-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"limit\":10}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dora/failures" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-failure-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-failure-events-returns-OK-response.json index ce749449c..0c9703f64 100644 --- a/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-failure-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dora_metrics/Get-a-list-of-failure-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":\"2025-03-23T00:00:00Z\",\"limit\":1,\"to\":\"2025-03-24T00:00:00Z\"},\"type\":\"dora_failures_list_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dora/failures" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dora_metrics/Patch-a-deployment-event-returns-Accepted-response.json b/tests/scenarios/cassettes/v2/dora_metrics/Patch-a-deployment-event-returns-Accepted-response.json index e8732ffa0..2d1e10015 100644 --- a/tests/scenarios/cassettes/v2/dora_metrics/Patch-a-deployment-event-returns-Accepted-response.json +++ b/tests/scenarios/cassettes/v2/dora_metrics/Patch-a-deployment-event-returns-Accepted-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"finished_at\":1769678752000000000,\"git\":{\"commit_sha\":\"66adc9350f2cc9b250b69abddab733dd55e1a588\",\"repository_url\":\"https://github.com/organization/example-repository\"},\"id\":\"08a3dbc57bb781a5\",\"service\":\"shopist\",\"started_at\":1769675152000000000,\"version\":\"v1.12.07\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dora/deployment" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"change_failure\":true,\"remediation\":{\"id\":\"eG42zNIkVjM\",\"type\":\"rollback\"}},\"id\":\"08a3dbc57bb781a5\",\"type\":\"dora_deployment_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/dora/deployments/08a3dbc57bb781a5" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dora_metrics/Patch-a-deployment-event-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/dora_metrics/Patch-a-deployment-event-returns-Bad-Request-response.json index f9edb7f79..c029f6f29 100644 --- a/tests/scenarios/cassettes/v2/dora_metrics/Patch-a-deployment-event-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/dora_metrics/Patch-a-deployment-event-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"finished_at\":1769678752000000000,\"git\":{\"commit_sha\":\"66adc9350f2cc9b250b69abddab733dd55e1a588\",\"repository_url\":\"https://github.com/organization/example-repository\"},\"id\":\"bf100f167795c925\",\"service\":\"shopist\",\"started_at\":1769675152000000000,\"version\":\"v1.12.07\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dora/deployment" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"change_failure\":true,\"remediation\":{\"id\":\"eG42zNIkVjM\",\"type\":\"wrong_type\"}},\"id\":\"bf100f167795c925\",\"type\":\"dora_deployment_patch_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/dora/deployments/bf100f167795c925" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dora_metrics/Send-a-deployment-event-returns-OK-response.json b/tests/scenarios/cassettes/v2/dora_metrics/Send-a-deployment-event-returns-OK-response.json index 7be12e2da..a7e807e03 100644 --- a/tests/scenarios/cassettes/v2/dora_metrics/Send-a-deployment-event-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dora_metrics/Send-a-deployment-event-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"finished_at\":1693491984000000000,\"git\":{\"commit_sha\":\"66adc9350f2cc9b250b69abddab733dd55e1a588\",\"repository_url\":\"https://github.com/organization/example-repository\"},\"service\":\"shopist\",\"started_at\":1693491974000000000,\"version\":\"v1.12.07\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dora/deployment" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/dora_metrics/Send-a-failure-event-returns-OK-response.json b/tests/scenarios/cassettes/v2/dora_metrics/Send-a-failure-event-returns-OK-response.json index 231a65b78..a3615924a 100644 --- a/tests/scenarios/cassettes/v2/dora_metrics/Send-a-failure-event-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/dora_metrics/Send-a-failure-event-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"finished_at\":1707842944600000000,\"git\":{\"commit_sha\":\"66adc9350f2cc9b250b69abddab733dd55e1a588\",\"repository_url\":\"https://github.com/organization/example-repository\"},\"name\":\"Webserver is down failing all requests\",\"services\":[\"shopist\"],\"severity\":\"High\",\"started_at\":1707842944500000000,\"team\":\"backend\",\"version\":\"v1.12.07\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/dora/incident" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Cancel-a-downtime-returns-Downtime-not-found-response.json b/tests/scenarios/cassettes/v2/downtimes/Cancel-a-downtime-returns-Downtime-not-found-response.json index 3bc5812cd..1d6dfc9b1 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Cancel-a-downtime-returns-Downtime-not-found-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Cancel-a-downtime-returns-Downtime-not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/downtime/00000000-0000-1234-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Cancel-a-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v2/downtimes/Cancel-a-downtime-returns-OK-response.json index f30071ee7..854d48237 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Cancel-a-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Cancel-a-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"message\":\"test message\",\"monitor_identifier\":{\"monitor_tags\":[\"cat:hat\"]},\"schedule\":{\"start\":null},\"scope\":\"test:testcanceladowntimereturnsokresponse1685739202\"},\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/downtime/83718756-0187-11ee-8c18-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/downtime/83718756-0187-11ee-8c18-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-Bad-Request-response.json index e0b043035..38ca25d0c 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/downtime/INVALID_UUID_LENGTH" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-Not-Found-response.json index 6efbd55b1..ba381cc4e 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/downtime/00000000-0000-1234-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-OK-response.json index fefb7c4af..26502d826 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Get-a-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"message\":\"test message\",\"monitor_identifier\":{\"monitor_tags\":[\"cat:hat\"]},\"schedule\":{\"start\":null},\"scope\":\"test:testgetadowntimereturnsokresponse1685739204\"},\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/downtime/845e9a1e-0187-11ee-817a-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/downtime/845e9a1e-0187-11ee-817a-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Get-active-downtimes-for-a-monitor-returns-OK-response.json b/tests/scenarios/cassettes/v2/downtimes/Get-active-downtimes-for-a-monitor-returns-OK-response.json index 56e9a6000..dec25a3f3 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Get-active-downtimes-for-a-monitor-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Get-active-downtimes-for-a-monitor-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/35534610/downtime_matches" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-for-a-monitor-returns-Monitor-Not-Found-error-response.json b/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-for-a-monitor-returns-Monitor-Not-Found-error-response.json index f90594abc..78dc9800e 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-for-a-monitor-returns-Monitor-Not-Found-error-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-for-a-monitor-returns-Monitor-Not-Found-error-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/0/downtime_matches" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-returns-OK-response-with-pagination.json index 3b5352a01..2110cd9df 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/downtime?page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/downtime?page%5Blimit%5D=2&page%5Boffset%5D=2" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-returns-OK-response.json b/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-returns-OK-response.json index b189cb195..591ee2c1c 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Get-all-downtimes-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/downtime" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Schedule-a-downtime-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/downtimes/Schedule-a-downtime-returns-Bad-Request-response.json index d44d94e29..111679fd7 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Schedule-a-downtime-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Schedule-a-downtime-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"monitor_identifier\":{\"monitor_tags\":[\"cat:hat\"]},\"schedule\":{\"start\":null},\"scope\":\"BAD_SCOPE_MISSING_KEY_VALUE_FORMAT\"},\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/downtime" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Schedule-a-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v2/downtimes/Schedule-a-downtime-returns-OK-response.json index 4d2ed03d4..33da27234 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Schedule-a-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Schedule-a-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"message\":\"dark forest\",\"monitor_identifier\":{\"monitor_tags\":[\"cat:hat\"]},\"schedule\":{\"start\":null},\"scope\":\"test:testscheduleadowntimereturnsokresponse1685739206\"},\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/downtime" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/downtime/85428b34-0187-11ee-bb05-da7ad0900002" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-Bad-Request-response.json index 0700f69ee..0de6e7db6 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"message\":\"test message\",\"monitor_identifier\":{\"monitor_tags\":[\"cat:hat\"]},\"schedule\":{\"start\":null},\"scope\":\"test:testupdateadowntimereturnsbadrequestresponse1685739206\"},\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/downtime" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"invalid_field\":\"sophon\"},\"id\":\"85997dfe-0187-11ee-a1c1-da7ad0900002\",\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/downtime/85997dfe-0187-11ee-a1c1-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/downtime/85997dfe-0187-11ee-a1c1-da7ad0900002" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-Downtime-not-found-response.json b/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-Downtime-not-found-response.json index 462ac96ca..a5d1fd3b6 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-Downtime-not-found-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-Downtime-not-found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"message\":\"test msg\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/downtime/00000000-0000-1234-0000-000000000000" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-OK-response.json b/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-OK-response.json index cca0d8bf2..2913893a1 100644 --- a/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/downtimes/Update-a-downtime-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"message\":\"test message\",\"monitor_identifier\":{\"monitor_tags\":[\"cat:hat\"]},\"schedule\":{\"start\":null},\"scope\":\"test:testupdateadowntimereturnsokresponse1685739207\"},\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/downtime" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"message\":\"light speed\"},\"id\":\"865c7f20-0187-11ee-ac0a-da7ad0900002\",\"type\":\"downtime\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/downtime/865c7f20-0187-11ee-ac0a-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/downtime/865c7f20-0187-11ee-ac0a-da7ad0900002" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-Bad-Request-response.json index 6ef3a236f..9238a9909 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/invalid-issue-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-Not-Found-response.json index 8bb35e737..24963327c 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1755012813000,\"query\":\"service:synthetics-browser\",\"to\":1756308813000,\"track\":\"rum\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/67d80aa3-36ff-44b9-a694-c501a7591737" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-OK-response.json b/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-OK-response.json index ce8af26a5..721af9044 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Get-the-details-of-an-error-tracking-issue-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1755012813000,\"query\":\"service:synthetics-browser\",\"to\":1756308813000,\"track\":\"rum\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/5f8ebd5c-6dd9-11f0-8a28-da7ad0900002" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Remove-the-assignee-of-an-issue-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/error_tracking/Remove-the-assignee-of-an-issue-returns-No-Content-response.json index 14c50b2cf..8601255ad 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Remove-the-assignee-of-an-issue-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Remove-the-assignee-of-an-issue-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1759416220000,\"query\":\"service:synthetics-browser\",\"to\":1760712220000,\"track\":\"rum\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/d3ab59c6-84ee-11f0-87bb-da7ad0900002/assignee" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Remove-the-assignee-of-an-issue-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/error_tracking/Remove-the-assignee-of-an-issue-returns-Not-Found-response.json index 72bac11bd..36ee84107 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Remove-the-assignee-of-an-issue-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Remove-the-assignee-of-an-issue-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/67d80aa3-36ff-44b9-a694-c501a7591737/assignee" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Search-error-tracking-issues-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/error_tracking/Search-error-tracking-issues-returns-Bad-Request-response.json index a930695ba..335f9f23b 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Search-error-tracking-issues-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Search-error-tracking-issues-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1671612804000,\"query\":\"service:orders-* AND @language:go\",\"to\":1671620004000,\"track\":\"invalid-track\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Search-error-tracking-issues-returns-OK-response.json b/tests/scenarios/cassettes/v2/error_tracking/Search-error-tracking-issues-returns-OK-response.json index 858f516c2..3a6cac05d 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Search-error-tracking-issues-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Search-error-tracking-issues-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1671612804000,\"query\":\"service:orders-* AND @language:go\",\"to\":1671620004000,\"track\":\"trace\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-Bad-Request-response.json index dba5dd780..2c228c034 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1755176363000,\"query\":\"service:synthetics-browser\",\"to\":1756472363000,\"track\":\"rum\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"id\":\"invalid-id\",\"type\":\"assignee\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/5f8ebd5c-6dd9-11f0-8a28-da7ad0900002/assignee" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-Not-Found-response.json index 865258897..4a6e242da 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"87cb11a0-278c-440a-99fe-701223c80296\",\"type\":\"assignee\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/67d80aa3-36ff-44b9-a694-c501a7591737/assignee" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-OK-response.json b/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-OK-response.json index 51c8405fe..b368cac1b 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Update-the-assignee-of-an-issue-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1755012814000,\"query\":\"service:synthetics-browser\",\"to\":1756308814000,\"track\":\"rum\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"id\":\"87cb11a0-278c-440a-99fe-701223c80296\",\"type\":\"assignee\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/5f8ebd5c-6dd9-11f0-8a28-da7ad0900002/assignee" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-Bad-Request-response.json index 6edb1a18c..609630a65 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1755012815000,\"query\":\"service:synthetics-browser\",\"to\":1756308815000,\"track\":\"rum\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"state\":\"invalid-state\"},\"id\":\"5f8ebd5c-6dd9-11f0-8a28-da7ad0900002\",\"type\":\"error_tracking_issue\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/5f8ebd5c-6dd9-11f0-8a28-da7ad0900002/state" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-Not-Found-response.json index afc69424d..c479ce49d 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"state\":\"resolved\"},\"id\":\"67d80aa3-36ff-44b9-a694-c501a7591737\",\"type\":\"error_tracking_issue\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/67d80aa3-36ff-44b9-a694-c501a7591737/state" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-OK-response.json b/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-OK-response.json index fe14d13dc..9e1b00d4f 100644 --- a/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/error_tracking/Update-the-state-of-an-issue-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from\":1755012815000,\"query\":\"service:synthetics-browser\",\"to\":1756308815000,\"track\":\"rum\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/search" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"state\":\"RESOLVED\"},\"id\":\"5f8ebd5c-6dd9-11f0-8a28-da7ad0900002\",\"type\":\"error_tracking_issue\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/error-tracking/issues/5f8ebd5c-6dd9-11f0-8a28-da7ad0900002/state" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/events/Get-a-list-of-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/events/Get-a-list-of-events-returns-OK-response-with-pagination.json index bc26d4cef..9fdb6b08a 100644 --- a/tests/scenarios/cassettes/v2/events/Get-a-list-of-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/events/Get-a-list-of-events-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/events?filter%5Bfrom%5D=now-15m&filter%5Bto%5D=now&page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/events?filter%5Bfrom%5D=now-15m&filter%5Bto%5D=now&page%5Blimit%5D=2&page%5Bcursor%5D=eyJhZnRlciI6IkFnQUFBWUdDRldoUV9BZHZQZ0FBQUFBQUFBQVlBQUFBQUVGWlIwTkdWMmhSUVVGQ1VIQk5UMjQxVURKZllVZzFTUUFBQUNRQUFBQUFNREU0TVRneU1UVXROekF5TUMwMFpXTTJMV0l3WVdJdFpEVTFZbU0zTlRZMlpUUTMifQ" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/events/Get-a-list-of-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/events/Get-a-list-of-events-returns-OK-response.json index 48a0e2f55..32f400d75 100644 --- a/tests/scenarios/cassettes/v2/events/Get-a-list-of-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/events/Get-a-list-of-events-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/events" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/events/Get-a-quick-list-of-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/events/Get-a-quick-list-of-events-returns-OK-response.json index 43c7f4c10..d04ff616a 100644 --- a/tests/scenarios/cassettes/v2/events/Get-a-quick-list-of-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/events/Get-a-quick-list-of-events-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/events?filter%5Bquery%5D=datadog-agent&filter%5Bfrom%5D=2020-09-17T11%3A48%3A36%2B01%3A00&filter%5Bto%5D=2020-09-17T12%3A48%3A36%2B01%3A00&page%5Blimit%5D=5" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/events/Post-an-event-returns-Bad-request-response.json b/tests/scenarios/cassettes/v2/events/Post-an-event-returns-Bad-request-response.json index 2c852c339..43dd821b8 100644 --- a/tests/scenarios/cassettes/v2/events/Post-an-event-returns-Bad-request-response.json +++ b/tests/scenarios/cassettes/v2/events/Post-an-event-returns-Bad-request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"aggregation_key\":\"aggregation_key_123\",\"attributes\":{\"author\":{\"name\":\"example@datadog.com\",\"type\":\"user\"},\"change_metadata\":{\"dd\":{\"team\":\"datadog_team\",\"user_email\":\"datadog@datadog.com\",\"user_id\":\"datadog_user_id\",\"user_name\":\"datadog_username\"},\"resource_link\":\"datadog.com/feature/fallback_payments_test\"},\"changed_resource\":{\"name\":\"fallback_payments_test\",\"type\":\"feature_flag\"},\"impacted_resources\":[{\"name\":\"payments_api\",\"type\":\"service\"}],\"new_value\":{\"enabled\":true,\"percentage\":\"50%\",\"rule\":{\"datacenter\":\"devcycle.us1.prod\"}},\"prev_value\":{\"enabled\":true,\"percentage\":\"10%\",\"rule\":{\"datacenter\":\"devcycle.us1.prod\"}}},\"category\":\"invalid\",\"host\":\"test-host\",\"integration_id\":\"custom-events\",\"message\":\"payment_processed feature flag has been enabled\",\"tags\":[\"env:api_client_test\"],\"title\":\"payment_processed feature flag updated\"},\"type\":\"event\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://event-management-intake.datadoghq.com/api/v2/events" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/events/Post-an-event-returns-OK-response.json b/tests/scenarios/cassettes/v2/events/Post-an-event-returns-OK-response.json index 27aeff165..455eb2745 100644 --- a/tests/scenarios/cassettes/v2/events/Post-an-event-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/events/Post-an-event-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"aggregation_key\":\"aggregation_key_123\",\"attributes\":{\"author\":{\"name\":\"example@datadog.com\",\"type\":\"user\"},\"change_metadata\":{\"dd\":{\"team\":\"datadog_team\",\"user_email\":\"datadog@datadog.com\",\"user_id\":\"datadog_user_id\",\"user_name\":\"datadog_username\"},\"resource_link\":\"datadog.com/feature/fallback_payments_test\"},\"changed_resource\":{\"name\":\"fallback_payments_test\",\"type\":\"feature_flag\"},\"impacted_resources\":[{\"name\":\"payments_api\",\"type\":\"service\"}],\"new_value\":{\"enabled\":true,\"percentage\":\"50%\",\"rule\":{\"datacenter\":\"devcycle.us1.prod\"}},\"prev_value\":{\"enabled\":true,\"percentage\":\"10%\",\"rule\":{\"datacenter\":\"devcycle.us1.prod\"}}},\"category\":\"change\",\"host\":\"test-host\",\"integration_id\":\"custom-events\",\"message\":\"payment_processed feature flag has been enabled\",\"tags\":[\"env:api_client_test\"],\"title\":\"payment_processed feature flag updated\"},\"type\":\"event\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://event-management-intake.datadoghq.com/api/v2/events" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/events/Search-events-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/events/Search-events-returns-Bad-Request-response.json index 3a0a308fa..d9e775425 100644 --- a/tests/scenarios/cassettes/v2/events/Search-events-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/events/Search-events-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"service:web* AND @http.status_code:[200 TO 299]\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==\",\"limit\":25},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/events/Search-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/events/Search-events-returns-OK-response-with-pagination.json index 381b0695f..ce6214f00 100644 --- a/tests/scenarios/cassettes/v2/events/Search-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/events/Search-events-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/events/search" }, @@ -40,14 +33,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFnQUFBWUdDRldoUV9BZHZQZ0FBQUFBQUFBQVlBQUFBQUVGWlIwTkdWMmhSUVVGQ1VIQk5UMjQxVURKZllVZzFTUUFBQUNRQUFBQUFNREU0TVRneU1UVXROekF5TUMwMFpXTTJMV0l3WVdJdFpEVTFZbU0zTlRZMlpUUTMifQ\",\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/events/search" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/events/Search-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/events/Search-events-returns-OK-response.json index 38698f4f7..6d167fb82 100644 --- a/tests/scenarios/cassettes/v2/events/Search-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/events/Search-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"2020-09-17T11:48:36+01:00\",\"query\":\"datadog-agent\",\"to\":\"2020-09-17T12:48:36+01:00\"},\"page\":{\"limit\":5},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/fastly_integration/Add-Fastly-account-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/fastly_integration/Add-Fastly-account-returns-CREATED-response.json index 3606277a5..fb3dd0c2e 100644 --- a/tests/scenarios/cassettes/v2/fastly_integration/Add-Fastly-account-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/fastly_integration/Add-Fastly-account-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestAddFastlyaccountreturnsCREATEDresponse1674141356\",\"name\":\"Test-Add_Fastly_account_returns_CREATED_response-1674141356\",\"services\":[]},\"type\":\"fastly-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/0427b05b6f56f454ca1477aa8df5e75d" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/fastly_integration/Get-Fastly-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/fastly_integration/Get-Fastly-account-returns-OK-response.json index 0c61417ad..f64c88319 100644 --- a/tests/scenarios/cassettes/v2/fastly_integration/Get-Fastly-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/fastly_integration/Get-Fastly-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestGetFastlyaccountreturnsOKresponse1678702274\",\"name\":\"Test-Get_Fastly_account_returns_OK_response-1678702274\",\"services\":[]},\"type\":\"fastly-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/6d8f2860f9f3e953fb46d554b9a19627" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/6d8f2860f9f3e953fb46d554b9a19627" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/fastly_integration/List-Fastly-accounts-returns-OK-response.json b/tests/scenarios/cassettes/v2/fastly_integration/List-Fastly-accounts-returns-OK-response.json index aa6cdf1d8..ade156783 100644 --- a/tests/scenarios/cassettes/v2/fastly_integration/List-Fastly-accounts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/fastly_integration/List-Fastly-accounts-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestListFastlyaccountsreturnsOKresponse1678702250\",\"name\":\"Test-List_Fastly_accounts_returns_OK_response-1678702250\",\"services\":[]},\"type\":\"fastly-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/07ec97dd43cd794c847ecf15cb25eb1c" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/fastly_integration/Update-Fastly-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/fastly_integration/Update-Fastly-account-returns-OK-response.json index c85988bbb..ef7f0fa28 100644 --- a/tests/scenarios/cassettes/v2/fastly_integration/Update-Fastly-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/fastly_integration/Update-Fastly-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"TestUpdateFastlyaccountreturnsOKresponse1678702217\",\"name\":\"Test-Update_Fastly_account_returns_OK_response-1678702217\",\"services\":[]},\"type\":\"fastly-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"api_key\":\"update-secret\"},\"type\":\"fastly-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/e37e834ae856fa24a2924973fdc7c276" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/e37e834ae856fa24a2924973fdc7c276" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-Datadog-GCP-principal-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-Datadog-GCP-principal-returns-OK-response.json index 0102cee26..1bc4bdb1d 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-Datadog-GCP-principal-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-Datadog-GCP-principal-returns-OK-response.json @@ -3,14 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/sts_delegate" }, @@ -33,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-Datadog-GCP-principal-with-empty-body-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-Datadog-GCP-principal-with-empty-body-returns-OK-response.json index 264828c7a..c67663491 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-Datadog-GCP-principal-with-empty-body-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-Datadog-GCP-principal-with-empty-body-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/sts_delegate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-returns-OK-response.json index 2ebca87dd..9aff695b1 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-8b2b196dd4bab7e2@test-project.iam.gserviceaccount.com\",\"host_filters\":[]},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/e6f0237e-b9c2-4513-9940-d2473502e39e" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-account-tags-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-account-tags-returns-OK-response.json index 9925dbb82..a4f144633 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-account-tags-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-account-tags-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"account_tags\":[\"lorem\",\"ipsum\"],\"client_email\":\"Test-e5f8eebedfc95a5e@test-project.iam.gserviceaccount.com\",\"host_filters\":[]},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/62f1287b-89d6-414d-8b80-713208d91299" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-returns-OK-response.json index c01525266..15736fafc 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-1701e5fecd52895c@test-project.iam.gserviceaccount.com\",\"cloud_run_revision_filters\":[\"meh:bleh\"],\"host_filters\":[]},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/58054a77-4ee0-44a8-8260-4eec67ddcced" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-cspm-enabled-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-cspm-enabled-returns-OK-response.json index b903bf0c6..0fe318a4a 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-cspm-enabled-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-cspm-enabled-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-e7179b69d4d565ed@test-project.iam.gserviceaccount.com\",\"host_filters\":[],\"is_cspm_enabled\":true,\"resource_collection_enabled\":true},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/9d359745-b1c0-41ba-9624-db7abb36904b" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-resource-collection-enabled-disabled-and-cspm-enabled-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-resource-collection-enabled-disabled-and-cspm-enabled-returns-Bad-Request-response.json index 45d53ae48..e416c2095 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-resource-collection-enabled-disabled-and-cspm-enabled-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-resource-collection-enabled-disabled-and-cspm-enabled-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-f92057aa6491025d@test-project.iam.gserviceaccount.com\",\"host_filters\":[],\"is_cspm_enabled\":true,\"resource_collection_enabled\":false},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-resource-collection-enabled-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-resource-collection-enabled-returns-OK-response.json index 9f5c37d5e..2cff2d6d9 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-resource-collection-enabled-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-resource-collection-enabled-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-c8176325bf516421@test-project.iam.gserviceaccount.com\",\"host_filters\":[],\"resource_collection_enabled\":true},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/584395b0-91b7-4ac0-83b2-3259a49ea34f" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-security-command-center-enabled-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-security-command-center-enabled-returns-OK-response.json index bec7e23b3..6622efbf7 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-security-command-center-enabled-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Create-a-new-entry-for-your-service-account-with-security-command-center-enabled-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-d119bc7c8439bcb5@test-project.iam.gserviceaccount.com\",\"host_filters\":[],\"is_resource_change_collection_enabled\":true,\"is_security_command_center_enabled\":true},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/abdfa7a0-64b7-437d-99fe-13f56bbbfb15" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/List-all-GCP-STS-enabled-service-accounts-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/List-all-GCP-STS-enabled-service-accounts-returns-OK-response.json index af6fb7549..7ebc45948 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/List-all-GCP-STS-enabled-service-accounts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/List-all-GCP-STS-enabled-service-accounts-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-bd3cfbaa8e662e9c@example.com\",\"host_filters\":[]},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/f13432c1-353c-42d2-bcdd-6b535baf2c6b" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/List-delegate-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/List-delegate-account-returns-OK-response.json index f469746ca..d6932dde7 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/List-delegate-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/List-delegate-account-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/sts_delegate" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters.json b/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters.json index 06d764651..13bef081b 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-28b4739ba68f588b@example.com\",\"host_filters\":[]},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-28b4739ba68f588b@example.com\",\"cloud_run_revision_filters\":[\"merp:derp\"]},\"id\":\"73f227e1-939b-42e3-bb40-773a05509e52\",\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/73f227e1-939b-42e3-bb40-773a05509e52" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/73f227e1-939b-42e3-bb40-773a05509e52" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response-with-enable-resource-collection-turned-on.json b/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response-with-enable-resource-collection-turned-on.json index 90f5ae485..b7e5133fb 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response-with-enable-resource-collection-turned-on.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response-with-enable-resource-collection-turned-on.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-d84cfa9edd1d6635@example.com\",\"host_filters\":[]},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-d84cfa9edd1d6635@example.com\",\"resource_collection_enabled\":true},\"id\":\"3d7cef2d-c455-48c2-ba50-cd8091978dd6\",\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/3d7cef2d-c455-48c2-ba50-cd8091978dd6" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/3d7cef2d-c455-48c2-ba50-cd8091978dd6" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response.json b/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response.json index 70d9401eb..fbc6dc2e9 100644 --- a/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/gcp_integration/Update-STS-Service-Account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-159c92b6b06abd9d@example.com\",\"host_filters\":[]},\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"client_email\":\"Test-159c92b6b06abd9d@example.com\",\"host_filters\":[\"foo:bar\"]},\"id\":\"acd4d936-fba6-4b2f-8b46-768389ff90b1\",\"type\":\"gcp_service_account\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/acd4d936-fba6-4b2f-8b46-768389ff90b1" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/acd4d936-fba6-4b2f-8b46-768389ff90b1" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/google_chat_integration/Create-organization-handle-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/google_chat_integration/Create-organization-handle-returns-CREATED-response.json index d8aee5795..11f383eff 100644 --- a/tests/scenarios/cassettes/v2/google_chat_integration/Create-organization-handle-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/google_chat_integration/Create-organization-handle-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_organization_handle_returns_CREATED_response-1770751028\",\"space_resource_name\":\"spaces/AAQA-zFIks8\"}},\"type\":\"google-chat-organization-handle\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles/dcad18fd-a3b1-4544-8fee-e1e2988204d8" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/google_chat_integration/Delete-organization-handle-returns-OK-response.json b/tests/scenarios/cassettes/v2/google_chat_integration/Delete-organization-handle-returns-OK-response.json index 42a753cde..0bef08ed3 100644 --- a/tests/scenarios/cassettes/v2/google_chat_integration/Delete-organization-handle-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/google_chat_integration/Delete-organization-handle-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_organization_handle_returns_OK_response-1770751029\",\"space_resource_name\":\"spaces/AAQA-zFIks8\"}},\"type\":\"google-chat-organization-handle\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles/e70e04d1-7547-47de-ad3b-41a345fd1abe" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles/e70e04d1-7547-47de-ad3b-41a345fd1abe" }, @@ -84,4 +69,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/google_chat_integration/Get-all-organization-handles-returns-OK-response.json b/tests/scenarios/cassettes/v2/google_chat_integration/Get-all-organization-handles-returns-OK-response.json index 24fb49fed..d27edf4f9 100644 --- a/tests/scenarios/cassettes/v2/google_chat_integration/Get-all-organization-handles-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/google_chat_integration/Get-all-organization-handles-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_organization_handles_returns_OK_response-1770751030\",\"space_resource_name\":\"spaces/AAQA-zFIks8\"}},\"type\":\"google-chat-organization-handle\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles/9c140b3f-05c1-4943-959a-cae272356979" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/google_chat_integration/Get-organization-handle-returns-OK-response.json b/tests/scenarios/cassettes/v2/google_chat_integration/Get-organization-handle-returns-OK-response.json index 20212a836..f523d23e1 100644 --- a/tests/scenarios/cassettes/v2/google_chat_integration/Get-organization-handle-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/google_chat_integration/Get-organization-handle-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_organization_handle_returns_OK_response-1770751031\",\"space_resource_name\":\"spaces/AAQA-zFIks8\"}},\"type\":\"google-chat-organization-handle\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles/f712e551-628f-4688-be1d-cb69c69c9690" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles/f712e551-628f-4688-be1d-cb69c69c9690" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/google_chat_integration/Get-space-information-by-display-name-returns-OK-response.json b/tests/scenarios/cassettes/v2/google_chat_integration/Get-space-information-by-display-name-returns-OK-response.json index 604dc8d38..2d729b3af 100644 --- a/tests/scenarios/cassettes/v2/google_chat_integration/Get-space-information-by-display-name-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/google_chat_integration/Get-space-information-by-display-name-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/app/named-spaces/datadog.ninja/api-test-space" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/google_chat_integration/Update-organization-handle-returns-OK-response.json b/tests/scenarios/cassettes/v2/google_chat_integration/Update-organization-handle-returns-OK-response.json index 67870c834..b4d3744dc 100644 --- a/tests/scenarios/cassettes/v2/google_chat_integration/Update-organization-handle-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/google_chat_integration/Update-organization-handle-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_organization_handle_returns_OK_response-1770751032\",\"space_resource_name\":\"spaces/AAQA-zFIks8\"}},\"type\":\"google-chat-organization-handle\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_organization_handle_returns_OK_response-1770751032--updated\"}},\"type\":\"google-chat-organization-handle\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles/b036578c-665f-4ff2-8785-ba4d00fc87b5" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/google-chat/organizations/e54cb570-c674-529c-769d-84b312288ed7/organization-handles/b036578c-665f-4ff2-8785-ba4d00fc87b5" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_services/Create-a-new-incident-service-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/incident_services/Create-a-new-incident-service-returns-CREATED-response.json index 67c6ccf47..de888f0c6 100644 --- a/tests/scenarios/cassettes/v2/incident_services/Create-a-new-incident-service-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/incident_services/Create-a-new-incident-service-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_new_incident_service_returns_CREATED_response-1652349089\"},\"type\":\"services\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/aa4526fd-8084-58a0-bd52-164cd7f1a51e" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_services/Delete-an-existing-incident-service-returns-OK-response.json b/tests/scenarios/cassettes/v2/incident_services/Delete-an-existing-incident-service-returns-OK-response.json index 7057fb98d..7be2a64df 100644 --- a/tests/scenarios/cassettes/v2/incident_services/Delete-an-existing-incident-service-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incident_services/Delete-an-existing-incident-service-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_an_existing_incident_service_returns_OK_response-1652349090\"},\"type\":\"services\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/9f42d0e5-438a-5808-bb84-01ede3c065fb" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/9f42d0e5-438a-5808-bb84-01ede3c065fb" }, @@ -84,4 +69,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_services/Get-a-list-of-all-incident-services-returns-OK-response.json b/tests/scenarios/cassettes/v2/incident_services/Get-a-list-of-all-incident-services-returns-OK-response.json index b2a60ec4f..0c565ae7f 100644 --- a/tests/scenarios/cassettes/v2/incident_services/Get-a-list-of-all-incident-services-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incident_services/Get-a-list-of-all-incident-services-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_a_list_of_all_incident_services_returns_OK_response-1652349092\"},\"type\":\"services\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/services?filter=Test-Get_a_list_of_all_incident_services_returns_OK_response-1652349092" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/84fc985e-fd2b-5e37-b627-eee699786658" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_services/Get-details-of-an-incident-service-returns-OK-response.json b/tests/scenarios/cassettes/v2/incident_services/Get-details-of-an-incident-service-returns-OK-response.json index 9f149892c..444d4b8a3 100644 --- a/tests/scenarios/cassettes/v2/incident_services/Get-details-of-an-incident-service-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incident_services/Get-details-of-an-incident-service-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_details_of_an_incident_service_returns_OK_response-1652349093\"},\"type\":\"services\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/services/e7c6527e-95ff-5ab1-b151-ba4f786038c0" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/e7c6527e-95ff-5ab1-b151-ba4f786038c0" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_services/Update-an-existing-incident-service-returns-OK-response.json b/tests/scenarios/cassettes/v2/incident_services/Update-an-existing-incident-service-returns-OK-response.json index 7c1ae8431..9ff6be3d4 100644 --- a/tests/scenarios/cassettes/v2/incident_services/Update-an-existing-incident-service-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incident_services/Update-an-existing-incident-service-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_an_existing_incident_service_returns_OK_response-1652349095\"},\"type\":\"services\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_an_existing_incident_service_returns_OK_response-1652349095-updated\"},\"type\":\"services\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/services/f9f4467a-1e31-5513-83b8-ca6c4287a9b3" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/f9f4467a-1e31-5513-83b8-ca6c4287a9b3" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_teams/Create-a-new-incident-team-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/incident_teams/Create-a-new-incident-team-returns-CREATED-response.json index 1ff6982e6..1ef565476 100644 --- a/tests/scenarios/cassettes/v2/incident_teams/Create-a-new-incident-team-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/incident_teams/Create-a-new-incident-team-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_new_incident_team_returns_CREATED_response-1699307973\"},\"type\":\"teams\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/teams" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/teams/ad2b4266-f087-5b33-9da5-e726f61fd9b0" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_teams/Delete-an-existing-incident-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/incident_teams/Delete-an-existing-incident-team-returns-OK-response.json index 3de95bf28..e225ccc1e 100644 --- a/tests/scenarios/cassettes/v2/incident_teams/Delete-an-existing-incident-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incident_teams/Delete-an-existing-incident-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_an_existing_incident_team_returns_OK_response-1699307973\"},\"type\":\"teams\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/teams" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/teams/a5250cc2-827f-509c-8159-2e0ccfb43cd3" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/teams/a5250cc2-827f-509c-8159-2e0ccfb43cd3" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_teams/Get-a-list-of-all-incident-teams-returns-OK-response.json b/tests/scenarios/cassettes/v2/incident_teams/Get-a-list-of-all-incident-teams-returns-OK-response.json index 56fc70f6c..57a627392 100644 --- a/tests/scenarios/cassettes/v2/incident_teams/Get-a-list-of-all-incident-teams-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incident_teams/Get-a-list-of-all-incident-teams-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_a_list_of_all_incident_teams_returns_OK_response-1699307974\"},\"type\":\"teams\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/teams" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/teams?filter=Test-Get_a_list_of_all_incident_teams_returns_OK_response-1699307974" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/teams/7f1a6db2-da0d-51cd-bcfc-7462b9ce9ff8" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_teams/Get-details-of-an-incident-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/incident_teams/Get-details-of-an-incident-team-returns-OK-response.json index c9feedfe2..2ba51c94a 100644 --- a/tests/scenarios/cassettes/v2/incident_teams/Get-details-of-an-incident-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incident_teams/Get-details-of-an-incident-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_details_of_an_incident_team_returns_OK_response-1699307974\"},\"type\":\"teams\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/teams" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/teams/98da5ea5-4d67-5296-b971-b8cd48f3e5f3" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/teams/98da5ea5-4d67-5296-b971-b8cd48f3e5f3" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incident_teams/Update-an-existing-incident-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/incident_teams/Update-an-existing-incident-team-returns-OK-response.json index 7d97a549d..9b46832f7 100644 --- a/tests/scenarios/cassettes/v2/incident_teams/Update-an-existing-incident-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incident_teams/Update-an-existing-incident-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_an_existing_incident_team_returns_OK_response-1699307975\"},\"type\":\"teams\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/teams" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_an_existing_incident_team_returns_OK_response-1699307975-updated\"},\"type\":\"teams\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/teams/90c4f5c8-5965-533e-8b56-cffad17e03bf" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/teams/90c4f5c8-5965-533e-8b56-cffad17e03bf" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Add-commander-to-an-incident-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Add-commander-to-an-incident-returns-OK-response.json index f12dc5a91..75a474621 100644 --- a/tests/scenarios/cassettes/v2/incidents/Add-commander-to-an-incident-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Add-commander-to-an-incident-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Add_commander_to_an_incident_returns_OK_response-1771855587@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Add_commander_to_an_incident_returns_OK_response-1771855587\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"id\":\"e7a543e2-56dd-5618-9504-3d21644f7505\",\"relationships\":{\"commander_user\":{\"data\":{\"id\":\"0a671397-1bda-468b-9087-8aa191057af8\",\"type\":\"users\"}}},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/e7a543e2-56dd-5618-9504-3d21644f7505" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/e7a543e2-56dd-5618-9504-3d21644f7505" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/0a671397-1bda-468b-9087-8aa191057af8" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-Bad-Request-response.json index c3b6accaf..faef2b62f 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Service was unavailable for external users\",\"end_at\":\"2025-08-29T13:17:00Z\",\"fields\":{\"customers_impacted\":\"all\",\"products_impacted\":[\"shopping\",\"marketing\"]},\"start_at\":\"2025-08-28T13:17:00Z\"},\"type\":\"incident_impacts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000000/impacts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-CREATED-response.json index a4d08663a..cb66c9c7e 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Create_an_incident_impact_returns_CREATED_response-1758052013\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Outage in the us-east-1 region\",\"end_at\":\"2025-09-12T14:50:00.000Z\",\"start_at\":\"2025-09-12T13:50:00.000Z\"},\"type\":\"incident_impacts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/5826fc99-ad8c-54cb-8c18-cd270bfe42fb/impacts" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/5826fc99-ad8c-54cb-8c18-cd270bfe42fb/impacts/7d4f5663-7c01-4727-b90b-323953603092" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/5826fc99-ad8c-54cb-8c18-cd270bfe42fb" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-Not-Found-response.json index c76f07f51..01d427b1d 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-impact-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Service was unavailable for external users\",\"end_at\":\"2025-08-29T13:17:00Z\",\"fields\":{\"customers_impacted\":\"all\",\"products_impacted\":[\"shopping\",\"marketing\"]},\"start_at\":\"2025-08-28T13:17:00Z\"},\"type\":\"incident_impacts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000001/impacts" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-integration-metadata-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-integration-metadata-returns-CREATED-response.json index 987430d19..7a141d852 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-integration-metadata-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-integration-metadata-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Create_an_incident_integration_metadata_returns_CREATED_response-1771855588\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"incident_id\":\"b5a0789a-5592-56fc-8ba4-bfae2e983acf\",\"integration_type\":1,\"metadata\":{\"channels\":[{\"channel_id\":\"C0123456789\",\"channel_name\":\"#new-channel\",\"redirect_url\":\"https://slack.com/app_redirect?channel=C0123456789&team=T01234567\",\"team_id\":\"T01234567\"}]}},\"type\":\"incident_integrations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/b5a0789a-5592-56fc-8ba4-bfae2e983acf/relationships/integrations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/b5a0789a-5592-56fc-8ba4-bfae2e983acf/relationships/integrations/4b033fce-123e-5390-be11-ce0c26a7e1dd" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/b5a0789a-5592-56fc-8ba4-bfae2e983acf" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-returns-CREATED-response.json index ec229ceea..64ad949c9 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_an_incident_returns_CREATED_response-1771855591@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"fields\":{\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"}},\"title\":\"Test-Create_an_incident_returns_CREATED_response-1771855591\"},\"relationships\":{\"commander_user\":{\"data\":{\"id\":\"654d8602-a17a-45dc-b651-ed566eb8a26b\",\"type\":\"users\"}}},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/d466fcca-9324-5212-97d5-2f7e6d216322" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/654d8602-a17a-45dc-b651-ed566eb8a26b" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-todo-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-todo-returns-CREATED-response.json index a01369b6b..e3d830771 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-todo-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-todo-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Create_an_incident_todo_returns_CREATED_response-1678308256\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"assignees\":[\"@test.user@test.com\"],\"content\":\"Restore lost data.\"},\"type\":\"incident_todos\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/991b0712-45ac-5c58-990b-958a10759544/relationships/todos" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/991b0712-45ac-5c58-990b-958a10759544/relationships/todos/fcbc4d56-bca2-5d1d-9b81-da1a2da35d28" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/991b0712-45ac-5c58-990b-958a10759544" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-type-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-type-returns-CREATED-response.json index e074fdafd..35b2d1623 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-an-incident-type-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-an-incident-type-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/9387e733-5624-4fff-9a9c-89a8544e3bc9" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-incident-attachment-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/Create-incident-attachment-returns-Bad-Request-response.json index 3bbf78323..d22d5144b 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-incident-attachment-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-incident-attachment-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://app.datadoghq.com/notebook/123/Postmortem-IR-123\",\"title\":\"Postmortem-IR-123\"},\"attachment_type\":\"postmortem\"},\"type\":\"incident_attachments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000000/attachments" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-incident-attachment-returns-Created-response.json b/tests/scenarios/cassettes/v2/incidents/Create-incident-attachment-returns-Created-response.json index 2797e2ad5..136d6ba61 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-incident-attachment-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-incident-attachment-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Create_incident_attachment_returns_Created_response-1771855593\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://app.datadoghq.com/notebook/TestCreateincidentattachmentreturnsCreatedresponse1771855593/Test-Create_incident_attachment_returns_Created_response-1771855593\",\"title\":\"Test-Create_incident_attachment_returns_Created_response-1771855593\"},\"attachment_type\":\"postmortem\"},\"type\":\"incident_attachments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/c4e18909-57e4-5f57-8d64-74c2c1b13290/attachments" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/c4e18909-57e4-5f57-8d64-74c2c1b13290/attachments/77ff4d10-fba3-4a1a-83b1-7296249a5572" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/c4e18909-57e4-5f57-8d64-74c2c1b13290" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-rule-returns-Bad-Request-response.json index 329780efd..6d94cbc4f 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\",\"SEV-2\"]}],\"enabled\":true,\"handles\":[\"@test-email@company.com\"],\"trigger\":\"incident_created_trigger\",\"visibility\":\"organization\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"incident_types\"}}},\"type\":\"invalid_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-rule-returns-Created-response.json b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-rule-returns-Created-response.json index 9b40b410a..6bf792bad 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-rule-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-rule-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\",\"SEV-2\"]}],\"enabled\":true,\"handles\":[\"@test-email@company.com\"],\"trigger\":\"incident_created_trigger\",\"visibility\":\"organization\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"02a6c50e-60f7-4deb-b828-15f6de4a421b\",\"type\":\"incident_types\"}}},\"type\":\"incident_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/160a9a8f-0db7-494a-87b2-1f02859e38f5" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/02a6c50e-60f7-4deb-b828-15f6de4a421b" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Bad-Request-response.json index 888561f19..53109a9b1 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"alert\",\"content\":\"An incident has been declared. Please join the incident channel for updates.\",\"name\":\"Test Template\",\"subject\":\"Incident Alert\"},\"type\":\"invalid_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Created-response.json b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Created-response.json index 7eaa4de42..6ae5bdbcb 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"alert\",\"content\":\"An incident has been declared.\\n\\nTitle: Sample Incident Title\\nSeverity: SEV-2\\nAffected Services: web-service, database-service\\nStatus: active\\n\\nPlease join the incident channel for updates.\",\"name\":\"Test-Create_incident_notification_template_returns_Created_response-1771855595\",\"subject\":\"SEV-2 Incident: Sample Incident Title\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"2cc8f1be-44fd-4c28-a266-d6f849c67ae7\",\"type\":\"incident_types\"}}},\"type\":\"notification_templates\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/f5d303e8-5bd4-45f4-9f7e-449c1d57db68" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/2cc8f1be-44fd-4c28-a266-d6f849c67ae7" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Not-Found-response.json index a877ef412..2d14c0ad5 100644 --- a/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Create-incident-notification-template-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"alert\",\"content\":\"An incident has been declared. Please join the incident channel for updates.\",\"name\":\"Incident Alert Template\",\"subject\":\"Incident Alert\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"00000000-1111-2222-3333-444444444444\",\"type\":\"incident_types\"}}},\"type\":\"notification_templates\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-an-existing-incident-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-an-existing-incident-returns-OK-response.json index 99ca48d07..58ada14e0 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-an-existing-incident-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-an-existing-incident-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Delete_an_existing_incident_returns_OK_response-1771855596\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/6248184c-3ce0-54e7-a9f3-8db44efede9d" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/6248184c-3ce0-54e7-a9f3-8db44efede9d" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-No-Content-response.json index d8c6b372e..2039ea124 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Delete_an_incident_impact_returns_No_Content_response-1758052037\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Outage in the us-east-1 region\",\"end_at\":\"2025-09-12T14:50:00.000Z\",\"start_at\":\"2025-09-12T13:50:00.000Z\"},\"type\":\"incident_impacts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/1a838ffb-9c95-5df6-978c-4cf21f854fd1/impacts" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/1a838ffb-9c95-5df6-978c-4cf21f854fd1/impacts/db11b25d-0383-4f98-bde7-bfc4a10d16eb" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/1a838ffb-9c95-5df6-978c-4cf21f854fd1/impacts/db11b25d-0383-4f98-bde7-bfc4a10d16eb" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/1a838ffb-9c95-5df6-978c-4cf21f854fd1" }, @@ -150,4 +124,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response-different-invalid-IDs-.json b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response-different-invalid-IDs-.json index c274404e5..5a3db591d 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response-different-invalid-IDs-.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response-different-invalid-IDs-.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000002/impacts/00000000-0000-0000-0000-000000000002" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response-invalid-incident-and-impact-.json b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response-invalid-incident-and-impact-.json index 4d89f7ff0..e93870ac0 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response-invalid-incident-and-impact-.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response-invalid-incident-and-impact-.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000000/impacts/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response.json index 2f702cf87..e52dd07b5 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-impact-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000001/impacts/00000000-0000-0000-0000-000000000001" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-integration-metadata-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-integration-metadata-returns-OK-response.json index e04082be7..7c97cc55b 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-integration-metadata-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-integration-metadata-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Delete_an_incident_integration_metadata_returns_OK_response-1771855597\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"incident_id\":\"2730490c-dcca-5736-bd07-5ac94560b128\",\"integration_type\":1,\"metadata\":{\"channels\":[{\"channel_id\":\"C0123456789\",\"channel_name\":\"#example-channel-name\",\"redirect_url\":\"https://slack.com/app_redirect?channel=C0123456789&team=T01234567\",\"team_id\":\"T01234567\"}]},\"status\":2},\"type\":\"incident_integrations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/2730490c-dcca-5736-bd07-5ac94560b128/relationships/integrations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/2730490c-dcca-5736-bd07-5ac94560b128/relationships/integrations/ef1a8d20-ebae-5389-84ea-35ee453413f6" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/2730490c-dcca-5736-bd07-5ac94560b128/relationships/integrations/ef1a8d20-ebae-5389-84ea-35ee453413f6" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/2730490c-dcca-5736-bd07-5ac94560b128" }, @@ -150,4 +124,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-todo-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-todo-returns-OK-response.json index 70c350699..4d9f2f0ea 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-todo-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-todo-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Delete_an_incident_todo_returns_OK_response-1678213638\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"assignees\":[\"@test.user@test.com\",{\"icon\":\"https://a.slack-edge.com/80588/img/slackbot_48.png\",\"id\":\"USLACKBOT\",\"name\":\"Slackbot\",\"source\":\"slack\"}],\"content\":\"Follow up with customer about the impact they saw.\"},\"type\":\"incident_todos\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/8dc81d32-33b1-580a-97ab-00b84b2b2f4d/relationships/todos" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/8dc81d32-33b1-580a-97ab-00b84b2b2f4d/relationships/todos/dc9639d1-0203-5569-acfb-276574c04268" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/8dc81d32-33b1-580a-97ab-00b84b2b2f4d/relationships/todos/dc9639d1-0203-5569-acfb-276574c04268" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/8dc81d32-33b1-580a-97ab-00b84b2b2f4d" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-type-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-type-returns-OK-response.json index 5f9e5a126..79b68e154 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-type-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-an-incident-type-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/4de83701-6769-48fd-aed0-702443e803df" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/4de83701-6769-48fd-aed0-702443e803df" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-incident-attachment-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-incident-attachment-returns-Bad-Request-response.json index 94b81998f..f048a1889 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-incident-attachment-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-incident-attachment-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000000/attachments/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-incident-attachment-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-incident-attachment-returns-Not-Found-response.json index c3b3b0a20..209799437 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-incident-attachment-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-incident-attachment-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000001/attachments/00000000-0000-0000-0000-000000000001" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-rule-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-rule-returns-No-Content-response.json index 86a1a989b..d46127561 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-rule-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-rule-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\",\"SEV-2\"]}],\"enabled\":true,\"handles\":[\"@test-email@company.com\"],\"trigger\":\"incident_created_trigger\",\"visibility\":\"organization\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"e64d4c78-53b3-48ce-8e67-e6eec5d2bf1f\",\"type\":\"incident_types\"}}},\"type\":\"incident_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/71eed31b-15c3-418f-9492-3fe4e4966540" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/71eed31b-15c3-418f-9492-3fe4e4966540" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/e64d4c78-53b3-48ce-8e67-e6eec5d2bf1f" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-rule-returns-Not-Found-response.json index 1e56ac2e5..a848fbb91 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/00000000-0000-0000-0000-000000000001" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-template-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-template-returns-No-Content-response.json index 14c5f3e23..e9a227844 100644 --- a/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-template-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Delete-incident-notification-template-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"alert\",\"content\":\"Test notification template\",\"name\":\"Test Template Test-Delete_incident_notification_template_returns_No_Content_response-1771855600\",\"subject\":\"Test Subject\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"486b278d-6bd2-4eb4-950b-5985c3ed155f\",\"type\":\"incident_types\"}}},\"type\":\"notification_templates\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/4e29aefe-98c5-4cdf-a837-2a916bc79395" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/4e29aefe-98c5-4cdf-a837-2a916bc79395" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/486b278d-6bd2-4eb4-950b-5985c3ed155f" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-an-incident-s-integration-metadata-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-an-incident-s-integration-metadata-returns-OK-response.json index f8a7936ff..7d701b35a 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-an-incident-s-integration-metadata-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-an-incident-s-integration-metadata-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1771855601\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"incident_id\":\"6443dedf-4664-5a19-b321-8948ddc9d30c\",\"integration_type\":1,\"metadata\":{\"channels\":[{\"channel_id\":\"C0123456789\",\"channel_name\":\"#example-channel-name\",\"redirect_url\":\"https://slack.com/app_redirect?channel=C0123456789&team=T01234567\",\"team_id\":\"T01234567\"}]},\"status\":2},\"type\":\"incident_integrations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/6443dedf-4664-5a19-b321-8948ddc9d30c/relationships/integrations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/6443dedf-4664-5a19-b321-8948ddc9d30c/relationships/integrations" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/6443dedf-4664-5a19-b321-8948ddc9d30c/relationships/integrations/2d47ae0b-b4fb-5a92-b1d1-3ee1fb69445a" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/6443dedf-4664-5a19-b321-8948ddc9d30c" }, @@ -150,4 +124,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-an-incident-s-todos-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-an-incident-s-todos-returns-OK-response.json index f5b0f032e..e25a3859d 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-an-incident-s-todos-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-an-incident-s-todos-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Get_a_list_of_an_incident_s_todos_returns_OK_response-1678213640\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"assignees\":[\"@test.user@test.com\",{\"icon\":\"https://a.slack-edge.com/80588/img/slackbot_48.png\",\"id\":\"USLACKBOT\",\"name\":\"Slackbot\",\"source\":\"slack\"}],\"content\":\"Follow up with customer about the impact they saw.\"},\"type\":\"incident_todos\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/931066f6-d890-55f1-912f-79dc982ed271/relationships/todos" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/931066f6-d890-55f1-912f-79dc982ed271/relationships/todos" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/931066f6-d890-55f1-912f-79dc982ed271/relationships/todos/77595d1b-b663-5bd8-81b7-997a817512b9" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/931066f6-d890-55f1-912f-79dc982ed271" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-incidents-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-incidents-returns-OK-response-with-pagination.json index da0186cca..ab12a59ab 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-incidents-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-incidents-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents?page%5Bsize%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents?page%5Bsize%5D=2&page%5Boffset%5D=2" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-incidents-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-incidents-returns-OK-response.json index 28f2aced6..85ff4c8a9 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-incidents-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-a-list-of-incidents-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Get_a_list_of_incidents_returns_OK_response-1771855602\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/f5f7e414-a9bf-50d2-8d46-e12c8be381d9" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-incident-integration-metadata-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Get-incident-integration-metadata-details-returns-OK-response.json index 8c8d72963..e2721ed85 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-incident-integration-metadata-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-incident-integration-metadata-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Get_incident_integration_metadata_details_returns_OK_response-1771855603\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"incident_id\":\"e2c7502d-b95c-55ee-b2d9-c523316ec5a5\",\"integration_type\":1,\"metadata\":{\"channels\":[{\"channel_id\":\"C0123456789\",\"channel_name\":\"#example-channel-name\",\"redirect_url\":\"https://slack.com/app_redirect?channel=C0123456789&team=T01234567\",\"team_id\":\"T01234567\"}]},\"status\":2},\"type\":\"incident_integrations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/e2c7502d-b95c-55ee-b2d9-c523316ec5a5/relationships/integrations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/e2c7502d-b95c-55ee-b2d9-c523316ec5a5/relationships/integrations/57c74987-fe14-5f4b-a482-f0f9637e7f94" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/e2c7502d-b95c-55ee-b2d9-c523316ec5a5/relationships/integrations/57c74987-fe14-5f4b-a482-f0f9637e7f94" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/e2c7502d-b95c-55ee-b2d9-c523316ec5a5" }, @@ -150,4 +124,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-rule-returns-Not-Found-response.json index 368700c54..48bf12848 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/00000000-0000-0000-0000-000000000001" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-rule-returns-OK-response.json index c9ae6310e..99611494a 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\",\"SEV-2\"]}],\"enabled\":true,\"handles\":[\"@test-email@company.com\"],\"trigger\":\"incident_created_trigger\",\"visibility\":\"organization\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"e501c63a-c862-4f27-a4c5-cf1cb1c6bded\",\"type\":\"incident_types\"}}},\"type\":\"incident_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/68f007c9-ab37-4fac-9964-eb5facc4ed86" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/68f007c9-ab37-4fac-9964-eb5facc4ed86" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/e501c63a-c862-4f27-a4c5-cf1cb1c6bded" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-template-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-template-returns-OK-response.json index d0459a423..933f60529 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-template-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-incident-notification-template-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"alert\",\"content\":\"Test notification template\",\"name\":\"Test Template Test-Get_incident_notification_template_returns_OK_response-1771855605\",\"subject\":\"Test Subject\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"962a94cb-6fbd-42fe-806f-4b2f4dfa6e01\",\"type\":\"incident_types\"}}},\"type\":\"notification_templates\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/fcafa9e4-8c66-4bcf-b77a-2d899ddc42ab" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/fcafa9e4-8c66-4bcf-b77a-2d899ddc42ab" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/962a94cb-6fbd-42fe-806f-4b2f4dfa6e01" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-incident-todo-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Get-incident-todo-details-returns-OK-response.json index 9bd1cc331..c3a9fc48c 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-incident-todo-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-incident-todo-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Get_incident_todo_details_returns_OK_response-1678213641\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"assignees\":[\"@test.user@test.com\",{\"icon\":\"https://a.slack-edge.com/80588/img/slackbot_48.png\",\"id\":\"USLACKBOT\",\"name\":\"Slackbot\",\"source\":\"slack\"}],\"content\":\"Follow up with customer about the impact they saw.\"},\"type\":\"incident_todos\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/37697217-2096-5139-8550-b620b2d8b0a3/relationships/todos" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/37697217-2096-5139-8550-b620b2d8b0a3/relationships/todos/fde4f9a4-1415-5b9d-b8b4-b15804387d6b" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/37697217-2096-5139-8550-b620b2d8b0a3/relationships/todos/fde4f9a4-1415-5b9d-b8b4-b15804387d6b" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/37697217-2096-5139-8550-b620b2d8b0a3" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Get-the-details-of-an-incident-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Get-the-details-of-an-incident-returns-OK-response.json index 953ae9db0..a0521c473 100644 --- a/tests/scenarios/cassettes/v2/incidents/Get-the-details-of-an-incident-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Get-the-details-of-an-incident-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Get_the_details_of_an_incident_returns_OK_response-1771855606\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/19c87e47-487a-5ce4-8841-61d23ea414d4" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/19c87e47-487a-5ce4-8841-61d23ea414d4" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Import-an-incident-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/incidents/Import-an-incident-returns-CREATED-response.json index bc9fc5909..4f1f362e8 100644 --- a/tests/scenarios/cassettes/v2/incidents/Import-an-incident-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Import-an-incident-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"title\":\"Test-Import_an_incident_returns_CREATED_response-1771855606\",\"visibility\":\"organization\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/import" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/e2fe83b8-e433-476f-bf2c-d076aee55bed" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/List-an-incident-s-impacts-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/List-an-incident-s-impacts-returns-OK-response.json index 8fc7dd61b..b272b3237 100644 --- a/tests/scenarios/cassettes/v2/incidents/List-an-incident-s-impacts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/List-an-incident-s-impacts-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-List_an_incident_s_impacts_returns_OK_response-1758052060\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/81b6cd9f-526a-5a08-a204-ac402f36ea5f/impacts" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/81b6cd9f-526a-5a08-a204-ac402f36ea5f" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/List-incident-attachments-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/List-incident-attachments-returns-Bad-Request-response.json index 71c5e03f8..5c47d6ce6 100644 --- a/tests/scenarios/cassettes/v2/incidents/List-incident-attachments-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/List-incident-attachments-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000000/attachments" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/List-incident-attachments-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/List-incident-attachments-returns-OK-response.json index 468933b21..ca7ff5157 100644 --- a/tests/scenarios/cassettes/v2/incidents/List-incident-attachments-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/List-incident-attachments-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-List_incident_attachments_returns_OK_response-1771855607\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://app.datadoghq.com/notebook/TestListincidentattachmentsreturnsOKresponse1771855607/Test-List_incident_attachments_returns_OK_response-1771855607\",\"title\":\"Test-List_incident_attachments_returns_OK_response-1771855607\"},\"attachment_type\":\"postmortem\"},\"type\":\"incident_attachments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/548c9855-15a4-5015-8a20-4d237f24d784/attachments" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/548c9855-15a4-5015-8a20-4d237f24d784/attachments" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/548c9855-15a4-5015-8a20-4d237f24d784/attachments/70c374d6-069a-46cf-8031-d2be47b432cb" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/548c9855-15a4-5015-8a20-4d237f24d784" }, @@ -150,4 +124,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/List-incident-notification-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/List-incident-notification-rules-returns-OK-response.json index 5f1453c1b..9626fa74c 100644 --- a/tests/scenarios/cassettes/v2/incidents/List-incident-notification-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/List-incident-notification-rules-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\",\"SEV-2\"]}],\"enabled\":true,\"handles\":[\"@test-email@company.com\"],\"trigger\":\"incident_created_trigger\",\"visibility\":\"organization\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"637b6149-2ec4-4fbb-9346-ca814670a349\",\"type\":\"incident_types\"}}},\"type\":\"incident_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/dba18fe0-a558-46b5-b20f-614d1e20e05c" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/637b6149-2ec4-4fbb-9346-ca814670a349" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/List-incident-notification-templates-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/List-incident-notification-templates-returns-OK-response.json index 02b29cd7b..150004e49 100644 --- a/tests/scenarios/cassettes/v2/incidents/List-incident-notification-templates-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/List-incident-notification-templates-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Remove-commander-from-an-incident-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Remove-commander-from-an-incident-returns-OK-response.json index beae4f57c..31b9558b8 100644 --- a/tests/scenarios/cassettes/v2/incidents/Remove-commander-from-an-incident-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Remove-commander-from-an-incident-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Remove_commander_from_an_incident_returns_OK_response-1771855610\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"id\":\"0716c140-d36a-51c2-a94a-c6ac657f1062\",\"relationships\":{\"commander_user\":{\"data\":null}},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/0716c140-d36a-51c2-a94a-c6ac657f1062" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/0716c140-d36a-51c2-a94a-c6ac657f1062" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Search-for-incidents-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/incidents/Search-for-incidents-returns-OK-response-with-pagination.json index e02c408c3..86935ece3 100644 --- a/tests/scenarios/cassettes/v2/incidents/Search-for-incidents-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/incidents/Search-for-incidents-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/search?query=state%3A%28active%20OR%20stable%20OR%20resolved%29&page%5Bsize%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/search?query=state%3A%28active%20OR%20stable%20OR%20resolved%29&page%5Bsize%5D=2&page%5Boffset%5D=2" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Search-for-incidents-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Search-for-incidents-returns-OK-response.json index 473d05f49..744bb9bf2 100644 --- a/tests/scenarios/cassettes/v2/incidents/Search-for-incidents-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Search-for-incidents-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Search_for_incidents_returns_OK_response-1771855611\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/incidents/search?query=state%3A%28active%20OR%20stable%20OR%20resolved%29" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/ae9bf4be-cc56-5def-b363-1afe660c60a8" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-an-existing-incident-integration-metadata-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Update-an-existing-incident-integration-metadata-returns-OK-response.json index 82973c24e..bef8af545 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-an-existing-incident-integration-metadata-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-an-existing-incident-integration-metadata-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Update_an_existing_incident_integration_metadata_returns_OK_response-1771855632\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"incident_id\":\"563e989e-7a68-55d3-84b0-9b21d4f809fc\",\"integration_type\":1,\"metadata\":{\"channels\":[{\"channel_id\":\"C0123456789\",\"channel_name\":\"#example-channel-name\",\"redirect_url\":\"https://slack.com/app_redirect?channel=C0123456789&team=T01234567\",\"team_id\":\"T01234567\"}]},\"status\":2},\"type\":\"incident_integrations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/563e989e-7a68-55d3-84b0-9b21d4f809fc/relationships/integrations" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"incident_id\":\"563e989e-7a68-55d3-84b0-9b21d4f809fc\",\"integration_type\":1,\"metadata\":{\"channels\":[{\"channel_id\":\"C0123456789\",\"channel_name\":\"#updated-channel-name\",\"redirect_url\":\"https://slack.com/app_redirect?channel=C0123456789&team=T01234567\",\"team_id\":\"T01234567\"}]}},\"type\":\"incident_integrations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/563e989e-7a68-55d3-84b0-9b21d4f809fc/relationships/integrations/89c6c3eb-f2dc-5663-8261-6f065155450b" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/563e989e-7a68-55d3-84b0-9b21d4f809fc/relationships/integrations/89c6c3eb-f2dc-5663-8261-6f065155450b" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/563e989e-7a68-55d3-84b0-9b21d4f809fc" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-an-existing-incident-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Update-an-existing-incident-returns-OK-response.json index a6c4e5ec3..5be81ee95 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-an-existing-incident-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-an-existing-incident-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Update_an_existing_incident_returns_OK_response-1771855633\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"fields\":{\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"}},\"title\":\"Test-Update_an_existing_incident_returns_OK_response-1771855633-updated\"},\"id\":\"a6250371-3453-5a56-b302-93500bfb7e41\",\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/a6250371-3453-5a56-b302-93500bfb7e41" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/a6250371-3453-5a56-b302-93500bfb7e41" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-an-incident-todo-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Update-an-incident-todo-returns-OK-response.json index a5c4e6e3f..a6a6dd4b1 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-an-incident-todo-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-an-incident-todo-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Update_an_incident_todo_returns_OK_response-1771855634\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"assignees\":[\"@test.user@test.com\",{\"icon\":\"https://a.slack-edge.com/80588/img/slackbot_48.png\",\"id\":\"USLACKBOT\",\"name\":\"Slackbot\",\"source\":\"slack\"}],\"content\":\"Follow up with customer about the impact they saw.\"},\"type\":\"incident_todos\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/b99fac19-2e06-582e-ad48-14978a16a3aa/relationships/todos" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"assignees\":[\"@test.user@test.com\"],\"completed\":\"2023-03-06T22:00:00.000000+00:00\",\"content\":\"Restore lost data.\",\"due_date\":\"2023-07-10T05:00:00.000000+00:00\"},\"type\":\"incident_todos\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/b99fac19-2e06-582e-ad48-14978a16a3aa/relationships/todos/5a7ef902-7819-5f66-800b-24cbc39c5529" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/b99fac19-2e06-582e-ad48-14978a16a3aa/relationships/todos/5a7ef902-7819-5f66-800b-24cbc39c5529" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/b99fac19-2e06-582e-ad48-14978a16a3aa" }, @@ -160,4 +131,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-an-incident-type-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Update-an-incident-type-returns-OK-response.json index 9338c27b1..0b5c795d6 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-an-incident-type-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-an-incident-type-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Security Incident-updated\"},\"id\":\"2f679d16-756e-4d56-b80f-b7b0dd449572\",\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/2f679d16-756e-4d56-b80f-b7b0dd449572" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/2f679d16-756e-4d56-b80f-b7b0dd449572" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-Bad-Request-response.json index 41cf9c85c..e394c913b 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://app.datadoghq.com/notebook/124/Postmortem-IR-124\",\"title\":\"Postmortem-IR-124\"}},\"id\":\"00000000-abcd-0002-0000-000000000000\",\"type\":\"incident_attachments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-00000000000/attachments/00000000-0000-0000-0000-000000000000" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-Not-Found-response.json index 8fb54d1c6..49196ad1a 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://app.datadoghq.com/notebook/124/Postmortem-IR-124\",\"title\":\"Postmortem-IR-124\"}},\"id\":\"00000000-abcd-0002-0000-000000000000\",\"type\":\"incident_attachments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/00000000-0000-0000-0000-000000000001/attachments/00000000-0000-0000-0000-000000000001" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-OK-response.json index cbd787b00..688ac5530 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-attachment-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"customer_impacted\":false,\"title\":\"Test-Update_incident_attachment_returns_OK_response-1771855637\"},\"type\":\"incidents\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://app.datadoghq.com/notebook/TestUpdateincidentattachmentreturnsOKresponse1771855637/Test-Update_incident_attachment_returns_OK_response-1771855637\",\"title\":\"Test-Update_incident_attachment_returns_OK_response-1771855637\"},\"attachment_type\":\"postmortem\"},\"type\":\"incident_attachments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/deefcad1-7d33-56d0-8c82-61989ed74d28/attachments" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"attachment\":{\"documentUrl\":\"https://app.datadoghq.com/notebook/124/Test-Update_incident_attachment_returns_OK_response-1771855637\",\"title\":\"Test-Update_incident_attachment_returns_OK_response-1771855637\"}},\"id\":\"a5a7c352-5de3-4203-b73f-3fa40146683c\",\"type\":\"incident_attachments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/deefcad1-7d33-56d0-8c82-61989ed74d28/attachments/a5a7c352-5de3-4203-b73f-3fa40146683c" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/deefcad1-7d33-56d0-8c82-61989ed74d28/attachments/a5a7c352-5de3-4203-b73f-3fa40146683c" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/deefcad1-7d33-56d0-8c82-61989ed74d28" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-Bad-Request-response.json index 619a794db..80fa81148 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\",\"SEV-2\"]}],\"enabled\":true,\"handles\":[\"@test-email@company.com\"],\"trigger\":\"incident_created_trigger\",\"visibility\":\"organization\"},\"id\":\"00000000-0000-0000-0000-000000000001\",\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"incident_types\"}}},\"type\":\"invalid_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/00000000-0000-0000-0000-000000000001" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-Not-Found-response.json index 25c10f0c2..be5f25ba8 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\"]}],\"enabled\":false,\"handles\":[\"@test-email@company.com\"],\"trigger\":\"incident_created_trigger\"},\"id\":\"00000000-0000-0000-0000-000000000001\",\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000001\",\"type\":\"incident_types\"}}},\"type\":\"incident_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/00000000-0000-0000-0000-000000000001" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-OK-response.json index 7fa428ea3..7710c755b 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\",\"SEV-2\"]}],\"enabled\":true,\"handles\":[\"@test-email@company.com\"],\"trigger\":\"incident_created_trigger\",\"visibility\":\"organization\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"a9d0db49-7725-4660-8592-3a356e5383c5\",\"type\":\"incident_types\"}}},\"type\":\"incident_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"conditions\":[{\"field\":\"severity\",\"values\":[\"SEV-1\"]}],\"enabled\":false,\"handles\":[\"@updated-team-email@company.com\"],\"trigger\":\"incident_modified_trigger\",\"visibility\":\"private\"},\"id\":\"9dae0cfb-eb3f-412c-9bf3-a15cfdb1d740\",\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"a9d0db49-7725-4660-8592-3a356e5383c5\",\"type\":\"incident_types\"}}},\"type\":\"incident_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/9dae0cfb-eb3f-412c-9bf3-a15cfdb1d740" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-rules/9dae0cfb-eb3f-412c-9bf3-a15cfdb1d740" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/a9d0db49-7725-4660-8592-3a356e5383c5" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-Bad-Request-response.json index 4b6e862df..c25ec2518 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"update\",\"content\":\"Incident Status Update: For more details, visit the incident page.\",\"name\":\"Update Template\",\"subject\":\"Incident Update\"},\"id\":\"00000000-0000-0000-0000-000000000001\",\"type\":\"invalid_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/00000000-1111-2222-3333-444444444444" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-Not-Found-response.json index c3d565526..041532e13 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"update\",\"content\":\"Incident Status Update: For more details, visit the incident page.\",\"name\":\"Updated Template Name\",\"subject\":\"Incident Update\"},\"id\":\"00000000-1111-2222-3333-444444444444\",\"type\":\"notification_templates\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/00000000-1111-2222-3333-444444444444" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-OK-response.json b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-OK-response.json index 7d0b1052d..7d5671df6 100644 --- a/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/incidents/Update-incident-notification-template-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.\",\"is_default\":false,\"name\":\"Security Incident\"},\"type\":\"incident_types\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"alert\",\"content\":\"Test notification template\",\"name\":\"Test Template Test-Update_incident_notification_template_returns_OK_response-1771855640\",\"subject\":\"Test Subject\"},\"relationships\":{\"incident_type\":{\"data\":{\"id\":\"cf6591aa-f267-47c2-bf92-3e8ea80b7dd8\",\"type\":\"incident_types\"}}},\"type\":\"notification_templates\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"update\",\"content\":\"Incident Status Update:\\n\\nTitle: Sample Incident Title\\nNew Status: resolved\\nSeverity: SEV-2\\nServices: web-service, database-service\\nCommander: John Doe\\n\\nFor more details, visit the incident page.\",\"name\":\"Test-Update_incident_notification_template_returns_OK_response-1771855640\",\"subject\":\"Incident Update: Sample Incident Title - resolved\"},\"id\":\"d23357f8-ead4-48d3-b650-9c15359de3f5\",\"type\":\"notification_templates\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/d23357f8-ead4-48d3-b650-9c15359de3f5" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/notification-templates/d23357f8-ead4-48d3-b650-9c15359de3f5" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/incidents/config/types/cf6591aa-f267-47c2-bf92-3e8ea80b7dd8" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/integrations/List-Integrations-returns-Successful-Response-response.json b/tests/scenarios/cassettes/v2/integrations/List-Integrations-returns-Successful-Response-response.json index 932c7cee8..732255ca9 100644 --- a/tests/scenarios/cassettes/v2/integrations/List-Integrations-returns-Successful-Response-response.json +++ b/tests/scenarios/cassettes/v2/integrations/List-Integrations-returns-Successful-Response-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ip_allowlist/Get-IP-Allowlist-returns-OK-response.json b/tests/scenarios/cassettes/v2/ip_allowlist/Get-IP-Allowlist-returns-OK-response.json index 5edb4d55f..044b13c61 100644 --- a/tests/scenarios/cassettes/v2/ip_allowlist/Get-IP-Allowlist-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/ip_allowlist/Get-IP-Allowlist-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"entries\":[{\"data\":{\"attributes\":{\"cidr_block\":\"127.0.0.1\",\"note\":\"Test-Get_IP_Allowlist_returns_OK_response-1676046412\"},\"type\":\"ip_allowlist_entry\"}},{\"data\":{\"attributes\":{\"cidr_block\":\"0.0.0.0\",\"note\":\"Test-Get_IP_Allowlist_returns_OK_response-1676046412\"},\"type\":\"ip_allowlist_entry\"}}]},\"type\":\"ip_allowlist\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/ip_allowlist" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ip_allowlist" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ip_allowlist/Update-IP-Allowlist-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/ip_allowlist/Update-IP-Allowlist-returns-Bad-Request-response.json index 4f365ebcb..fdbea2ad4 100644 --- a/tests/scenarios/cassettes/v2/ip_allowlist/Update-IP-Allowlist-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/ip_allowlist/Update-IP-Allowlist-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"entries\":[]},\"type\":\"ip_allowlist\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/ip_allowlist" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/ip_allowlist/Update-IP-Allowlist-returns-OK-response.json b/tests/scenarios/cassettes/v2/ip_allowlist/Update-IP-Allowlist-returns-OK-response.json index bf3618ffe..122cd3894 100644 --- a/tests/scenarios/cassettes/v2/ip_allowlist/Update-IP-Allowlist-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/ip_allowlist/Update-IP-Allowlist-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"entries\":[]},\"type\":\"ip_allowlist\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/ip_allowlist" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"entries\":[{\"data\":{\"attributes\":{\"cidr_block\":\"127.0.0.1\",\"note\":\"Test-Update_IP_Allowlist_returns_OK_response-1676046413\"},\"type\":\"ip_allowlist_entry\"}}]},\"type\":\"ip_allowlist\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/ip_allowlist" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Create-an-API-key-returns-Created-response.json b/tests/scenarios/cassettes/v2/key_management/Create-an-API-key-returns-Created-response.json index 2205fa129..0778b04ed 100644 --- a/tests/scenarios/cassettes/v2/key_management/Create-an-API-key-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Create-an-API-key-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_an_API_key_returns_Created_response-1652349120\"},\"type\":\"api_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/api_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/api_keys/f625994a-4ee7-4967-b08c-7067d1f1cdac" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Create-an-Application-key-with-scopes-for-current-user-returns-Created-response.json b/tests/scenarios/cassettes/v2/key_management/Create-an-Application-key-with-scopes-for-current-user-returns-Created-response.json index 240fdc91b..7c65ce86e 100644 --- a/tests/scenarios/cassettes/v2/key_management/Create-an-Application-key-with-scopes-for-current-user-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Create-an-Application-key-with-scopes-for-current-user-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_an_Application_key_with_scopes_for_current_user_returns_Created_response-1652349122\",\"scopes\":[\"dashboards_read\",\"dashboards_write\",\"dashboards_public_share\"]},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/aae6e868-4746-46f2-a457-5b39d35b0c30" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Create-an-application-key-for-current-user-returns-Created-response.json b/tests/scenarios/cassettes/v2/key_management/Create-an-application-key-for-current-user-returns-Created-response.json index 77150a999..929d32495 100644 --- a/tests/scenarios/cassettes/v2/key_management/Create-an-application-key-for-current-user-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Create-an-application-key-for-current-user-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_an_application_key_for_current_user_returns_Created_response-1697464548\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/513684db-d430-45bd-8239-0715320c9488" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Delete-an-API-key-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/key_management/Delete-an-API-key-returns-No-Content-response.json index 2be11a878..60ec2873a 100644 --- a/tests/scenarios/cassettes/v2/key_management/Delete-an-API-key-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Delete-an-API-key-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_an_API_key_returns_No_Content_response-1652349123\"},\"type\":\"api_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/api_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/api_keys/67c58c24-e02f-4d1a-9c95-1e01d2544e5a" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/api_keys/67c58c24-e02f-4d1a-9c95-1e01d2544e5a" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Delete-an-application-key-owned-by-current-user-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/key_management/Delete-an-application-key-owned-by-current-user-returns-No-Content-response.json index 43d2e8485..f2a96d25f 100644 --- a/tests/scenarios/cassettes/v2/key_management/Delete-an-application-key-owned-by-current-user-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Delete-an-application-key-owned-by-current-user-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_an_application_key_owned_by_current_user_returns_No_Content_response-1697466191\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/be94f6b2-1704-4126-a898-94d65f6f28d8" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/be94f6b2-1704-4126-a898-94d65f6f28d8" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Delete-an-application-key-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/key_management/Delete-an-application-key-returns-No-Content-response.json index 40aeb27f7..1e9b711d9 100644 --- a/tests/scenarios/cassettes/v2/key_management/Delete-an-application-key-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Delete-an-application-key-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_an_application_key_returns_No_Content_response-1697462308\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/application_keys/c7a26dee-1619-4ed0-8d1a-0ae4ed94da29" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/c7a26dee-1619-4ed0-8d1a-0ae4ed94da29" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Edit-an-API-key-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Edit-an-API-key-returns-OK-response.json index e1a46dda4..f36c45c25 100644 --- a/tests/scenarios/cassettes/v2/key_management/Edit-an-API-key-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Edit-an-API-key-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_API_key_returns_OK_response-1652349128\"},\"type\":\"api_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/api_keys" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_API_key_returns_OK_response-1652349128\"},\"id\":\"929dfb7c-2309-46b4-bdfe-998dc339f2db\",\"type\":\"api_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/api_keys/929dfb7c-2309-46b4-bdfe-998dc339f2db" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/api_keys/929dfb7c-2309-46b4-bdfe-998dc339f2db" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Edit-an-application-key-owned-by-current-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Edit-an-application-key-owned-by-current-user-returns-OK-response.json index 515c744af..6895d48d3 100644 --- a/tests/scenarios/cassettes/v2/key_management/Edit-an-application-key-owned-by-current-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Edit-an-application-key-owned-by-current-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_application_key_owned_by_current_user_returns_OK_response-1652349129\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_application_key_owned_by_current_user_returns_OK_response-1652349129-updated\"},\"id\":\"30170613-5282-40db-83ae-232895165192\",\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/30170613-5282-40db-83ae-232895165192" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/30170613-5282-40db-83ae-232895165192" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Edit-an-application-key-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Edit-an-application-key-returns-OK-response.json index 93b8ea396..af6f0a2c1 100644 --- a/tests/scenarios/cassettes/v2/key_management/Edit-an-application-key-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Edit-an-application-key-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_application_key_returns_OK_response-1652349131\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_application_key_returns_OK_response-1652349131-updated\"},\"id\":\"27b9bda2-c2e1-46ae-9dea-bfad4fcd5000\",\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/application_keys/27b9bda2-c2e1-46ae-9dea-bfad4fcd5000" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/27b9bda2-c2e1-46ae-9dea-bfad4fcd5000" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-API-key-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/key_management/Get-API-key-returns-Not-Found-response.json index c7c510d7c..658785a95 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-API-key-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-API-key-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/api_keys/invalidId" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-API-key-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Get-API-key-returns-OK-response.json index 572cf1f02..1e243bbe3 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-API-key-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-API-key-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_API_key_returns_OK_response-1757323482\"},\"type\":\"api_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/api_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/api_keys/9286a10e-fe08-48ba-9884-8e26e7e67695" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/api_keys/9286a10e-fe08-48ba-9884-8e26e7e67695" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-all-API-keys-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Get-all-API-keys-returns-OK-response.json index 271d8a73c..28f6d2049 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-all-API-keys-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-all-API-keys-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_API_keys_returns_OK_response-1757323483\"},\"type\":\"api_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/api_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/api_keys?filter=Test-Get_all_API_keys_returns_OK_response-1757323483" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/api_keys/84dbd164-f3f5-4f30-ac93-e12b27adeada" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-all-application-keys-owned-by-current-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Get-all-application-keys-owned-by-current-user-returns-OK-response.json index 6e743c125..8a0675fc5 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-all-application-keys-owned-by-current-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-all-application-keys-owned-by-current-user-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-all-application-keys-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Get-all-application-keys-returns-OK-response.json index 1a0ff4597..9531460f5 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-all-application-keys-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-all-application-keys-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_application_keys_returns_OK_response-1757323486\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/application_keys" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/d516f4ec-0722-488c-9500-2d812b93d9b9" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-an-application-key-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/key_management/Get-an-application-key-returns-Not-Found-response.json index f0ffae104..d248775be 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-an-application-key-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-an-application-key-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/application_keys/invalidId" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-an-application-key-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Get-an-application-key-returns-OK-response.json index 3eb7e8274..78d991b64 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-an-application-key-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-an-application-key-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_an_application_key_returns_OK_response-1757323488\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/application_keys/0292830c-dde3-4e62-a568-573e4be65dff" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/0292830c-dde3-4e62-a568-573e4be65dff" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-one-application-key-owned-by-current-user-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/key_management/Get-one-application-key-owned-by-current-user-returns-Not-Found-response.json index 719ae8fe9..8cd93c9de 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-one-application-key-owned-by-current-user-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-one-application-key-owned-by-current-user-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/incorrectId" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/key_management/Get-one-application-key-owned-by-current-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/key_management/Get-one-application-key-owned-by-current-user-returns-OK-response.json index d8444bb94..5bd06c940 100644 --- a/tests/scenarios/cassettes/v2/key_management/Get-one-application-key-owned-by-current-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/key_management/Get-one-application-key-owned-by-current-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_one_application_key_owned_by_current_user_returns_OK_response-1757540407\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/1c6c0fa5-6608-4e3f-8ce0-2b861590fecd" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/current_user/application_keys/1c6c0fa5-6608-4e3f-8ce0-2b861590fecd" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs/Aggregate-compute-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs/Aggregate-compute-events-returns-OK-response.json index 417e18652..50dc9ee0c 100644 --- a/tests/scenarios/cassettes/v2/logs/Aggregate-compute-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs/Aggregate-compute-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"compute\":[{\"aggregation\":\"count\",\"interval\":\"5m\",\"type\":\"timeseries\"}],\"filter\":{\"from\":\"now-15m\",\"indexes\":[\"main\"],\"query\":\"*\",\"to\":\"now\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/analytics/aggregate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs/Aggregate-compute-events-with-group-by-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs/Aggregate-compute-events-with-group-by-returns-OK-response.json index c431061c1..ef1fb37b3 100644 --- a/tests/scenarios/cassettes/v2/logs/Aggregate-compute-events-with-group-by-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs/Aggregate-compute-events-with-group-by-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"compute\":[{\"aggregation\":\"count\",\"interval\":\"5m\",\"type\":\"timeseries\"}],\"filter\":{\"from\":\"now-15m\",\"indexes\":[\"main\"],\"query\":\"*\",\"to\":\"now\"},\"group_by\":[{\"facet\":\"host\",\"missing\":\"miss\",\"sort\":{\"aggregation\":\"pc90\",\"metric\":\"@duration\",\"order\":\"asc\",\"type\":\"measure\"}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/analytics/aggregate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs/Aggregate-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs/Aggregate-events-returns-OK-response.json index c94dd176a..d9d33e802 100644 --- a/tests/scenarios/cassettes/v2/logs/Aggregate-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs/Aggregate-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"indexes\":[\"main\"],\"query\":\"*\",\"to\":\"now\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/analytics/aggregate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs/Get-a-list-of-logs-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/logs/Get-a-list-of-logs-returns-OK-response-with-pagination.json index 499aeb84d..a1150a971 100644 --- a/tests/scenarios/cassettes/v2/logs/Get-a-list-of-logs-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/logs/Get-a-list-of-logs-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/events?page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/events?page%5Blimit%5D=2&page%5Bcursor%5D=eyJhZnRlciI6IkFRQUFBWUFkTDlRUW1jT2g2Z0FBQUFCQldVRmtUQzFPUzBGQlFucExkREpLZFZOYVlrTjNRVVEifQ" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs/Get-a-quick-list-of-logs-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs/Get-a-quick-list-of-logs-returns-OK-response.json index fb9e39939..a1a985c3c 100644 --- a/tests/scenarios/cassettes/v2/logs/Get-a-quick-list-of-logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs/Get-a-quick-list-of-logs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/events?filter%5Bquery%5D=datadog-agent&filter%5Bindexes%5D=main&filter%5Bfrom%5D=2020-09-17T11%3A48%3A36%2B01%3A00&filter%5Bto%5D=2020-09-17T12%3A48%3A36%2B01%3A00&page%5Blimit%5D=5" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs/Search-logs-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/logs/Search-logs-returns-OK-response-with-pagination.json index 43d272fef..f788b8221 100644 --- a/tests/scenarios/cassettes/v2/logs/Search-logs-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/logs/Search-logs-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"indexes\":[\"main\"],\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/events/search" }, @@ -40,14 +33,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"indexes\":[\"main\"],\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWUFaZGJvSjdkR3dOZ0FBQUFCQldVRmFaR0p5TVVGQlEwczRPRU4zWW1aMVVESlJRVUUifQ\",\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/events/search" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs/Search-logs-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs/Search-logs-returns-OK-response.json index d14f1d2b9..1df2b80ee 100644 --- a/tests/scenarios/cassettes/v2/logs/Search-logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs/Search-logs-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"2020-09-17T11:48:36+01:00\",\"indexes\":[\"main\"],\"query\":\"datadog-agent\",\"to\":\"2020-09-17T12:48:36+01:00\"},\"page\":{\"limit\":5},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs/Send-logs-returns-Request-accepted-for-processing-always-202-empty-JSON-response.json b/tests/scenarios/cassettes/v2/logs/Send-logs-returns-Request-accepted-for-processing-always-202-empty-JSON-response.json index cbe96d573..1ae0bd7d9 100644 --- a/tests/scenarios/cassettes/v2/logs/Send-logs-returns-Request-accepted-for-processing-always-202-empty-JSON-response.json +++ b/tests/scenarios/cassettes/v2/logs/Send-logs-returns-Request-accepted-for-processing-always-202-empty-JSON-response.json @@ -6,14 +6,7 @@ "string": "[{\"ddsource\":\"nginx\",\"ddtags\":\"env:staging,version:5.1\",\"hostname\":\"i-012345678\",\"message\":\"2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World\",\"service\":\"payment\",\"status\":\"info\"}]", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://http-intake.logs.datadoghq.com/api/v2/logs" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Basic-HTTP-custom-destination-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Basic-HTTP-custom-destination-returns-OK-response.json index 96cd86704..bb8583465 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Basic-HTTP-custom-destination-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Basic-HTTP-custom-destination-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"datadog-custom-destination-password\",\"type\":\"basic\",\"username\":\"datadog-custom-destination-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/9608c7d6-8ea4-4487-88da-ab7620dd000c" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response.json index 592b35578..d38846d69 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"auth\":{\"header_name\":\"MY-AUTHENTICATION-HEADER\",\"header_value\":\"my-secret\",\"type\":\"custom_header\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/b522ed5a-3fab-47f4-a828-d34bd5632656" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Microsoft-Sentinel-custom-destination-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Microsoft-Sentinel-custom-destination-returns-OK-response.json index b7e54f43c..86ea2aa1e 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Microsoft-Sentinel-custom-destination-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Microsoft-Sentinel-custom-destination-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"client_id\":\"9a2f4d83-2b5e-429e-a35a-2b3c4182db71\",\"data_collection_endpoint\":\"https://my-dce-5kyl.eastus-1.ingest.monitor.azure.com\",\"data_collection_rule_id\":\"dcr-000a00a000a00000a000000aa000a0aa\",\"stream_name\":\"Custom-MyTable\",\"tenant_id\":\"f3c9a8a1-4c2e-4d2e-b911-9f3c28c3c8b2\",\"type\":\"microsoft_sentinel\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/171ee4b7-e07f-43ca-85a5-23f762c161a7" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Splunk-custom-destination-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Splunk-custom-destination-returns-OK-response.json index e1b05a882..1506cf861 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Splunk-custom-destination-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-Splunk-custom-destination-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"access_token\":\"my-access-token\",\"endpoint\":\"https://example.com\",\"type\":\"splunk_hec\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/dcdf0ca2-b06a-4b75-8b07-0ba1987bd2fe" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-custom-destination-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-custom-destination-returns-Bad-Request-response.json index 87e791593..0388a6edb 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-custom-destination-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-a-custom-destination-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Nginx logs\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-an-Elasticsearch-custom-destination-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-an-Elasticsearch-custom-destination-returns-OK-response.json index b88993451..e9511ec9d 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-an-Elasticsearch-custom-destination-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Create-an-Elasticsearch-custom-destination-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"index_name\":\"nginx-logs\",\"index_rotation\":\"yyyy-MM-dd\",\"type\":\"elasticsearch\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/922dba96-00c4-49fb-969c-aabf48a3d5c3" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Delete-a-custom-destination-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Delete-a-custom-destination-returns-Not-Found-response.json index e965daa16..c72d331c3 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Delete-a-custom-destination-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Delete-a-custom-destination-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/does-not-exist" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Delete-a-custom-destination-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Delete-a-custom-destination-returns-OK-response.json index 5795412af..256f0d14f 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Delete-a-custom-destination-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Delete-a-custom-destination-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Delete_a_custom_destination_returns_OK_response-1710235212\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/596bb741-53be-49c6-939d-b5d4d9307689" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/596bb741-53be-49c6-939d-b5d4d9307689" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-a-custom-destination-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-a-custom-destination-returns-Not-Found-response.json index 7575365eb..0f2232c0a 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-a-custom-destination-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-a-custom-destination-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/does-not-exist" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-a-custom-destination-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-a-custom-destination-returns-OK-response.json index 81f7e6757..21609c0c3 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-a-custom-destination-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-a-custom-destination-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Get_a_custom_destination_returns_OK_response-1710235213\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/13e3f7e6-307e-4a91-a269-e016da18efc5" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/13e3f7e6-307e-4a91-a269-e016da18efc5" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-all-custom-destinations-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-all-custom-destinations-returns-OK-response.json index 279066329..8dd8c8405 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-all-custom-destinations-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Get-all-custom-destinations-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Get_all_custom_destinations_returns_OK_response-1710235215\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/85883e0f-b010-4b8b-816d-a629600a4d0a" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-Bad-Request-response.json index fdb108e2e..898616b5d 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Update_a_custom_destination_returns_Bad_Request_response-1710235216\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"forward_tags_restriction_list_type\":\"this_list_type_does_not_exist\"},\"id\":\"0f1b60fc-4671-4bd5-834b-bc86c8a5065b\",\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/0f1b60fc-4671-4bd5-834b-bc86c8a5065b" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/0f1b60fc-4671-4bd5-834b-bc86c8a5065b" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-Not-Found-response.json index 969fff5a2..25cf976c2 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"datadog-custom-destination-password\",\"type\":\"basic\",\"username\":\"datadog-custom-destination-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"id\":\"id-from-non-existing-custom-destination\",\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/id-from-non-existing-custom-destination" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-OK-response.json index 1c48d8fec..0187b4765 100644 --- a/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_custom_destinations/Update-a-custom-destination-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Update_a_custom_destination_returns_OK_response-1712345501\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"name\":\"Nginx logs (Updated)\",\"query\":\"source:nginx\"},\"id\":\"60f4b01e-7853-4d48-8f6d-b98802dca889\",\"type\":\"custom_destination\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/60f4b01e-7853-4d48-8f6d-b98802dca889" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/60f4b01e-7853-4d48-8f6d-b98802dca889" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_metrics/Create-a-log-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_metrics/Create-a-log-based-metric-returns-OK-response.json index 83abe56e3..45d41c285 100644 --- a/tests/scenarios/cassettes/v2/logs_metrics/Create-a-log-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_metrics/Create-a-log-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"}},\"id\":\"TestCreatealogbasedmetricreturnsOKresponse1686138855\",\"type\":\"logs_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/TestCreatealogbasedmetricreturnsOKresponse1686138855" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_metrics/Delete-a-log-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_metrics/Delete-a-log-based-metric-returns-OK-response.json index e20069cd0..e5a3723ca 100644 --- a/tests/scenarios/cassettes/v2/logs_metrics/Delete-a-log-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_metrics/Delete-a-log-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"count\"},\"filter\":{\"query\":\"source:Test-Delete_a_log_based_metric_returns_OK_response-1681838831\"}},\"id\":\"Test-Delete_a_log_based_metric_returns_OK_response-1681838831\",\"type\":\"logs_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Delete_a_log_based_metric_returns_OK_response_1681838831" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Delete_a_log_based_metric_returns_OK_response_1681838831" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_metrics/Get-a-log-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_metrics/Get-a-log-based-metric-returns-OK-response.json index 28d2e1a50..f98a2fe01 100644 --- a/tests/scenarios/cassettes/v2/logs_metrics/Get-a-log-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_metrics/Get-a-log-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"count\"},\"filter\":{\"query\":\"source:Test-Get_a_log_based_metric_returns_OK_response-1686139084\"}},\"id\":\"Test-Get_a_log_based_metric_returns_OK_response-1686139084\",\"type\":\"logs_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Get_a_log_based_metric_returns_OK_response_1686139084" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Get_a_log_based_metric_returns_OK_response_1686139084" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_metrics/Get-all-log-based-metrics-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_metrics/Get-all-log-based-metrics-returns-OK-response.json index 33357346a..299e92390 100644 --- a/tests/scenarios/cassettes/v2/logs_metrics/Get-all-log-based-metrics-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_metrics/Get-all-log-based-metrics-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"count\"},\"filter\":{\"query\":\"source:Test-Get_all_log_based_metrics_returns_OK_response-1686139121\"}},\"id\":\"Test-Get_all_log_based_metrics_returns_OK_response-1686139121\",\"type\":\"logs_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Get_all_log_based_metrics_returns_OK_response_1686139121" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_metrics/Update-a-log-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_metrics/Update-a-log-based-metric-returns-OK-response.json index b50477788..c27b51897 100644 --- a/tests/scenarios/cassettes/v2/logs_metrics/Update-a-log-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_metrics/Update-a-log-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"count\"},\"filter\":{\"query\":\"source:Test-Update_a_log_based_metric_returns_OK_response-1686138930\"}},\"id\":\"Test-Update_a_log_based_metric_returns_OK_response-1686138930\",\"type\":\"logs_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"source:Test-Update_a_log_based_metric_returns_OK_response-1686138930-updated\"}},\"type\":\"logs_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Update_a_log_based_metric_returns_OK_response_1686138930" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Update_a_log_based_metric_returns_OK_response_1686138930" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_metrics/Update-a-log-based-metric-with-include-percentiles-field-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_metrics/Update-a-log-based-metric-with-include-percentiles-field-returns-OK-response.json index e755a1060..c1f7d9eb8 100644 --- a/tests/scenarios/cassettes/v2/logs_metrics/Update-a-log-based-metric-with-include-percentiles-field-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_metrics/Update-a-log-based-metric-with-include-percentiles-field-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"filter\":{\"query\":\"source:Test-Update_a_log_based_metric_with_include_percentiles_field_returns_OK_response-1686138962\"}},\"id\":\"Test-Update_a_log_based_metric_with_include_percentiles_field_returns_OK_response-1686138962\",\"type\":\"logs_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"include_percentiles\":false}},\"type\":\"logs_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Update_a_log_based_metric_with_include_percentiles_field_returns_OK_response_1686138962" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/metrics/Test_Update_a_log_based_metric_with_include_percentiles_field_returns_OK_response_1686138962" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Create-a-restriction-query-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Create-a-restriction-query-returns-Bad-Request-response.json index 3a4a26e57..1b1081da9 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Create-a-restriction-query-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Create-a-restriction-query-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"test\":\"bad_request\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Create-a-restriction-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Create-a-restriction-query-returns-OK-response.json index 9cfda99e1..6bb65f474 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Create-a-restriction-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Create-a-restriction-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"restriction_query\":\"env:sandbox\"},\"type\":\"logs_restriction_queries\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2b5594f8-c4b3-11f0-a05d-da7ad0900002" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-Bad-Request-response.json index a513d543a..31e780545 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/malformed_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-Not-found-response.json index bf354b68b..90cd6998f 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-OK-response.json index 11efbd4db..a3918d276 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Delete-a-restriction-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"restriction_query\":\"env:sandbox\"},\"type\":\"logs_restriction_queries\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2c373dc2-c4b3-11f0-8ca7-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2c373dc2-c4b3-11f0-8ca7-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-Bad-Request-response.json index 0ff6f9807..830e68ec4 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/malformed_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-Not-found-response.json index 1b6b78d5a..649889d19 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-OK-response.json index 2129b1aa4..0285f0ca9 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-a-restriction-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"restriction_query\":\"env:sandbox\"},\"type\":\"logs_restriction_queries\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2cc39998-c4b3-11f0-8b4b-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2cc39998-c4b3-11f0-8b4b-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-all-restriction-queries-for-a-given-user-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-all-restriction-queries-for-a-given-user-returns-Bad-Request-response.json index f0a687871..c9b55915d 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-all-restriction-queries-for-a-given-user-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-all-restriction-queries-for-a-given-user-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/user/malformed_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-all-restriction-queries-for-a-given-user-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-all-restriction-queries-for-a-given-user-returns-Not-found-response.json index 162148e14..22b2903de 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-all-restriction-queries-for-a-given-user-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-all-restriction-queries-for-a-given-user-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/user/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-Bad-Request-response.json index 89aa278d9..56f0d6136 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/role/malformed_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-Not-found-response.json index c2bafb343..cc8c16587 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/role/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-OK-response.json index d5123e7d7..ed17f1a68 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Get-restriction-query-for-a-given-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_restriction_query_for_a_given_role_returns_OK_response-1763493428\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/role/2d925300-c4b3-11f0-a252-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/2d925300-c4b3-11f0-a252-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-Bad-Request-response.json index 428aaf18b..194f90c22 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"3653d3c6-0c75-11ea-ad28-fb5701eabc7d\",\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/malformed_id/roles" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-Not-found-response.json index e1a934584..869a10c86 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-Not-found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"3653d3c6-0c75-11ea-ad28-fb5701eabc7d\",\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/00000000-0000-0000-0000-000000000000/roles" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-OK-response.json index 742c469bb..627186860 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/Grant-role-to-a-restriction-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"restriction_query\":\"env:sandbox\"},\"type\":\"logs_restriction_queries\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Grant_role_to_a_restriction_query_returns_OK_response-1763493429\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"id\":\"2e209fb6-c4b3-11f0-8483-da7ad0900002\",\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2e0a0abc-c4b3-11f0-9b1d-da7ad0900002/roles" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/2e209fb6-c4b3-11f0-8483-da7ad0900002" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2e0a0abc-c4b3-11f0-9b1d-da7ad0900002" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/List-restriction-queries-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/List-restriction-queries-returns-OK-response.json index e864d1763..95a00cdbc 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/List-restriction-queries-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/List-restriction-queries-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-Bad-Request-response.json index c814086b3..b59e5b87a 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/malformed_id/roles" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-Not-found-response.json index 3991cb18f..c412f422f 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/00000000-0000-0000-0000-000000000000/roles" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-OK-response.json index 279552ee8..d44819306 100644 --- a/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/logs_restriction_queries/List-roles-for-a-restriction-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"restriction_query\":\"env:sandbox\"},\"type\":\"logs_restriction_queries\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2efc1406-c4b3-11f0-a6d9-da7ad0900002/roles" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/logs/config/restriction_queries/2efc1406-c4b3-11f0-a6d9-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Configure-tags-for-multiple-metrics-returns-Accepted-response.json b/tests/scenarios/cassettes/v2/metrics/Configure-tags-for-multiple-metrics-returns-Accepted-response.json index 392707292..88a172279 100644 --- a/tests/scenarios/cassettes/v2/metrics/Configure-tags-for-multiple-metrics-returns-Accepted-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Configure-tags-for-multiple-metrics-returns-Accepted-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Configure_tags_for_multiple_metrics_returns_Accepted_response-1701962406@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"emails\":[\"test-configure_tags_for_multiple_metrics_returns_accepted_response-1701962406@datadoghq.com\"],\"tags\":[\"test\",\"testconfiguretagsformultiplemetricsreturnsacceptedresponse1701962406\"]},\"id\":\"system.load.1\",\"type\":\"metric_bulk_configure_tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/metrics/config/bulk-tags" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"emails\":[\"test-configure_tags_for_multiple_metrics_returns_accepted_response-1701962406@datadoghq.com\"]},\"id\":\"system.load.1\",\"type\":\"metric_bulk_configure_tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/metrics/config/bulk-tags" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/1a6aac59-9514-11ee-8d56-0adb1a638a47" }, @@ -128,4 +103,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Create-a-tag-configuration-returns-Created-response.json b/tests/scenarios/cassettes/v2/metrics/Create-a-tag-configuration-returns-Created-response.json index da55662b4..ca3f1e8ab 100644 --- a/tests/scenarios/cassettes/v2/metrics/Create-a-tag-configuration-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Create-a-tag-configuration-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"TestCreateatagconfigurationreturnsCreatedresponse1652354850\",\"points\":[[1652354850,1.1]],\"tags\":[\"test:ExampleSubmitmetricsreturnsPayloadacceptedresponse\"],\"type\":\"gauge\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "text/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/series" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"metric_type\":\"gauge\",\"tags\":[\"app\",\"datacenter\"]},\"id\":\"TestCreateatagconfigurationreturnsCreatedresponse1652354850\",\"type\":\"manage_tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/metrics/TestCreateatagconfigurationreturnsCreatedresponse1652354850/tags" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/metrics/TestCreateatagconfigurationreturnsCreatedresponse1652354850/tags" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Delete-a-tag-configuration-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/metrics/Delete-a-tag-configuration-returns-No-Content-response.json index 79d11e85a..fa87b6e39 100644 --- a/tests/scenarios/cassettes/v2/metrics/Delete-a-tag-configuration-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Delete-a-tag-configuration-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"TestDeleteatagconfigurationreturnsNoContentresponse1652354788\",\"points\":[[1652354788,1.1]],\"tags\":[\"test:ExampleSubmitmetricsreturnsPayloadacceptedresponse\"],\"type\":\"gauge\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "text/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/series" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"metric_type\":\"gauge\",\"tags\":[\"app\",\"datacenter\",\"TestDeleteatagconfigurationreturnsNoContentresponse1652354788\"]},\"id\":\"TestDeleteatagconfigurationreturnsNoContentresponse1652354788\",\"type\":\"manage_tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/metrics/TestDeleteatagconfigurationreturnsNoContentresponse1652354788/tags" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/metrics/TestDeleteatagconfigurationreturnsNoContentresponse1652354788/tags" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/metrics/TestDeleteatagconfigurationreturnsNoContentresponse1652354788/tags" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-returns-Success-response-with-pagination.json b/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-returns-Success-response-with-pagination.json index 963ed3306..dd3fad968 100644 --- a/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-returns-Success-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-returns-Success-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics?page%5Bsize%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics?page%5Bsize%5D=2&page%5Bcursor%5D=6354566d64454633525642695631597759323173616d4d784f5768614d6d52355748704265455a7561453154526b704554315a4f616c5577566b685862456f305455646e6557517a526e6c5752555642526d787355314e756233686c617a56575656526b52465273516c6456526c5a74557a427756574a73525546425155464251554642526c705464316455566b354a5658706e4e574d7863465669565852465657316b576b354962464a566257733156564642516b5a7561453154526b704554315a4f616c5577566b685862456f305455646e6557517a526e6c57525556425155453950546f365a474630595752765a79356c63335270625746305a57526664584e685a3255755a585a6c626e527a4c6d6c755a32567a6447566b583256325a573530637977324c6a67794e7a677a4e3255724d44593d" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-with-a-tag-filter-returns-Success-response.json b/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-with-a-tag-filter-returns-Success-response.json index a1bdd9c07..f9be62e88 100644 --- a/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-with-a-tag-filter-returns-Success-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-with-a-tag-filter-returns-Success-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics?filter%5Btags%5D=TestGetalistofmetricswithatagfilterreturnsSuccessresponse1662033550" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-with-configured-filter-returns-Success-response.json b/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-with-configured-filter-returns-Success-response.json index 008f8356c..84ea31ac4 100644 --- a/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-with-configured-filter-returns-Success-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Get-a-list-of-metrics-with-configured-filter-returns-Success-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics?filter%5Bconfigured%5D=true" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/List-active-tags-and-aggregations-returns-Success-response.json b/tests/scenarios/cassettes/v2/metrics/List-active-tags-and-aggregations-returns-Success-response.json index 1c3235eb8..f23156edd 100644 --- a/tests/scenarios/cassettes/v2/metrics/List-active-tags-and-aggregations-returns-Success-response.json +++ b/tests/scenarios/cassettes/v2/metrics/List-active-tags-and-aggregations-returns-Success-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"static_test_metric_donotdelete\",\"points\":[[1685976245,1.1]],\"tags\":[\"test:static_test_metric_donotdelete\"],\"type\":\"gauge\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "text/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/series" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics/static_test_metric_donotdelete/active-configurations" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/List-distinct-metric-volumes-by-metric-name-returns-Success-response.json b/tests/scenarios/cassettes/v2/metrics/List-distinct-metric-volumes-by-metric-name-returns-Success-response.json index a5fedd8bb..8df0eef5f 100644 --- a/tests/scenarios/cassettes/v2/metrics/List-distinct-metric-volumes-by-metric-name-returns-Success-response.json +++ b/tests/scenarios/cassettes/v2/metrics/List-distinct-metric-volumes-by-metric-name-returns-Success-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"static_test_metric_donotdelete\",\"points\":[[1685718947,1.1]],\"tags\":[\"test:static_test_metric_donotdelete\"],\"type\":\"gauge\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "text/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/series" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics/static_test_metric_donotdelete/volumes" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/List-tag-configuration-by-name-returns-Success-response.json b/tests/scenarios/cassettes/v2/metrics/List-tag-configuration-by-name-returns-Success-response.json index 32d0f9647..ed9daa3af 100644 --- a/tests/scenarios/cassettes/v2/metrics/List-tag-configuration-by-name-returns-Success-response.json +++ b/tests/scenarios/cassettes/v2/metrics/List-tag-configuration-by-name-returns-Success-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"TestListtagconfigurationbynamereturnsSuccessresponse1652354693\",\"points\":[[1652354693,1.1]],\"tags\":[\"test:ExampleSubmitmetricsreturnsPayloadacceptedresponse\"],\"type\":\"gauge\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "text/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/series" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"metric_type\":\"gauge\",\"tags\":[\"app\",\"datacenter\",\"TestListtagconfigurationbynamereturnsSuccessresponse1652354693\"]},\"id\":\"TestListtagconfigurationbynamereturnsSuccessresponse1652354693\",\"type\":\"manage_tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/metrics/TestListtagconfigurationbynamereturnsSuccessresponse1652354693/tags" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics/TestListtagconfigurationbynamereturnsSuccessresponse1652354693/tags" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/metrics/TestListtagconfigurationbynamereturnsSuccessresponse1652354693/tags" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/List-tags-by-metric-name-returns-Success-response.json b/tests/scenarios/cassettes/v2/metrics/List-tags-by-metric-name-returns-Success-response.json index ac743c22e..f15036674 100644 --- a/tests/scenarios/cassettes/v2/metrics/List-tags-by-metric-name-returns-Success-response.json +++ b/tests/scenarios/cassettes/v2/metrics/List-tags-by-metric-name-returns-Success-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"TestListtagsbymetricnamereturnsSuccessresponse1652354618\",\"points\":[[1652354618,1.1]],\"tags\":[\"test:ExampleSubmitmetricsreturnsPayloadacceptedresponse\"],\"type\":\"gauge\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "text/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/series" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"metric_type\":\"gauge\",\"tags\":[\"app\",\"datacenter\",\"TestListtagsbymetricnamereturnsSuccessresponse1652354618\"]},\"id\":\"TestListtagsbymetricnamereturnsSuccessresponse1652354618\",\"type\":\"manage_tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/metrics/TestListtagsbymetricnamereturnsSuccessresponse1652354618/tags" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics/TestListtagsbymetricnamereturnsSuccessresponse1652354618/all-tags" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/metrics/TestListtagsbymetricnamereturnsSuccessresponse1652354618/tags" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Related-Assets-to-a-Metric-returns-Success-response.json b/tests/scenarios/cassettes/v2/metrics/Related-Assets-to-a-Metric-returns-Success-response.json index 08133a471..f38827f04 100644 --- a/tests/scenarios/cassettes/v2/metrics/Related-Assets-to-a-Metric-returns-Success-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Related-Assets-to-a-Metric-returns-Success-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics/system.cpu.user/assets" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Scalar-cross-product-query-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/metrics/Scalar-cross-product-query-returns-Bad-Request-response.json index 76a05d8b5..672e9a549 100644 --- a/tests/scenarios/cassettes/v2/metrics/Scalar-cross-product-query-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Scalar-cross-product-query-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"formulas\":[{\"formula\":\"a+b\",\"limit\":{\"count\":10,\"order\":\"desc\"}}],\"from\":1568899800000,\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"a\",\"query\":\"avg:system.cpu.user{*}\"}],\"to\":1568923200000},\"type\":\"scalar_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/query/scalar" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Scalar-cross-product-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/metrics/Scalar-cross-product-query-returns-OK-response.json index ba0aae3fc..179049e9f 100644 --- a/tests/scenarios/cassettes/v2/metrics/Scalar-cross-product-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Scalar-cross-product-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"formulas\":[{\"formula\":\"a\",\"limit\":{\"count\":10,\"order\":\"desc\"}}],\"from\":1711391280000,\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"a\",\"query\":\"avg:system.cpu.user{*}\"}],\"to\":1711394880000},\"type\":\"scalar_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/query/scalar" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Submit-metrics-returns-Payload-accepted-response.json b/tests/scenarios/cassettes/v2/metrics/Submit-metrics-returns-Payload-accepted-response.json index b9619d504..6cbd38338 100644 --- a/tests/scenarios/cassettes/v2/metrics/Submit-metrics-returns-Payload-accepted-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Submit-metrics-returns-Payload-accepted-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"system.load.1\",\"points\":[{\"timestamp\":1657662336,\"value\":0.7}],\"resources\":[{\"name\":\"dummyhost\",\"type\":\"host\"}],\"type\":0}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/series" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Tag-Configuration-Cardinality-Estimator-returns-Success-response.json b/tests/scenarios/cassettes/v2/metrics/Tag-Configuration-Cardinality-Estimator-returns-Success-response.json index cf76bc10b..daab2cd89 100644 --- a/tests/scenarios/cassettes/v2/metrics/Tag-Configuration-Cardinality-Estimator-returns-Success-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Tag-Configuration-Cardinality-Estimator-returns-Success-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/metrics/system.cpu.idle/estimate?filter%5Bgroups%5D=app%2Chost&filter%5Bnum_aggregations%5D=4" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Timeseries-cross-product-query-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/metrics/Timeseries-cross-product-query-returns-Bad-Request-response.json index f8085941e..d61b61243 100644 --- a/tests/scenarios/cassettes/v2/metrics/Timeseries-cross-product-query-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Timeseries-cross-product-query-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"formulas\":[{\"formula\":\"a+b\",\"limit\":{\"count\":10,\"order\":\"desc\"}}],\"from\":1671617641,\"interval\":5000,\"queries\":[{\"data_source\":\"metrics\",\"query\":\"avg:system.cpu.user{*}\"}],\"to\":1671621241},\"type\":\"timeseries_rquest\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/query/timeseries" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Timeseries-cross-product-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/metrics/Timeseries-cross-product-query-returns-OK-response.json index dac1e232f..967e390ae 100644 --- a/tests/scenarios/cassettes/v2/metrics/Timeseries-cross-product-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Timeseries-cross-product-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"formulas\":[{\"formula\":\"a\",\"limit\":{\"count\":10,\"order\":\"desc\"}}],\"from\":1711977601000,\"interval\":5000,\"queries\":[{\"data_source\":\"metrics\",\"name\":\"a\",\"query\":\"avg:datadog.estimated_usage.metrics.custom{*}\"}],\"to\":1711981201000},\"type\":\"timeseries_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/query/timeseries" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/metrics/Update-a-tag-configuration-returns-OK-response.json b/tests/scenarios/cassettes/v2/metrics/Update-a-tag-configuration-returns-OK-response.json index 822197af2..ad36b86d3 100644 --- a/tests/scenarios/cassettes/v2/metrics/Update-a-tag-configuration-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/metrics/Update-a-tag-configuration-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"series\":[{\"metric\":\"TestUpdateatagconfigurationreturnsOKresponse1652354372\",\"points\":[[1652354372,1.1]],\"tags\":[\"test:ExampleSubmitmetricsreturnsPayloadacceptedresponse\"],\"type\":\"gauge\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "text/json, application/json" - ], - "Content-Type": [ - "text/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v1/series" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"metric_type\":\"gauge\",\"tags\":[\"app\",\"datacenter\",\"TestUpdateatagconfigurationreturnsOKresponse1652354372\"]},\"id\":\"TestUpdateatagconfigurationreturnsOKresponse1652354372\",\"type\":\"manage_tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/metrics/TestUpdateatagconfigurationreturnsOKresponse1652354372/tags" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"tags\":[\"app\"]},\"id\":\"TestUpdateatagconfigurationreturnsOKresponse1652354372\",\"type\":\"manage_tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/metrics/TestUpdateatagconfigurationreturnsOKresponse1652354372/tags" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/metrics/TestUpdateatagconfigurationreturnsOKresponse1652354372/tags" }, @@ -128,4 +103,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Create-workflow-webhook-handle-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Create-workflow-webhook-handle-returns-CREATED-response.json index e8e12d98d..e79b7a1c6 100644 --- a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Create-workflow-webhook-handle-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Create-workflow-webhook-handle-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_workflow_webhook_handle_returns_CREATED_response-1748457950\",\"url\":\"https://example.logic.azure.com/workflows/123\"},\"type\":\"workflows-webhook-handle\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/6207c675-cdc3-4cd4-903a-e7a6a3fbac0d" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Delete-workflow-webhook-handle-returns-OK-response.json b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Delete-workflow-webhook-handle-returns-OK-response.json index eaf29c2a6..0fa5925dd 100644 --- a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Delete-workflow-webhook-handle-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Delete-workflow-webhook-handle-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_workflow_webhook_handle_returns_OK_response-1748457950\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/9d270a4a-287c-4225-a1cf-3b657416a471" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/9d270a4a-287c-4225-a1cf-3b657416a471" }, @@ -84,4 +69,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Get-all-workflow-webhook-handles-returns-OK-response.json b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Get-all-workflow-webhook-handles-returns-OK-response.json index e184a344e..cb0026594 100644 --- a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Get-all-workflow-webhook-handles-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Get-all-workflow-webhook-handles-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_workflow_webhook_handles_returns_OK_response-1748457950\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Get-workflow-webhook-handle-information-returns-OK-response.json b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Get-workflow-webhook-handle-information-returns-OK-response.json index 00519bf34..15079e8b2 100644 --- a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Get-workflow-webhook-handle-information-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Get-workflow-webhook-handle-information-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/ac10e097-66cf-4ab3-8659-a6f6c413d51b" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/ac10e097-66cf-4ab3-8659-a6f6c413d51b" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Update-workflow-webhook-handle-returns-OK-response.json b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Update-workflow-webhook-handle-returns-OK-response.json index b938b1f46..ae01fa015 100644 --- a/tests/scenarios/cassettes/v2/microsoft_teams_integration/Update-workflow-webhook-handle-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/microsoft_teams_integration/Update-workflow-webhook-handle-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951--updated\"},\"type\":\"workflows-webhook-handle\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/5c6eadf5-0758-416a-ab9e-f69aa76d69f1" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/5c6eadf5-0758-416a-ab9e-f69aa76d69f1" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-configuration-policy-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-configuration-policy-returns-Bad-Request-response.json index 5e110681d..07c66be16 100644 --- a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-configuration-policy-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-configuration-policy-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"datacenter\",\"tag_key_required\":true,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"INVALID\"},\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/policy" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-configuration-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-configuration-policy-returns-OK-response.json index 50505dd67..04469a8fe 100644 --- a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-configuration-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-configuration-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"testcreateamonitorconfigurationpolicyreturnsokresponse1748486175\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/policy" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/edb99130-4a6a-4970-b6df-83b5cba1182a" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-returns-Bad-Request-response.json index 6a1d0e66a..e52447b16 100644 --- a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"test:test-create_a_monitor_notification_rule_returns_bad_request_response-1748486175\",\"host:abc\"]},\"name\":\"test rule\",\"recipients\":[\"@slack-test-channel\",\"@jira-test\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-returns-OK-response.json index edde5ffc2..b6a0e60a4 100644 --- a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"test:test-create_a_monitor_notification_rule_returns_ok_response-1748486175\"]},\"name\":\"test rule\",\"recipients\":[\"slack-test-channel\",\"jira-test\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/5dca07c7-267c-4159-9d8f-7dec1512fb77" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-with-conditional-recipients-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-with-conditional-recipients-returns-OK-response.json index 16cfee8e5..f9107e41a 100644 --- a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-with-conditional-recipients-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-with-conditional-recipients-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"conditional_recipients\":{\"conditions\":[{\"recipients\":[\"slack-test-channel\",\"jira-test\"],\"scope\":\"transition_type:is_alert\"}]},\"filter\":{\"tags\":[\"test:test-create_a_monitor_notification_rule_with_conditional_recipients_returns_ok_response-1758851459\"]},\"name\":\"test rule\"},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/707b82d7-6898-4b20-a577-64f76881fe89" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-with-scope-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-with-scope-returns-OK-response.json index 9a77d76d1..05f71efa1 100644 --- a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-with-scope-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-notification-rule-with-scope-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"scope\":\"test:test-create_a_monitor_notification_rule_with_scope_returns_ok_response-1762896519\"},\"name\":\"test rule\",\"recipients\":[\"slack-test-channel\",\"jira-test\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/bbea2907-c191-48d0-9e0f-1ec5881ee37c" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-user-template-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-user-template-returns-Bad-Request-response.json index 068bc46e4..5f584c1e9 100644 --- a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-user-template-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-user-template-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-create_a_monitor_user_template_returns_bad_request_response-1748486175\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-user-template-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-user-template-returns-OK-response.json index ee4bc7e81..cc9de5294 100644 --- a/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-user-template-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Create-a-monitor-user-template-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{\"message\":\"A msg.\",\"name\":\"A name test-create_a_monitor_user_template_returns_ok_response-1748486176\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-create_a_monitor_user_template_returns_ok_response-1748486176\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/template/15c66feb-f77d-407b-bf4c-615d3dc4fa50" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-Bad-Request-response.json index d3a85f212..70acd5ec6 100644 --- a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/INVALID_UUID" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-Not-Found-response.json index 34068695d..4c0c4e962 100644 --- a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/00000000-0000-1234-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-OK-response.json index cf75a8844..aeee85a9d 100644 --- a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-configuration-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"testdeleteamonitorconfigurationpolicyreturnsokresponse1748486176\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/policy" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/f0b1ee92-9635-45ed-8a18-a1631a8397d2" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/f0b1ee92-9635-45ed-8a18-a1631a8397d2" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-notification-rule-returns-Not-Found-response.json index 0adf6e733..adf9309c8 100644 --- a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-notification-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/00000000-0000-1234-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-notification-rule-returns-OK-response.json index 6df8e088f..de36dbed7 100644 --- a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"app:test-delete_a_monitor_notification_rule_returns_ok_response-1748486177\"]},\"name\":\"test rule\",\"recipients\":[\"slack-monitor-app\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/ae73c449-eadb-40ce-9eb3-9d56d8216254" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/ae73c449-eadb-40ce-9eb3-9d56d8216254" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-user-template-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-user-template-returns-Not-Found-response.json index edd51be83..8a91a2855 100644 --- a/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-user-template-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Delete-a-monitor-user-template-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/template/00000000-0000-1234-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-Not-Found-response.json index f18702555..525394054 100644 --- a/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"datacenter\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/00000000-0000-1234-0000-000000000000" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-OK-response.json index 8f643ecd8..24896e537 100644 --- a/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"testeditamonitorconfigurationpolicyreturnsokresponse1748486178\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"testeditamonitorconfigurationpolicyreturnsokresponse1748486178\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"id\":\"b967c47e-8f9b-49f5-bdff-744b4d50b26f\",\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/b967c47e-8f9b-49f5-bdff-744b4d50b26f" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/b967c47e-8f9b-49f5-bdff-744b4d50b26f" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-Unprocessable-Entity-response.json b/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-Unprocessable-Entity-response.json index 7a253b37f..a838016bb 100644 --- a/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-Unprocessable-Entity-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Edit-a-monitor-configuration-policy-returns-Unprocessable-Entity-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"testeditamonitorconfigurationpolicyreturnsunprocessableentityresponse1748486178\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/policy" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"testeditamonitorconfigurationpolicyreturnsunprocessableentityresponse1748486178\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/f2f83512-b2c2-4dc4-a8db-c785cd818d6f" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/f2f83512-b2c2-4dc4-a8db-c785cd818d6f" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-configuration-policy-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-configuration-policy-returns-Not-Found-response.json index 79655c0a0..e9fbbe81d 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-configuration-policy-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-configuration-policy-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/12340000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-configuration-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-configuration-policy-returns-OK-response.json index 782c7214f..4e66f0d67 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-configuration-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-configuration-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"testgetamonitorconfigurationpolicyreturnsokresponse1748486178\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/policy" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/7916e37f-b0fe-4f9d-bf9e-37ee3e7a5460" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/7916e37f-b0fe-4f9d-bf9e-37ee3e7a5460" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-notification-rule-returns-Not-Found-response.json index 1307c736c..e371a41c7 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-notification-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/00000000-0000-1234-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-notification-rule-returns-OK-response.json index b8f2d13a1..2f1ecdc9e 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"app:test-get_a_monitor_notification_rule_returns_ok_response-1748486179\"]},\"name\":\"test rule\",\"recipients\":[\"slack-monitor-app\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/78f7ac92-7bba-4f1f-838f-a6fdc2a08778" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/78f7ac92-7bba-4f1f-838f-a6fdc2a08778" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-user-template-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-user-template-returns-Not-Found-response.json index b769ed375..4314c4598 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-user-template-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-user-template-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/template/00000000-0000-1234-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-user-template-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-user-template-returns-OK-response.json index 91b1640a0..2eaf0adb5 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-user-template-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-a-monitor-user-template-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"It's a threshold\",\"monitor_definition\":{\"message\":\"cats\",\"name\":\"High Error Rate on service\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"category:test\"],\"template_variables\":[{\"available_values\":[],\"defaults\":[\"cats\"],\"name\":\"scope\"}],\"title\":\"api spec given template test-get_a_monitor_user_template_returns_ok_response-1748486180\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/template/90eb2b79-fc96-43a5-af65-bf4408f47d9d" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/template/90eb2b79-fc96-43a5-af65-bf4408f47d9d" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-configuration-policies-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-configuration-policies-returns-OK-response.json index 6e59db517..b3a480347 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-configuration-policies-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-configuration-policies-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"policy\":{\"tag_key\":\"testgetallmonitorconfigurationpoliciesreturnsokresponse1748486180\",\"tag_key_required\":false,\"valid_tag_values\":[\"prod\",\"staging\"]},\"policy_type\":\"tag\"},\"type\":\"monitor-config-policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/policy" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/policy" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/policy/426917ea-f9b0-4c7d-938d-902208db50f8" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-notification-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-notification-rules-returns-OK-response.json index ba95cc5e2..b4553c013 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-notification-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-notification-rules-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"app:test-get_all_monitor_notification_rules_returns_ok_response-1748486181\"]},\"name\":\"test rule\",\"recipients\":[\"slack-monitor-app\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/dbb04d74-98e6-4f3b-905b-f42d7f0cd9e3" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-user-templates-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-user-templates-returns-OK-response.json index a14eb16c9..b66dc5240 100644 --- a/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-user-templates-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Get-all-monitor-user-templates-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"It's a threshold\",\"monitor_definition\":{\"message\":\"cats\",\"name\":\"High Error Rate on service\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"category:test\"],\"template_variables\":[{\"available_values\":[],\"defaults\":[\"cats\"],\"name\":\"scope\"}],\"title\":\"api spec given template test-get_all_monitor_user_templates_returns_ok_response-1748486181\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/template/900b870a-1f9d-4b6c-95b7-9859bbb0a778" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-Bad-Request-response.json index 1d4374dcc..d933a17b3 100644 --- a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"app:test-update_a_monitor_notification_rule_returns_bad_request_response-1748486181\"]},\"name\":\"test rule\",\"recipients\":[\"slack-monitor-app\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"test:test-update_a_monitor_notification_rule_returns_bad_request_response-1748486181\",\"host:abc\"]},\"name\":\"updated rule\",\"recipients\":[\"@slack-test-channel\"]},\"id\":\"571a01f1-8f6f-4792-9f4a-0aa99f9b2365\",\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/571a01f1-8f6f-4792-9f4a-0aa99f9b2365" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/571a01f1-8f6f-4792-9f4a-0aa99f9b2365" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-Not-Found-response.json index f7d9405a2..ed7f22dc8 100644 --- a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"test:test-update_a_monitor_notification_rule_returns_not_found_response-1748486182\",\"host:abc\"]},\"name\":\"updated rule\",\"recipients\":[\"slack-test-channel\",\"jira-test\"]},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/00000000-0000-1234-0000-000000000000" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-OK-response.json index 1997016f6..73d8d1335 100644 --- a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"app:test-update_a_monitor_notification_rule_returns_ok_response-1748486182\"]},\"name\":\"test rule\",\"recipients\":[\"slack-monitor-app\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"test:test-update_a_monitor_notification_rule_returns_ok_response-1748486182\",\"host:abc\"]},\"name\":\"updated rule\",\"recipients\":[\"slack-test-channel\"]},\"id\":\"48a37c74-cf93-488c-b070-210d650b5687\",\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/48a37c74-cf93-488c-b070-210d650b5687" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/48a37c74-cf93-488c-b070-210d650b5687" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-with-conditional-recipients-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-with-conditional-recipients-returns-OK-response.json index 79c3f20d5..86ba260d7 100644 --- a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-with-conditional-recipients-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-with-conditional-recipients-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"app:test-update_a_monitor_notification_rule_with_conditional_recipients_returns_ok_response-1758851460\"]},\"name\":\"test rule\",\"recipients\":[\"slack-monitor-app\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"conditional_recipients\":{\"conditions\":[{\"recipients\":[\"slack-test-channel\",\"jira-test\"],\"scope\":\"transition_type:is_alert\"}]},\"filter\":{\"tags\":[\"test:test-update_a_monitor_notification_rule_with_conditional_recipients_returns_ok_response-1758851460\",\"host:abc\"]},\"name\":\"updated rule\"},\"id\":\"954d2f74-ec41-4f7b-9f63-7146075f3537\",\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/954d2f74-ec41-4f7b-9f63-7146075f3537" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/954d2f74-ec41-4f7b-9f63-7146075f3537" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-with-scope-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-with-scope-returns-OK-response.json index 801a4e712..f91c311c9 100644 --- a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-with-scope-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-notification-rule-with-scope-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"tags\":[\"app:test-update_a_monitor_notification_rule_with_scope_returns_ok_response-1762896520\"]},\"name\":\"test rule\",\"recipients\":[\"slack-monitor-app\"]},\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"scope\":\"test:test-update_a_monitor_notification_rule_with_scope_returns_ok_response-1762896520\"},\"name\":\"updated rule\",\"recipients\":[\"slack-test-channel\"]},\"id\":\"827442a0-5d3e-408c-a930-7ac44775fff1\",\"type\":\"monitor-notification-rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/827442a0-5d3e-408c-a930-7ac44775fff1" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/notification_rule/827442a0-5d3e-408c-a930-7ac44775fff1" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-Bad-Request-response.json index c4d877adc..429d3f07e 100644 --- a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"It's a threshold\",\"monitor_definition\":{\"message\":\"cats\",\"name\":\"High Error Rate on service\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"category:test\"],\"template_variables\":[{\"available_values\":[],\"defaults\":[\"cats\"],\"name\":\"scope\"}],\"title\":\"api spec given template test-update_a_monitor_user_template_to_a_new_version_returns_bad_request_response-1748486182\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-update_a_monitor_user_template_to_a_new_version_returns_bad_request_response-1748486182\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/monitor/template/a68243ec-7e1c-40da-a99d-8966282c3726" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/template/a68243ec-7e1c-40da-a99d-8966282c3726" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-Not-Found-response.json index c4c004593..8ae8a11be 100644 --- a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{\"message\":\"A msg.\",\"name\":\"A name test-update_a_monitor_user_template_to_a_new_version_returns_not_found_response-1748486183\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-update_a_monitor_user_template_to_a_new_version_returns_not_found_response-1748486183\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/monitor/template/00000000-0000-1234-0000-000000000000" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-OK-response.json index a24cadbaf..16812e791 100644 --- a/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Update-a-monitor-user-template-to-a-new-version-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"It's a threshold\",\"monitor_definition\":{\"message\":\"cats\",\"name\":\"High Error Rate on service\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"category:test\"],\"template_variables\":[{\"available_values\":[],\"defaults\":[\"cats\"],\"name\":\"scope\"}],\"title\":\"api spec given template test-update_a_monitor_user_template_to_a_new_version_returns_ok_response-1748486183\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{\"message\":\"A msg.\",\"name\":\"A name test-update_a_monitor_user_template_to_a_new_version_returns_ok_response-1748486183\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-update_a_monitor_user_template_to_a_new_version_returns_ok_response-1748486183\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/monitor/template/fefd62df-924a-4438-a697-f7e6ccbad77e" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/template/fefd62df-924a-4438-a697-f7e6ccbad77e" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Validate-a-monitor-user-template-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/monitors/Validate-a-monitor-user-template-returns-Bad-Request-response.json index d5d166f23..835d4130c 100644 --- a/tests/scenarios/cassettes/v2/monitors/Validate-a-monitor-user-template-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Validate-a-monitor-user-template-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-validate_a_monitor_user_template_returns_bad_request_response-1748486184\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Validate-a-monitor-user-template-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Validate-a-monitor-user-template-returns-OK-response.json index a68ecd2e4..2e4eaaab8 100644 --- a/tests/scenarios/cassettes/v2/monitors/Validate-a-monitor-user-template-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Validate-a-monitor-user-template-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{\"message\":\"A msg.\",\"name\":\"A name test-validate_a_monitor_user_template_returns_ok_response-1748486184\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-validate_a_monitor_user_template_returns_ok_response-1748486184\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-Bad-Request-response.json index 2427b9d41..3144c5386 100644 --- a/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"It's a threshold\",\"monitor_definition\":{\"message\":\"cats\",\"name\":\"High Error Rate on service\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"category:test\"],\"template_variables\":[{\"available_values\":[],\"defaults\":[\"cats\"],\"name\":\"scope\"}],\"title\":\"api spec given template test-validate_an_existing_monitor_user_template_returns_bad_request_response-1748486184\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-validate_an_existing_monitor_user_template_returns_bad_request_response-1748486184\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template/599fecff-7834-42bd-976b-c2d145f42579/validate" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/template/599fecff-7834-42bd-976b-c2d145f42579" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-Not-Found-response.json index 49551d29b..1a48ec115 100644 --- a/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{\"message\":\"A msg.\",\"name\":\"A name test-validate_an_existing_monitor_user_template_returns_not_found_response-1748486185\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-validate_an_existing_monitor_user_template_returns_not_found_response-1748486185\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template/00000000-0000-1234-0000-000000000000/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-OK-response.json b/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-OK-response.json index 286807aea..b794ee787 100644 --- a/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/monitors/Validate-an-existing-monitor-user-template-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"It's a threshold\",\"monitor_definition\":{\"message\":\"cats\",\"name\":\"High Error Rate on service\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"category:test\"],\"template_variables\":[{\"available_values\":[],\"defaults\":[\"cats\"],\"name\":\"scope\"}],\"title\":\"api spec given template test-validate_an_existing_monitor_user_template_returns_ok_response-1748486185\"},\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A description.\",\"monitor_definition\":{\"message\":\"A msg.\",\"name\":\"A name test-validate_an_existing_monitor_user_template_returns_ok_response-1748486185\",\"query\":\"avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"query alert\"},\"tags\":[\"integration:Azure\"],\"template_variables\":[{\"available_values\":[\"value1\",\"value2\"],\"defaults\":[\"defaultValue\"],\"name\":\"regionName\",\"tag_key\":\"datacenter\"}],\"title\":\"Postgres DB test-validate_an_existing_monitor_user_template_returns_ok_response-1748486185\"},\"id\":\"00000000-0000-1234-0000-000000000000\",\"type\":\"monitor-user-template\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/monitor/template/dc86b1ba-9e7c-40cf-8859-777c53e4f1a2/validate" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/monitor/template/dc86b1ba-9e7c-40cf-8859-777c53e4f1a2" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-device-details-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-device-details-returns-Not-Found-response.json index 4844bdb21..aa4977fec 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-device-details-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-device-details-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/devices/unknown_device_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-device-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-device-details-returns-OK-response.json index 18baf31aa..0253fddd8 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-device-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-device-details-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/devices/default_device" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-devices-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-devices-returns-Bad-Request-response.json index 28ab4b1c5..194b9b7b0 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-devices-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-devices-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/devices" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-devices-returns-OK-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-devices-returns-OK-response.json index e0ce1cd02..2bbae8bf8 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-devices-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-devices-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/devices?page%5Bsize%5D=1&page%5Bnumber%5D=0&filter%5Btag%5D=device_namespace%3Adefault" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-interfaces-of-the-device-returns-OK-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-interfaces-of-the-device-returns-OK-response.json index c13e76ca2..e4046138d 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-interfaces-of-the-device-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-interfaces-of-the-device-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/interfaces?device_id=default%3A1.2.3.4&get_ip_addresses=true" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-tags-for-a-device-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-tags-for-a-device-returns-Not-Found-response.json index a1d04fa75..b23faa70e 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-tags-for-a-device-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-tags-for-a-device-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/tags/devices/unknown_device_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-tags-for-a-device-returns-OK-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-tags-for-a-device-returns-OK-response.json index 15dd57e0d..b97af3f4f 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-tags-for-a-device-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Get-the-list-of-tags-for-a-device-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/tags/devices/default_device" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/List-tags-for-an-interface-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/List-tags-for-an-interface-returns-Not-Found-response.json index ea852dd62..56ebbe549 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/List-tags-for-an-interface-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/List-tags-for-an-interface-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/tags/interfaces/unknown_interface_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/List-tags-for-an-interface-returns-OK-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/List-tags-for-an-interface-returns-OK-response.json index 7ce316829..b09586b00 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/List-tags-for-an-interface-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/List-tags-for-an-interface-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/ndm/tags/interfaces/example%3A1.2.3.4%3A1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-a-device-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-a-device-returns-Not-Found-response.json index 19de11716..43258652e 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-a-device-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-a-device-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"tags\":[\"tag:test\",\"tag:testbis\"]},\"id\":\"unknown_device_id\",\"type\":\"tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/ndm/tags/devices/unknown_device_id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-a-device-returns-OK-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-a-device-returns-OK-response.json index ba285ee5c..8bc736722 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-a-device-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-a-device-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"tags\":[\"tag:test\",\"tag:testbis\"]},\"id\":\"default_device\",\"type\":\"tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/ndm/tags/devices/default_device" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-an-interface-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-an-interface-returns-Not-Found-response.json index 6fe9aa59b..a3c060350 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-an-interface-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-an-interface-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"tags\":[\"tag:test\",\"tag:testbis\"]},\"id\":\"unknown_interface_id\",\"type\":\"tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/ndm/tags/interfaces/unknown_interface_id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-an-interface-returns-OK-response.json b/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-an-interface-returns-OK-response.json index 78f3e8a16..9adeef191 100644 --- a/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-an-interface-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/network_device_monitoring/Update-the-tags-for-an-interface-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"tags\":[\"tag:test\",\"tag:testbis\"]},\"id\":\"example:1.2.3.4:1\",\"type\":\"tags\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/ndm/tags/interfaces/example%3A1.2.3.4%3A1" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-new-pipeline-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-new-pipeline-returns-Bad-Request-response.json index bf769a06c..d2201c132 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-new-pipeline-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-new-pipeline-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"unknown-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-new-pipeline-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-new-pipeline-returns-OK-response.json index bff1454da..af89addfa 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-new-pipeline-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-new-pipeline-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0a44c8d2-fdf8-11f0-8d8c-da7ad0900002" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-pipeline-with-dedupe-processor-with-cache-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-pipeline-with-dedupe-processor-with-cache-returns-OK-response.json index f799d5c27..3cd78ea6f 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-pipeline-with-dedupe-processor-with-cache-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-pipeline-with-dedupe-processor-with-cache-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"cache\":{\"num_events\":5000},\"enabled\":true,\"fields\":[\"message\"],\"id\":\"dedupe-processor\",\"include\":\"service:my-service\",\"mode\":\"match\",\"type\":\"dedupe\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Pipeline with Dedupe Cache\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/31a750dc-059d-11f1-a2a8-da7ad0900002" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-pipeline-with-dedupe-processor-without-cache-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-pipeline-with-dedupe-processor-without-cache-returns-OK-response.json index e7cdcda90..60f9540a7 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-pipeline-with-dedupe-processor-without-cache-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Create-a-pipeline-with-dedupe-processor-without-cache-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"fields\":[\"message\"],\"id\":\"dedupe-processor\",\"include\":\"service:my-service\",\"mode\":\"match\",\"type\":\"dedupe\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Pipeline with Dedupe No Cache\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/3280ccb8-059d-11f1-a2aa-da7ad0900002" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Delete-a-pipeline-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Delete-a-pipeline-returns-Not-Found-response.json index 0d47bffb5..3910a97c7 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Delete-a-pipeline-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Delete-a-pipeline-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/3fa85f64-5717-4562-b3fc-2c963f66afa6" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Delete-a-pipeline-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Delete-a-pipeline-returns-OK-response.json index c12cc3900..87dfd6bdd 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Delete-a-pipeline-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Delete-a-pipeline-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0b949d84-fdf8-11f0-8d8e-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0b949d84-fdf8-11f0-8d8e-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Get-a-specific-pipeline-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Get-a-specific-pipeline-returns-OK-response.json index a26b33ee1..33495c25c 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Get-a-specific-pipeline-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Get-a-specific-pipeline-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0cda650c-fdf8-11f0-9e92-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0cda650c-fdf8-11f0-9e92-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/List-pipelines-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/List-pipelines-returns-Bad-Request-response.json index b79cb63ec..8dcce6d7c 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/List-pipelines-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/List-pipelines-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines?page%5Bsize%5D=0" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/List-pipelines-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/List-pipelines-returns-OK-response.json index 3b97855b2..67ae2e229 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/List-pipelines-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/List-pipelines-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0e62d45e-fdf8-11f0-9e94-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-Bad-Request-response.json index b4a34eb3c..82bda33b5 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"unknown-processor\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0ff44776-fdf8-11f0-8d90-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/0ff44776-fdf8-11f0-8d90-da7ad0900002" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-Not-Found-response.json index 9ff00e28c..9f04d0553 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/3fa85f64-5717-4562-b3fc-2c963f66afa6" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-OK-response.json index 66e1a3194..6e5b30843 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Update-a-pipeline-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"updated-datadog-logs-destination-id\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Updated Pipeline Name\"},\"id\":\"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/119a3e5a-fdf8-11f0-8d92-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/119a3e5a-fdf8-11f0-8d92-da7ad0900002" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-returns-Bad-Request-response.json index 43a65ce54..1d785841e 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-returns-OK-response.json index 355832f4e..3956aa341 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Main Observability Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-custom-mapping-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-custom-mapping-returns-OK-response.json index 395fa8e48..e7e31ad81 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-custom-mapping-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-custom-mapping-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"ocsf-mapper-processor\",\"include\":\"service:my-service\",\"mappings\":[{\"include\":\"source:custom\",\"mapping\":{\"mapping\":[{\"default\":\"\",\"dest\":\"time\",\"source\":\"timestamp\"},{\"default\":\"\",\"dest\":\"severity\",\"source\":\"level\"},{\"default\":\"\",\"dest\":\"device.type\",\"lookup\":{\"table\":[{\"contains\":\"Desktop\",\"value\":\"desktop\"}]},\"source\":\"host.type\"}],\"metadata\":{\"class\":\"Device Inventory Info\",\"profiles\":[\"container\"],\"version\":\"1.3.0\"},\"version\":1}}],\"type\":\"ocsf_mapper\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"OCSF Custom Mapper Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-invalid-custom-mapping-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-invalid-custom-mapping-returns-Bad-Request-response.json index 983bcf080..948ad6a0a 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-invalid-custom-mapping-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-invalid-custom-mapping-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"ocsf-mapper-processor\",\"include\":\"service:my-service\",\"mappings\":[{\"include\":\"source:custom\",\"mapping\":{\"mapping\":[{\"dest\":\"time\",\"source\":\"timestamp\"}],\"metadata\":{\"class\":\"Invalid Class\",\"profiles\":[\"container\"],\"version\":\"1.3.0\"},\"version\":0}}],\"type\":\"ocsf_mapper\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"OCSF Invalid Mapper Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-library-mapping-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-library-mapping-returns-OK-response.json index 74efd4e11..b62906efb 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-library-mapping-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-OCSF-mapper-library-mapping-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"ocsf-mapper-processor\",\"include\":\"service:my-service\",\"mappings\":[{\"include\":\"source:cloudtrail\",\"mapping\":\"CloudTrail Account Change\"}],\"type\":\"ocsf_mapper\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"OCSF Mapper Pipeline\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-destination-secret-key-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-destination-secret-key-returns-OK-response.json index f2e9c717f..231dce0c2 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-destination-secret-key-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-destination-secret-key-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"endpoint_url_key\":\"SUMO_LOGIC_ENDPOINT_URL\",\"id\":\"sumo-logic-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"sumo_logic\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]},\"name\":\"Pipeline with Secret Key\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-source-secret-key-returns-OK-response.json b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-source-secret-key-returns-OK-response.json index c5bd02a49..ea9ba9b65 100644 --- a/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-source-secret-key-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/observability_pipelines/Validate-an-observability-pipeline-with-source-secret-key-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"http-client-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"auth_strategy\":\"bearer\",\"decoding\":\"bytes\",\"id\":\"http-client-source\",\"scrape_interval_secs\":15,\"scrape_timeout_secs\":5,\"token_key\":\"HTTP_CLIENT_TOKEN\",\"type\":\"http_client\"}]},\"name\":\"Pipeline with Source Secret\"},\"type\":\"pipelines\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/okta_integration/Add-Okta-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/okta_integration/Add-Okta-account-returns-OK-response.json index 67defb559..54f786554 100644 --- a/tests/scenarios/cassettes/v2/okta_integration/Add-Okta-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/okta_integration/Add-Okta-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"auth_method\":\"oauth\",\"client_id\":\"client_id\",\"client_secret\":\"client_secret\",\"domain\":\"https://example.okta.com/\",\"name\":\"testaddoktaaccountreturnsokresponse1706540332\"},\"id\":\"f749daaf-682e-4208-a38d-c9b43162c609\",\"type\":\"okta-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts/1e62be98-94ab-403d-9491-98b7fbf9a7de" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/okta_integration/Get-Okta-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/okta_integration/Get-Okta-account-returns-OK-response.json index 215510601..c0be6fafc 100644 --- a/tests/scenarios/cassettes/v2/okta_integration/Get-Okta-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/okta_integration/Get-Okta-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"auth_method\":\"oauth\",\"client_id\":\"fakeclientid\",\"client_secret\":\"fakeclientsecret\",\"domain\":\"https://dev-test.okta.com/\",\"name\":\"testgetoktaaccountreturnsokresponse1700585984\"},\"type\":\"okta-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts/2bf39935-f5c8-46b1-b41b-eda0b4bd2e78" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts/2bf39935-f5c8-46b1-b41b-eda0b4bd2e78" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/okta_integration/List-Okta-accounts-returns-OK-response.json b/tests/scenarios/cassettes/v2/okta_integration/List-Okta-accounts-returns-OK-response.json index 93be0532b..528b4b369 100644 --- a/tests/scenarios/cassettes/v2/okta_integration/List-Okta-accounts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/okta_integration/List-Okta-accounts-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"auth_method\":\"oauth\",\"client_id\":\"fakeclientid\",\"client_secret\":\"fakeclientsecret\",\"domain\":\"https://dev-test.okta.com/\",\"name\":\"testlistoktaaccountsreturnsokresponse1700585986\"},\"type\":\"okta-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts/a5e9a04b-ac5b-4a5c-a4d5-c697deb232aa" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/okta_integration/Update-Okta-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/okta_integration/Update-Okta-account-returns-OK-response.json index d3ac56d39..7d1f40f48 100644 --- a/tests/scenarios/cassettes/v2/okta_integration/Update-Okta-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/okta_integration/Update-Okta-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"auth_method\":\"oauth\",\"client_id\":\"fakeclientid\",\"client_secret\":\"fakeclientsecret\",\"domain\":\"https://dev-test.okta.com/\",\"name\":\"testupdateoktaaccountreturnsokresponse1700585987\"},\"type\":\"okta-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"auth_method\":\"oauth\",\"client_id\":\"client_id\",\"client_secret\":\"client_secret\",\"domain\":\"https://example.okta.com/\"},\"type\":\"okta-accounts\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts/c847a349-9687-4b80-8b0f-996e0e75f73e" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integrations/okta/accounts/c847a349-9687-4b80-8b0f-996e0e75f73e" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Create-On-Call-escalation-policy-returns-Created-response.json b/tests/scenarios/cassettes/v2/on-call/Create-On-Call-escalation-policy-returns-Created-response.json index 6d24f5f93..42ebf1dfa 100644 --- a/tests/scenarios/cassettes/v2/on-call/Create-On-Call-escalation-policy-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Create-On-Call-escalation-policy-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-18T12:58:56.434Z\",\"end_date\":\"2025-12-08T12:58:56.434Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"005f5c53-cc5a-11f0-84fc-d6e063989c3f\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-23T12:58:56.434Z\"}],\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-24ceda96b794cbdd\",\"name\":\"test-name-24ceda96b794cbdd\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"005f5c53-cc5a-11f0-84fc-d6e063989c3f\",\"type\":\"users\"},{\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11\",\"type\":\"schedules\"},{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies?include=steps.targets" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/84f3ac2b-77da-42f2-a2bb-cb9a5ea9cf55" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/e5057194-b5fd-4ff5-b9d3-6977d8bbd774" }, @@ -187,11 +151,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/c6a8f167-908f-4ca5-ba30-a33a00adfe11" }, @@ -211,11 +171,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/005f5c53-cc5a-11f0-84fc-d6e063989c3f" }, @@ -234,4 +190,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Create-On-Call-schedule-returns-Created-response.json b/tests/scenarios/cassettes/v2/on-call/Create-On-Call-schedule-returns-Created-response.json index b8bed2382..eba5cad78 100644 --- a/tests/scenarios/cassettes/v2/on-call/Create-On-Call-schedule-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Create-On-Call-schedule-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_On_Call_schedule_returns_Created_response-1764252682@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-a115b862e893678b\",\"name\":\"test-name-a115b862e893678b\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:22.484Z\",\"end_date\":\"2025-12-07T14:11:22.484Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"f4106d12-cb9a-11f0-a56e-4e680b759023\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:22.484Z\"}],\"name\":\"Test-Create_On_Call_schedule_returns_Created_response-1764252682\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"8802359f-5663-4ed4-b3c8-06d5618def25\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/f56173aa-b72e-4a29-a9dd-e8a4fe57f47a" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/8802359f-5663-4ed4-b3c8-06d5618def25" }, @@ -153,11 +124,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/f4106d12-cb9a-11f0-a56e-4e680b759023" }, @@ -176,4 +143,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Create-an-On-Call-notification-channel-for-a-user-returns-Created-response.json b/tests/scenarios/cassettes/v2/on-call/Create-an-On-Call-notification-channel-for-a-user-returns-Created-response.json index 60d5652fb..2fbd68124 100644 --- a/tests/scenarios/cassettes/v2/on-call/Create-an-On-Call-notification-channel-for-a-user-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Create-an-On-Call-notification-channel-for-a-user-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_an_On_Call_notification_channel_for_a_user_returns_Created_response-1765548332@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"foo@bar.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/5ba8ee87-4d71-458c-883d-a6016738f7ce/notification-channels" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/5ba8ee87-4d71-458c-883d-a6016738f7ce" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Create-an-On-Call-notification-rule-for-a-user-returns-Created-response.json b/tests/scenarios/cassettes/v2/on-call/Create-an-On-Call-notification-rule-for-a-user-returns-Created-response.json index 49a9da6b7..c2273699f 100644 --- a/tests/scenarios/cassettes/v2/on-call/Create-an-On-Call-notification-rule-for-a-user-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Create-an-On-Call-notification-rule-for-a-user-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_an_On_Call_notification_rule_for_a_user_returns_Created_response-1765913404@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"test-create_an_on_call_notification_rule_for_a_user_returns_created_response-1765913404@datadoghq.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/2ab53f07-289f-4060-b21a-3d704096aadf/notification-channels" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"high_urgency\",\"delay_minutes\":0},\"relationships\":{\"channel\":{\"data\":{\"id\":\"ca8520ce-27e0-4bba-997f-004047cda45d\",\"type\":\"notification_channels\"}}},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/2ab53f07-289f-4060-b21a-3d704096aadf/notification-rules" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/2ab53f07-289f-4060-b21a-3d704096aadf" }, @@ -128,4 +103,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Delete-On-Call-escalation-policy-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/on-call/Delete-On-Call-escalation-policy-returns-No-Content-response.json index e200fc122..9933b5450 100644 --- a/tests/scenarios/cassettes/v2/on-call/Delete-On-Call-escalation-policy-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Delete-On-Call-escalation-policy-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1764252685@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-5d85b5aacd02cab9\",\"name\":\"test-name-5d85b5aacd02cab9\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:25.538Z\",\"end_date\":\"2025-12-07T14:11:25.538Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"f5e7c666-cb9a-11f0-ae87-2a5e5028fcef\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:25.538Z\"}],\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1764252685\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1764252685\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"a42481db-6918-45ef-a923-5548004f044a\",\"type\":\"teams\"},{\"id\":\"cf196f34-3ce0-4cff-a27e-ed5035db9442\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"cf196f34-3ce0-4cff-a27e-ed5035db9442\",\"type\":\"schedules\"},{\"id\":\"f5e7c666-cb9a-11f0-ae87-2a5e5028fcef\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"a42481db-6918-45ef-a923-5548004f044a\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"a42481db-6918-45ef-a923-5548004f044a\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/c25d7cd6-d2bc-4d84-801b-3a09d62e29bc" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/c25d7cd6-d2bc-4d84-801b-3a09d62e29bc" }, @@ -191,11 +155,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/cf196f34-3ce0-4cff-a27e-ed5035db9442" }, @@ -215,11 +175,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/a42481db-6918-45ef-a923-5548004f044a" }, @@ -239,11 +195,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/f5e7c666-cb9a-11f0-ae87-2a5e5028fcef" }, @@ -262,4 +214,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Delete-On-Call-schedule-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/on-call/Delete-On-Call-schedule-returns-No-Content-response.json index 5d2e4fdda..a824e0263 100644 --- a/tests/scenarios/cassettes/v2/on-call/Delete-On-Call-schedule-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Delete-On-Call-schedule-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_On_Call_schedule_returns_No_Content_response-1764252690@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:30.983Z\",\"end_date\":\"2025-12-07T14:11:30.983Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"f9249a49-cb9a-11f0-a56e-4e680b759023\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:30.983Z\"}],\"name\":\"Test-Delete_On_Call_schedule_returns_No_Content_response-1764252690\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/10acf747-60a0-4bdf-a0df-196e9f9291e2" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/10acf747-60a0-4bdf-a0df-196e9f9291e2" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/f9249a49-cb9a-11f0-a56e-4e680b759023" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Delete-an-On-Call-notification-channel-for-a-user-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/on-call/Delete-an-On-Call-notification-channel-for-a-user-returns-No-Content-response.json index fdd33910a..59fa7309a 100644 --- a/tests/scenarios/cassettes/v2/on-call/Delete-an-On-Call-notification-channel-for-a-user-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Delete-an-On-Call-notification-channel-for-a-user-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_an_On_Call_notification_channel_for_a_user_returns_No_Content_response-1765477670@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"test-delete_an_on_call_notification_channel_for_a_user_returns_no_content_response-1765477670@datadoghq.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/1df33be3-5397-4aaf-95c0-00dd63819c80/notification-channels" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/users/1df33be3-5397-4aaf-95c0-00dd63819c80/notification-channels/dd22cf57-a576-4c7e-92f8-36c2171f5f99" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/1df33be3-5397-4aaf-95c0-00dd63819c80" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Delete-an-On-Call-notification-rule-for-a-user-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/on-call/Delete-an-On-Call-notification-rule-for-a-user-returns-No-Content-response.json index 024f8ab07..13be3ed03 100644 --- a/tests/scenarios/cassettes/v2/on-call/Delete-an-On-Call-notification-rule-for-a-user-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Delete-an-On-Call-notification-rule-for-a-user-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_an_On_Call_notification_rule_for_a_user_returns_No_Content_response-1765913376@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"test-delete_an_on_call_notification_rule_for_a_user_returns_no_content_response-1765913376@datadoghq.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/5ebbe76d-c072-4909-ba24-ffa71f4597a0/notification-channels" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"high_urgency\",\"delay_minutes\":0},\"relationships\":{\"channel\":{\"data\":{\"id\":\"a557eb68-8b0a-48cf-ac65-73aede790994\",\"type\":\"notification_channels\"}}},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/5ebbe76d-c072-4909-ba24-ffa71f4597a0/notification-rules" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/users/5ebbe76d-c072-4909-ba24-ffa71f4597a0/notification-rules/71e9f009-5a69-4946-992e-d76b05d1ae61" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/5ebbe76d-c072-4909-ba24-ffa71f4597a0" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Get-On-Call-escalation-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Get-On-Call-escalation-policy-returns-OK-response.json index 4d19727a6..88d0dfcf1 100644 --- a/tests/scenarios/cassettes/v2/on-call/Get-On-Call-escalation-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Get-On-Call-escalation-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-9b417dea223136e8\",\"name\":\"test-name-9b417dea223136e8\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:33.368Z\",\"end_date\":\"2025-12-07T14:11:33.368Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"fa8dbd27-cb9a-11f0-84fc-d6e063989c3f\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:33.368Z\"}],\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"},{\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3\",\"type\":\"schedules\"},{\"id\":\"fa8dbd27-cb9a-11f0-84fc-d6e063989c3f\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/7e36daf1-25ef-46af-ba33-23aac9271dc5?include=steps.targets" }, @@ -167,11 +135,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/7e36daf1-25ef-46af-ba33-23aac9271dc5" }, @@ -191,11 +155,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/d8834350-ae3c-45eb-ad84-9f9a3cef46f3" }, @@ -215,11 +175,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/bf2fad34-c495-4de0-b1ec-c5727a2ae216" }, @@ -239,11 +195,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/fa8dbd27-cb9a-11f0-84fc-d6e063989c3f" }, @@ -262,4 +214,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Get-On-Call-schedule-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Get-On-Call-schedule-returns-OK-response.json index 03d4d36bf..e08403edb 100644 --- a/tests/scenarios/cassettes/v2/on-call/Get-On-Call-schedule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Get-On-Call-schedule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_On_Call_schedule_returns_OK_response-1764252697@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:37.612Z\",\"end_date\":\"2025-12-07T14:11:37.612Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"fd12eb55-cb9a-11f0-8fcd-5ac0b02adf59\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:37.612Z\"}],\"name\":\"Test-Get_On_Call_schedule_returns_OK_response-1764252697\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/ba513209-ef94-4826-8511-1c5ccb912070" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/ba513209-ef94-4826-8511-1c5ccb912070" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/fd12eb55-cb9a-11f0-8fcd-5ac0b02adf59" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Get-an-On-Call-notification-channel-for-a-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Get-an-On-Call-notification-channel-for-a-user-returns-OK-response.json index c386bde16..1f36c34bd 100644 --- a/tests/scenarios/cassettes/v2/on-call/Get-an-On-Call-notification-channel-for-a-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Get-an-On-Call-notification-channel-for-a-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_an_On_Call_notification_channel_for_a_user_returns_OK_response-1765548257@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"test-get_an_on_call_notification_channel_for_a_user_returns_ok_response-1765548257@datadoghq.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/0131b53c-5aec-4c8a-a14f-9ef487448833/notification-channels" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/on-call/users/0131b53c-5aec-4c8a-a14f-9ef487448833/notification-channels/d5fc3f5a-a4b9-4972-80bb-cb4db7ec958b" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/0131b53c-5aec-4c8a-a14f-9ef487448833" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Get-an-On-Call-notification-rule-for-a-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Get-an-On-Call-notification-rule-for-a-user-returns-OK-response.json index a90b547c5..dcc5a311b 100644 --- a/tests/scenarios/cassettes/v2/on-call/Get-an-On-Call-notification-rule-for-a-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Get-an-On-Call-notification-rule-for-a-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_an_On_Call_notification_rule_for_a_user_returns_OK_response-1765919784@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"test-get_an_on_call_notification_rule_for_a_user_returns_ok_response-1765919784@datadoghq.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/b2a555c9-ac2d-430d-b321-10e4c0201ce3/notification-channels" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"high_urgency\",\"delay_minutes\":0},\"relationships\":{\"channel\":{\"data\":{\"id\":\"767234b0-0c79-4092-9b44-a8963021795b\",\"type\":\"notification_channels\"}}},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/b2a555c9-ac2d-430d-b321-10e4c0201ce3/notification-rules" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/on-call/users/b2a555c9-ac2d-430d-b321-10e4c0201ce3/notification-rules/d07cc90b-4fc5-455f-8f57-45d48a658bc6?include=channel" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/b2a555c9-ac2d-430d-b321-10e4c0201ce3" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Get-scheduled-on-call-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Get-scheduled-on-call-user-returns-OK-response.json index 63e2f88c3..336618d67 100644 --- a/tests/scenarios/cassettes/v2/on-call/Get-scheduled-on-call-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Get-scheduled-on-call-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_scheduled_on_call_user_returns_OK_response-1764838218@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-24T08:50:18.341Z\",\"end_date\":\"2025-12-14T08:50:18.341Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"42e2447f-d0ee-11f0-b246-f6a778e5e220\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-29T08:50:18.341Z\"}],\"name\":\"Test-Get_scheduled_on_call_user_returns_OK_response-1764838218\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/7f4eb086-4141-4f2a-ae4a-c0a06816672b/on-call" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/7f4eb086-4141-4f2a-ae4a-c0a06816672b" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/42e2447f-d0ee-11f0-b246-f6a778e5e220" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Get-team-on-call-users-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Get-team-on-call-users-returns-OK-response.json index 57853cec2..92c7bcb8a 100644 --- a/tests/scenarios/cassettes/v2/on-call/Get-team-on-call-users-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Get-team-on-call-users-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_team_on_call_users_returns_OK_response-1764252702@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ecfc4ff61997ed40\",\"name\":\"test-name-ecfc4ff61997ed40\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:42.299Z\",\"end_date\":\"2025-12-07T14:11:42.299Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"ffde914a-cb9a-11f0-ae87-2a5e5028fcef\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:42.299Z\"}],\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1764252702\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1764252702\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"teams\"},{\"id\":\"4325ddef-dc72-4609-90c2-01167759f277\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"4325ddef-dc72-4609-90c2-01167759f277\",\"type\":\"schedules\"},{\"id\":\"ffde914a-cb9a-11f0-ae87-2a5e5028fcef\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" }, @@ -142,14 +114,7 @@ "string": "{\"data\":{\"attributes\":{\"rules\":[{\"actions\":[],\"policy_id\":\"5a7ecb26-4ebe-4496-bcfb-ff30c655a1a9\",\"query\":\"\",\"urgency\":\"low\"}]},\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"team_routing_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/on-call/teams/fc8f8844-54c3-4898-aabc-68d6fccbe20e/routing-rules" }, @@ -173,11 +138,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/on-call/teams/fc8f8844-54c3-4898-aabc-68d6fccbe20e/on-call?include=responders%2Cescalations.responders" }, @@ -204,14 +165,7 @@ "string": "{\"data\":{\"attributes\":{\"rules\":[]},\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"team_routing_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/on-call/teams/fc8f8844-54c3-4898-aabc-68d6fccbe20e/routing-rules" }, @@ -235,11 +189,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/5a7ecb26-4ebe-4496-bcfb-ff30c655a1a9" }, @@ -259,11 +209,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/4325ddef-dc72-4609-90c2-01167759f277" }, @@ -283,11 +229,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/fc8f8844-54c3-4898-aabc-68d6fccbe20e" }, @@ -307,11 +249,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/ffde914a-cb9a-11f0-ae87-2a5e5028fcef" }, @@ -330,4 +268,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/List-On-Call-notification-channels-for-a-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/List-On-Call-notification-channels-for-a-user-returns-OK-response.json index db7890be4..d8cebcf2c 100644 --- a/tests/scenarios/cassettes/v2/on-call/List-On-Call-notification-channels-for-a-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/List-On-Call-notification-channels-for-a-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-List_On_Call_notification_channels_for_a_user_returns_OK_response-1765550440@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"test-list_on_call_notification_channels_for_a_user_returns_ok_response-1765550440@datadoghq.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/c7fe3658-67dd-4a91-bf86-3709728fd8a5/notification-channels" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/on-call/users/c7fe3658-67dd-4a91-bf86-3709728fd8a5/notification-channels" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/c7fe3658-67dd-4a91-bf86-3709728fd8a5" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/List-On-Call-notification-rules-for-a-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/List-On-Call-notification-rules-for-a-user-returns-OK-response.json index 325905954..a4aa6c931 100644 --- a/tests/scenarios/cassettes/v2/on-call/List-On-Call-notification-rules-for-a-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/List-On-Call-notification-rules-for-a-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-List_On_Call_notification_rules_for_a_user_returns_OK_response-1765919808@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"test-list_on_call_notification_rules_for_a_user_returns_ok_response-1765919808@datadoghq.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/0730802a-ee45-404b-a21d-5908d4c6b3c4/notification-channels" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"high_urgency\",\"delay_minutes\":0},\"relationships\":{\"channel\":{\"data\":{\"id\":\"3073e724-15e8-4aec-897a-478e31cca3a8\",\"type\":\"notification_channels\"}}},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/0730802a-ee45-404b-a21d-5908d4c6b3c4/notification-rules" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/on-call/users/0730802a-ee45-404b-a21d-5908d4c6b3c4/notification-rules?include=channel" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/0730802a-ee45-404b-a21d-5908d4c6b3c4" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Set-On-Call-team-routing-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Set-On-Call-team-routing-rules-returns-OK-response.json index 5f94e98bf..851a36f40 100644 --- a/tests/scenarios/cassettes/v2/on-call/Set-On-Call-team-routing-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Set-On-Call-team-routing-rules-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1764252709@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-a7692378c203a880\",\"name\":\"test-name-a7692378c203a880\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:49.966Z\",\"end_date\":\"2025-12-07T14:11:49.966Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"0473ca92-cb9b-11f0-85f9-9a82ffe01443\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:49.966Z\"}],\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1764252709\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1764252709\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"teams\"},{\"id\":\"1f9b0595-17a3-4d95-9b2e-edcea3b6e737\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"1f9b0595-17a3-4d95-9b2e-edcea3b6e737\",\"type\":\"schedules\"},{\"id\":\"0473ca92-cb9b-11f0-85f9-9a82ffe01443\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" }, @@ -142,14 +114,7 @@ "string": "{\"data\":{\"attributes\":{\"rules\":[{\"actions\":[{\"channel\":\"channel\",\"type\":\"send_slack_message\",\"workspace\":\"workspace\"}],\"query\":\"tags.service:test\",\"time_restriction\":{\"restrictions\":[{\"end_day\":\"monday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"},{\"end_day\":\"tuesday\",\"end_time\":\"17:00:00\",\"start_day\":\"tuesday\",\"start_time\":\"09:00:00\"}],\"time_zone\":\"Europe/Paris\"}},{\"policy_id\":\"66f0e922-2834-4d68-aa0b-98cc81fc2a9d\",\"query\":\"\",\"urgency\":\"low\"}]},\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"team_routing_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/on-call/teams/ba4fe917-0da4-4b40-96da-f9d7306d97d8/routing-rules?include=rules" }, @@ -176,14 +141,7 @@ "string": "{\"data\":{\"attributes\":{\"rules\":[]},\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"team_routing_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/on-call/teams/ba4fe917-0da4-4b40-96da-f9d7306d97d8/routing-rules" }, @@ -207,11 +165,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/66f0e922-2834-4d68-aa0b-98cc81fc2a9d" }, @@ -231,11 +185,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/1f9b0595-17a3-4d95-9b2e-edcea3b6e737" }, @@ -255,11 +205,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/ba4fe917-0da4-4b40-96da-f9d7306d97d8" }, @@ -279,11 +225,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/0473ca92-cb9b-11f0-85f9-9a82ffe01443" }, @@ -302,4 +244,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Update-On-Call-escalation-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Update-On-Call-escalation-policy-returns-OK-response.json index db9255a1e..63c418ed6 100644 --- a/tests/scenarios/cassettes/v2/on-call/Update-On-Call-escalation-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Update-On-Call-escalation-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-87ae65b051bd37ef\",\"name\":\"test-name-87ae65b051bd37ef\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:54.763Z\",\"end_date\":\"2025-12-07T14:11:54.763Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"074d412b-cb9b-11f0-85f9-9a82ffe01443\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:54.763Z\"}],\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"},{\"id\":\"1ab20921-4556-4f30-80df-e1ce748c3fc1\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"1ab20921-4556-4f30-80df-e1ce748c3fc1\",\"type\":\"schedules\"},{\"id\":\"074d412b-cb9b-11f0-85f9-9a82ffe01443\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" }, @@ -142,14 +114,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714-updated\",\"resolve_page_on_policy_end\":false,\"retries\":0,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"id\":\"6d4b5398-50bf-425d-93b8-3eae379ff8a0\",\"targets\":[{\"id\":\"074d412b-cb9b-11f0-85f9-9a82ffe01443\",\"type\":\"users\"}]}]},\"id\":\"b20fdf89-f87f-4237-8f19-ed8c9c57cf5c\",\"relationships\":{\"teams\":{\"data\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/b20fdf89-f87f-4237-8f19-ed8c9c57cf5c" }, @@ -173,11 +138,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/b20fdf89-f87f-4237-8f19-ed8c9c57cf5c" }, @@ -197,11 +158,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/1ab20921-4556-4f30-80df-e1ce748c3fc1" }, @@ -221,11 +178,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/f38d82f9-3de9-4a4a-8a48-650c0b19151f" }, @@ -245,11 +198,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/074d412b-cb9b-11f0-85f9-9a82ffe01443" }, @@ -268,4 +217,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Update-On-Call-schedule-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Update-On-Call-schedule-returns-OK-response.json index 558bd4247..d910ef8ad 100644 --- a/tests/scenarios/cassettes/v2/on-call/Update-On-Call-schedule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Update-On-Call-schedule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_On_Call_schedule_returns_OK_response-1764252719@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:59.069Z\",\"end_date\":\"2025-12-07T14:11:59.069Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"09e2b0f4-cb9b-11f0-a56e-4e680b759023\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:59.069Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1764252719\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-0db1ad1d49052f19\",\"name\":\"test-name-0db1ad1d49052f19\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:59.069Z\",\"end_date\":\"2025-12-07T14:11:59.069Z\",\"id\":\"140f452a-0ecf-48ab-b7e9-e358a2cf925b\",\"interval\":{\"seconds\":3600},\"members\":[{\"user\":{\"id\":\"09e2b0f4-cb9b-11f0-a56e-4e680b759023\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:59.069Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1764252719\",\"time_zone\":\"America/New_York\"},\"id\":\"0e2c2b38-3f21-4216-aeb7-49eb8b371c09\",\"relationships\":{\"teams\":{\"data\":[{\"id\":\"500acba0-bf4f-4f5c-83be-d0de24c5739c\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/0e2c2b38-3f21-4216-aeb7-49eb8b371c09" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/500acba0-bf4f-4f5c-83be-d0de24c5739c" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/on-call/schedules/0e2c2b38-3f21-4216-aeb7-49eb8b371c09" }, @@ -187,11 +151,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/09e2b0f4-cb9b-11f0-a56e-4e680b759023" }, @@ -210,4 +170,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/on-call/Update-an-On-Call-notification-rule-for-a-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/on-call/Update-an-On-Call-notification-rule-for-a-user-returns-OK-response.json index 244459fa2..6ebbf408c 100644 --- a/tests/scenarios/cassettes/v2/on-call/Update-an-On-Call-notification-rule-for-a-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/on-call/Update-an-On-Call-notification-rule-for-a-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_an_On_Call_notification_rule_for_a_user_returns_OK_response-1765933475@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"address\":\"test-update_an_on_call_notification_rule_for_a_user_returns_ok_response-1765933475@datadoghq.com\",\"formats\":[\"html\"],\"type\":\"email\"}},\"type\":\"notification_channels\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/4ef9cf45-30a8-4117-9b56-adba96671dff/notification-channels" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"high_urgency\",\"delay_minutes\":0},\"relationships\":{\"channel\":{\"data\":{\"id\":\"7fc326c9-f3dc-4858-80c2-d88c24dcf54b\",\"type\":\"notification_channels\"}}},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/on-call/users/4ef9cf45-30a8-4117-9b56-adba96671dff/notification-rules" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"category\":\"high_urgency\",\"delay_minutes\":1},\"id\":\"c7b724f1-eb73-43d4-889f-d8f3e6fbe664\",\"relationships\":{\"channel\":{\"data\":{\"id\":\"7fc326c9-f3dc-4858-80c2-d88c24dcf54b\",\"type\":\"notification_channels\"}}},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/on-call/users/4ef9cf45-30a8-4117-9b56-adba96671dff/notification-rules/c7b724f1-eb73-43d4-889f-d8f3e6fbe664?include=channel" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/4ef9cf45-30a8-4117-9b56-adba96671dff" }, @@ -162,4 +130,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/opsgenie_integration/Create-a-new-service-object-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/opsgenie_integration/Create-a-new-service-object-returns-CREATED-response.json index 5d3c5f72f..552bc683a 100644 --- a/tests/scenarios/cassettes/v2/opsgenie_integration/Create-a-new-service-object-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/opsgenie_integration/Create-a-new-service-object-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_new_service_object_returns_CREATED_response-1653590938\",\"opsgenie_api_key\":\"00000000-0000-0000-0000-000000000000\",\"region\":\"us\"},\"type\":\"opsgenie-service\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services/0dcb43af-f233-4cda-b260-37e97e12f66f" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/opsgenie_integration/Delete-a-single-service-object-returns-OK-response.json b/tests/scenarios/cassettes/v2/opsgenie_integration/Delete-a-single-service-object-returns-OK-response.json index bd48c8176..3f8fd600c 100644 --- a/tests/scenarios/cassettes/v2/opsgenie_integration/Delete-a-single-service-object-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/opsgenie_integration/Delete-a-single-service-object-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_a_single_service_object_returns_OK_response-1655132327\",\"opsgenie_api_key\":\"00000000-0000-0000-0000-000000000000\",\"region\":\"us\"},\"type\":\"opsgenie-service\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services/78050750-0312-400d-ad80-161ea7900931" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services/78050750-0312-400d-ad80-161ea7900931" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/opsgenie_integration/Get-a-single-service-object-returns-OK-response.json b/tests/scenarios/cassettes/v2/opsgenie_integration/Get-a-single-service-object-returns-OK-response.json index a4dc75ce2..c308393d5 100644 --- a/tests/scenarios/cassettes/v2/opsgenie_integration/Get-a-single-service-object-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/opsgenie_integration/Get-a-single-service-object-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_a_single_service_object_returns_OK_response-1655132327\",\"opsgenie_api_key\":\"00000000-0000-0000-0000-000000000000\",\"region\":\"us\"},\"type\":\"opsgenie-service\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services/3ca2db9d-e088-47d1-9bfe-b88463c23f2d" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services/3ca2db9d-e088-47d1-9bfe-b88463c23f2d" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/opsgenie_integration/Get-all-service-objects-returns-OK-response.json b/tests/scenarios/cassettes/v2/opsgenie_integration/Get-all-service-objects-returns-OK-response.json index a61c1308c..c3577d2b1 100644 --- a/tests/scenarios/cassettes/v2/opsgenie_integration/Get-all-service-objects-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/opsgenie_integration/Get-all-service-objects-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_service_objects_returns_OK_response-1655132328\",\"opsgenie_api_key\":\"00000000-0000-0000-0000-000000000000\",\"region\":\"us\"},\"type\":\"opsgenie-service\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services/337861b6-ed46-4c66-b4a0-32d7a4ba94b9" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/opsgenie_integration/Update-a-single-service-object-returns-OK-response.json b/tests/scenarios/cassettes/v2/opsgenie_integration/Update-a-single-service-object-returns-OK-response.json index 6d96ac7db..a6be599d5 100644 --- a/tests/scenarios/cassettes/v2/opsgenie_integration/Update-a-single-service-object-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/opsgenie_integration/Update-a-single-service-object-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_single_service_object_returns_OK_response-1654804626\",\"opsgenie_api_key\":\"00000000-0000-0000-0000-000000000000\",\"region\":\"us\"},\"type\":\"opsgenie-service\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_single_service_object_returns_OK_response-1654804626--updated\",\"opsgenie_api_key\":\"00000000-0000-0000-0000-000000000000\",\"region\":\"eu\"},\"id\":\"0b04ddfb-b00a-4243-baed-33ff1bff0909\",\"type\":\"opsgenie-service\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services/0b04ddfb-b00a-4243-baed-33ff1bff0909" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/integration/opsgenie/services/0b04ddfb-b00a-4243-baed-33ff1bff0909" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Bad-Request-response.json index 0ca1452a0..2035cc718 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\",\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"83999dcd-7f97-11f0-8de1-1ecf66f1aa85\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Conflict-response.json index be1d84dcc..f2857cf86 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"83999dcd-7f97-11f0-8de1-1ecf66f1aa85\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"83999dcd-7f97-11f0-8de1-1ecf66f1aa85\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/b5d3a360-d6e2-4af7-8da2-b2ff41b9f5e0" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Not-Found-response.json index 668d16e3c..4acb0a003 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"nonexistent-org-id\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-OK-response.json b/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-OK-response.json index 834b6f12a..fdb47e32f 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Create-Org-Connection-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"83999dcd-7f97-11f0-8de1-1ecf66f1aa85\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/40bbb1c2-32b2-4aa3-8a1a-5d93b5382e3d" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-Bad-Request-response.json index 577520afc..83eafe4e2 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/malformed_id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-Not-Found-response.json index 1bc8ab351..052d5a23a 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-OK-response.json b/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-OK-response.json index 2d66c05e0..db4450460 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Delete-Org-Connection-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"83999dcd-7f97-11f0-8de1-1ecf66f1aa85\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/7b01f30c-6100-4cbf-b583-a5e353d7edb7" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/7b01f30c-6100-4cbf-b583-a5e353d7edb7" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/List-Org-Connections-returns-OK-response.json b/tests/scenarios/cassettes/v2/org_connections/List-Org-Connections-returns-OK-response.json index f37f80030..e3de75960 100644 --- a/tests/scenarios/cassettes/v2/org_connections/List-Org-Connections-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/List-Org-Connections-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-Bad-Request-response.json index df5ba3b85..b6611637f 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"83999dcd-7f97-11f0-8de1-1ecf66f1aa85\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\",\"logs\"]},\"id\":\"76e1a71f-81e5-40c8-b8e0-1b98265d26fe\",\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/org_connections/76e1a71f-81e5-40c8-b8e0-1b98265d26fe" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/76e1a71f-81e5-40c8-b8e0-1b98265d26fe" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-Not-Found-response.json index 78bd06700..999d52687 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"83999dcd-7f97-11f0-8de1-1ecf66f1aa85\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\",\"metrics\"]},\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/org_connections/00000000-0000-0000-0000-000000000000" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/d348b9ab-c7cf-4298-83a6-b4762fafff5e" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-OK-response.json b/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-OK-response.json index 070b51787..21f0df138 100644 --- a/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/org_connections/Update-Org-Connection-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\"]},\"relationships\":{\"sink_org\":{\"data\":{\"id\":\"83999dcd-7f97-11f0-8de1-1ecf66f1aa85\",\"type\":\"orgs\"}}},\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/org_connections" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"connection_types\":[\"logs\",\"metrics\"]},\"id\":\"0105233a-4d7b-4c52-b364-cc968d003de0\",\"type\":\"org_connection\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/org_connections/0105233a-4d7b-4c52-b364-cc968d003de0" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/org_connections/0105233a-4d7b-4c52-b364-cc968d003de0" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/organizations/Get-a-specific-Org-Config-value-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/organizations/Get-a-specific-Org-Config-value-returns-Not-Found-response.json index a1a95bb6a..afd04ece3 100644 --- a/tests/scenarios/cassettes/v2/organizations/Get-a-specific-Org-Config-value-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/organizations/Get-a-specific-Org-Config-value-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/org_configs/i_dont_exist" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/organizations/Get-a-specific-Org-Config-value-returns-OK-response.json b/tests/scenarios/cassettes/v2/organizations/Get-a-specific-Org-Config-value-returns-OK-response.json index a38451ead..c791bcfab 100644 --- a/tests/scenarios/cassettes/v2/organizations/Get-a-specific-Org-Config-value-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/organizations/Get-a-specific-Org-Config-value-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/org_configs/custom_roles" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/organizations/List-Org-Configs-returns-OK-response.json b/tests/scenarios/cassettes/v2/organizations/List-Org-Configs-returns-OK-response.json index a2f95aabf..ba559fcb0 100644 --- a/tests/scenarios/cassettes/v2/organizations/List-Org-Configs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/organizations/List-Org-Configs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/org_configs" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-Bad-Request-response.json index c54d12a46..5776a725e 100644 --- a/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"value\":\"not-a-boolean\"},\"type\":\"org_configs\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/org_configs/custom_roles" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-Not-Found-response.json index ae1926056..0d875dd6f 100644 --- a/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"value\":[]},\"type\":\"org_configs\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/org_configs/i_dont_exist" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-OK-response.json b/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-OK-response.json index ebfc7284a..3740592e3 100644 --- a/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/organizations/Update-a-specific-Org-Config-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"value\":\"UTC\"},\"type\":\"org_configs\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/org_configs/monitor_timezone" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/organizations/Upload-IdP-metadata-returns-Bad-Request-caused-by-either-malformed-XML-or-invalid-SAML-IdP-metadata-response.json b/tests/scenarios/cassettes/v2/organizations/Upload-IdP-metadata-returns-Bad-Request-caused-by-either-malformed-XML-or-invalid-SAML-IdP-metadata-response.json index 97b485a6f..fd3ee5153 100644 --- a/tests/scenarios/cassettes/v2/organizations/Upload-IdP-metadata-returns-Bad-Request-caused-by-either-malformed-XML-or-invalid-SAML-IdP-metadata-response.json +++ b/tests/scenarios/cassettes/v2/organizations/Upload-IdP-metadata-returns-Bad-Request-caused-by-either-malformed-XML-or-invalid-SAML-IdP-metadata-response.json @@ -6,14 +6,7 @@ "string": "--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r\nContent-Disposition: form-data; name=\"idp_file\"; filename=\"invalid_idp_metadata.xml\"\r\nContent-Type: application/xml\r\n\r\n\ni am > bad xml\n\r\n--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx--\r\n", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "multipart/form-data; boundary=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/saml_configurations/idp_metadata" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/organizations/Upload-IdP-metadata-returns-OK-response.json b/tests/scenarios/cassettes/v2/organizations/Upload-IdP-metadata-returns-OK-response.json index a52266f2f..f689c0e8f 100644 --- a/tests/scenarios/cassettes/v2/organizations/Upload-IdP-metadata-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/organizations/Upload-IdP-metadata-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r\nContent-Disposition: form-data; name=\"idp_file\"; filename=\"valid_idp_metadata.xml\"\r\nContent-Type: application/xml\r\n\r\n\n\n \n \n \n \n MIIC8jCCAlugAwIBAgIJAJHg2V5J31I8MA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNV\n BAYTAlNFMQ0wCwYDVQQHEwRVbWVhMRgwFgYDVQQKEw9VbWVhIFVuaXZlcnNpdHkx\n EDAOBgNVBAsTB0lUIFVuaXQxEDAOBgNVBAMTB1Rlc3QgU1AwHhcNMDkxMDI2MTMz\n MTE1WhcNMTAxMDI2MTMzMTE1WjBaMQswCQYDVQQGEwJTRTENMAsGA1UEBxMEVW1l\n YTEYMBYGA1UEChMPVW1lYSBVbml2ZXJzaXR5MRAwDgYDVQQLEwdJVCBVbml0MRAw\n DgYDVQQDEwdUZXN0IFNQMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkJWP7\n bwOxtH+E15VTaulNzVQ/0cSbM5G7abqeqSNSs0l0veHr6/ROgW96ZeQ57fzVy2MC\n FiQRw2fzBs0n7leEmDJyVVtBTavYlhAVXDNa3stgvh43qCfLx+clUlOvtnsoMiiR\n mo7qf0BoPKTj7c0uLKpDpEbAHQT4OF1HRYVxMwIDAQABo4G/MIG8MB0GA1UdDgQW\n BBQ7RgbMJFDGRBu9o3tDQDuSoBy7JjCBjAYDVR0jBIGEMIGBgBQ7RgbMJFDGRBu9\n o3tDQDuSoBy7JqFepFwwWjELMAkGA1UEBhMCU0UxDTALBgNVBAcTBFVtZWExGDAW\n BgNVBAoTD1VtZWEgVW5pdmVyc2l0eTEQMA4GA1UECxMHSVQgVW5pdDEQMA4GA1UE\n AxMHVGVzdCBTUIIJAJHg2V5J31I8MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF\n BQADgYEAMuRwwXRnsiyWzmRikpwinnhTmbooKm5TINPE7A7gSQ710RxioQePPhZO\n zkM27NnHTrCe2rBVg0EGz7QTd1JIwLPvgoj4VTi/fSha/tXrYUaqc9AqU1kWI4WN\n +vffBGQ09mo+6CffuFTZYeOhzP/2stAPwCTU4kxEoiy0KpZMANI=\n \n \n \n \n \n \n \n MIIC8jCCAlugAwIBAgIJAJHg2V5J31I8MA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNV\n BAYTAlNFMQ0wCwYDVQQHEwRVbWVhMRgwFgYDVQQKEw9VbWVhIFVuaXZlcnNpdHkx\n EDAOBgNVBAsTB0lUIFVuaXQxEDAOBgNVBAMTB1Rlc3QgU1AwHhcNMDkxMDI2MTMz\n MTE1WhcNMTAxMDI2MTMzMTE1WjBaMQswCQYDVQQGEwJTRTENMAsGA1UEBxMEVW1l\n YTEYMBYGA1UEChMPVW1lYSBVbml2ZXJzaXR5MRAwDgYDVQQLEwdJVCBVbml0MRAw\n DgYDVQQDEwdUZXN0IFNQMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkJWP7\n bwOxtH+E15VTaulNzVQ/0cSbM5G7abqeqSNSs0l0veHr6/ROgW96ZeQ57fzVy2MC\n FiQRw2fzBs0n7leEmDJyVVtBTavYlhAVXDNa3stgvh43qCfLx+clUlOvtnsoMiiR\n mo7qf0BoPKTj7c0uLKpDpEbAHQT4OF1HRYVxMwIDAQABo4G/MIG8MB0GA1UdDgQW\n BBQ7RgbMJFDGRBu9o3tDQDuSoBy7JjCBjAYDVR0jBIGEMIGBgBQ7RgbMJFDGRBu9\n o3tDQDuSoBy7JqFepFwwWjELMAkGA1UEBhMCU0UxDTALBgNVBAcTBFVtZWExGDAW\n BgNVBAoTD1VtZWEgVW5pdmVyc2l0eTEQMA4GA1UECxMHSVQgVW5pdDEQMA4GA1UE\n AxMHVGVzdCBTUIIJAJHg2V5J31I8MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF\n BQADgYEAMuRwwXRnsiyWzmRikpwinnhTmbooKm5TINPE7A7gSQ710RxioQePPhZO\n zkM27NnHTrCe2rBVg0EGz7QTd1JIwLPvgoj4VTi/fSha/tXrYUaqc9AqU1kWI4WN\n +vffBGQ09mo+6CffuFTZYeOhzP/2stAPwCTU4kxEoiy0KpZMANI=\n \n \n \n \n \n \n \n \n \n \n \n urn:oasis:names:tc:SAML:2.0:nameid-format:transient\n urn:oasis:names:tc:SAML:2.0:nameid-format:persistent\n \n \n \n \n \n \n \n \n \n \n \n MIIC8jCCAlugAwIBAgIJAJHg2V5J31I8MA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNV\n BAYTAlNFMQ0wCwYDVQQHEwRVbWVhMRgwFgYDVQQKEw9VbWVhIFVuaXZlcnNpdHkx\n EDAOBgNVBAsTB0lUIFVuaXQxEDAOBgNVBAMTB1Rlc3QgU1AwHhcNMDkxMDI2MTMz\n MTE1WhcNMTAxMDI2MTMzMTE1WjBaMQswCQYDVQQGEwJTRTENMAsGA1UEBxMEVW1l\n YTEYMBYGA1UEChMPVW1lYSBVbml2ZXJzaXR5MRAwDgYDVQQLEwdJVCBVbml0MRAw\n DgYDVQQDEwdUZXN0IFNQMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkJWP7\n bwOxtH+E15VTaulNzVQ/0cSbM5G7abqeqSNSs0l0veHr6/ROgW96ZeQ57fzVy2MC\n FiQRw2fzBs0n7leEmDJyVVtBTavYlhAVXDNa3stgvh43qCfLx+clUlOvtnsoMiiR\n mo7qf0BoPKTj7c0uLKpDpEbAHQT4OF1HRYVxMwIDAQABo4G/MIG8MB0GA1UdDgQW\n BBQ7RgbMJFDGRBu9o3tDQDuSoBy7JjCBjAYDVR0jBIGEMIGBgBQ7RgbMJFDGRBu9\n o3tDQDuSoBy7JqFepFwwWjELMAkGA1UEBhMCU0UxDTALBgNVBAcTBFVtZWExGDAW\n BgNVBAoTD1VtZWEgVW5pdmVyc2l0eTEQMA4GA1UECxMHSVQgVW5pdDEQMA4GA1UE\n AxMHVGVzdCBTUIIJAJHg2V5J31I8MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF\n BQADgYEAMuRwwXRnsiyWzmRikpwinnhTmbooKm5TINPE7A7gSQ710RxioQePPhZO\n zkM27NnHTrCe2rBVg0EGz7QTd1JIwLPvgoj4VTi/fSha/tXrYUaqc9AqU1kWI4WN\n +vffBGQ09mo+6CffuFTZYeOhzP/2stAPwCTU4kxEoiy0KpZMANI=\n \n \n \n \n \n \n \n MIIC8jCCAlugAwIBAgIJAJHg2V5J31I8MA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNV\n BAYTAlNFMQ0wCwYDVQQHEwRVbWVhMRgwFgYDVQQKEw9VbWVhIFVuaXZlcnNpdHkx\n EDAOBgNVBAsTB0lUIFVuaXQxEDAOBgNVBAMTB1Rlc3QgU1AwHhcNMDkxMDI2MTMz\n MTE1WhcNMTAxMDI2MTMzMTE1WjBaMQswCQYDVQQGEwJTRTENMAsGA1UEBxMEVW1l\n YTEYMBYGA1UEChMPVW1lYSBVbml2ZXJzaXR5MRAwDgYDVQQLEwdJVCBVbml0MRAw\n DgYDVQQDEwdUZXN0IFNQMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkJWP7\n bwOxtH+E15VTaulNzVQ/0cSbM5G7abqeqSNSs0l0veHr6/ROgW96ZeQ57fzVy2MC\n FiQRw2fzBs0n7leEmDJyVVtBTavYlhAVXDNa3stgvh43qCfLx+clUlOvtnsoMiiR\n mo7qf0BoPKTj7c0uLKpDpEbAHQT4OF1HRYVxMwIDAQABo4G/MIG8MB0GA1UdDgQW\n BBQ7RgbMJFDGRBu9o3tDQDuSoBy7JjCBjAYDVR0jBIGEMIGBgBQ7RgbMJFDGRBu9\n o3tDQDuSoBy7JqFepFwwWjELMAkGA1UEBhMCU0UxDTALBgNVBAcTBFVtZWExGDAW\n BgNVBAoTD1VtZWEgVW5pdmVyc2l0eTEQMA4GA1UECxMHSVQgVW5pdDEQMA4GA1UE\n AxMHVGVzdCBTUIIJAJHg2V5J31I8MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF\n BQADgYEAMuRwwXRnsiyWzmRikpwinnhTmbooKm5TINPE7A7gSQ710RxioQePPhZO\n zkM27NnHTrCe2rBVg0EGz7QTd1JIwLPvgoj4VTi/fSha/tXrYUaqc9AqU1kWI4WN\n +vffBGQ09mo+6CffuFTZYeOhzP/2stAPwCTU4kxEoiy0KpZMANI=\n \n \n \n \n \n \n \n \n \n \n MIIC8jCCAlugAwIBAgIJAJHg2V5J31I8MA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNV\n BAYTAlNFMQ0wCwYDVQQHEwRVbWVhMRgwFgYDVQQKEw9VbWVhIFVuaXZlcnNpdHkx\n EDAOBgNVBAsTB0lUIFVuaXQxEDAOBgNVBAMTB1Rlc3QgU1AwHhcNMDkxMDI2MTMz\n MTE1WhcNMTAxMDI2MTMzMTE1WjBaMQswCQYDVQQGEwJTRTENMAsGA1UEBxMEVW1l\n YTEYMBYGA1UEChMPVW1lYSBVbml2ZXJzaXR5MRAwDgYDVQQLEwdJVCBVbml0MRAw\n DgYDVQQDEwdUZXN0IFNQMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkJWP7\n bwOxtH+E15VTaulNzVQ/0cSbM5G7abqeqSNSs0l0veHr6/ROgW96ZeQ57fzVy2MC\n FiQRw2fzBs0n7leEmDJyVVtBTavYlhAVXDNa3stgvh43qCfLx+clUlOvtnsoMiiR\n mo7qf0BoPKTj7c0uLKpDpEbAHQT4OF1HRYVxMwIDAQABo4G/MIG8MB0GA1UdDgQW\n BBQ7RgbMJFDGRBu9o3tDQDuSoBy7JjCBjAYDVR0jBIGEMIGBgBQ7RgbMJFDGRBu9\n o3tDQDuSoBy7JqFepFwwWjELMAkGA1UEBhMCU0UxDTALBgNVBAcTBFVtZWExGDAW\n BgNVBAoTD1VtZWEgVW5pdmVyc2l0eTEQMA4GA1UECxMHSVQgVW5pdDEQMA4GA1UE\n AxMHVGVzdCBTUIIJAJHg2V5J31I8MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF\n BQADgYEAMuRwwXRnsiyWzmRikpwinnhTmbooKm5TINPE7A7gSQ710RxioQePPhZO\n zkM27NnHTrCe2rBVg0EGz7QTd1JIwLPvgoj4VTi/fSha/tXrYUaqc9AqU1kWI4WN\n +vffBGQ09mo+6CffuFTZYeOhzP/2stAPwCTU4kxEoiy0KpZMANI=\n \n \n \n \n \n \n \n MIIC8jCCAlugAwIBAgIJAJHg2V5J31I8MA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNV\n BAYTAlNFMQ0wCwYDVQQHEwRVbWVhMRgwFgYDVQQKEw9VbWVhIFVuaXZlcnNpdHkx\n EDAOBgNVBAsTB0lUIFVuaXQxEDAOBgNVBAMTB1Rlc3QgU1AwHhcNMDkxMDI2MTMz\n MTE1WhcNMTAxMDI2MTMzMTE1WjBaMQswCQYDVQQGEwJTRTENMAsGA1UEBxMEVW1l\n YTEYMBYGA1UEChMPVW1lYSBVbml2ZXJzaXR5MRAwDgYDVQQLEwdJVCBVbml0MRAw\n DgYDVQQDEwdUZXN0IFNQMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkJWP7\n bwOxtH+E15VTaulNzVQ/0cSbM5G7abqeqSNSs0l0veHr6/ROgW96ZeQ57fzVy2MC\n FiQRw2fzBs0n7leEmDJyVVtBTavYlhAVXDNa3stgvh43qCfLx+clUlOvtnsoMiiR\n mo7qf0BoPKTj7c0uLKpDpEbAHQT4OF1HRYVxMwIDAQABo4G/MIG8MB0GA1UdDgQW\n BBQ7RgbMJFDGRBu9o3tDQDuSoBy7JjCBjAYDVR0jBIGEMIGBgBQ7RgbMJFDGRBu9\n o3tDQDuSoBy7JqFepFwwWjELMAkGA1UEBhMCU0UxDTALBgNVBAcTBFVtZWExGDAW\n BgNVBAoTD1VtZWEgVW5pdmVyc2l0eTEQMA4GA1UECxMHSVQgVW5pdDEQMA4GA1UE\n AxMHVGVzdCBTUIIJAJHg2V5J31I8MAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEF\n BQADgYEAMuRwwXRnsiyWzmRikpwinnhTmbooKm5TINPE7A7gSQ710RxioQePPhZO\n zkM27NnHTrCe2rBVg0EGz7QTd1JIwLPvgoj4VTi/fSha/tXrYUaqc9AqU1kWI4WN\n +vffBGQ09mo+6CffuFTZYeOhzP/2stAPwCTU4kxEoiy0KpZMANI=\n \n \n \n \n \n urn:oasis:names:tc:SAML:2.0:nameid-format:transient\n urn:oasis:names:tc:SAML:2.0:nameid-format:persistent\n \n \n Rolands Identiteter\n Rolands Identiteter\n http://www.example.com\n \n \n Roland\n Hedberg\n technical@example.com\n \n \n Support\n support@example.com\n \n\n\r\n--xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx--\r\n", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "multipart/form-data; boundary=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/saml_configurations/idp_metadata" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-returns-Bad-Request-response.json index fad30b332..5e84c1078 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Powerpack for ABC\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"type\":\"group1\",\"widgets\":[]}},\"name\":\"Sample Powerpack\",\"tags\":[\"tag:foo1\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"test\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-returns-OK-response.json b/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-returns-OK-response.json index 96550c991..6a84f4a53 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Create_a_new_powerpack_returns_OK_response-1698172330\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a5892a4e-729b-11ee-8449-da7ad0900002" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-with-missing-group-widget-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-with-missing-group-widget-returns-Bad-Request-response.json index 46b0f122f..1cf52102d 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-with-missing-group-widget-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Create-a-new-powerpack-with-missing-group-widget-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"name\":\"Sample Powerpack\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Delete-a-powerpack-returns-OK-response.json b/tests/scenarios/cassettes/v2/powerpack/Delete-a-powerpack-returns-OK-response.json index e5d2fda4c..9f7f85355 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Delete-a-powerpack-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Delete-a-powerpack-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Delete_a_powerpack_returns_OK_response-1698172332\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a5f45260-729b-11ee-a369-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a5f45260-729b-11ee-a369-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Delete-a-powerpack-returns-Powerpack-Not-Found-response.json b/tests/scenarios/cassettes/v2/powerpack/Delete-a-powerpack-returns-Powerpack-Not-Found-response.json index 72fd5a621..581fa0194 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Delete-a-powerpack-returns-Powerpack-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Delete-a-powerpack-returns-Powerpack-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/made-up-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Get-a-Powerpack-returns-OK-response.json b/tests/scenarios/cassettes/v2/powerpack/Get-a-Powerpack-returns-OK-response.json index fd3482abd..1f1c9345e 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Get-a-Powerpack-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Get-a-Powerpack-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Get_a_Powerpack_returns_OK_response-1698172332\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a62886de-729b-11ee-b0c9-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a62886de-729b-11ee-b0c9-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Get-a-Powerpack-returns-Powerpack-Not-Found-response.json b/tests/scenarios/cassettes/v2/powerpack/Get-a-Powerpack-returns-Powerpack-Not-Found-response.json index b159edd18..1d2f0975b 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Get-a-Powerpack-returns-Powerpack-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Get-a-Powerpack-returns-Powerpack-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/powerpacks/made-up-id" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Get-all-powerpacks-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/powerpack/Get-all-powerpacks-returns-OK-response-with-pagination.json index c2da7a6f8..146ad06bb 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Get-all-powerpacks-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/powerpack/Get-all-powerpacks-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/powerpacks?page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/powerpacks?page%5Blimit%5D=2&page%5Boffset%5D=2" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Get-all-powerpacks-returns-OK-response.json b/tests/scenarios/cassettes/v2/powerpack/Get-all-powerpacks-returns-OK-response.json index 87603cafd..ed656c9ed 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Get-all-powerpacks-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Get-all-powerpacks-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Get_all_powerpacks_returns_OK_response-1698172333\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/powerpacks?page%5Blimit%5D=1000" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a65cae1e-729b-11ee-9a94-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-Bad-Request-response.json index 1bb0ec6ec..faeee8236 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Update_a_powerpack_returns_Bad_Request_response-1698172333\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"type\":\"group1\",\"widgets\":[]}},\"name\":\"Sample Powerpack\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a68dc724-729b-11ee-aa5b-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a68dc724-729b-11ee-aa5b-da7ad0900002" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-OK-response.json b/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-OK-response.json index 294fdded6..0860569ba 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Update_a_powerpack_returns_OK_response-1698172333\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/powerpacks" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Update_a_powerpack_returns_OK_response-1698172333\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a6d282b0-729b-11ee-a89e-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/powerpacks/a6d282b0-729b-11ee-a89e-da7ad0900002" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-Powerpack-Not-Found-response.json b/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-Powerpack-Not-Found-response.json index 6f3074ffe..751f5b775 100644 --- a/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-Powerpack-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/powerpack/Update-a-powerpack-returns-Powerpack-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Update_a_powerpack_returns_Powerpack_Not_Found_response-1698172334\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/powerpacks/made-up-id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/processes/Get-all-processes-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/processes/Get-all-processes-returns-OK-response-with-pagination.json index ecadf5cff..091512ce4 100644 --- a/tests/scenarios/cassettes/v2/processes/Get-all-processes-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/processes/Get-all-processes-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/processes?page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/processes?page%5Blimit%5D=2&page%5Bcursor%5D=08d5e26c7701000015e90400e5e520dead28b74b286076a0f80d8947" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/processes/Get-all-processes-returns-OK-response.json b/tests/scenarios/cassettes/v2/processes/Get-all-processes-returns-OK-response.json index 88ba85125..369f933d7 100644 --- a/tests/scenarios/cassettes/v2/processes/Get-all-processes-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/processes/Get-all-processes-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/processes?search=process-agent&tags=testing%3Atrue&page%5Blimit%5D=2" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/reference_tables/Create-reference-table-without-upload-or-access-details-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/reference_tables/Create-reference-table-without-upload-or-access-details-returns-Bad-Request-response.json index f8b3a2b2a..96fb1f10c 100644 --- a/tests/scenarios/cassettes/v2/reference_tables/Create-reference-table-without-upload-or-access-details-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/reference_tables/Create-reference-table-without-upload-or-access-details-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test reference table without upload or access details\",\"schema\":{\"fields\":[{\"name\":\"id\",\"type\":\"STRING\"}],\"primary_keys\":[\"id\"]},\"source\":\"LOCAL_FILE\",\"table_name\":\"test_invalid_table_Test-Create_reference_table_without_upload_or_access_details_returns_Bad_Request_response-1759351883\",\"tags\":[\"test_tag\"]},\"type\":\"reference_table\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/reference-tables/tables" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/restriction_policies/Delete-a-restriction-policy-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/restriction_policies/Delete-a-restriction-policy-returns-Bad-Request-response.json index c9aeda5cf..9d27a8e93 100644 --- a/tests/scenarios/cassettes/v2/restriction_policies/Delete-a-restriction-policy-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/restriction_policies/Delete-a-restriction-policy-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/restriction_policy/malformed" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/restriction_policies/Delete-a-restriction-policy-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/restriction_policies/Delete-a-restriction-policy-returns-No-Content-response.json index be252df05..b6096e9ee 100644 --- a/tests/scenarios/cassettes/v2/restriction_policies/Delete-a-restriction-policy-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/restriction_policies/Delete-a-restriction-policy-returns-No-Content-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/restriction_policy/dashboard%3Atest-delete" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/restriction_policies/Get-a-restriction-policy-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/restriction_policies/Get-a-restriction-policy-returns-Bad-Request-response.json index cf8d0fff5..fadeab6b0 100644 --- a/tests/scenarios/cassettes/v2/restriction_policies/Get-a-restriction-policy-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/restriction_policies/Get-a-restriction-policy-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/restriction_policy/malformed" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/restriction_policies/Get-a-restriction-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/restriction_policies/Get-a-restriction-policy-returns-OK-response.json index ff7448973..85ba97f64 100644 --- a/tests/scenarios/cassettes/v2/restriction_policies/Get-a-restriction-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/restriction_policies/Get-a-restriction-policy-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/restriction_policy/dashboard%3Atest-get" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/restriction_policies/Update-a-restriction-policy-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/restriction_policies/Update-a-restriction-policy-returns-Bad-Request-response.json index f44ff5bce..939c689bc 100644 --- a/tests/scenarios/cassettes/v2/restriction_policies/Update-a-restriction-policy-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/restriction_policies/Update-a-restriction-policy-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_restriction_policy_returns_Bad_Request_response-1676406317\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_a_restriction_policy_returns_Bad_Request_response-1676406317@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"id\":\"b2ca0a63-aca5-11ed-ad1d-9ae79f61138a\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/b27c878a-aca5-11ed-bc84-da7ad0900002/users" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"bindings\":[{\"principals\":[\"org:4dee724d-00cc-11ea-a77b-570c9d03c6c5\"],\"relation\":\"editor\"}]},\"id\":\"dashboard:abc-def-ghi\",\"type\":\"restriction_policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/restriction_policy/malformed" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/b2ca0a63-aca5-11ed-ad1d-9ae79f61138a" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/b27c878a-aca5-11ed-bc84-da7ad0900002" }, @@ -190,4 +154,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/restriction_policies/Update-a-restriction-policy-returns-OK-response.json b/tests/scenarios/cassettes/v2/restriction_policies/Update-a-restriction-policy-returns-OK-response.json index 9c08b9652..08be91fe6 100644 --- a/tests/scenarios/cassettes/v2/restriction_policies/Update-a-restriction-policy-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/restriction_policies/Update-a-restriction-policy-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_restriction_policy_returns_OK_response-1678126638\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_a_restriction_policy_returns_OK_response-1678126638@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"id\":\"21b46718-bc4b-11ed-a2f5-764440ef0bc1\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/2186776c-bc4b-11ed-ac0f-da7ad0900002/users" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"bindings\":[{\"principals\":[\"org:4dee724d-00cc-11ea-a77b-570c9d03c6c5\"],\"relation\":\"editor\"}]},\"id\":\"dashboard:test-update\",\"type\":\"restriction_policy\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/restriction_policy/dashboard%3Atest-update" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/21b46718-bc4b-11ed-a2f5-764440ef0bc1" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/2186776c-bc4b-11ed-ac0f-da7ad0900002" }, @@ -190,4 +154,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Add-a-user-to-a-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Add-a-user-to-a-role-returns-OK-response.json index 38f275ac4..00dc28ad3 100644 --- a/tests/scenarios/cassettes/v2/roles/Add-a-user-to-a-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Add-a-user-to-a-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Add_a_user_to_a_role_returns_OK_response-1652349154\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Add_a_user_to_a_role_returns_OK_response-1652349154@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"id\":\"4029e0ee-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/3fdd7736-d1d9-11ec-ad3d-da7ad0900002/users" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/4029e0ee-d1d9-11ec-ad3d-da7ad0900002" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/3fdd7736-d1d9-11ec-ad3d-da7ad0900002" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-Bad-Request-response.json index 78a05a56e..590fca3d4 100644 --- a/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_new_role_by_cloning_an_existing_role_returns_Bad_Request_response-1652349157\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\" \"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/416935ae-d1d9-11ec-ad3d-da7ad0900002/clone" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/416935ae-d1d9-11ec-ad3d-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-Conflict-response.json index 2edeba36f..932a1016f 100644 --- a/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_new_role_by_cloning_an_existing_role_returns_Conflict_response-1652349158\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_new_role_by_cloning_an_existing_role_returns_Conflict_response-1652349158\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/42519ea2-d1d9-11ec-ad3d-da7ad0900002/clone" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/42519ea2-d1d9-11ec-ad3d-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-OK-response.json index 42cde8de2..37349770a 100644 --- a/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Create-a-new-role-by-cloning-an-existing-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_new_role_by_cloning_an_existing_role_returns_OK_response-1652349160\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_new_role_by_cloning_an_existing_role_returns_OK_response-1652349160 clone\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/436017a6-d1d9-11ec-ad3d-da7ad0900002/clone" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/43c71ad2-d1d9-11ec-ad3d-da7ad0900002" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/436017a6-d1d9-11ec-ad3d-da7ad0900002" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Create-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Create-role-returns-OK-response.json index 8f974122f..a8b49e67f 100644 --- a/tests/scenarios/cassettes/v2/roles/Create-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Create-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_role_returns_OK_response-1652349162\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/44c8b5ee-d1d9-11ec-ad3d-da7ad0900002" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Create-role-with-a-permission-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Create-role-with-a-permission-returns-OK-response.json index 99832a71c..6fd6186da 100644 --- a/tests/scenarios/cassettes/v2/roles/Create-role-with-a-permission-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Create-role-with-a-permission-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_role_with_a_permission_returns_OK_response-1713825704\"},\"relationships\":{\"permissions\":{\"data\":[{\"id\":\"6f66600e-dd12-11e8-9e55-7f30fbb45e73\",\"type\":\"permissions\"}]}},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/7faf4564-00f9-11ef-a1a3-da7ad0900002" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Delete-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Delete-role-returns-OK-response.json index 17532594d..8bfe9d2ce 100644 --- a/tests/scenarios/cassettes/v2/roles/Delete-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Delete-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_role_returns_OK_response-1652349164\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/458463ac-d1d9-11ec-ad3d-da7ad0900002" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/458463ac-d1d9-11ec-ad3d-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Get-a-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Get-a-role-returns-OK-response.json index 98df7b63a..17f6ed500 100644 --- a/tests/scenarios/cassettes/v2/roles/Get-a-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Get-a-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_a_role_returns_OK_response-1652349165\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/roles/466885b4-d1d9-11ec-ad3d-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/466885b4-d1d9-11ec-ad3d-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Get-all-users-of-a-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Get-all-users-of-a-role-returns-OK-response.json index ba9092d78..c261d02a0 100644 --- a/tests/scenarios/cassettes/v2/roles/Get-all-users-of-a-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Get-all-users-of-a-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_users_of_a_role_returns_OK_response-1652349167\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_all_users_of_a_role_returns_OK_response-1652349167@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"id\":\"4798bdaa-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/474eac06-d1d9-11ec-ad3d-da7ad0900002/users" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/roles/474eac06-d1d9-11ec-ad3d-da7ad0900002/users" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/4798bdaa-d1d9-11ec-ad3d-da7ad0900002" }, @@ -157,11 +128,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/474eac06-d1d9-11ec-ad3d-da7ad0900002" }, @@ -180,4 +147,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Grant-permission-to-a-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Grant-permission-to-a-role-returns-OK-response.json index 1e0647998..14e79ed1e 100644 --- a/tests/scenarios/cassettes/v2/roles/Grant-permission-to-a-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Grant-permission-to-a-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Grant_permission_to_a_role_returns_OK_response-1713825706\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"id\":\"6f66600e-dd12-11e8-9e55-7f30fbb45e73\",\"type\":\"permissions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/80374004-00f9-11ef-8230-da7ad0900002/permissions" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/80374004-00f9-11ef-8230-da7ad0900002" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/List-permissions-for-a-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/List-permissions-for-a-role-returns-OK-response.json index 10b9fcb21..567dab09a 100644 --- a/tests/scenarios/cassettes/v2/roles/List-permissions-for-a-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/List-permissions-for-a-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-List_permissions_for_a_role_returns_OK_response-1713825708\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"id\":\"6f66600e-dd12-11e8-9e55-7f30fbb45e73\",\"type\":\"permissions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/815c6a0e-00f9-11ef-a1a4-da7ad0900002/permissions" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/roles/815c6a0e-00f9-11ef-a1a4-da7ad0900002/permissions" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/815c6a0e-00f9-11ef-a1a4-da7ad0900002" }, @@ -154,4 +128,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/List-permissions-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/List-permissions-returns-OK-response.json index f8124bc16..62a1a6197 100644 --- a/tests/scenarios/cassettes/v2/roles/List-permissions-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/List-permissions-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/List-roles-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/List-roles-returns-OK-response.json index 2a6bc6df5..fd4941cee 100644 --- a/tests/scenarios/cassettes/v2/roles/List-roles-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/List-roles-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-List_roles_returns_OK_response-1652349174\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/roles?filter=Test-List_roles_returns_OK_response-1652349174" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/4bed0a96-d1d9-11ec-ad3d-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Remove-a-user-from-a-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Remove-a-user-from-a-role-returns-OK-response.json index e87ae3c8b..a94e53762 100644 --- a/tests/scenarios/cassettes/v2/roles/Remove-a-user-from-a-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Remove-a-user-from-a-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Remove_a_user_from_a_role_returns_OK_response-1652349176\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Remove_a_user_from_a_role_returns_OK_response-1652349176@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"id\":\"4d2043ce-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/4cd4ef1e-d1d9-11ec-ad3d-da7ad0900002/users" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"id\":\"4d2043ce-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/4cd4ef1e-d1d9-11ec-ad3d-da7ad0900002/users" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/4d2043ce-d1d9-11ec-ad3d-da7ad0900002" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/4cd4ef1e-d1d9-11ec-ad3d-da7ad0900002" }, @@ -186,4 +150,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-Bad-Request-response.json index 19a316edc..410cd7b90 100644 --- a/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Revoke_permission_returns_Bad_Request_response-1729701246\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"id\":\"11111111-dead-beef-dead-ffffffffffff\",\"type\":\"bad_permission_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/9f155b5c-915c-11ef-b749-da7ad0900002/permissions" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/9f155b5c-915c-11ef-b749-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-Not-found-response.json index 8d383c7d6..f9575123f 100644 --- a/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"id\":\"6f66600e-dd12-11e8-9e55-7f30fbb45e73\",\"type\":\"permissions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/00000000-dead-beef-dead-ffffffffffff/permissions" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-OK-response.json index 66da80af4..f250dde9c 100644 --- a/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Revoke-permission-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Revoke_permission_returns_OK_response-1713825711\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"id\":\"6f66600e-dd12-11e8-9e55-7f30fbb45e73\",\"type\":\"permissions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles/83470892-00f9-11ef-a8b2-da7ad0900002/permissions" }, @@ -102,14 +84,7 @@ "string": "{\"data\":{\"id\":\"6f66600e-dd12-11e8-9e55-7f30fbb45e73\",\"type\":\"permissions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/83470892-00f9-11ef-a8b2-da7ad0900002/permissions" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/83470892-00f9-11ef-a8b2-da7ad0900002" }, @@ -160,4 +131,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Bad-Request-response.json index 7bae1ab5d..8901b7071 100644 --- a/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_role_returns_Bad_Request_response-1661551042\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_role_returns_Bad_Request_response-1661551042-updated\"},\"id\":\"10475ae6-258a-11ed-b455-da7ad0900002\",\"relationships\":{\"permissions\":{\"data\":[{\"id\":\"11111111-dead-beef-dead-ffffffffffff\",\"type\":\"permissions\"}]}},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/roles/10475ae6-258a-11ed-b455-da7ad0900002" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/10475ae6-258a-11ed-b455-da7ad0900002" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Bad-Role-ID-response.json b/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Bad-Role-ID-response.json index 6f0cdf686..20b4ebe59 100644 --- a/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Bad-Role-ID-response.json +++ b/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Bad-Role-ID-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_role_returns_Bad_Role_ID_response-1713825714\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_role_returns_Bad_Role_ID_response-1713825714-updated\"},\"id\":\"00000000-dead-beef-dead-ffffffffffff\",\"relationships\":{\"permissions\":{\"data\":[{\"id\":\"6f66600e-dd12-11e8-9e55-7f30fbb45e73\",\"type\":\"permissions\"}]}},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/roles/84a464fa-00f9-11ef-935d-da7ad0900002" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/84a464fa-00f9-11ef-935d-da7ad0900002" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Not-found-response.json index 0f5099684..8db420bda 100644 --- a/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"updated\"},\"id\":\"00000000-dead-beef-dead-ffffffffffff\",\"relationships\":{\"permissions\":{\"data\":[{\"id\":\"6f66600e-dd12-11e8-9e55-7f30fbb45e73\",\"type\":\"permissions\"}]}},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/roles/00000000-dead-beef-dead-ffffffffffff" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-OK-response.json b/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-OK-response.json index 4d115eaef..1bf58e8d7 100644 --- a/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/roles/Update-a-role-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_role_returns_OK_response-1661551044\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/permissions" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_a_role_returns_OK_response-1661551044-updated\"},\"id\":\"11727e1e-258a-11ed-b455-da7ad0900002\",\"relationships\":{\"permissions\":{\"data\":[{\"id\":\"984a2bd4-d3b4-11e8-a1ff-a7f660d43029\",\"type\":\"permissions\"}]}},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/roles/11727e1e-258a-11ed-b455-da7ad0900002" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/11727e1e-258a-11ed-b455-da7ad0900002" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Aggregate-RUM-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/Aggregate-RUM-events-returns-OK-response.json index 7e71faef3..b91c9292c 100644 --- a/tests/scenarios/cassettes/v2/rum/Aggregate-RUM-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/Aggregate-RUM-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"compute\":[{\"aggregation\":\"pc90\",\"metric\":\"@view.time_spent\",\"type\":\"total\"}],\"filter\":{\"from\":\"now-15m\",\"query\":\"@type:view AND @session.type:user\",\"to\":\"now\"},\"group_by\":[{\"facet\":\"@view.time_spent\",\"limit\":10,\"total\":false}],\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":25}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/analytics/aggregate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Create-a-new-RUM-application-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/Create-a-new-RUM-application-returns-OK-response.json index 24e42b42e..0ef3042d1 100644 --- a/tests/scenarios/cassettes/v2/rum/Create-a-new-RUM-application-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/Create-a-new-RUM-application-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"test-rum-33452889744bdeee\",\"type\":\"ios\"},\"type\":\"rum_application_create\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/ee0b4d74-7159-4498-bec7-2b4f2b5ba642" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Create-a-new-RUM-application-with-Product-Scales-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/Create-a-new-RUM-application-with-Product-Scales-returns-OK-response.json index faff4fadf..af091d1fc 100644 --- a/tests/scenarios/cassettes/v2/rum/Create-a-new-RUM-application-with-Product-Scales-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/Create-a-new-RUM-application-with-Product-Scales-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"test-rum-with-product-scales-b91c7f54876a951d\",\"product_analytics_retention_state\":\"NONE\",\"rum_event_processing_state\":\"ERROR_FOCUSED_MODE\",\"type\":\"browser\"},\"type\":\"rum_application_create\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/51419fd9-a73f-4508-9f74-ad07d6669a47" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Delete-a-RUM-application-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/rum/Delete-a-RUM-application-returns-No-Content-response.json index 52c4c1a16..3933d0c0a 100644 --- a/tests/scenarios/cassettes/v2/rum/Delete-a-RUM-application-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/rum/Delete-a-RUM-application-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"test-rum-233b98774ce06558\",\"type\":\"ios\"},\"type\":\"rum_application_create\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/e095c068-b8e7-44bd-b263-557a6bb99e0c" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/e095c068-b8e7-44bd-b263-557a6bb99e0c" }, @@ -84,4 +69,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Delete-a-RUM-application-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum/Delete-a-RUM-application-returns-Not-Found-response.json index 3022ce555..e661a8c7e 100644 --- a/tests/scenarios/cassettes/v2/rum/Delete-a-RUM-application-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum/Delete-a-RUM-application-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/abcde-12345" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Get-a-RUM-application-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum/Get-a-RUM-application-returns-Not-Found-response.json index fb68c50f4..698399565 100644 --- a/tests/scenarios/cassettes/v2/rum/Get-a-RUM-application-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum/Get-a-RUM-application-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/applications/abcd1234-0000-0000-abcd-1234abcd5678" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Get-a-RUM-application-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/Get-a-RUM-application-returns-OK-response.json index f03cd6866..a2f8ed4aa 100644 --- a/tests/scenarios/cassettes/v2/rum/Get-a-RUM-application-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/Get-a-RUM-application-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"test-rum-4a6d822e36907848\",\"type\":\"ios\"},\"type\":\"rum_application_create\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/applications/60ddadf3-d37f-4d33-bdf1-f56b674ae8ed" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/60ddadf3-d37f-4d33-bdf1-f56b674ae8ed" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Get-a-list-of-RUM-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/rum/Get-a-list-of-RUM-events-returns-OK-response-with-pagination.json index 3df95c64e..1b6b16497 100644 --- a/tests/scenarios/cassettes/v2/rum/Get-a-list-of-RUM-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/rum/Get-a-list-of-RUM-events-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/events?page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/events?page%5Blimit%5D=2&page%5Bcursor%5D=eyJhZnRlciI6IkFRQUFBWUFkTzNLZnB6Zm5nQUFBQUFCQldVRmtUek5TVjBGQlEyOXBOa3BoY2sxZmRVMW5RVU0ifQ" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Get-a-list-of-RUM-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/Get-a-list-of-RUM-events-returns-OK-response.json index f16245c62..475e08a28 100644 --- a/tests/scenarios/cassettes/v2/rum/Get-a-list-of-RUM-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/Get-a-list-of-RUM-events-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/events" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/List-all-the-RUM-applications-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/List-all-the-RUM-applications-returns-OK-response.json index 6a24d7213..5fb62fac9 100644 --- a/tests/scenarios/cassettes/v2/rum/List-all-the-RUM-applications-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/List-all-the-RUM-applications-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"test-rum-a630eb80b3e09124\",\"type\":\"ios\"},\"type\":\"rum_application_create\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/cfc4270c-7df3-4a8b-a24a-20f2a25e15b2" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Search-RUM-events-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/rum/Search-RUM-events-returns-OK-response-with-pagination.json index a5111d003..61f84891c 100644 --- a/tests/scenarios/cassettes/v2/rum/Search-RUM-events-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/rum/Search-RUM-events-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@type:session AND @session.type:user\",\"to\":\"now\"},\"options\":{\"time_offset\":0,\"timezone\":\"GMT\"},\"page\":{\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/events/search" }, @@ -40,14 +33,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@type:session AND @session.type:user\",\"to\":\"now\"},\"options\":{\"time_offset\":0,\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWUFkeXBJYXB1d21Sd0FBQUFCeWMxOWlNVGcxTW1Fd1l5MDROV0V5TFRRNFlqWXRZak0wTnkxbVpUSXhN\",\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/events/search" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Search-RUM-events-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/Search-RUM-events-returns-OK-response.json index c2a2516fd..68eb5a6db 100644 --- a/tests/scenarios/cassettes/v2/rum/Search-RUM-events-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/Search-RUM-events-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@type:session AND @session.type:user\",\"to\":\"now\"},\"options\":{\"time_offset\":0,\"timezone\":\"GMT\"},\"page\":{\"limit\":25},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-returns-OK-response.json index 43b713145..6bf3f65fc 100644 --- a/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"test-rum-2befac64eeb0a1b0\",\"type\":\"ios\"},\"type\":\"rum_application_create\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"updated_name_for_my_existing_rum_application\",\"type\":\"browser\"},\"id\":\"94f76d3a-a8b2-4d1a-9938-771568a36f50\",\"type\":\"rum_application_update\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/applications/94f76d3a-a8b2-4d1a-9938-771568a36f50" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/94f76d3a-a8b2-4d1a-9938-771568a36f50" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-returns-Unprocessable-Entity-response.json b/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-returns-Unprocessable-Entity-response.json index 9e3e89d41..df89ee7bc 100644 --- a/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-returns-Unprocessable-Entity-response.json +++ b/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-returns-Unprocessable-Entity-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"test-rum-6fee7799535d7418\",\"type\":\"ios\"},\"type\":\"rum_application_create\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"id\":\"this_id_will_not_match\",\"type\":\"rum_application_update\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/applications/00f4c783-4371-4e5c-b2bf-acf591de6c0d" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/00f4c783-4371-4e5c-b2bf-acf591de6c0d" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-with-Product-Scales-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-with-Product-Scales-returns-OK-response.json index 23e6c535d..103fa6894 100644 --- a/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-with-Product-Scales-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum/Update-a-RUM-application-with-Product-Scales-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"test-rum-437f87a61b37ca7e\",\"type\":\"ios\"},\"type\":\"rum_application_create\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"updated_rum_with_product_scales\",\"product_analytics_retention_state\":\"MAX\",\"rum_event_processing_state\":\"ALL\"},\"id\":\"c82755b7-9938-4241-ae5a-24dd5760402b\",\"type\":\"rum_application_update\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/applications/c82755b7-9938-4241-ae5a-24dd5760402b" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/c82755b7-9938-4241-ae5a-24dd5760402b" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.json index 5413f06fa..bbc973a52 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"count\"},\"event_type\":\"action\",\"uniqueness\":{\"when\":\"match\"}},\"id\":\"rum.actions.invalid\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.json index 7ab721cbb..323972b1b 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Create_a_rum_based_metric_returns_Conflict_response-1732807878\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testcreatearumbasedmetricreturnsconflictresponse1732807878\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"count\"},\"event_type\":\"action\"},\"id\":\"testcreatearumbasedmetricreturnsconflictresponse1732807878\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testcreatearumbasedmetricreturnsconflictresponse1732807878" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.json index 5338025eb..6390b259e 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Create-a-rum-based-metric-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"@service:web-ui\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testcreatearumbasedmetricreturnscreatedresponse1747896106\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testcreatearumbasedmetricreturnscreatedresponse1747896106" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.json index 3828a0144..b4dc87602 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Delete_a_rum_based_metric_returns_No_Content_response-1732807880\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testdeletearumbasedmetricreturnsnocontentresponse1732807880\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testdeletearumbasedmetricreturnsnocontentresponse1732807880" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testdeletearumbasedmetricreturnsnocontentresponse1732807880" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.json index 8c02ea27d..6b1d5edce 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Delete-a-rum-based-metric-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test-Delete_a_rum_based_metric_returns_Not_Found_response-1732807881" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.json index ef34b59ad..114faedf4 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/Test-Get_a_rum_based_metric_returns_Not_Found_response-1732807881" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.json index a56bff91b..18a885ba2 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-a-rum-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Get_a_rum_based_metric_returns_OK_response-1732807882\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testgetarumbasedmetricreturnsokresponse1732807882\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testgetarumbasedmetricreturnsokresponse1732807882" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testgetarumbasedmetricreturnsokresponse1732807882" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.json index 7d0d8984e..8cb98a6f5 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Get-all-rum-based-metrics-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.json index 43d716544..9a5bf33fc 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Bad_Request_response-1732807883\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testupdatearumbasedmetricreturnsbadrequestresponse1732807883\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"include_percentiles\":true}},\"id\":\"rum.sessions.webui.count\",\"type\":\"unknown_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsbadrequestresponse1732807883" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsbadrequestresponse1732807883" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.json index 4acefaffd..3657ab282 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Conflict_response-1732807885\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testupdatearumbasedmetricreturnsconflictresponse1732807885\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"include_percentiles\":true}},\"id\":\"conflicting.id\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsconflictresponse1732807885" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsconflictresponse1732807885" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.json index bed35c40b..05f4c5386 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_Not_Found_response-1732807886\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testupdatearumbasedmetricreturnsnotfoundresponse1732807886\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"include_percentiles\":true}},\"id\":\"8fc991bf-967e-4652-8a5b-0711a985abe3\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/8fc991bf-967e-4652-8a5b-0711a985abe3" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsnotfoundresponse1732807886" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.json index af53b004d..be869a63c 100644 --- a/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum_metrics/Update-a-rum-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":true,\"path\":\"@duration\"},\"event_type\":\"session\",\"filter\":{\"query\":\"source:Test-Update_a_rum_based_metric_returns_OK_response-1732807887\"},\"group_by\":[{\"path\":\"@browser.name\",\"tag_name\":\"browser_name\"}],\"uniqueness\":{\"when\":\"match\"}},\"id\":\"testupdatearumbasedmetricreturnsokresponse1732807887\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"include_percentiles\":false},\"filter\":{\"query\":\"@service:rum-config\"},\"group_by\":[{\"path\":\"@browser.version\",\"tag_name\":\"browser_version\"}]},\"id\":\"testupdatearumbasedmetricreturnsokresponse1732807887\",\"type\":\"rum_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsokresponse1732807887" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/config/metrics/testupdatearumbasedmetricreturnsokresponse1732807887" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Bad-Request-response.json index e37c89dc5..bfa51b42d 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"event_type\":\"session\",\"name\":\"Test creating retention filter\",\"query\":\"\",\"sample_rate\":25},\"type\":\"invalid_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Created-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Created-response.json index d7f51a91b..13d7fc2f2 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"event_type\":\"session\",\"name\":\"Test creating retention filter\",\"query\":\"custom_query\",\"sample_rate\":50},\"type\":\"retention_filters\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-No-Content-response.json index 58ffbbeaa..2e8c4d3cd 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-No-Content-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/fe34ee09-14cf-4976-9362-08044c0dea80" }, @@ -26,4 +22,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-Not-Found-response.json index e03027806..558676d32 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Delete_a_RUM_retention_filter_returns_Not_Found_response-1741036883" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-Not-Found-response.json index 7d0aaf447..cd3cfd66f 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Get_a_RUM_retention_filter_returns_Not_Found_response-1741036883" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-OK-response.json index 766dd87ec..08ca02903 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/4b95d361-f65d-4515-9824-c9aaeba5ac2a" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Get-all-RUM-retention-filters-returns-OK-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Get-all-RUM-retention-filters-returns-OK-response.json index fa7b68f6f..6ad813fc9 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Get-all-RUM-retention-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Get-all-RUM-retention-filters-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/retention_filters" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Bad-Request-response.json index 759ecb3c0..c3f4a1aa4 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"id\":\"325631eb-94c9-49c0-93f9-ab7e4fd24529\",\"type\":\"retention_filters\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/relationships/retention_filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Ordered-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Ordered-response.json index ab44c57c8..7861d65a2 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Ordered-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Ordered-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"id\":\"325631eb-94c9-49c0-93f9-ab7e4fd24529\",\"type\":\"retention_filters\"},{\"id\":\"42d89430-5b80-426e-a44b-ba3b417ece25\",\"type\":\"retention_filters\"},{\"id\":\"bff0bc34-99e9-4c16-adce-f47e71948c23\",\"type\":\"retention_filters\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/relationships/retention_filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Bad-Request-response.json index 35cb2332c..b93c90705 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"event_type\":\"view\",\"name\":\"Test updating retention filter\",\"query\":\"\",\"sample_rate\":100},\"id\":\"Test-Update_a_RUM_retention_filter_returns_Bad_Request_response-1741206209\",\"type\":\"invalid_type\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Update_a_RUM_retention_filter_returns_Bad_Request_response-1741206209" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Not-Found-response.json index 1be75c0ca..bb6d3a243 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"event_type\":\"view\",\"name\":\"Test updating retention filter\",\"query\":\"\",\"sample_rate\":100},\"id\":\"Test-Update_a_RUM_retention_filter_returns_Not_Found_response-1741036884\",\"type\":\"retention_filters\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Update_a_RUM_retention_filter_returns_Not_Found_response-1741036884" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Updated-response.json b/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Updated-response.json index 7d56e7095..2bfe2bc7a 100644 --- a/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Updated-response.json +++ b/tests/scenarios/cassettes/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Updated-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"event_type\":\"view\",\"name\":\"Test updating retention filter\",\"query\":\"view_query\",\"sample_rate\":100},\"id\":\"4b95d361-f65d-4515-9824-c9aaeba5ac2a\",\"type\":\"retention_filters\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/4b95d361-f65d-4515-9824-c9aaeba5ac2a" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response-when-product-code-is-empty.json b/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response-when-product-code-is-empty.json index ee5ad386b..335ebe94d 100644 --- a/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response-when-product-code-is-empty.json +++ b/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response-when-product-code-is-empty.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_seats_to_users_returns_Unprocessable_Entity_response_when_product_code_is_empty-1770835177@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"product_code\":\"\",\"user_uuids\":[\"f9900642-4311-4d6a-836b-2f367a92c511\"]},\"type\":\"seat-assignments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/seats/users" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/f9900642-4311-4d6a-836b-2f367a92c511" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response-when-user-uuids-is-empty.json b/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response-when-user-uuids-is-empty.json index 296147f4a..71e4066d6 100644 --- a/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response-when-user-uuids-is-empty.json +++ b/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response-when-user-uuids-is-empty.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"product_code\":\"incident_response\",\"user_uuids\":[]},\"type\":\"seat-assignments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/seats/users" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response.json b/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response.json index 1ce68f748..a5e02480a 100644 --- a/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response.json +++ b/tests/scenarios/cassettes/v2/seats/Assign-seats-to-users-returns-Unprocessable-Entity-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"product_code\":\"\",\"user_uuids\":[\"\"]},\"type\":\"seat-assignments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/seats/users" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/seats/Get-users-with-seats-returns-Bad-Request-response-when-product-code-is-missing.json b/tests/scenarios/cassettes/v2/seats/Get-users-with-seats-returns-Bad-Request-response-when-product-code-is-missing.json index be5cc086a..92ecd4737 100644 --- a/tests/scenarios/cassettes/v2/seats/Get-users-with-seats-returns-Bad-Request-response-when-product-code-is-missing.json +++ b/tests/scenarios/cassettes/v2/seats/Get-users-with-seats-returns-Bad-Request-response-when-product-code-is-missing.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/seats/users" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/seats/Get-users-with-seats-returns-OK-response.json b/tests/scenarios/cassettes/v2/seats/Get-users-with-seats-returns-OK-response.json index bc1cf569b..8576dace3 100644 --- a/tests/scenarios/cassettes/v2/seats/Get-users-with-seats-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/seats/Get-users-with-seats-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/seats/users?product_code=incident_response&page%5Blimit%5D=100" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response-when-product-code-is-empty.json b/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response-when-product-code-is-empty.json index 5505cb1c3..e46ebbf48 100644 --- a/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response-when-product-code-is-empty.json +++ b/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response-when-product-code-is-empty.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Unassign_seats_from_users_returns_Unprocessable_Entity_response_when_product_code_is_empty-1770835180@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"product_code\":\"\",\"user_uuids\":[\"626a4e8e-64bd-409d-b80e-428f08ac0b62\"]},\"type\":\"seat-assignments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/seats/users" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/626a4e8e-64bd-409d-b80e-428f08ac0b62" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response-when-user-uuids-is-empty.json b/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response-when-user-uuids-is-empty.json index 6fdcb3cc9..33e2de52a 100644 --- a/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response-when-user-uuids-is-empty.json +++ b/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response-when-user-uuids-is-empty.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"product_code\":\"incident_response\",\"user_uuids\":[]},\"type\":\"seat-assignments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/seats/users" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response.json b/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response.json index 0c24f31cc..59863ad80 100644 --- a/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response.json +++ b/tests/scenarios/cassettes/v2/seats/Unassign-seats-from-users-returns-Unprocessable-Entity-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"product_code\":\"\",\"user_uuids\":[\"\"]},\"type\":\"seat-assignments\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/seats/users" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-finding-to-a-Jira-issue-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-finding-to-a-Jira-issue-returns-OK-response.json index 81e85f287..b5a3eb72a 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-finding-to-a-Jira-issue-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-finding-to-a-Jira-issue-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jira_issue_url\":\"https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105476\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"OTQ3NjJkMmYwMTIzMzMxNTc1Y2Q4MTA5NWU0NTBmMDl-ZjE3NjMxZWVkYzBjZGI1NDY2NWY2OGQxZDk4MDY4MmI=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-finding-to-a-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-finding-to-a-case-returns-OK-response.json index 7cf7423a6..ed6f534ba 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-finding-to-a-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-finding-to-a-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"7d16945b-baf8-411e-ab2a-20fe43af1ea3\",\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases/7d16945b-baf8-411e-ab2a-20fe43af1ea3" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-Bad-Request-response.json index da5c03a61..6c0202167 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jira_issue_url\":\"https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105476\"},\"relationships\":{\"findings\":{\"data\":[]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-Not-Found-response.json index 35bfff268..b69292d67 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jira_issue_url\":\"https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105476\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"wrong-finding-id\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-OK-response.json index 9786ff838..f43f44d9f 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-Jira-issue-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jira_issue_url\":\"https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105476\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"OTQ3NjJkMmYwMTIzMzMxNTc1Y2Q4MTA5NWU0NTBmMDl-ZjE3NjMxZWVkYzBjZGI1NDY2NWY2OGQxZDk4MDY4MmI=\",\"type\":\"findings\"},{\"id\":\"MTNjN2ZmYWMzMDIxYmU1ZDFiZDRjNWUwN2I1NzVmY2F-YTA3MzllMTUzNWM3NmEyZjdiNzEzOWM5YmViZTMzOGM=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-Bad-Request-response.json index 8d05d3778..f5769cdeb 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"7d16945b-baf8-411e-ab2a-20fe43af1ea3\",\"relationships\":{\"findings\":{\"data\":[]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases/7d16945b-baf8-411e-ab2a-20fe43af1ea3" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-Not-Found-response.json index 70beed0d8..d5f410752 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"wrong-case-id\",\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases/wrong-case-id" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-OK-response.json index 9101e40a1..3e1744aab 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Attach-security-findings-to-a-case-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"id\":\"7d16945b-baf8-411e-ab2a-20fe43af1ea3\",\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=\",\"type\":\"findings\"},{\"id\":\"MmUzMzZkODQ2YTI3NDU0OTk4NDk3NzhkOTY5YjU2Zjh-YWJjZGI1ODI4OTYzNWM3ZmUwZTBlOWRkYTRiMGUyOGQ=\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases/7d16945b-baf8-411e-ab2a-20fe43af1ea3" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Bulk-export-security-monitoring-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Bulk-export-security-monitoring-rules-returns-OK-response.json index 93b98c385..f17e976aa 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Bulk-export-security-monitoring-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Bulk-export-security-monitoring-rules-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Bulk_export_security_monitoring_rules_returns_OK_response-1768902892\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"ruleIds\":[\"ldv-a2n-sgu\"]},\"type\":\"security_monitoring_rules_bulk_export\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/zip, application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/bulk_export" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/ldv-a2n-sgu" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-Bad-Request-response.json index 76265e06a..0278afb40 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/inva-lid/cancel" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-Not-Found-response.json index b63adf7f9..a6f307145 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/8e2a37fb-b0c8-4761-a7f0-0a8d6a98ba93/cancel" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-OK-response.json index 54a0df55b..156683327 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Cancel-a-historical-job-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jobDefinition\":{\"cases\":[{\"condition\":\"a > 1\",\"name\":\"Condition 1\",\"notifications\":[],\"status\":\"info\"}],\"from\":1730387522611,\"index\":\"main\",\"message\":\"A large number of failed login attempts.\",\"name\":\"Excessive number of failed attempts.\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"query\":\"source:non_existing_src_weekend\"}],\"tags\":[],\"to\":1730387532611,\"type\":\"log_detection\"}},\"type\":\"historicalDetectionsJobCreate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/cafe565c-106b-486e-ad21-a712656723b4/cancel" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Change-the-related-incidents-of-a-security-signal-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Change-the-related-incidents-of-a-security-signal-returns-OK-response.json index 742312a6f..90659b65f 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Change-the-related-incidents-of-a-security-signal-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Change-the-related-incidents-of-a-security-signal-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"incident_ids\":[2066]}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals/AQAAAYG1bl5K4HuUewAAAABBWUcxYmw1S0FBQmt2RmhRN0V4ZUVnQUE/incidents" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Change-the-triage-state-of-a-security-signal-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Change-the-triage-state-of-a-security-signal-returns-OK-response.json index 421b032eb..d76681e01 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Change-the-triage-state-of-a-security-signal-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Change-the-triage-state-of-a-security-signal-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"archive_reason\":\"none\",\"state\":\"open\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals/AQAAAYG1bl5K4HuUewAAAABBWUcxYmw1S0FBQmt2RmhRN0V4ZUVnQUE/state" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Convert-a-job-result-to-a-signal-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Convert-a-job-result-to-a-signal-returns-Bad-Request-response.json index 2da3b2a58..10b52e048 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Convert-a-job-result-to-a-signal-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Convert-a-job-result-to-a-signal-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jobResultIds\":[\"\"],\"notifications\":[\"\"],\"signalMessage\":\"A large number of failed login attempts.\",\"signalSeverity\":\"critical\"},\"type\":\"historicalDetectionsJobResultSignalConversion\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/signal_convert" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Convert-a-rule-from-JSON-to-Terraform-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Convert-a-rule-from-JSON-to-Terraform-returns-OK-response.json index 1c04785cb..b753fe2af 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Convert-a-rule-from-JSON-to-Terraform-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Convert-a-rule-from-JSON-to-Terraform-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"_b87eac89722bbff0\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metric\":\"\",\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/convert" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Convert-an-existing-rule-from-JSON-to-Terraform-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Convert-an-existing-rule-from-JSON-to-Terraform-returns-OK-response.json index 6ce2fcec6..5246dd27d 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Convert-an-existing-rule-from-JSON-to-Terraform-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Convert-an-existing-rule-from-JSON-to-Terraform-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"_1166a375f2500467\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/shm-tx8-e8x/convert" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/shm-tx8-e8x" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issue-for-security-finding-returns-Created-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issue-for-security-finding-returns-Created-response.json index c572df92c..d26e19d6c 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issue-for-security-finding-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issue-for-security-finding-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YmNlZmJhYTcyMDU5ZDk0ZDhiNjRmNGI0NDk4MDdiNzN-MDJlMjg0NzNmYzJiODY2MzJkNjU0OTI4NmVhZTUyY2U=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YmNlZmJhYTcyMDU5ZDk0ZDhiNjRmNGI0NDk4MDdiNzN-MDJlMjg0NzNmYzJiODY2MzJkNjU0OTI4NmVhZTUyY2U=\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -66,4 +52,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issue-for-security-findings-returns-Created-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issue-for-security-findings-returns-Created-response.json index 188e99806..a6813d8e7 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issue-for-security-findings-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issue-for-security-findings-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"a3ZoLXNjbS14eXV-aS0wNWY5MGYwMGE4NDg2ODdlOA==\",\"type\":\"findings\"},{\"id\":\"eWswLWJsdC1hZm5-aS0wMjRlYTgwMzVkZTU1MGIwYQ==\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"a3ZoLXNjbS14eXV-aS0wNWY5MGYwMGE4NDg2ODdlOA==\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -66,4 +52,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Bad-Request-response.json index 555342e21..361e7e0ab 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{},\"relationships\":{\"findings\":{\"data\":[]},\"project\":{\"data\":{\"id\":\"7f198869-c7ef-4afc-97cf-da5cdc13b5c3\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Created-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Created-response.json index 96479a619..880c481cf 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"eWswLWJsdC1hZm5-aS0wMjRlYTgwMzVkZTU1MGIwYQ==\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"},{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"a3ZoLXNjbS14eXV-aS0wNWY5MGYwMGE4NDg2ODdlOA==\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"eWswLWJsdC1hZm5-aS0wMjRlYTgwMzVkZTU1MGIwYQ==\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -66,4 +52,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Not-Found-response.json index 8bb3d5fd1..80ff66bb1 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-Jira-issues-for-security-findings-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/jira_issues" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-cloud-configuration-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-cloud-configuration-rule-returns-OK-response.json index fbb6f1497..782ba9ab4 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-cloud-configuration-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-cloud-configuration-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"notifications\":[\"channel\"],\"status\":\"info\"}],\"complianceSignalOptions\":{\"userActivationStatus\":true,\"userGroupByFields\":[\"@account_id\"]},\"filters\":[{\"action\":\"require\",\"query\":\"resource_id:helo*\"},{\"action\":\"suppress\",\"query\":\"control:helo*\"}],\"isEnabled\":false,\"message\":\"ddd\",\"name\":\"Test-Create_a_cloud_configuration_rule_returns_OK_response-1715358867_cloud\",\"options\":{\"complianceRuleOptions\":{\"complexRule\":false,\"regoRule\":{\"policy\":\"package datadog\\n\\nimport data.datadog.output as dd_output\\n\\nimport future.keywords.contains\\nimport future.keywords.if\\nimport future.keywords.in\\n\\nmilliseconds_in_a_day := ((1000 * 60) * 60) * 24\\n\\neval(iam_service_account_key) = \\\"skip\\\" if {\\n\\tiam_service_account_key.disabled\\n} else = \\\"pass\\\" if {\\n\\t(iam_service_account_key.resource_seen_at / milliseconds_in_a_day) - (iam_service_account_key.valid_after_time / milliseconds_in_a_day) <= 90\\n} else = \\\"fail\\\"\\n\\n# This part remains unchanged for all rules\\nresults contains result if {\\n\\tsome resource in input.resources[input.main_resource_type]\\n\\tresult := dd_output.format(resource, eval(resource))\\n}\\n\",\"resourceTypes\":[\"gcp_compute_disk\"]},\"resourceType\":\"gcp_compute_disk\"}},\"tags\":[\"my:tag\"],\"type\":\"cloud_configuration\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/fy5-crt-9n1" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-critical-asset-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-critical-asset-returns-OK-response.json index 64d55d998..8afbb41a1 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-critical-asset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-critical-asset-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"query\":\"host:testcreateacriticalassetreturnsokresponse1767380942\",\"rule_query\":\"type:(log_detection OR signal_correlation OR workload_security OR application_security) source:cloudtrail\",\"severity\":\"decrease\",\"tags\":[\"team:security\",\"env:test\"]},\"type\":\"critical_assets\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/93d5a224-589d-4d6d-adbf-f6657f484ecc" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-Bad-Request-response.json index 8ce3fc193..aa4b31399 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-Conflict-response.json index 93c7e134a..0e4f30e00 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-OK-response.json index 67d9c86b4..0a07d1754 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-custom-framework-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-returns-Bad-Request-response.json index 1b29e792f..b07f075e2 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"status\":\"info\"}],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Create_a_detection_rule_returns_Bad_Request_response-1715358868\",\"options\":{},\"queries\":[{\"query\":\"\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-returns-OK-response.json index c6d636b8c..a0d7ed64f 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Create_a_detection_rule_returns_OK_response-1726078486\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metric\":\"\",\"query\":\"@test:true\"}],\"referenceTables\":[{\"checkPresence\":true,\"columnName\":\"value\",\"logFieldPath\":\"testtag\",\"ruleQueryName\":\"a\",\"tableName\":\"synthetics_test_reference_table_dont_delete\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/5br-mto-gse" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-anomaly-detection-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-anomaly-detection-returns-OK-response.json index 68db35951..faee7fefd 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-anomaly-detection-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-anomaly-detection-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0.995\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"An anomaly detection rule\",\"name\":\"Test-Create_a_detection_rule_with_detection_method_anomaly_detection_returns_OK_response-1765898340\",\"options\":{\"anomalyDetectionOptions\":{\"bucketDuration\":300,\"detectionTolerance\":3,\"learningDuration\":24,\"learningPeriodBaseline\":10},\"detectionMethod\":\"anomaly_detection\",\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"dataSource\":\"logs\",\"distinctFields\":[],\"groupByFields\":[\"@usr.email\",\"@network.client.ip\"],\"hasOptionalGroupByFields\":false,\"name\":\"\",\"query\":\"service:app status:error\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/0vk-kph-3ri" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-anomaly-detection-with-enabled-feature-instantaneousBaseline-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-anomaly-detection-with-enabled-feature-instantaneousBaseline-returns-OK-response.json index 7e5280ade..4a546d17d 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-anomaly-detection-with-enabled-feature-instantaneousBaseline-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-anomaly-detection-with-enabled-feature-instantaneousBaseline-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0.995\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"An anomaly detection rule\",\"name\":\"Test-Create_a_detection_rule_with_detection_method_anomaly_detection_with_enabled_feature_instantaneousBa-1770734913\",\"options\":{\"anomalyDetectionOptions\":{\"bucketDuration\":300,\"detectionTolerance\":3,\"instantaneousBaseline\":true,\"learningDuration\":24},\"detectionMethod\":\"anomaly_detection\",\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"dataSource\":\"logs\",\"distinctFields\":[],\"groupByFields\":[\"@usr.email\",\"@network.client.ip\"],\"hasOptionalGroupByFields\":false,\"name\":\"\",\"query\":\"service:app status:error\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/mtt-vs9-dyl" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-sequence-detection-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-sequence-detection-returns-OK-response.json index 985b8a29b..bdf2d3f60 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-sequence-detection-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-sequence-detection-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"step_b > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"isEnabled\":true,\"message\":\"Logs and signals asdf\",\"name\":\"Test-Create_a_detection_rule_with_detection_method_sequence_detection_returns_OK_response-1757691955\",\"options\":{\"detectionMethod\":\"sequence_detection\",\"evaluationWindow\":0,\"keepAlive\":300,\"maxSignalDuration\":600,\"sequenceDetectionOptions\":{\"stepTransitions\":[{\"child\":\"step_b\",\"evaluationWindow\":900,\"parent\":\"step_a\"}],\"steps\":[{\"condition\":\"a > 0\",\"evaluationWindow\":60,\"name\":\"step_a\"},{\"condition\":\"b > 0\",\"evaluationWindow\":60,\"name\":\"step_b\"}]}},\"queries\":[{\"aggregation\":\"count\",\"dataSource\":\"logs\",\"distinctFields\":[],\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"name\":\"\",\"query\":\"service:logs-rule-reducer source:paul test2\"},{\"aggregation\":\"count\",\"dataSource\":\"logs\",\"distinctFields\":[],\"groupByFields\":[],\"hasOptionalGroupByFields\":false,\"name\":\"\",\"query\":\"service:logs-rule-reducer source:paul test1\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/k0l-txb-xxx" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-third-party-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-third-party-returns-OK-response.json index 1c6f73120..7512acf64 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-third-party-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-detection-method-third-party-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[],\"isEnabled\":true,\"message\":\"This is a third party rule\",\"name\":\"Test-Create_a_detection_rule_with_detection_method_third_party_returns_OK_response-1725456730\",\"options\":{\"detectionMethod\":\"third_party\",\"keepAlive\":0,\"maxSignalDuration\":600,\"thirdPartyRuleOptions\":{\"defaultStatus\":\"info\",\"rootQueries\":[{\"groupByFields\":[\"instance-id\"],\"query\":\"source:guardduty @details.alertType:*EC2*\"},{\"groupByFields\":[],\"query\":\"source:guardduty\"}]}},\"queries\":[],\"thirdPartyCases\":[{\"name\":\"high\",\"query\":\"status:error\",\"status\":\"high\"},{\"name\":\"low\",\"query\":\"status:info\",\"status\":\"low\"}],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/rvf-kfc-pxh" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-application-security-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-application-security-returns-OK-response.json index dfd2b6703..5f2693c6f 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-application-security-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-application-security-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"actions\":[{\"options\":{\"duration\":900},\"type\":\"block_ip\"},{\"options\":{\"userBehaviorName\":\"behavior\"},\"type\":\"user_behavior\"},{\"options\":{\"flaggedIPType\":\"FLAGGED\"},\"type\":\"flag_ip\"}],\"condition\":\"a > 100000\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"groupSignalsBy\":[\"service\"],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Create_a_detection_rule_with_type_application_security_returns_OK_response-1752748524_appsec_rule\",\"options\":{\"detectionMethod\":\"threshold\",\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[\"service\",\"@http.client_ip\"],\"query\":\"@appsec.security_activity:business_logic.users.login.failure\"}],\"tags\":[],\"type\":\"application_security\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/wgo-lgy-ajy" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-impossible-travel-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-impossible-travel-returns-OK-response.json index f082e13f0..95c49a824 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-impossible-travel-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-impossible-travel-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"hasExtendedTitle\":true,\"isEnabled\":true,\"message\":\"test\",\"name\":\"Test-Create_a_detection_rule_with_type_impossible_travel_returns_OK_response-1715358870\",\"options\":{\"detectionMethod\":\"impossible_travel\",\"evaluationWindow\":900,\"impossibleTravelOptions\":{\"baselineUserLocations\":false},\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"geo_data\",\"distinctFields\":[],\"groupByFields\":[\"@usr.id\"],\"metric\":\"@network.client.geoip\",\"query\":\"*\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/u5e-13b-jgh" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-signal-correlation-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-signal-correlation-returns-OK-response.json index 0aa94a724..2e8878d7a 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-signal-correlation-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-signal-correlation-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Create_a_detection_rule_with_type_signal_correlation_returns_OK_response-1715358871\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -40,14 +33,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule Bis\",\"name\":\"Test-Create_a_detection_rule_with_type_signal_correlation_returns_OK_response-1715358871_bis\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:false\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -74,14 +60,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0 && b > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test signal correlation rule\",\"name\":\"Test-Create_a_detection_rule_with_type_signal_correlation_returns_OK_response-1715358871_signal_rule\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"event_count\",\"correlatedByFields\":[\"host\"],\"correlatedQueryIndex\":1,\"ruleId\":\"gl8-lry-akp\"},{\"aggregation\":\"event_count\",\"correlatedByFields\":[\"host\"],\"ruleId\":\"j2a-wag-ngu\"}],\"tags\":[],\"type\":\"signal_correlation\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/x0w-iu0-izf" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/j2a-wag-ngu" }, @@ -153,11 +124,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/gl8-lry-akp" }, @@ -176,4 +143,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-workload-security-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-workload-security-returns-OK-response.json index 9cc049179..c81ae3154 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-workload-security-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-detection-rule-with-type-workload-security-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Create_a_detection_rule_with_type_workload_security_returns_OK_response-1715358873\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metric\":\"\",\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"workload_security\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/rnw-pi4-anb" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-new-signal-based-notification-rule-returns-Successfully-created-the-notification-rule-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-new-signal-based-notification-rule-returns-Successfully-created-the-notification-rule-response.json index ce1ab58e0..bbc7c1abb 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-new-signal-based-notification-rule-returns-Successfully-created-the-notification-rule-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-new-signal-based-notification-rule-returns-Successfully-created-the-notification-rule-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/hvb-for-lpm" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-new-vulnerability-based-notification-rule-returns-Successfully-created-the-notification-rule-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-new-vulnerability-based-notification-rule-returns-Successfully-created-the-notification-rule-response.json index 22f0e6cfc..f4b44bef6 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-new-vulnerability-based-notification-rule-returns-Successfully-created-the-notification-rule-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-new-vulnerability-based-notification-rule-returns-Successfully-created-the-notification-rule-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/iwz-k3b-tpk" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-scheduled-detection-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-scheduled-detection-rule-returns-OK-response.json index 647cdb212..e289d76ab 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-scheduled-detection-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-scheduled-detection-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Create_a_scheduled_detection_rule_returns_OK_response-1760389905\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"indexes\":[\"main\"],\"query\":\"@test:true\"}],\"schedulingOptions\":{\"rrule\":\"FREQ=HOURLY;INTERVAL=2;\",\"start\":\"2025-06-18T12:00:00\",\"timezone\":\"Europe/Paris\"},\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/vgs-rrg-orf" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-scheduled-rule-without-rrule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-scheduled-rule-without-rrule-returns-Bad-Request-response.json index 420fd3323..9a3a3d942 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-scheduled-rule-without-rrule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-scheduled-rule-without-rrule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Create_a_scheduled_rule_without_rrule_returns_Bad_Request_response-1760389966\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"indexes\":[\"main\"],\"query\":\"@test:true\"}],\"schedulingOptions\":{\"start\":\"2025-06-18T12:00:00\",\"timezone\":\"Europe/Paris\"},\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-security-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-security-filter-returns-OK-response.json index f81115bb4..6568e27fe 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-security-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-security-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"exclusion_filters\":[{\"name\":\"Exclude staging\",\"query\":\"source:staging\"}],\"filtered_data_type\":\"logs\",\"is_enabled\":true,\"name\":\"Test-Create_a_security_filter_returns_OK_response-1715358874\",\"query\":\"service:TestCreateasecurityfilterreturnsOKresponse1715358874\"},\"type\":\"security_filters\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters/dfl-euq-jxj" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-suppression-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-suppression-rule-returns-OK-response.json index 7002abfde..a30710eac 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-suppression-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-suppression-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"This rule suppresses low-severity signals in staging environments.\",\"enabled\":true,\"expiration_date\":1764332845000,\"name\":\"Test-Create_a_suppression_rule_returns_OK_response-1762518445\",\"rule_query\":\"type:log_detection source:cloudtrail\",\"start_date\":1763382445000,\"suppression_query\":\"env:staging status:low\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/oxk-jlo-pc8" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-suppression-rule-with-an-exclusion-query-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-suppression-rule-with-an-exclusion-query-returns-OK-response.json index 0a7d91fd1..00b3ada8a 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-a-suppression-rule-with-an-exclusion-query-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-a-suppression-rule-with-an-exclusion-query-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"data_exclusion_query\":\"account_id:12345\",\"description\":\"This rule suppresses low-severity signals in staging environments.\",\"enabled\":true,\"expiration_date\":1734535475000,\"name\":\"Test-Create_a_suppression_rule_with_an_exclusion_query_returns_OK_response-1732721075\",\"rule_query\":\"type:log_detection source:cloudtrail\",\"start_date\":1733585075000},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rv5-3sh-tvp" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-case-for-security-finding-returns-Created-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-case-for-security-finding-returns-Created-response.json index e88f1359c..bbd393c00 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-case-for-security-finding-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-case-for-security-finding-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YjdhNDM3N2QyNTFjYmUwYTY3NDdhMTg0YTk2Yjg5MDl-ZjNmMzAwOTFkZDNhNGQzYzI0MzgxNTk4MjRjZmE2NzE=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"cases\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YjdhNDM3N2QyNTFjYmUwYTY3NDdhMTg0YTk2Yjg5MDl-ZjNmMzAwOTFkZDNhNGQzYzI0MzgxNTk4MjRjZmE2NzE=\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -66,4 +52,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-case-for-security-findings-returns-Created-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-case-for-security-findings-returns-Created-response.json index 83016cc16..5fee8f2c2 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-case-for-security-findings-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-case-for-security-findings-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZTd5LWNuYi1seWV-aS0wMjI2NGZjZjRmZWQ5ODMyMg==\",\"type\":\"findings\"},{\"id\":\"c2FuLXhyaS1kZnN-aS0wODM3MjVhMTM2MDExNzNkOQ==\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"cases\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZTd5LWNuYi1seWV-aS0wMjI2NGZjZjRmZWQ5ODMyMg==\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -66,4 +52,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Bad-Request-response.json index e53673e38..a32ce47a3 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{},\"relationships\":{\"findings\":{\"data\":[]},\"project\":{\"data\":{\"id\":\"7f198869-c7ef-4afc-97cf-da5cdc13b5c3\",\"type\":\"projects\"}}},\"type\":\"cases\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Created-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Created-response.json index 5f0fd75f8..313ebc607 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YjdhNDM3N2QyNTFjYmUwYTY3NDdhMTg0YTk2Yjg5MDl-ZjNmMzAwOTFkZDNhNGQzYzI0MzgxNTk4MjRjZmE2NzE=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"cases\"},{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"OGRlMDIwYzk4MjFmZTZiNTQwMzk2ZjUxNzg0MDc0NjR-MTk3Yjk4MDI4ZDQ4YzI2ZGZiMWJmMTNhNDEwZGZkYWI=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"cases\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YjdhNDM3N2QyNTFjYmUwYTY3NDdhMTg0YTk2Yjg5MDl-ZjNmMzAwOTFkZDNhNGQzYzI0MzgxNTk4MjRjZmE2NzE=\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -66,4 +52,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Not-Found-response.json index 453a763d3..6b13d30ca 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Create-cases-for-security-findings-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":[{\"attributes\":{},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"projects\"}}},\"type\":\"cases\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-critical-asset-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-critical-asset-returns-Not-Found-response.json index b25b0162a..60a6487f6 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-critical-asset-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-critical-asset-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-critical-asset-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-critical-asset-returns-OK-response.json index 43a99eb08..4996b4af1 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-critical-asset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-critical-asset-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"query\":\"security:monitoring\",\"rule_query\":\"source:k9\",\"severity\":\"medium\",\"tags\":[\"team:security\"]},\"type\":\"critical_assets\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/f340fbe7-ed28-466e-924e-7e23475dd405" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/f340fbe7-ed28-466e-924e-7e23475dd405" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-custom-framework-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-custom-framework-returns-Bad-Request-response.json index 0862471c4..c0814a203 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-custom-framework-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-custom-framework-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/handle-does-not-exist/version-does-not-exist" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-custom-framework-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-custom-framework-returns-OK-response.json index 2f61d566c..d6e0c816d 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-custom-framework-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-custom-framework-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-security-filter-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-security-filter-returns-No-Content-response.json index 43ecf74a9..dd5430d64 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-security-filter-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-security-filter-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"exclusion_filters\":[{\"name\":\"Exclude logs from staging\",\"query\":\"source:staging\"}],\"filtered_data_type\":\"logs\",\"is_enabled\":true,\"name\":\"Test-Delete_a_security_filter_returns_No_Content_response-1715358877\",\"query\":\"service:TestDeleteasecurityfilterreturnsNoContentresponse1715358877\"},\"type\":\"security_filters\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters/4ks-yda-fdg" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters/4ks-yda-fdg" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-signal-based-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-signal-based-notification-rule-returns-Not-Found-response.json index 8f65729a0..76b956b0e 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-signal-based-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-signal-based-notification-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/000-000-000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-signal-based-notification-rule-returns-Rule-successfully-deleted-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-signal-based-notification-rule-returns-Rule-successfully-deleted-response.json index cfae07050..de8783154 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-signal-based-notification-rule-returns-Rule-successfully-deleted-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-signal-based-notification-rule-returns-Rule-successfully-deleted-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Delete_a_signal_based_notification_rule_returns_Rule_successfully_deleted_response-1738763144\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"signal_correlation\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"]},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/x4n-qps-p3w" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/x4n-qps-p3w" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-suppression-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-suppression-rule-returns-OK-response.json index ac5c9e349..35701bad5 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-suppression-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-suppression-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Delete_a_suppression_rule_returns_OK_response-1769009704\",\"enabled\":true,\"name\":\"suppression cf0b1697c5006472\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/9e0-jx9-qxd" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/9e0-jx9-qxd" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-vulnerability-based-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-vulnerability-based-notification-rule-returns-Not-Found-response.json index 55fc44e23..dbf653703 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-vulnerability-based-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-vulnerability-based-notification-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/000-000-000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-vulnerability-based-notification-rule-returns-Rule-successfully-deleted-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-vulnerability-based-notification-rule-returns-Rule-successfully-deleted-response.json index 60f0f9274..31055e3d9 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-vulnerability-based-notification-rule-returns-Rule-successfully-deleted-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-a-vulnerability-based-notification-rule-returns-Rule-successfully-deleted-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Delete_a_vulnerability_based_notification_rule_returns_Rule_successfully_deleted_response-1738763147\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@email@email.com\"],\"time_aggregation\":86400},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/p3z-nij-ygf" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/p3z-nij-ygf" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-job-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-job-returns-Bad-Request-response.json index a65d874ac..8c727a4cb 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-job-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-job-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/inva-lid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-job-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-job-returns-Not-Found-response.json index 1e41aa4b4..042dbd574 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-job-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-job-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/8e2a37fb-b0c8-4761-a7f0-0a8d6a98ba93" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-rule-returns-OK-response.json index 65da2972b..8390f2e83 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Delete-an-existing-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Delete_an_existing_rule_returns_OK_response-1715358880\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/lty-ukr-dll" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/lty-ukr-dll" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-Bad-Request-response.json index 295b0578c..8aafbfed9 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-No-Content-response.json index 16eb8ed20..8a9555727 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YzM2MTFjYzcyNmY0Zjg4MTAxZmRlNjQ1MWU1ZGQwYzR-YzI5NzE5Y2Y4MzU4ZjliNzhkNjYxNTY0ODIzZDQ2YTM=\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -32,4 +25,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-Not-Found-response.json index 7033ad4a6..ee2ed51f4 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Detach-security-findings-from-their-case-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"wrong-finding-id\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/findings/cases" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-SBOM-returns-Not-found-asset-not-found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-SBOM-returns-Not-found-asset-not-found-response.json index 963077c0c..d7a26ca94 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-SBOM-returns-Not-found-asset-not-found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-SBOM-returns-Not-found-asset-not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/sboms/Host?filter%5Basset_name%5D=unknown-host" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-SBOM-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-SBOM-returns-OK-response.json index fa53f236f..eb53edcb3 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-SBOM-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-SBOM-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/sboms/Repository?filter%5Basset_name%5D=github.com%2Fdatadog%2Fdatadog-agent" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-cloud-configuration-rule-s-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-cloud-configuration-rule-s-details-returns-OK-response.json index d4b88cfd4..1e5dbda4c 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-cloud-configuration-rule-s-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-cloud-configuration-rule-s-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"notifications\":[\"channel\"],\"status\":\"info\"}],\"complianceSignalOptions\":{\"userActivationStatus\":true,\"userGroupByFields\":[\"@account_id\"]},\"isEnabled\":false,\"message\":\"Cloud configuration rule\",\"name\":\"Test-Get_a_cloud_configuration_rule_s_details_returns_OK_response-1715358882_cloud\",\"options\":{\"complianceRuleOptions\":{\"complexRule\":false,\"regoRule\":{\"policy\":\"package datadog\\n\\nimport data.datadog.output as dd_output\\n\\nimport future.keywords.contains\\nimport future.keywords.if\\nimport future.keywords.in\\n\\nmilliseconds_in_a_day := ((1000 * 60) * 60) * 24\\n\\neval(iam_service_account_key) = \\\"skip\\\" if {\\n\\tiam_service_account_key.disabled\\n} else = \\\"pass\\\" if {\\n\\t(iam_service_account_key.resource_seen_at / milliseconds_in_a_day) - (iam_service_account_key.valid_after_time / milliseconds_in_a_day) <= 90\\n} else = \\\"fail\\\"\\n\\n# This part remains unchanged for all rules\\nresults contains result if {\\n\\tsome resource in input.resources[input.main_resource_type]\\n\\tresult := dd_output.format(resource, eval(resource))\\n}\\n\",\"resourceTypes\":[\"gcp_compute_disk\"]},\"resourceType\":\"gcp_compute_disk\"}},\"tags\":[\"a:tag\"],\"type\":\"cloud_configuration\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/y8m-i7k-y9h" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/y8m-i7k-y9h" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-critical-asset-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-critical-asset-returns-Not-Found-response.json index 28f921920..82c0f1601 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-critical-asset-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-critical-asset-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/00000000-0000-0000-0000-000000000000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-critical-asset-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-critical-asset-returns-OK-response.json index c17446c01..81fc30296 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-critical-asset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-critical-asset-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"query\":\"security:monitoring\",\"rule_query\":\"source:k9\",\"severity\":\"medium\",\"tags\":[\"team:security\"]},\"type\":\"critical_assets\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/a9dfa43c-734a-4984-bed6-68934254cb59" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/a9dfa43c-734a-4984-bed6-68934254cb59" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-custom-framework-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-custom-framework-returns-Bad-Request-response.json index 3d9a43b72..dac8aae49 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-custom-framework-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-custom-framework-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/frame-does-not-exist/frame-does-not-exist" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-custom-framework-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-custom-framework-returns-OK-response.json index e73b4380a..a839ac299 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-custom-framework-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-custom-framework-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-finding-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-finding-returns-OK-response.json index cd02b2314..951a0f016 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-finding-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-finding-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/posture_management/findings/AgAAAYd59gjghzF52gAAAAAAAAAYAAAAAEFZZDU5Z2pnQUFCRTRvV1lFeEo4SlFBQQAAACQAAAAAMDE4NzdhMDEtMDRiYS00NTZlLWFmMzMtNTIxNmNkNjVlNDMz" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-Bad-Request-response.json index d680b266f..8af2ede4e 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/inva-lid" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-Not-Found-response.json index b0c20c188..525f05a2d 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/8e2a37fb-b0c8-4761-a7f0-0a8d6a98ba93" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-OK-response.json index 411a95781..8483228af 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-job-s-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jobDefinition\":{\"cases\":[{\"condition\":\"a > 1\",\"name\":\"Condition 1\",\"notifications\":[],\"status\":\"info\"}],\"from\":1730387522611,\"index\":\"main\",\"message\":\"A large number of failed login attempts.\",\"name\":\"Excessive number of failed attempts.\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"query\":\"source:non_existing_src_weekend\"}],\"tags\":[],\"to\":1730387532611,\"type\":\"log_detection\"}},\"type\":\"historicalDetectionsJobCreate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs/66896986-212c-4e6c-9890-14e5cfd0fc19" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-list-of-security-signals-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-list-of-security-signals-returns-OK-response-with-pagination.json index f8df041a4..0de1659bd 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-list-of-security-signals-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-list-of-security-signals-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"filter\":{\"from\":\"2022-04-13T11:17:57.080Z\",\"query\":\"security:attack status:high\",\"to\":\"2022-04-13T11:32:57.080Z\"},\"page\":{\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals/search" }, @@ -40,14 +33,7 @@ "string": "{\"filter\":{\"from\":\"2022-04-13T11:17:57.080Z\",\"query\":\"security:attack status:high\",\"to\":\"2022-04-13T11:32:57.080Z\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWUFlRFg2UlExTW1SUUFBQUFCQldVRmxSRmcyVWtGQlJEWk9ObWg0UkhOSU9HRjNRVUUifQ\",\"limit\":2},\"sort\":\"timestamp\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals/search" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-quick-list-of-security-signals-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-quick-list-of-security-signals-returns-OK-response-with-pagination.json index b99f2aecd..7b54f9586 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-quick-list-of-security-signals-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-quick-list-of-security-signals-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals?page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals?page%5Blimit%5D=2&page%5Bcursor%5D=eyJhZnRlciI6IkFRQUFBWUFlZHdCbC1Wd21VZ0FBQUFCQldVRmxaSGRDYkVGQlFXRkpURGgxTlZNMFFtTlJRVUUifQ" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-rule-s-details-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-rule-s-details-returns-Not-Found-response.json index 396dd7b45..3df53cb9a 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-rule-s-details-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-rule-s-details-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/abcde-12345" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-rule-s-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-rule-s-details-returns-OK-response.json index 50a365e2e..54bab5eee 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-rule-s-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-rule-s-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Get_a_rule_s_details_returns_OK_response-1715358883\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/1nj-egs-nfm" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/1nj-egs-nfm" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-security-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-security-filter-returns-OK-response.json index a7d1b54ef..1b520579f 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-security-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-security-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"exclusion_filters\":[{\"name\":\"Exclude logs from staging\",\"query\":\"source:staging\"}],\"filtered_data_type\":\"logs\",\"is_enabled\":true,\"name\":\"Test-Get_a_security_filter_returns_OK_response-1715358884\",\"query\":\"service:TestGetasecurityfilterreturnsOKresponse1715358884\"},\"type\":\"security_filters\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters/v1r-9ud-eh4" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters/v1r-9ud-eh4" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-signal-s-details-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-signal-s-details-returns-Not-Found-response.json index d66c4f92b..0b9dbe8ea 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-signal-s-details-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-signal-s-details-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals/AQAAAYNqUBVU4-rffwAAAABBWU5xVUJWVUFBQjJBd3ptCL3QUEm3nt2" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-signal-s-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-signal-s-details-returns-OK-response.json index 2cc3a9627..67c5380d7 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-signal-s-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-signal-s-details-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals/AQAAAYNqUBVU4-rffwAAAABBWU5xVUJWVUFBQjJBd3ptMDdQUnF3QUE" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-rule-returns-Not-Found-response.json index 1f2f827fa..bd6b4b3d8 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/this-does-not-exist" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-rule-returns-OK-response.json index e456719c7..bed44273c 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Get_a_suppression_rule_returns_OK_response-1769009705\",\"enabled\":true,\"name\":\"suppression 561a22ed12317d7c\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/k8l-r8a-pfs" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/k8l-r8a-pfs" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-s-version-history-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-s-version-history-returns-Not-Found-response.json index a1d09fc95..a727b7418 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-s-version-history-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-s-version-history-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/this-does-not-exist/version_history" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-s-version-history-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-s-version-history-returns-OK-response.json index c4b782150..55ee95c6e 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-s-version-history-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-a-suppression-s-version-history-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Get_a_suppression_s_version_history_returns_OK_response-1769009705\",\"enabled\":true,\"name\":\"suppression ee42c68404916b9e\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/joc-mpc-lbz/version_history" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/joc-mpc-lbz" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-critical-assets-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-critical-assets-returns-OK-response.json index aae73f500..8a73fe94e 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-critical-assets-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-critical-assets-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-security-filters-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-security-filters-returns-OK-response.json index 613023c66..c260ad7c7 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-security-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-security-filters-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-pagination.json index 6dc0531b8..e1d247286 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Get_all_suppression_rules_returns_OK_response_with_pagination-1769009706\",\"enabled\":true,\"name\":\"suppression 5a71acf7699e3a9e\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Get_all_suppression_rules_returns_OK_response_with_pagination-1769009706\",\"enabled\":true,\"name\":\"suppression2 5a71acf7699e3a9e\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions?page%5Bsize%5D=1&page%5Bnumber%5D=0&query=id%3Adgv-9mh-i77%20OR%20id%3A23j-s8c-mlt" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/23j-s8c-mlt" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/dgv-9mh-i77" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-sort-ascending.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-sort-ascending.json index 84c7fc4c2..36836c463 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-sort-ascending.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-sort-ascending.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Get_all_suppression_rules_returns_OK_response_with_sort_ascending-1769009706\",\"enabled\":true,\"name\":\"suppression 9acb44c7d1cc0bd2\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Get_all_suppression_rules_returns_OK_response_with_sort_ascending-1769009706\",\"enabled\":true,\"name\":\"suppression2 9acb44c7d1cc0bd2\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions?sort=name&query=id%3Ax91-nfr-3ws%20OR%20id%3A4ni-qbs-lxd" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/4ni-qbs-lxd" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/x91-nfr-3ws" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-sort-descending.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-sort-descending.json index 3396b016f..8d1dc1f72 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-sort-descending.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-all-suppression-rules-returns-OK-response-with-sort-descending.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Get_all_suppression_rules_returns_OK_response_with_sort_descending-1769009707\",\"enabled\":true,\"name\":\"suppression 4668d111f32d9934\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Get_all_suppression_rules_returns_OK_response_with_sort_descending-1769009707\",\"enabled\":true,\"name\":\"suppression2 4668d111f32d9934\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions?sort=-name&query=id%3Amru-avx-npf%20OR%20id%3Aqjl-xxu-vlo" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/qjl-xxu-vlo" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/mru-avx-npf" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-critical-assets-affecting-a-specific-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-critical-assets-affecting-a-specific-rule-returns-Not-Found-response.json index 96c5407c9..9d307f1c8 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-critical-assets-affecting-a-specific-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-critical-assets-affecting-a-specific-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/rules/aaa-bbb-ccc-ddd" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-critical-assets-affecting-a-specific-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-critical-assets-affecting-a-specific-rule-returns-OK-response.json index 0d6b0a742..41e2b0a22 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-critical-assets-affecting-a-specific-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-critical-assets-affecting-a-specific-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Get_critical_assets_affecting_a_specific_rule_returns_OK_response-1767380955\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/rules/kcp-m1q-tmu" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/kcp-m1q-tmu" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-signal-based-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-signal-based-notification-rule-returns-Not-Found-response.json index df5ffc50d..244de9ddc 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-signal-based-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-signal-based-notification-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/000-000-000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-signal-based-notification-rule-returns-Notification-rule-details-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-signal-based-notification-rule-returns-Notification-rule-details-response.json index 58f6b1894..8159c4575 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-signal-based-notification-rule-returns-Notification-rule-details-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-signal-based-notification-rule-returns-Notification-rule-details-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Get_details_of_a_signal_based_notification_rule_returns_Notification_rule_details_response-1738763161\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"signal_correlation\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"]},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/tcf-juk-5tr" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/tcf-juk-5tr" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-vulnerability-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-vulnerability-notification-rule-returns-Not-Found-response.json index 738cb8ce6..36372aee7 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-vulnerability-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-vulnerability-notification-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/000-000-000" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-vulnerability-notification-rule-returns-Notification-rule-details-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-vulnerability-notification-rule-returns-Notification-rule-details-response.json index 765596b51..fa5391dee 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-vulnerability-notification-rule-returns-Notification-rule-details-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-details-of-a-vulnerability-notification-rule-returns-Notification-rule-details-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Get_details_of_a_vulnerability_notification_rule_returns_Notification_rule_details_response-1738763163\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@email@email.com\"],\"time_aggregation\":86400},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/ryn-rs2-tef" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/ryn-rs2-tef" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-rule-version-history-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-rule-version-history-returns-OK-response.json index ffbcb5816..b1a84c9c1 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-rule-version-history-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-rule-version-history-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Get_rule_version_history_returns_OK_response-1738708757\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/gvq-qqd-jc7/version_history" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/gvq-qqd-jc7" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-a-specific-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-a-specific-rule-returns-Not-Found-response.json index f791180a6..ef421f0af 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-a-specific-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-a-specific-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rules/aaa-bbb-ccc-ddd" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-a-specific-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-a-specific-rule-returns-OK-response.json index c4393a2b3..3ab2d1fb5 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-a-specific-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-a-specific-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Get_suppressions_affecting_a_specific_rule_returns_OK_response-1756554050\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rules/wrh-hm6-4zf" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/wrh-hm6-4zf" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-future-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-future-rule-returns-Bad-Request-response.json index 66ce9c7b6..09b5cfcec 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-future-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-future-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"invalid_key\":\"invalid_value\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rules" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-future-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-future-rule-returns-OK-response.json index 3d847a0cf..f80e69819 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-future-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-suppressions-affecting-future-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Get_suppressions_affecting_future_rule_returns_OK_response-1756567801\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/rules" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-the-list-of-signal-based-notification-rules-returns-The-list-of-notification-rules-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-the-list-of-signal-based-notification-rules-returns-The-list-of-notification-rules-response.json index 119f50837..01fe92eb3 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-the-list-of-signal-based-notification-rules-returns-The-list-of-notification-rules-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-the-list-of-signal-based-notification-rules-returns-The-list-of-notification-rules-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Get_the_list_of_signal_based_notification_rules_returns_The_list_of_notification_rules_response-1738763164\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"signal_correlation\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"]},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/btd-udo-vn7" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Get-the-list-of-vulnerability-notification-rules-returns-The-list-of-notification-rules-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Get-the-list-of-vulnerability-notification-rules-returns-The-list-of-notification-rules-response.json index 22f0ddc75..f8fcb20db 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Get-the-list-of-vulnerability-notification-rules-returns-The-list-of-notification-rules-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Get-the-list-of-vulnerability-notification-rules-returns-The-list-of-notification-rules-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Get_the_list_of_vulnerability_notification_rules_returns_The_list_of_notification_rules_response-1738763165\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@email@email.com\"],\"time_aggregation\":86400},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/jl2-gq4-vr0" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-assets-SBOMs-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-assets-SBOMs-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json index f99fc9b10..0fa1ef5ec 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-assets-SBOMs-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-assets-SBOMs-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/sboms?page%5Btoken%5D=unknown&page%5Bnumber%5D=1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-assets-SBOMs-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-assets-SBOMs-returns-OK-response.json index e33bc98cb..4a478a848 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-assets-SBOMs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-assets-SBOMs-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/sboms?filter%5Bpackage_name%5D=pandas&filter%5Basset_type%5D=Service" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-findings-returns-OK-response-with-details.json b/tests/scenarios/cassettes/v2/security_monitoring/List-findings-returns-OK-response-with-details.json index 46782bfc7..a59eafa54 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-findings-returns-OK-response-with-details.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-findings-returns-OK-response-with-details.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/posture_management/findings?detailed_findings=true" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-findings-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-findings-returns-OK-response.json index 0b7853d0a..649dd2485 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-findings-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-findings-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/posture_management/findings" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-findings-with-detection-type-query-param-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-findings-with-detection-type-query-param-returns-OK-response.json index c720fc4a7..02b0a5c2e 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-findings-with-detection-type-query-param-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-findings-with-detection-type-query-param-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/posture_management/findings?filter%5Bvulnerability_type%5D=misconfiguration&filter%5Bvulnerability_type%5D=attack_path" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-historical-jobs-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-historical-jobs-returns-OK-response.json index 7b0da8a19..1d7895dd9 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-historical-jobs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-historical-jobs-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jobDefinition\":{\"cases\":[{\"condition\":\"a > 1\",\"name\":\"Condition 1\",\"notifications\":[],\"status\":\"info\"}],\"from\":1730387522611,\"index\":\"main\",\"message\":\"A large number of failed login attempts.\",\"name\":\"Excessive number of failed attempts.\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"query\":\"source:non_existing_src_weekend\"}],\"tags\":[],\"to\":1730387532611,\"type\":\"log_detection\"}},\"type\":\"historicalDetectionsJobCreate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs?filter%5Bquery%5D=id%3Ac3564eed-ff70-43e1-ab6f-593de95bd21f" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-resource-filters-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-resource-filters-returns-Bad-Request-response.json index 1c611f93d..171406878 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-resource-filters-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-resource-filters-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/resource_filters?account_id=123456789" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-resource-filters-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-resource-filters-returns-OK-response.json index 470b2dce2..14c8047c8 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-resource-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-resource-filters-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/resource_filters?cloud_provider=aws&account_id=123456789" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-rules-returns-OK-response.json index fb2987954..754a92b9d 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-rules-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-scanned-assets-metadata-returns-Not-found-asset-not-found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-scanned-assets-metadata-returns-Not-found-asset-not-found-response.json index 68b7d6ae3..c6e982c1e 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-scanned-assets-metadata-returns-Not-found-asset-not-found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-scanned-assets-metadata-returns-Not-found-asset-not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/scanned-assets-metadata?page%5Btoken%5D=unknown&page%5Bnumber%5D=1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-scanned-assets-metadata-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-scanned-assets-metadata-returns-OK-response.json index 07cfae5e7..842cd2766 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-scanned-assets-metadata-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-scanned-assets-metadata-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/scanned-assets-metadata" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-Bad-Request-response.json index cc5af7084..72762ffe4 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/findings?page%5Bcursor%5D=invalid_cursor" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-OK-response-with-pagination.json index a44d56efc..b6e1597e3 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/findings?page%5Blimit%5D=5" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-OK-response.json index a930e5201..32db71a82 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-security-findings-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/findings" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerabilities-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerabilities-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json index 3abfc6a2a..7f8c93dc7 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerabilities-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerabilities-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities?page%5Btoken%5D=unknown&page%5Bnumber%5D=1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerabilities-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerabilities-returns-OK-response.json index eb809dfe9..3d3b146d0 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerabilities-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerabilities-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities?filter%5Bcvss.base.severity%5D=High&filter%5Basset.type%5D=Service&filter%5Btool%5D=Infra" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerable-assets-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerable-assets-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json index 268a40f41..0b25ba64c 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerable-assets-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerable-assets-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/vulnerable-assets?page%5Btoken%5D=unknown&page%5Bnumber%5D=1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerable-assets-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerable-assets-returns-OK-response.json index 3ae29d55e..e949af878 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerable-assets-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/List-vulnerable-assets-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/security/vulnerable-assets?filter%5Btype%5D=Host&filter%5Brepository_url%5D=github.com%2Fdatadog%2Fdd-go&filter%5Brisks.in_production%5D=true" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Modify-the-triage-assignee-of-a-security-signal-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Modify-the-triage-assignee-of-a-security-signal-returns-OK-response.json index fde6d57dd..5fc2eb4ac 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Modify-the-triage-assignee-of-a-security-signal-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Modify-the-triage-assignee-of-a-security-signal-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"assignee\":{\"uuid\":\"\"}}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/signals/AQAAAYG1bl5K4HuUewAAAABBWUcxYmw1S0FBQmt2RmhRN0V4ZUVnQUE/assignee" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Mute-or-unmute-a-batch-of-findings-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Mute-or-unmute-a-batch-of-findings-returns-OK-response.json index d3e7d13d1..f76050e2f 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Mute-or-unmute-a-batch-of-findings-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Mute-or-unmute-a-batch-of-findings-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"mute\":{\"expiration_date\":1778721573794,\"muted\":true,\"reason\":\"ACCEPTED_RISK\"}},\"id\":\"dbe5f567-192b-4404-b908-29b70e1c9f76\",\"meta\":{\"findings\":[{\"finding_id\":\"ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==\"}]},\"type\":\"finding\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/posture_management/findings" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Bad-Request-response.json index e4fe2c3ea..dcbc311d8 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Patch_a_signal_based_notification_rule_returns_Bad_Request_response-1738763171\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"signal_correlation\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"]},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400},\"id\":\"aaa-bbb-ccc\",\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/uwx-6n1-x2z" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/uwx-6n1-x2z" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Not-Found-response.json index ddf989558..dc92e0f33 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400,\"version\":1},\"id\":\"aaa-bbb-ccc\",\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/000-000-000" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Notification-rule-successfully-patched-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Notification-rule-successfully-patched-response.json index 64362b7f8..3ebe6ea89 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Notification-rule-successfully-patched-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-signal-based-notification-rule-returns-Notification-rule-successfully-patched-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Patch_a_signal_based_notification_rule_returns_Notification_rule_successfully_patched_response-1738763172\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"signal_correlation\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_signals\"},\"targets\":[\"@email@email.com\"]},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400,\"version\":1},\"id\":\"aaa-bbb-ccc\",\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/ob0-6ru-hc6" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/signals/notification_rules/ob0-6ru-hc6" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Bad-Request-response.json index e045d4bdc..794cbf654 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Patch_a_vulnerability_based_notification_rule_returns_Bad_Request_response-1738763174\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@email@email.com\"],\"time_aggregation\":86400},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400},\"id\":\"aaa-bbb-ccc\",\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/flc-8up-dya" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/flc-8up-dya" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Not-Found-response.json index 0c6f0368c..c4f25cbcf 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400,\"version\":1},\"id\":\"aaa-bbb-ccc\",\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/000-000-000" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Notification-rule-successfully-patched-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Notification-rule-successfully-patched-response.json index 5e3f9c34a..9d6bbc198 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Notification-rule-successfully-patched-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Patch-a-vulnerability-based-notification-rule-returns-Notification-rule-successfully-patched-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Patch_a_vulnerability_based_notification_rule_returns_Notification_rule_successfully_patched_respons-1738763175\",\"selectors\":{\"query\":\"env:test\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@email@email.com\"],\"time_aggregation\":86400},\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Rule 1\",\"selectors\":{\"query\":\"(source:production_service OR env:prod)\",\"rule_types\":[\"misconfiguration\",\"attack_path\"],\"severities\":[\"critical\"],\"trigger_source\":\"security_findings\"},\"targets\":[\"@john.doe@email.com\"],\"time_aggregation\":86400,\"version\":1},\"id\":\"aaa-bbb-ccc\",\"type\":\"notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/tnd-jgq-yl5" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security/vulnerabilities/notification_rules/tnd-jgq-yl5" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Bad-Request-response.json index 94074209b..f52886d08 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jobDefinition\":{\"cases\":[{\"condition\":\"a > 1\",\"name\":\"Condition 1\",\"notifications\":[],\"status\":\"info\"}],\"from\":1730387522611,\"index\":\"non_existing_index\",\"message\":\"A large number of failed login attempts.\",\"name\":\"Excessive number of failed attempts.\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"query\":\"source:non_existing_src_weekend\"}],\"tags\":[],\"to\":1730391122611,\"type\":\"log_detection\"}},\"type\":\"historicalDetectionsJobCreate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Not-Found-response.json index 35ea208bf..d50ee18dc 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"fromRule\":{\"from\":1730201035064,\"id\":\"non-existng\",\"index\":\"main\",\"notifications\":[],\"to\":1730204635115}},\"type\":\"historicalDetectionsJobCreate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Status-created-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Status-created-response.json index 366c5dbfe..24289479a 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Status-created-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Run-a-threat-hunting-job-returns-Status-created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"jobDefinition\":{\"cases\":[{\"condition\":\"a > 1\",\"name\":\"Condition 1\",\"notifications\":[],\"status\":\"info\"}],\"from\":1730387522611,\"index\":\"main\",\"message\":\"A large number of failed login attempts.\",\"name\":\"Excessive number of failed attempts.\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"query\":\"source:non_existing_src_weekend\"}],\"tags\":[],\"to\":1730387532611,\"type\":\"log_detection\"}},\"type\":\"historicalDetectionsJobCreate\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/siem-threat-hunting/jobs" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-Bad-Request-response.json index f7c503fbf..5e18350cc 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"page\":{\"cursor\":\"invalid_cursor\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-OK-response-with-pagination.json index 441714df1..e5ba42d2c 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":\"@severity:(critical OR high)\",\"page\":{\"limit\":1}}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-OK-response.json index 44ddbf674..e86782768 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Search-security-findings-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":\"@severity:(critical OR high)\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security/findings/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Test-a-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Test-a-rule-returns-OK-response.json index 35bac204b..f773e53f5 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Test-a-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Test-a-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"rule\":{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"hasExtendedTitle\":true,\"isEnabled\":true,\"message\":\"My security monitoring rule message.\",\"name\":\"My security monitoring rule.\",\"options\":{\"decreaseCriticalityBasedOnEnv\":false,\"detectionMethod\":\"threshold\",\"evaluationWindow\":0,\"keepAlive\":0,\"maxSignalDuration\":0},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[\"@userIdentity.assumed_role\"],\"name\":\"\",\"query\":\"source:source_here\"}],\"tags\":[\"env:prod\",\"team:security\"],\"type\":\"log_detection\"},\"ruleQueryPayloads\":[{\"expectedResult\":true,\"index\":0,\"payload\":{\"ddsource\":\"source_here\",\"ddtags\":\"env:staging,version:5.1\",\"hostname\":\"i-012345678\",\"message\":\"2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World\",\"service\":\"payment\",\"userIdentity\":{\"assumed_role\":\"fake assumed_role\"}}}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/test" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-cloud-configuration-rule-s-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-cloud-configuration-rule-s-details-returns-OK-response.json index 15b2d2a99..44487c7a0 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-cloud-configuration-rule-s-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-cloud-configuration-rule-s-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"notifications\":[\"channel\"],\"status\":\"info\"}],\"complianceSignalOptions\":{\"userActivationStatus\":true,\"userGroupByFields\":[\"@account_id\"]},\"isEnabled\":false,\"message\":\"Cloud configuration rule\",\"name\":\"Test-Update_a_cloud_configuration_rule_s_details_returns_OK_response-1732283527_cloud\",\"options\":{\"complianceRuleOptions\":{\"complexRule\":false,\"regoRule\":{\"policy\":\"package datadog\\n\\nimport data.datadog.output as dd_output\\n\\nimport future.keywords.contains\\nimport future.keywords.if\\nimport future.keywords.in\\n\\nmilliseconds_in_a_day := ((1000 * 60) * 60) * 24\\n\\neval(iam_service_account_key) = \\\"skip\\\" if {\\n\\tiam_service_account_key.disabled\\n} else = \\\"pass\\\" if {\\n\\t(iam_service_account_key.resource_seen_at / milliseconds_in_a_day) - (iam_service_account_key.valid_after_time / milliseconds_in_a_day) <= 90\\n} else = \\\"fail\\\"\\n\\n# This part remains unchanged for all rules\\nresults contains result if {\\n\\tsome resource in input.resources[input.main_resource_type]\\n\\tresult := dd_output.format(resource, eval(resource))\\n}\\n\",\"resourceTypes\":[\"gcp_compute_disk\"]},\"resourceType\":\"gcp_compute_disk\"}},\"tags\":[\"a:tag\"],\"type\":\"cloud_configuration\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -40,14 +33,7 @@ "string": "{\"cases\":[{\"notifications\":[],\"status\":\"info\"}],\"complianceSignalOptions\":{\"userActivationStatus\":false,\"userGroupByFields\":[]},\"isEnabled\":false,\"message\":\"ddd\",\"name\":\"Test-Update_a_cloud_configuration_rule_s_details_returns_OK_response-1732283527_cloud_updated\",\"options\":{\"complianceRuleOptions\":{\"regoRule\":{\"policy\":\"package datadog\\n\\nimport data.datadog.output as dd_output\\n\\nimport future.keywords.contains\\nimport future.keywords.if\\nimport future.keywords.in\\n\\nmilliseconds_in_a_day := ((1000 * 60) * 60) * 24\\n\\neval(iam_service_account_key) = \\\"skip\\\" if {\\n\\tiam_service_account_key.disabled\\n} else = \\\"pass\\\" if {\\n\\t(iam_service_account_key.resource_seen_at / milliseconds_in_a_day) - (iam_service_account_key.valid_after_time / milliseconds_in_a_day) <= 90\\n} else = \\\"fail\\\"\\n\\n# This part remains unchanged for all rules\\nresults contains result if {\\n\\tsome resource in input.resources[input.main_resource_type]\\n\\tresult := dd_output.format(resource, eval(resource))\\n}\\n\",\"resourceTypes\":[\"gcp_compute_disk\"]},\"resourceType\":\"gcp_compute_disk\"}},\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/uao-sdg-mt8" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/uao-sdg-mt8" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-Bad-Request-response.json index f2d11119d..8684fc3da 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"severity\":\"invalid_severity\"},\"type\":\"critical_assets\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/00000000-0000-0000-0000-000000000000" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-Not-Found-response.json index 8c1a5aade..3c1df9cb9 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"severity\":\"high\"},\"type\":\"critical_assets\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/00000000-0000-0000-0000-000000000001" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-OK-response.json index aa1735704..8d7b29387 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-critical-asset-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"query\":\"security:monitoring\",\"rule_query\":\"source:k9\",\"severity\":\"medium\",\"tags\":[\"team:security\"]},\"type\":\"critical_assets\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":false,\"query\":\"no:alert\",\"rule_query\":\"type:(log_detection OR signal_correlation OR workload_security OR application_security) ruleId:djg-ktx-ipq\",\"severity\":\"decrease\",\"tags\":[\"env:production\"],\"version\":1},\"type\":\"critical_assets\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/8fb467ae-b5c8-4bb1-822d-7648fe10a912" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/critical_assets/8fb467ae-b5c8-4bb1-822d-7648fe10a912" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-custom-framework-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-custom-framework-returns-Bad-Request-response.json index 3dcbc30d7..b19a3d229 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-custom-framework-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-custom-framework-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"\",\"name\":\"\",\"requirements\":[{\"controls\":[{\"name\":\"\",\"rules_id\":[\"\"]}],\"name\":\"\"}],\"version\":\"\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-custom-framework-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-custom-framework-returns-OK-response.json index d8cd17fe9..fde559c60 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-custom-framework-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-custom-framework-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"create-framework-new\",\"icon_url\":\"test-url\",\"name\":\"name\",\"requirements\":[{\"controls\":[{\"name\":\"control\",\"rules_id\":[\"def-000-be9\"]}],\"name\":\"requirement\"}],\"version\":\"10\"},\"type\":\"custom_framework\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/custom_frameworks/create-framework-new/10" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-security-filter-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-security-filter-returns-OK-response.json index e03ec938a..0bb42750f 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-security-filter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-security-filter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"exclusion_filters\":[{\"name\":\"Exclude logs from staging\",\"query\":\"source:staging\"}],\"filtered_data_type\":\"logs\",\"is_enabled\":true,\"name\":\"Test-Update_a_security_filter_returns_OK_response-1715358890\",\"query\":\"service:TestUpdateasecurityfilterreturnsOKresponse1715358890\"},\"type\":\"security_filters\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"exclusion_filters\":[],\"filtered_data_type\":\"logs\",\"is_enabled\":true,\"name\":\"Test-Update_a_security_filter_returns_OK_response-1715358890\",\"query\":\"service:TestUpdateasecurityfilterreturnsOKresponse1715358890\",\"version\":1},\"type\":\"security_filters\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters/kk9-x1s-rgi" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/security_filters/kk9-x1s-rgi" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-suppression-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-suppression-rule-returns-OK-response.json index d9b59a665..62608b1b7 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-a-suppression-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-a-suppression-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Test-Update_a_suppression_rule_returns_OK_response-1769009707\",\"enabled\":true,\"name\":\"suppression 181539185fcb1be7\",\"rule_query\":\"source:cloudtrail\",\"suppression_query\":\"env:test\",\"tags\":[\"technique:T1110-brute-force\",\"source:cloudtrail\"]},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"suppression_query\":\"env:staging status:low\"},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/h6t-xj1-5jw" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/h6t-xj1-5jw" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-Bad-Request-response.json index 0ece78856..aaaf1d633 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Update_an_existing_rule_returns_Bad_Request_response-1715358893\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -40,14 +33,7 @@ "string": "{\"cases\":[{\"status\":\"info\"}],\"isEnabled\":true,\"message\":\"Test rule Bad\",\"name\":\"Test-Update_an_existing_rule_returns_Bad_Request_response-1715358893\",\"options\":{},\"queries\":[{\"query\":\"\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/zis-ime-pv8" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/zis-ime-pv8" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-Not-Found-response.json index 9db2b03cf..d142375fa 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Update_an_existing_rule_returns_Not_Found_response-1715358894-NotFound\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/abcde-12345" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-OK-response.json index 82803c1c1..b940d8d66 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-an-existing-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Update_an_existing_rule_returns_OK_response-1732283532\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules" }, @@ -40,14 +33,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"filters\":[],\"isEnabled\":true,\"message\":\"Test rule\",\"name\":\"Test-Update_an_existing_rule_returns_OK_response-1732283532-Updated\",\"options\":{\"evaluationWindow\":900,\"keepAlive\":3600,\"maxSignalDuration\":86400},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"metrics\":[],\"query\":\"@test:true\"}],\"tags\":[]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/mza-hwt-ziu" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/mza-hwt-ziu" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-resource-filters-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-resource-filters-returns-Bad-Request-response.json index 4486a59e1..0c8437cbf 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-resource-filters-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-resource-filters-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"cloud_provider\":{\"invalid\":{\"aws_account_id\":[\"tag1:v1\"]}}},\"id\":\"csm_resource_filter\",\"type\":\"csm_resource_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/resource_filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Update-resource-filters-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Update-resource-filters-returns-OK-response.json index d27ec2c72..57a967f9e 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Update-resource-filters-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Update-resource-filters-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"cloud_provider\":{\"aws\":{\"aws_account_id\":[\"tag1:v1\"]}}},\"id\":\"csm_resource_filter\",\"type\":\"csm_resource_filter\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/cloud_security_management/resource_filters" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-returns-Bad-Request-response.json index 155523808..df3d9f38b 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"hasExtendedTitle\":true,\"isEnabled\":true,\"message\":\"My security monitoring rule\",\"name\":\"My security monitoring rule\",\"options\":{\"detectionMethod\":\"threshold\",\"evaluationWindow\":1800,\"keepAlive\":999999,\"maxSignalDuration\":1800},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[\"@userIdentity.assumed_role\"],\"name\":\"\",\"query\":\"source:source_here\"}],\"tags\":[\"env:prod\",\"team:security\"],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/validation" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-returns-OK-response.json index 033fa72c7..7e8d57474 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"a > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"hasExtendedTitle\":true,\"isEnabled\":true,\"message\":\"My security monitoring rule\",\"name\":\"My security monitoring rule\",\"options\":{\"detectionMethod\":\"threshold\",\"evaluationWindow\":1800,\"keepAlive\":1800,\"maxSignalDuration\":1800},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[\"@userIdentity.assumed_role\"],\"name\":\"\",\"query\":\"source:source_here\"}],\"tags\":[\"env:prod\",\"team:security\"],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/validation" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-with-detection-method-new-value-with-enabled-feature-instantaneousBaseline-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-with-detection-method-new-value-with-enabled-feature-instantaneousBaseline-returns-OK-response.json index f3007198a..d952b9e40 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-with-detection-method-new-value-with-enabled-feature-instantaneousBaseline-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-with-detection-method-new-value-with-enabled-feature-instantaneousBaseline-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"hasExtendedTitle\":true,\"isEnabled\":true,\"message\":\"My security monitoring rule\",\"name\":\"My security monitoring rule\",\"options\":{\"detectionMethod\":\"new_value\",\"evaluationWindow\":0,\"keepAlive\":300,\"maxSignalDuration\":600,\"newValueOptions\":{\"forgetAfter\":7,\"instantaneousBaseline\":true,\"learningDuration\":1,\"learningMethod\":\"duration\",\"learningThreshold\":0}},\"queries\":[{\"aggregation\":\"new_value\",\"dataSource\":\"logs\",\"distinctFields\":[],\"groupByFields\":[\"@userIdentity.assumed_role\"],\"metric\":\"name\",\"metrics\":[\"name\"],\"name\":\"\",\"query\":\"source:source_here\"}],\"tags\":[\"env:prod\",\"team:security\"],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/validation" }, @@ -32,4 +25,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-with-detection-method-sequence-detection-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-with-detection-method-sequence-detection-returns-OK-response.json index 805b29b2e..6a87bfc06 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-with-detection-method-sequence-detection-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-detection-rule-with-detection-method-sequence-detection-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"cases\":[{\"condition\":\"step_b > 0\",\"name\":\"\",\"notifications\":[],\"status\":\"info\"}],\"hasExtendedTitle\":true,\"isEnabled\":true,\"message\":\"My security monitoring rule\",\"name\":\"My security monitoring rule\",\"options\":{\"detectionMethod\":\"sequence_detection\",\"evaluationWindow\":0,\"keepAlive\":300,\"maxSignalDuration\":600,\"sequenceDetectionOptions\":{\"stepTransitions\":[{\"child\":\"step_b\",\"evaluationWindow\":900,\"parent\":\"step_a\"}],\"steps\":[{\"condition\":\"a > 0\",\"evaluationWindow\":60,\"name\":\"step_a\"},{\"condition\":\"b > 0\",\"evaluationWindow\":60,\"name\":\"step_b\"}]}},\"queries\":[{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[\"@userIdentity.assumed_role\"],\"name\":\"\",\"query\":\"source:source_here\"},{\"aggregation\":\"count\",\"distinctFields\":[],\"groupByFields\":[],\"name\":\"\",\"query\":\"source:source_here2\"}],\"tags\":[\"env:prod\",\"team:security\"],\"type\":\"log_detection\"}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/rules/validation" }, @@ -32,4 +25,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-suppression-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-suppression-rule-returns-Bad-Request-response.json index a001477c9..b34196ca2 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-suppression-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-suppression-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"data_exclusion_query\":\"not enough attributes\",\"enabled\":false,\"name\":\"cold_harbour\",\"rule_query\":\"rule:[A-Invalid\"},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/validation" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-suppression-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-suppression-rule-returns-OK-response.json index b93ffa677..0b4c3dd60 100644 --- a/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-suppression-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/security_monitoring/Validate-a-suppression-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"data_exclusion_query\":\"source:cloudtrail account_id:12345\",\"description\":\"This rule suppresses low-severity signals in staging environments.\",\"enabled\":true,\"name\":\"Custom suppression\",\"rule_query\":\"type:log_detection source:cloudtrail\"},\"type\":\"suppressions\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/security_monitoring/configuration/suppressions/validation" }, @@ -32,4 +25,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Group-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Group-returns-OK-response.json index 6bb6868d6..29b102bf3 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Group-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Group-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"Test-Create_Scanning_Group_returns_OK_response-1770219309\",\"product_list\":[\"logs\"]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/693599bb-8eee-4c5a-89a8-5ee9b89d9aff" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-returns-Bad-Request-response.json index f4b629d5d..73e2e3f10 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"pattern\":\"pattern\",\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"type\":\"none\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"779da6c9-c6e5-4103-836a-9f9b6cd45991\",\"type\":\"sensitive_data_scanner_group\"}}},\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules" }, @@ -102,14 +84,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/779da6c9-c6e5-4103-836a-9f9b6cd45991" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-returns-OK-response.json index e094b9e33..78080b43a 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"excluded_namespaces\":[\"admin.name\"],\"included_keyword_configuration\":{\"character_count\":35,\"keywords\":[\"credit card\"]},\"is_enabled\":true,\"name\":\"Test-Create_Scanning_Rule_returns_OK_response-1770219312\",\"namespaces\":[\"admin\"],\"pattern\":\"pattern\",\"priority\":1,\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"type\":\"none\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"f0288bc7-4f14-43bf-8f51-c0914df1d182\",\"type\":\"sensitive_data_scanner_group\"}}},\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules" }, @@ -102,14 +84,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules/b14f367d-9a45-4ced-b475-7384f7dba78c" }, @@ -136,14 +111,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/f0288bc7-4f14-43bf-8f51-c0914df1d182" }, @@ -166,4 +134,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-with-should-save-match-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-with-should-save-match-returns-OK-response.json index 8730267bc..eb12a80cc 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-with-should-save-match-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Create-Scanning-Rule-with-should-save-match-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"name\":\"Test-Create_Scanning_Rule_with_should_save_match_returns_OK_response-1770219314\",\"pattern\":\"pattern\",\"priority\":1,\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"replacement_string\":\"REDACTED\",\"should_save_match\":true,\"type\":\"replacement_string\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"65a06c42-397f-41ea-8105-fb3d605543f7\",\"type\":\"sensitive_data_scanner_group\"}}},\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules" }, @@ -102,14 +84,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules/1d0d0631-4bf6-4b68-974b-5773f91a754b" }, @@ -136,14 +111,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/65a06c42-397f-41ea-8105-fb3d605543f7" }, @@ -166,4 +134,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Delete-Scanning-Group-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Delete-Scanning-Group-returns-OK-response.json index 0485eed8f..18a14f393 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Delete-Scanning-Group-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Delete-Scanning-Group-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/22cb8bb1-77c1-465a-9aea-2c97b2b05feb" }, @@ -102,14 +84,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/22cb8bb1-77c1-465a-9aea-2c97b2b05feb" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Delete-Scanning-Rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Delete-Scanning-Rule-returns-OK-response.json index e8b2484ce..7284a00df 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Delete-Scanning-Rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Delete-Scanning-Rule-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"name\":\"Test-Delete_Scanning_Rule_returns_OK_response-1770219318\",\"namespaces\":[\"admin.email\"],\"pattern\":\"pattern\",\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"type\":\"none\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"9f3b9b44-45ea-4bb7-ae4d-5e8d3703c86e\",\"type\":\"sensitive_data_scanner_group\"}}},\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules" }, @@ -102,14 +84,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules/2346c8b6-25a9-404a-83b0-a41f9a01c39b" }, @@ -136,14 +111,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules/2346c8b6-25a9-404a-83b0-a41f9a01c39b" }, @@ -170,14 +138,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/9f3b9b44-45ea-4bb7-ae4d-5e8d3703c86e" }, @@ -200,4 +161,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/List-Scanning-Groups-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/List-Scanning-Groups-returns-OK-response.json index eda3a95ab..26b514989 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/List-Scanning-Groups-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/List-Scanning-Groups-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -96,14 +81,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/6e70d6cf-e0cc-4c78-b57c-542d26dec9ac" }, @@ -126,4 +104,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Reorder-Groups-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Reorder-Groups-returns-Bad-Request-response.json index 8bd3b2086..4bbc8e725 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Reorder-Groups-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Reorder-Groups-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"relationships\":{\"groups\":{\"data\":[{\"id\":\"Test-Reorder_Groups_returns_Bad_Request_response-1770219325\",\"type\":\"sensitive_data_scanner_group\"}]}},\"type\":\"sensitive_data_scanner_configuration\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -102,14 +84,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/c8d07dad-d210-4fae-9678-3cb0c16394aa" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Reorder-Groups-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Reorder-Groups-returns-OK-response.json index 140c1631e..551447a45 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Reorder-Groups-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Reorder-Groups-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -96,14 +81,7 @@ "string": "{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"relationships\":{\"groups\":{\"data\":[{\"id\":\"a796feff-a0cc-4a9f-8c61-16c4d5e44964\",\"type\":\"sensitive_data_scanner_group\"}]}},\"type\":\"sensitive_data_scanner_configuration\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -130,14 +108,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/a796feff-a0cc-4a9f-8c61-16c4d5e44964" }, @@ -160,4 +131,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Group-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Group-returns-OK-response.json index decdfcb60..10c0a3f40 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Group-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Group-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"Test-Update_Scanning_Group_returns_OK_response-1770219327\",\"product_list\":[\"logs\"]},\"id\":\"cf51218a-1bb1-432c-8f94-b7918047fe28\",\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/cf51218a-1bb1-432c-8f94-b7918047fe28" }, @@ -102,14 +84,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/cf51218a-1bb1-432c-8f94-b7918047fe28" }, @@ -132,4 +107,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Rule-returns-Bad-Request-response.json index 42411b9c2..5c0581870 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Rule-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"name\":\"Test-Update_Scanning_Rule_returns_Bad_Request_response-1770219328\",\"namespaces\":[\"admin.email\"],\"pattern\":\"pattern\",\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"type\":\"none\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"63096684-44d0-42f1-8471-0d004ea9afa7\",\"type\":\"sensitive_data_scanner_group\"}}},\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules" }, @@ -102,14 +84,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"name\":\"Test-Update_Scanning_Rule_returns_Bad_Request_response-1770219328\",\"pattern\":\"pattern\",\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"type\":\"none\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"63096684-44d0-42f1-8471-0d004ea9afa7\",\"type\":\"sensitive_data_scanner_group\"}}}},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules/d2d9ec28-02ab-4256-bca0-b55e70131915" }, @@ -136,14 +111,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules/d2d9ec28-02ab-4256-bca0-b55e70131915" }, @@ -170,14 +138,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/63096684-44d0-42f1-8471-0d004ea9afa7" }, @@ -200,4 +161,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Rule-returns-OK-response.json index a623a3ca6..b698665d2 100644 --- a/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/sensitive_data_scanner/Update-Scanning-Rule-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config" }, @@ -34,14 +30,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"query\":\"*\"},\"is_enabled\":false,\"name\":\"my-test-group\",\"product_list\":[\"logs\"],\"samplings\":[{\"product\":\"logs\",\"rate\":100}]},\"relationships\":{\"configuration\":{\"data\":{\"id\":\"7957915c634d4dcb581fa154157f5ad9c2947f50be632fb5599862069f4d2d87\",\"type\":\"sensitive_data_scanner_configuration\"}},\"rules\":{\"data\":[]}},\"type\":\"sensitive_data_scanner_group\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups" }, @@ -68,14 +57,7 @@ "string": "{\"data\":{\"attributes\":{\"is_enabled\":true,\"name\":\"Test-Update_Scanning_Rule_returns_OK_response-1770219331\",\"namespaces\":[\"admin.email\"],\"pattern\":\"pattern\",\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"type\":\"none\"}},\"relationships\":{\"group\":{\"data\":{\"id\":\"9cf4b0d5-3e8d-435b-8a5b-ba0063cd336c\",\"type\":\"sensitive_data_scanner_group\"}}},\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules" }, @@ -102,14 +84,7 @@ "string": "{\"data\":{\"attributes\":{\"included_keyword_configuration\":{\"character_count\":35,\"keywords\":[\"credit card\",\"cc\"]},\"is_enabled\":true,\"name\":\"Test-Update_Scanning_Rule_returns_OK_response-1770219331\",\"pattern\":\"pattern\",\"priority\":5,\"tags\":[\"sensitive_data:true\"],\"text_replacement\":{\"type\":\"none\"}},\"id\":\"9ce36dfc-4eb8-4710-8df0-d42bf008d7fb\",\"type\":\"sensitive_data_scanner_rule\"},\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules/9ce36dfc-4eb8-4710-8df0-d42bf008d7fb" }, @@ -136,14 +111,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/rules/9ce36dfc-4eb8-4710-8df0-d42bf008d7fb" }, @@ -170,14 +138,7 @@ "string": "{\"meta\":{}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/sensitive-data-scanner/config/groups/9cf4b0d5-3e8d-435b-8a5b-ba0063cd336c" }, @@ -200,4 +161,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_accounts/Create-a-service-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_accounts/Create-a-service-account-returns-OK-response.json index 78a3e6d24..9281ba5d9 100644 --- a/tests/scenarios/cassettes/v2/service_accounts/Create-a-service-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_accounts/Create-a-service-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_a_service_account_returns_OK_response-1675090734\"},\"type\":\"roles\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/roles" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_service_account_returns_OK_response-1675090734@datadoghq.com\",\"name\":\"Test API Client\",\"service_account\":true},\"relationships\":{\"roles\":{\"data\":[{\"id\":\"9d7c873e-a0ae-11ed-975e-da7ad0900002\",\"type\":\"roles\"}]}},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/9d9c0565-a0ae-11ed-88af-be56a8628f3f" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/roles/9d7c873e-a0ae-11ed-975e-da7ad0900002" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_accounts/Create-an-application-key-for-this-service-account-returns-Created-response.json b/tests/scenarios/cassettes/v2/service_accounts/Create-an-application-key-for-this-service-account-returns-Created-response.json index 8cfd9af26..2924f91aa 100644 --- a/tests/scenarios/cassettes/v2/service_accounts/Create-an-application-key-for-this-service-account-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/service_accounts/Create-an-application-key-for-this-service-account-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_an_application_key_for_this_service_account_returns_Created_response-1697105507@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_an_application_key_for_this_service_account_returns_Created_response-1697105507\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts/c0ea5a28-68e7-11ee-af78-7221d1e45f66/application_keys" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/service_accounts/c0ea5a28-68e7-11ee-af78-7221d1e45f66/application_keys/6315ab43-ce92-4130-b6d2-94ceb5f7142a" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/c0ea5a28-68e7-11ee-af78-7221d1e45f66" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_accounts/Create-an-application-key-with-scopes-for-this-service-account-returns-Created-response.json b/tests/scenarios/cassettes/v2/service_accounts/Create-an-application-key-with-scopes-for-this-service-account-returns-Created-response.json index 4e880ebfb..4d584e02f 100644 --- a/tests/scenarios/cassettes/v2/service_accounts/Create-an-application-key-with-scopes-for-this-service-account-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/service_accounts/Create-an-application-key-with-scopes-for-this-service-account-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_an_application_key_with_scopes_for_this_service_account_returns_Created_response-1652349200@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_an_application_key_with_scopes_for_this_service_account_returns_Created_response-1652349200\",\"scopes\":[\"dashboards_read\",\"dashboards_write\",\"dashboards_public_share\"]},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts/fbebe517-c0ed-45a9-b3c9-4377cbe04efd/application_keys" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/service_accounts/fbebe517-c0ed-45a9-b3c9-4377cbe04efd/application_keys/e01199cd-849e-4fb8-ae34-af8b6a8cd129" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/fbebe517-c0ed-45a9-b3c9-4377cbe04efd" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_accounts/Delete-an-application-key-for-this-service-account-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/service_accounts/Delete-an-application-key-for-this-service-account-returns-No-Content-response.json index f07f6632c..210ff1305 100644 --- a/tests/scenarios/cassettes/v2/service_accounts/Delete-an-application-key-for-this-service-account-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/service_accounts/Delete-an-application-key-for-this-service-account-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_an_application_key_for_this_service_account_returns_No_Content_response-1697094741@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_an_application_key_for_this_service_account_returns_No_Content_response-1697094741\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts/b0338c3c-68ce-11ee-9dc7-02a9eb8880d8/application_keys" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/service_accounts/b0338c3c-68ce-11ee-9dc7-02a9eb8880d8/application_keys/6a147414-e85c-4b92-829b-fff59f8bd8e0" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/service_accounts/b0338c3c-68ce-11ee-9dc7-02a9eb8880d8/application_keys/6a147414-e85c-4b92-829b-fff59f8bd8e0" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/b0338c3c-68ce-11ee-9dc7-02a9eb8880d8" }, @@ -150,4 +124,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_accounts/Edit-an-application-key-for-this-service-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_accounts/Edit-an-application-key-for-this-service-account-returns-OK-response.json index 4a34b13e0..384ac2f59 100644 --- a/tests/scenarios/cassettes/v2/service_accounts/Edit-an-application-key-for-this-service-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_accounts/Edit-an-application-key-for-this-service-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Edit_an_application_key_for_this_service_account_returns_OK_response-1697105458@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_application_key_for_this_service_account_returns_OK_response-1697105458\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts/a3b86b00-68e7-11ee-b081-e2f0333fd1ce/application_keys" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Edit_an_application_key_for_this_service_account_returns_OK_response-1697105458-updated\"},\"id\":\"8dca4456-bd90-4cb4-a182-5868501d8a9b\",\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/service_accounts/a3b86b00-68e7-11ee-b081-e2f0333fd1ce/application_keys/8dca4456-bd90-4cb4-a182-5868501d8a9b" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/service_accounts/a3b86b00-68e7-11ee-b081-e2f0333fd1ce/application_keys/8dca4456-bd90-4cb4-a182-5868501d8a9b" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/a3b86b00-68e7-11ee-b081-e2f0333fd1ce" }, @@ -156,4 +127,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_accounts/Get-one-application-key-for-this-service-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_accounts/Get-one-application-key-for-this-service-account-returns-OK-response.json index 3c2450817..1e3173306 100644 --- a/tests/scenarios/cassettes/v2/service_accounts/Get-one-application-key-for-this-service-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_accounts/Get-one-application-key-for-this-service-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_one_application_key_for_this_service_account_returns_OK_response-1697095113@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_one_application_key_for_this_service_account_returns_OK_response-1697095113\"},\"type\":\"application_keys\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts/8d6f1427-68cf-11ee-b38b-b697d9f51e5c/application_keys" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/service_accounts/8d6f1427-68cf-11ee-b38b-b697d9f51e5c/application_keys/490b7601-a457-449c-8d8c-72c848e669d5" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/service_accounts/8d6f1427-68cf-11ee-b38b-b697d9f51e5c/application_keys/490b7601-a457-449c-8d8c-72c848e669d5" }, @@ -127,11 +105,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/8d6f1427-68cf-11ee-b38b-b697d9f51e5c" }, @@ -150,4 +124,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_accounts/List-application-keys-for-this-service-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_accounts/List-application-keys-for-this-service-account-returns-OK-response.json index d0b519715..adece64fb 100644 --- a/tests/scenarios/cassettes/v2/service_accounts/List-application-keys-for-this-service-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_accounts/List-application-keys-for-this-service-account-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-List_application_keys_for_this_service_account_returns_OK_response-1697105538@datadoghq.com\",\"service_account\":true,\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/service_accounts" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/service_accounts/d3bd8ebd-68e7-11ee-8628-2e5a5b6c83f3/application_keys" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/d3bd8ebd-68e7-11ee-8628-2e5a5b6c83f3" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-returns-CREATED-response.json index 9800c861d..edecd7b54 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"contacts\":[{\"contact\":\"contact@datadoghq.com\",\"name\":\"Team Email\",\"type\":\"email\"}],\"dd-service\":\"service-testcreateorupdateservicedefinitionreturnscreatedresponse1679681183\",\"dd-team\":\"my-team\",\"docs\":[{\"name\":\"Architecture\",\"provider\":\"google drive\",\"url\":\"https://gdrive/mydoc\"}],\"extensions\":{\"myorgextension\":\"extensionvalue\"},\"integrations\":{\"opsgenie\":{\"region\":\"US\",\"service-url\":\"https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000\"},\"pagerduty\":\"https://my-org.pagerduty.com/service-directory/PMyService\"},\"links\":[{\"name\":\"Runbook\",\"type\":\"runbook\",\"url\":\"https://my-runbook\"}],\"repos\":[{\"name\":\"Source Code\",\"provider\":\"GitHub\",\"url\":\"https://github.com/DataDog/schema\"}],\"schema-version\":\"v2\",\"tags\":[\"my:tag\",\"service:tag\"],\"team\":\"my-team\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services/definitions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/definitions/service-testcreateorupdateservicedefinitionreturnscreatedresponse1679681183" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-1-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-1-returns-CREATED-response.json index dad9ad7e6..9e0d4853b 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-1-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-1-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"contacts\":[{\"contact\":\"contact@datadoghq.com\",\"name\":\"Team Email\",\"type\":\"email\"}],\"dd-service\":\"service-testcreateorupdateservicedefinitionusingschemav21returnscreatedresponse1680112296\",\"extensions\":{\"myorgextension\":\"extensionvalue\"},\"integrations\":{\"opsgenie\":{\"region\":\"US\",\"service-url\":\"https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000\"},\"pagerduty\":{\"service-url\":\"https://my-org.pagerduty.com/service-directory/PMyService\"}},\"links\":[{\"name\":\"Runbook\",\"type\":\"runbook\",\"url\":\"https://my-runbook\"},{\"name\":\"Source Code\",\"provider\":\"GitHub\",\"type\":\"repo\",\"url\":\"https://github.com/DataDog/schema\"},{\"name\":\"Architecture\",\"provider\":\"Gigoogle drivetHub\",\"type\":\"doc\",\"url\":\"https://my-runbook\"}],\"schema-version\":\"v2.1\",\"tags\":[\"my:tag\",\"service:tag\"],\"team\":\"my-team\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services/definitions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/definitions/service-testcreateorupdateservicedefinitionusingschemav21returnscreatedresponse1680112296" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-2-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-2-returns-CREATED-response.json index 1b9a34e61..ba53d1913 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-2-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-2-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"contacts\":[{\"contact\":\"contact@datadoghq.com\",\"name\":\"Team Email\",\"type\":\"email\"}],\"dd-service\":\"service-testcreateorupdateservicedefinitionusingschemav22returnscreatedresponse1696617871\",\"extensions\":{\"myorgextension\":\"extensionvalue\"},\"integrations\":{\"opsgenie\":{\"region\":\"US\",\"service-url\":\"https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000\"},\"pagerduty\":{\"service-url\":\"https://my-org.pagerduty.com/service-directory/PMyService\"}},\"links\":[{\"name\":\"Runbook\",\"type\":\"runbook\",\"url\":\"https://my-runbook\"},{\"name\":\"Source Code\",\"provider\":\"GitHub\",\"type\":\"repo\",\"url\":\"https://github.com/DataDog/schema\"},{\"name\":\"Architecture\",\"provider\":\"Gigoogle drivetHub\",\"type\":\"doc\",\"url\":\"https://my-runbook\"}],\"schema-version\":\"v2.2\",\"tags\":[\"my:tag\",\"service:tag\"],\"team\":\"my-team\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services/definitions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/definitions/service-testcreateorupdateservicedefinitionusingschemav22returnscreatedresponse1696617871" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-returns-CREATED-response.json index a8e9a7964..1d060a177 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Create-or-update-service-definition-using-schema-v2-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"contacts\":[{\"contact\":\"contact@datadoghq.com\",\"name\":\"Team Email\",\"type\":\"email\"}],\"dd-service\":\"service-testcreateorupdateservicedefinitionusingschemav2returnscreatedresponse1679685711\",\"dd-team\":\"my-team\",\"docs\":[{\"name\":\"Architecture\",\"provider\":\"google drive\",\"url\":\"https://gdrive/mydoc\"}],\"extensions\":{\"myorgextension\":\"extensionvalue\"},\"integrations\":{\"opsgenie\":{\"region\":\"US\",\"service-url\":\"https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000\"},\"pagerduty\":\"https://my-org.pagerduty.com/service-directory/PMyService\"},\"links\":[{\"name\":\"Runbook\",\"type\":\"runbook\",\"url\":\"https://my-runbook\"}],\"repos\":[{\"name\":\"Source Code\",\"provider\":\"GitHub\",\"url\":\"https://github.com/DataDog/schema\"}],\"schema-version\":\"v2\",\"tags\":[\"my:tag\",\"service:tag\"],\"team\":\"my-team\"}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/services/definitions" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/definitions/service-testcreateorupdateservicedefinitionusingschemav2returnscreatedresponse1679685711" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Delete-a-single-service-definition-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/service_definition/Delete-a-single-service-definition-returns-Not-Found-response.json index 8367dacf5..9cc329e24 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Delete-a-single-service-definition-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Delete-a-single-service-definition-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/definitions/not-a-service" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Delete-a-single-service-definition-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_definition/Delete-a-single-service-definition-returns-OK-response.json index 2efa5a8f1..e6071757f 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Delete-a-single-service-definition-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Delete-a-single-service-definition-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/services/definitions/service-definition-test" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Get-a-single-service-definition-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/service_definition/Get-a-single-service-definition-returns-Not-Found-response.json index 0e62f69f3..2aa4d654a 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Get-a-single-service-definition-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Get-a-single-service-definition-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/services/definitions/not-a-service" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Get-a-single-service-definition-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_definition/Get-a-single-service-definition-returns-OK-response.json index 45f662c6a..32a98c3a8 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Get-a-single-service-definition-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Get-a-single-service-definition-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/services/definitions/service-definition-test?schema_version=v2.1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Get-all-service-definitions-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/service_definition/Get-all-service-definitions-returns-OK-response-with-pagination.json index 9bb582040..4e7b4b80c 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Get-all-service-definitions-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/service_definition/Get-all-service-definitions-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/services/definitions?page%5Bsize%5D=2&page%5Bnumber%5D=0" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/services/definitions?page%5Bsize%5D=2&page%5Bnumber%5D=1" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_definition/Get-all-service-definitions-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_definition/Get-all-service-definitions-returns-OK-response.json index cc3c957e8..783aaf116 100644 --- a/tests/scenarios/cassettes/v2/service_definition/Get-all-service-definitions-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_definition/Get-all-service-definitions-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/services/definitions?schema_version=v2.1" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_level_objectives/Create-a-new-SLO-report-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/service_level_objectives/Create-a-new-SLO-report-returns-Bad-Request-response.json index c389aa686..687219e9e 100644 --- a/tests/scenarios/cassettes/v2/service_level_objectives/Create-a-new-SLO-report-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/service_level_objectives/Create-a-new-SLO-report-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from_ts\":1721505230,\"interval\":\"bad-interval\",\"query\":\"slo_type:metric \\\"SLO Reporting Test\\\"\",\"to_ts\":1724961230}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/slo/report" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_level_objectives/Create-a-new-SLO-report-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_level_objectives/Create-a-new-SLO-report-returns-OK-response.json index d6169d1a7..54f5913f7 100644 --- a/tests/scenarios/cassettes/v2/service_level_objectives/Create-a-new-SLO-report-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_level_objectives/Create-a-new-SLO-report-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from_ts\":1721505230,\"interval\":\"monthly\",\"query\":\"slo_type:metric \\\"SLO Reporting Test\\\"\",\"timezone\":\"America/New_York\",\"to_ts\":1724961230}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/slo/report" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-Bad-Request-response.json index 52e069f20..725aebc53 100644 --- a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "text/csv, application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/slo/report/invalid-report-id/download" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-Not-Found-response.json index eb37c5fba..d59b67165 100644 --- a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "text/csv, application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/slo/report/2b468c54-f2a7-11ee-b0b4-ffe56bb6ad43/download" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-OK-response.json index c540516d7..ae5d37492 100644 --- a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "text/csv, application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/slo/report/9fb2dc2a-ead0-11ee-a174-9fe3a9d7627f/download" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-Bad-Request-response.json index d274e7cde..148001cb0 100644 --- a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/slo/report/invalid-report-id/status" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-Not-Found-response.json index d025c2b49..1d754e617 100644 --- a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/slo/report/2b468c54-f2a7-11ee-b0b4-ffe56bb6ad43/status" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-OK-response.json index b0db12f1a..d8fe9926d 100644 --- a/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_level_objectives/Get-SLO-report-status-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"from_ts\":1723146831,\"interval\":\"monthly\",\"query\":\"slo_type:metric \\\"SLO Reporting Test\\\"\",\"to_ts\":1724961231}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/slo/report" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/slo/report/6a25239c-6640-11ef-943f-83644ac57ee3/status" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Create-a-new-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Create-a-new-rule-returns-Bad-Request-response.json index ae72e5a68..1b2c51143 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Create-a-new-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Create-a-new-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"level\":2,\"name\":\"Team Defined\",\"scorecard_id\":\"NOT.FOUND\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Create-a-new-rule-returns-Created-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Create-a-new-rule-returns-Created-response.json index 2bf9fab3d..671f2f22d 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Create-a-new-rule-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Create-a-new-rule-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Create_a_new_rule_returns_Created_response-1698877050\",\"scorecard_name\":\"Observability Best Practices\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/b6a60878-a110-4df5-b8aa-648d7f02dd02" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Create-outcomes-batch-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Create-outcomes-batch-returns-Bad-Request-response.json index f64a2292b..9b2d21439 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Create-outcomes-batch-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Create-outcomes-batch-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Create_outcomes_batch_returns_Bad_Request_response-1698959951\",\"owner\":\"Datadog\",\"scorecard_name\":\"OpenAPI Spec Test Best Practices\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"results\":[{\"remarks\":\"See: Services\",\"rule_id\":\"0451feb1-fb1b-463f-ba02-4568feb2795b\",\"service_name\":\"\",\"state\":\"pass\"}]},\"type\":\"batched-outcome\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/outcomes/batch" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/0451feb1-fb1b-463f-ba02-4568feb2795b" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Create-outcomes-batch-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Create-outcomes-batch-returns-OK-response.json index 0d169b718..e9175d98b 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Create-outcomes-batch-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Create-outcomes-batch-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Create_outcomes_batch_returns_OK_response-1698877051\",\"owner\":\"Datadog\",\"scorecard_name\":\"OpenAPI Spec Test Best Practices\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"results\":[{\"remarks\":\"See: Services\",\"rule_id\":\"b124b446-f246-41ab-b477-99293969cc5e\",\"service_name\":\"my-service\",\"state\":\"pass\"}]},\"type\":\"batched-outcome\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/outcomes/batch" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/b124b446-f246-41ab-b477-99293969cc5e" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Delete-a-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Delete-a-rule-returns-Not-Found-response.json index 75085fbcc..0528cab2b 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Delete-a-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Delete-a-rule-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/2a4f524e-168a-429d-bb75-7b1ffeab0cbb" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Delete-a-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Delete-a-rule-returns-OK-response.json index aa1c8db00..60695aaac 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Delete-a-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Delete-a-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Delete_a_rule_returns_OK_response-1698877051\",\"owner\":\"Datadog\",\"scorecard_name\":\"OpenAPI Spec Test Best Practices\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/74d92a4b-2242-488d-b3de-dd557eecb18b" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/74d92a4b-2242-488d-b3de-dd557eecb18b" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Get-all-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Get-all-rules-returns-OK-response.json index be819e787..6b9555ea4 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Get-all-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Get-all-rules-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/List-all-rule-outcomes-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/service_scorecards/List-all-rule-outcomes-returns-OK-response-with-pagination.json index 1823c1bb7..67502c475 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/List-all-rule-outcomes-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/List-all-rule-outcomes-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/scorecard/outcomes?page%5Bsize%5D=2&fields%5Boutcome%5D=state&filter%5Boutcome%5D%5Bservice_name%5D=my-service" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/scorecard/outcomes?page%5Bsize%5D=2&page%5Boffset%5D=2&fields%5Boutcome%5D=state&filter%5Boutcome%5D%5Bservice_name%5D=my-service" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/List-all-rule-outcomes-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_scorecards/List-all-rule-outcomes-returns-OK-response.json index fd36adf37..65f44a6ae 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/List-all-rule-outcomes-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/List-all-rule-outcomes-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/scorecard/outcomes" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/List-all-rules-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/service_scorecards/List-all-rules-returns-OK-response-with-pagination.json index 36820aa8e..64664fb5d 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/List-all-rules-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/List-all-rules-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules?page%5Bsize%5D=2&fields%5Brule%5D=name&filter%5Brule%5D%5Bcustom%5D=true" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules?page%5Bsize%5D=2&page%5Boffset%5D=2&fields%5Brule%5D=name&filter%5Brule%5D%5Bcustom%5D=true" }, @@ -59,11 +51,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules?page%5Bsize%5D=2&page%5Boffset%5D=4&fields%5Brule%5D=name&filter%5Brule%5D%5Bcustom%5D=true" }, @@ -86,4 +74,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/List-all-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/service_scorecards/List-all-rules-returns-OK-response.json index 9a4c40294..ff7b3c744 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/List-all-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/List-all-rules-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Accepted-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Accepted-response.json index 84f48098f..1dec50af9 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Accepted-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Accepted-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Update_Scorecard_outcomes_asynchronously_returns_Accepted_response-1756219577\",\"owner\":\"Datadog\",\"scorecard_name\":\"OpenAPI Spec Test Best Practices\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"results\":[{\"entity_reference\":\"service:my-service\",\"remarks\":\"See: Services\",\"rule_id\":\"5e3dexz6x_4f_4pa\",\"state\":\"pass\"}]},\"type\":\"batched-outcome\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/outcomes" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/5e3dexz6x_4f_4pa" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Bad-Request-response.json index daff6db16..58a4f5e73 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Update_Scorecard_outcomes_asynchronously_returns_Bad_Request_response-1756219579\",\"owner\":\"Datadog\",\"scorecard_name\":\"OpenAPI Spec Test Best Practices\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"results\":[{\"entity_reference\":\"service:my-service\",\"rule_id\":\"cyysw9dtqcu8zemc\",\"state\":\"INVALID\"}]},\"type\":\"batched-outcome\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/outcomes" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/cyysw9dtqcu8zemc" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Conflict-response.json index 986aa1235..90117fc71 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"results\":[{\"entity_reference\":\"service:my-service\",\"remarks\":\"See: Services\",\"rule_id\":\"INVALID.RULE_ID\",\"state\":\"pass\"}]},\"type\":\"batched-outcome\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/outcomes" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-rule-returns-Rule-updated-successfully-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-rule-returns-Rule-updated-successfully-response.json index 67f870f1f..97dbb0ae8 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-rule-returns-Rule-updated-successfully-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-rule-returns-Rule-updated-successfully-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Update_an_existing_rule_returns_Rule_updated_successfully_response-1722307632\",\"owner\":\"Datadog\",\"scorecard_name\":\"OpenAPI Spec Test Best Practices\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"Updated description via test\",\"enabled\":true,\"name\":\"Test-Update_an_existing_rule_returns_Rule_updated_successfully_response-1722307632\",\"scorecard_name\":\"OpenAPI Spec Test Best Practices\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/L2uJseIxQCRLg_2z" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/L2uJseIxQCRLg_2z" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-scorecard-rule-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-scorecard-rule-returns-Bad-Request-response.json index 2000de997..41da05706 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-scorecard-rule-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-scorecard-rule-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"name\":\"Test-Update_an_existing_scorecard_rule_returns_Bad_Request_response-1756236808\",\"owner\":\"Datadog\",\"scorecard_name\":\"OpenAPI Spec Test Best Practices\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"level\":2,\"name\":\"Team Defined\",\"scorecard_id\":\"NOT.FOUND\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/z661h8n2bpc5q0kx" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/z661h8n2bpc5q0kx" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-scorecard-rule-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-scorecard-rule-returns-Not-Found-response.json index 413d1394d..c79fc8416 100644 --- a/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-scorecard-rule-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/service_scorecards/Update-an-existing-scorecard-rule-returns-Not-Found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"enabled\":true,\"level\":2,\"name\":\"Team Defined\",\"scorecard_name\":\"Deployments automated via Deployment Trains\"},\"type\":\"rule\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/scorecard/rules/REPLACE.ME" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/software_catalog/Create-or-update-software-catalog-entity-using-schema-v3-returns-ACCEPTED-response.json b/tests/scenarios/cassettes/v2/software_catalog/Create-or-update-software-catalog-entity-using-schema-v3-returns-ACCEPTED-response.json index 2c841ffd5..5db5ac02a 100644 --- a/tests/scenarios/cassettes/v2/software_catalog/Create-or-update-software-catalog-entity-using-schema-v3-returns-ACCEPTED-response.json +++ b/tests/scenarios/cassettes/v2/software_catalog/Create-or-update-software-catalog-entity-using-schema-v3-returns-ACCEPTED-response.json @@ -6,14 +6,7 @@ "string": "{\"apiVersion\":\"v3\",\"datadog\":{\"codeLocations\":[{\"paths\":[]}],\"events\":[{}],\"logs\":[{}],\"performanceData\":{\"tags\":[]},\"pipelines\":{\"fingerprints\":[]}},\"integrations\":{\"opsgenie\":{\"serviceURL\":\"https://www.opsgenie.com/service/shopping-cart\"},\"pagerduty\":{\"serviceURL\":\"https://www.pagerduty.com/service-directory/Pshopping-cart\"}},\"kind\":\"service\",\"metadata\":{\"additionalOwners\":[],\"contacts\":[{\"contact\":\"https://slack/\",\"type\":\"slack\"}],\"id\":\"4b163705-23c0-4573-b2fb-f6cea2163fcb\",\"inheritFrom\":\"application:default/myapp\",\"links\":[{\"name\":\"mylink\",\"type\":\"link\",\"url\":\"https://mylink\"}],\"name\":\"service-testcreateorupdatesoftwarecatalogentityusingschemav3returnsacceptedresponse1724786638\",\"tags\":[\"this:tag\",\"that:tag\"]},\"spec\":{\"dependsOn\":[],\"languages\":[]}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/catalog/entity" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/catalog/entity/4806b73a-3a45-48bf-bd44-0d68fb5aa96a" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entities-returns-OK-response.json b/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entities-returns-OK-response.json index 2eb9a1d19..2709ef2a5 100644 --- a/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entities-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entities-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/entity" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entity-relations-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entity-relations-returns-OK-response-with-pagination.json index ac4c784dc..25a1557e2 100644 --- a/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entity-relations-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entity-relations-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=20" }, @@ -59,11 +51,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=40" }, @@ -87,11 +75,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=60" }, @@ -115,11 +99,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=80" }, @@ -143,11 +123,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=100" }, @@ -171,11 +147,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=120" }, @@ -199,11 +171,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=140" }, @@ -227,11 +195,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=160" }, @@ -255,11 +219,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=180" }, @@ -283,11 +243,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=200" }, @@ -311,11 +267,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=220" }, @@ -339,11 +291,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=240" }, @@ -367,11 +315,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=260" }, @@ -395,11 +339,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=280" }, @@ -423,11 +363,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=300" }, @@ -451,11 +387,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=320" }, @@ -479,11 +411,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=340" }, @@ -507,11 +435,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=360" }, @@ -535,11 +459,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=380" }, @@ -563,11 +483,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=400" }, @@ -591,11 +507,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=420" }, @@ -619,11 +531,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=440" }, @@ -647,11 +555,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=460" }, @@ -675,11 +579,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=480" }, @@ -703,11 +603,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=500" }, @@ -731,11 +627,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=520" }, @@ -759,11 +651,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=540" }, @@ -787,11 +675,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=560" }, @@ -815,11 +699,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=580" }, @@ -843,11 +723,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=600" }, @@ -871,11 +747,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=620" }, @@ -899,11 +771,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=640" }, @@ -927,11 +795,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=660" }, @@ -955,11 +819,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=680" }, @@ -983,11 +843,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=700" }, @@ -1011,11 +867,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=720" }, @@ -1039,11 +891,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=740" }, @@ -1067,11 +915,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=760" }, @@ -1095,11 +939,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=780" }, @@ -1123,11 +963,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=800" }, @@ -1151,11 +987,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=820" }, @@ -1179,11 +1011,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=840" }, @@ -1207,11 +1035,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=860" }, @@ -1235,11 +1059,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=880" }, @@ -1263,11 +1083,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=900" }, @@ -1291,11 +1107,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=920" }, @@ -1319,11 +1131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=940" }, @@ -1347,11 +1155,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=960" }, @@ -1375,11 +1179,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=980" }, @@ -1403,11 +1203,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1000" }, @@ -1431,11 +1227,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1020" }, @@ -1459,11 +1251,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1040" }, @@ -1487,11 +1275,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1060" }, @@ -1515,11 +1299,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1080" }, @@ -1543,11 +1323,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1100" }, @@ -1571,11 +1347,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1120" }, @@ -1599,11 +1371,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1140" }, @@ -1627,11 +1395,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1160" }, @@ -1655,11 +1419,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1180" }, @@ -1683,11 +1443,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1200" }, @@ -1711,11 +1467,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1220" }, @@ -1739,11 +1491,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1240" }, @@ -1767,11 +1515,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1260" }, @@ -1795,11 +1539,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1280" }, @@ -1823,11 +1563,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1300" }, @@ -1851,11 +1587,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1320" }, @@ -1879,11 +1611,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1340" }, @@ -1907,11 +1635,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1360" }, @@ -1935,11 +1659,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1380" }, @@ -1963,11 +1683,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1400" }, @@ -1991,11 +1707,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1420" }, @@ -2019,11 +1731,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1440" }, @@ -2047,11 +1755,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1460" }, @@ -2075,11 +1779,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1480" }, @@ -2103,11 +1803,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1500" }, @@ -2131,11 +1827,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1520" }, @@ -2159,11 +1851,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1540" }, @@ -2187,11 +1875,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1560" }, @@ -2215,11 +1899,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1580" }, @@ -2243,11 +1923,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1600" }, @@ -2271,11 +1947,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1620" }, @@ -2299,11 +1971,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1640" }, @@ -2327,11 +1995,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1660" }, @@ -2355,11 +2019,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1680" }, @@ -2383,11 +2043,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1700" }, @@ -2411,11 +2067,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1720" }, @@ -2439,11 +2091,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1740" }, @@ -2467,11 +2115,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1760" }, @@ -2495,11 +2139,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1780" }, @@ -2523,11 +2163,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1800" }, @@ -2551,11 +2187,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1820" }, @@ -2579,11 +2211,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1840" }, @@ -2607,11 +2235,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1860" }, @@ -2635,11 +2259,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1880" }, @@ -2663,11 +2283,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1900" }, @@ -2691,11 +2307,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1920" }, @@ -2719,11 +2331,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1940" }, @@ -2747,11 +2355,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1960" }, @@ -2775,11 +2379,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=1980" }, @@ -2803,11 +2403,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=2000" }, @@ -2831,11 +2427,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=2020" }, @@ -2859,11 +2451,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=2040" }, @@ -2887,11 +2475,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=2060" }, @@ -2915,11 +2499,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=2080" }, @@ -2943,11 +2523,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=2100" }, @@ -2971,11 +2547,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation?page%5Blimit%5D=20&page%5Boffset%5D=2120" }, @@ -2998,4 +2570,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entity-relations-returns-OK-response.json b/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entity-relations-returns-OK-response.json index 24f59a2b6..33923c8e1 100644 --- a/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entity-relations-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/software_catalog/Get-a-list-of-entity-relations-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/catalog/relation" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans/Aggregate-spans-returns-OK-response.json b/tests/scenarios/cassettes/v2/spans/Aggregate-spans-returns-OK-response.json index d1a63c4d8..4eba71177 100644 --- a/tests/scenarios/cassettes/v2/spans/Aggregate-spans-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/spans/Aggregate-spans-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":[{\"aggregation\":\"count\",\"interval\":\"5m\",\"type\":\"timeseries\"}],\"filter\":{\"from\":\"now-15m\",\"query\":\"*\",\"to\":\"now\"}},\"type\":\"aggregate_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/spans/analytics/aggregate" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-OK-response-with-pagination.json index beffad661..808880b35 100644 --- a/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/spans/events?page%5Blimit%5D=2" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/spans/events?page%5Blimit%5D=2&page%5Bcursor%5D=eyJhZnRlciI6IkFnQUFBWWtHdzdHdGxxTEVFUUFBQUFBQUFBQVlBQUFBQUVGWmEwZDNOM2xtUVVGRU9HZHpkRW8zWjJORFRsVkJiUUFBQUNRQUFBQUFNREU0T1RBMll6TXRZelUwWmkwMFpUWXlMV0k1WVdRdFl6azFNell5TWpkak4yTmsiLCJ2YWx1ZXMiOlsiMjAyMy0wNi0yOVQxMDo0NzoxNS42MjlaIiwtMTc2NzcxNzg3MV19" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-OK-response.json b/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-OK-response.json index 03cdba862..02c28cceb 100644 --- a/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/spans/events" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-Unprocessable-Entity-response.json b/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-Unprocessable-Entity-response.json index 6925ca746..c05c5219b 100644 --- a/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-Unprocessable-Entity-response.json +++ b/tests/scenarios/cassettes/v2/spans/Get-a-list-of-spans-returns-Unprocessable-Entity-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/spans/events?filter%5Bfrom%5D=now&filter%5Bto%5D=now-1m" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans/Search-spans-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/spans/Search-spans-returns-OK-response-with-pagination.json index 1195a6a8d..40e85e863 100644 --- a/tests/scenarios/cassettes/v2/spans/Search-spans-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/spans/Search-spans-returns-OK-response-with-pagination.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"from\":\"now-15m\",\"query\":\"service:python*\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":2},\"sort\":\"timestamp\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/spans/events/search" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"from\":\"now-15m\",\"query\":\"service:python*\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFnQUFBWWtHdW9TSmhsc20td0FBQUFBQUFBQVlBQUFBQUVGWmEwZDFjRVJDUVVGRGJqQmZWbFJsV0VONWR6aHBUQUFBQUNRQUFBQUFNREU0T1RBMll6QXROVEZrT0MwME5EYzVMV0ZsT0RndE56WXdZbVl4TldRM016QXkiLCJ2YWx1ZXMiOlsiMjAyMy0wNi0yOVQxMDozNzoxNC4yNDlaIiwtMjA0MDg0NjU5N119\",\"limit\":2},\"sort\":\"timestamp\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/spans/events/search" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans/Search-spans-returns-OK-response.json b/tests/scenarios/cassettes/v2/spans/Search-spans-returns-OK-response.json index 1957a438e..5e9808db1 100644 --- a/tests/scenarios/cassettes/v2/spans/Search-spans-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/spans/Search-spans-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"from\":\"now-15m\",\"query\":\"*\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":25},\"sort\":\"timestamp\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/spans/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans/Search-spans-returns-Unprocessable-Entity-response.json b/tests/scenarios/cassettes/v2/spans/Search-spans-returns-Unprocessable-Entity-response.json index 932f55073..362c73662 100644 --- a/tests/scenarios/cassettes/v2/spans/Search-spans-returns-Unprocessable-Entity-response.json +++ b/tests/scenarios/cassettes/v2/spans/Search-spans-returns-Unprocessable-Entity-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"filter\":{\"from\":\"now\",\"query\":\"service:web* AND @http.status_code:[200 TO 299]\",\"to\":\"now-15m\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"limit\":10},\"sort\":\"timestamp\"},\"type\":\"search_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/spans/events/search" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans_metrics/Create-a-span-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/spans_metrics/Create-a-span-based-metric-returns-OK-response.json index 79363ab94..267c68861 100644 --- a/tests/scenarios/cassettes/v2/spans_metrics/Create-a-span-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/spans_metrics/Create-a-span-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":false,\"path\":\"@duration\"},\"filter\":{\"query\":\"@http.status_code:200 service:my-service\"},\"group_by\":[{\"path\":\"resource_name\",\"tag_name\":\"resource_name\"}]},\"id\":\"TestCreateaspanbasedmetricreturnsOKresponse1686139498\",\"type\":\"spans_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics/TestCreateaspanbasedmetricreturnsOKresponse1686139498" }, @@ -64,4 +53,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans_metrics/Delete-a-span-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/spans_metrics/Delete-a-span-based-metric-returns-OK-response.json index 39f416a9c..ecd3bb609 100644 --- a/tests/scenarios/cassettes/v2/spans_metrics/Delete-a-span-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/spans_metrics/Delete-a-span-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":false,\"path\":\"@duration\"},\"filter\":{\"query\":\"source:Test-Delete_a_span_based_metric_returns_OK_response-1681838888\"},\"group_by\":[{\"path\":\"resource_name\",\"tag_name\":\"resource_name\"}]},\"id\":\"Test-Delete_a_span_based_metric_returns_OK_response-1681838888\",\"type\":\"spans_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics/Test_Delete_a_span_based_metric_returns_OK_response_1681838888" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics/Test_Delete_a_span_based_metric_returns_OK_response_1681838888" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans_metrics/Get-a-span-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/spans_metrics/Get-a-span-based-metric-returns-OK-response.json index c23fce3f6..cba99923d 100644 --- a/tests/scenarios/cassettes/v2/spans_metrics/Get-a-span-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/spans_metrics/Get-a-span-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":false,\"path\":\"@duration\"},\"filter\":{\"query\":\"source:Test-Get_a_span_based_metric_returns_OK_response-1686139541\"},\"group_by\":[{\"path\":\"resource_name\",\"tag_name\":\"resource_name\"}]},\"id\":\"Test-Get_a_span_based_metric_returns_OK_response-1686139541\",\"type\":\"spans_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics/Test_Get_a_span_based_metric_returns_OK_response_1686139541" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics/Test_Get_a_span_based_metric_returns_OK_response_1686139541" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans_metrics/Get-all-span-based-metrics-returns-OK-response.json b/tests/scenarios/cassettes/v2/spans_metrics/Get-all-span-based-metrics-returns-OK-response.json index 255616a78..c991f097f 100644 --- a/tests/scenarios/cassettes/v2/spans_metrics/Get-all-span-based-metrics-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/spans_metrics/Get-all-span-based-metrics-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":false,\"path\":\"@duration\"},\"filter\":{\"query\":\"source:Test-Get_all_span_based_metrics_returns_OK_response-1686139550\"},\"group_by\":[{\"path\":\"resource_name\",\"tag_name\":\"resource_name\"}]},\"id\":\"Test-Get_all_span_based_metrics_returns_OK_response-1686139550\",\"type\":\"spans_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics/Test_Get_all_span_based_metrics_returns_OK_response_1686139550" }, @@ -92,4 +77,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/spans_metrics/Update-a-span-based-metric-returns-OK-response.json b/tests/scenarios/cassettes/v2/spans_metrics/Update-a-span-based-metric-returns-OK-response.json index d4c7d11fb..ffb1c6781 100644 --- a/tests/scenarios/cassettes/v2/spans_metrics/Update-a-span-based-metric-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/spans_metrics/Update-a-span-based-metric-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"aggregation_type\":\"distribution\",\"include_percentiles\":false,\"path\":\"@duration\"},\"filter\":{\"query\":\"source:Test-Update_a_span_based_metric_returns_OK_response-1686139559\"},\"group_by\":[{\"path\":\"resource_name\",\"tag_name\":\"resource_name\"}]},\"id\":\"Test-Update_a_span_based_metric_returns_OK_response-1686139559\",\"type\":\"spans_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"compute\":{\"include_percentiles\":false},\"filter\":{\"query\":\"source:Test-Update_a_span_based_metric_returns_OK_response-1686139559-updated\"},\"group_by\":[{\"path\":\"resource_name\",\"tag_name\":\"resource_name\"}]},\"type\":\"spans_metrics\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics/Test_Update_a_span_based_metric_returns_OK_response_1686139559" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/apm/config/metrics/Test_Update_a_span_based_metric_returns_OK_response_1686139559" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Create-component-returns-Created-response.json b/tests/scenarios/cassettes/v2/status_pages/Create-component-returns-Created-response.json index 874e225fa..01df324f2 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Create-component-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Create-component-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"8b6cd6e80c23846d\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Logs\",\"position\":0,\"type\":\"component\"},\"type\":\"components\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages/b53231b9-4737-47eb-8bb8-90d2b51e0803/components" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/b53231b9-4737-47eb-8bb8-90d2b51e0803/components/42f96d69-9136-4888-b822-ca0dc2013978" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/b53231b9-4737-47eb-8bb8-90d2b51e0803" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Create-degradation-returns-Created-response.json b/tests/scenarios/cassettes/v2/status_pages/Create-degradation-returns-Created-response.json index 3dad49857..df89af7ce 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Create-degradation-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Create-degradation-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"f594e675bf08d5d7\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"43c959d9-3dda-4dc9-ae42-74b71ea39f08\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages/bb4afad2-f893-464a-82a4-d2ab29d5105c/degradations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/bb4afad2-f893-464a-82a4-d2ab29d5105c/degradations/e4e76067-6b16-48d1-b943-734d0d81f715" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/bb4afad2-f893-464a-82a4-d2ab29d5105c" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Create-status-page-returns-Created-response.json b/tests/scenarios/cassettes/v2/status_pages/Create-status-page-returns-Created-response.json index 2bd2f11ae..25e528ba8 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Create-status-page-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Create-status-page-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"domain_prefix\":\"bd769f64d06a9cdb\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/f59e184f-4019-40d6-be90-b59f2381976d" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Delete-component-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/status_pages/Delete-component-returns-No-Content-response.json index 56de6dd3d..379624b3a 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Delete-component-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Delete-component-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"52506f44627e27d9\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/e4365564-6c49-4a14-b9c2-736c038a62a9/components/be6cbe05-c28b-4cd1-be92-0323c2399a6c" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/e4365564-6c49-4a14-b9c2-736c038a62a9" }, @@ -84,4 +69,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Delete-degradation-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/status_pages/Delete-degradation-returns-No-Content-response.json index 06dacebeb..c31dcd2f3 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Delete-degradation-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Delete-degradation-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"854d0635d9daaa12\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"45221c15-9e84-469a-bc08-be9e3988f3ea\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages/6be99142-8929-473e-9799-041e6372f114/degradations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/6be99142-8929-473e-9799-041e6372f114/degradations/bd0e77e0-83e5-4556-809b-f582969f1441" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/6be99142-8929-473e-9799-041e6372f114/degradations/bd0e77e0-83e5-4556-809b-f582969f1441" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/6be99142-8929-473e-9799-041e6372f114" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Delete-status-page-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/status_pages/Delete-status-page-returns-No-Content-response.json index 16375e396..5674fb60b 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Delete-status-page-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Delete-status-page-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"cb21c38e7fab0cfc\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/bc81fd89-62a4-4c28-b5e1-167c63ce3249" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/bc81fd89-62a4-4c28-b5e1-167c63ce3249" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Get-component-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/Get-component-returns-OK-response.json index 2f611c8c7..6afe97a95 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Get-component-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Get-component-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"06de602b320cfdb0\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/statuspages/70f5256d-c03f-45e1-8057-bc036d4793eb/components/7a270e4e-a064-44d0-bf07-326cf1f51cad" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/70f5256d-c03f-45e1-8057-bc036d4793eb" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Get-degradation-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/Get-degradation-returns-OK-response.json index 82be91a71..d2bfa666a 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Get-degradation-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Get-degradation-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"5eb6437773268884\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"bd226a05-e4f4-41bd-bb65-6c575acb55df\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45/degradations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/statuspages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45/degradations/ce318082-f158-4f69-a325-dfcc3a4e0cd4" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45/degradations/ce318082-f158-4f69-a325-dfcc3a4e0cd4" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/a0e1ebd1-38d3-4b7b-bb90-9a7427ce7c45" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Get-status-page-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/Get-status-page-returns-OK-response.json index 635437694..07d60a743 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Get-status-page-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Get-status-page-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"385491266043d794\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/statuspages/24205612-f1dc-444f-aec6-7010c3097cb5" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/24205612-f1dc-444f-aec6-7010c3097cb5" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/List-components-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/List-components-returns-OK-response.json index 1c37104a8..9528d44ad 100644 --- a/tests/scenarios/cassettes/v2/status_pages/List-components-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/List-components-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"f577abf9d8b6cac4\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/statuspages/02b22755-8a22-449f-817b-c4f649f37ebd/components" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/02b22755-8a22-449f-817b-c4f649f37ebd" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/List-degradations-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/List-degradations-returns-OK-response.json index 9868dfe5c..0e501915e 100644 --- a/tests/scenarios/cassettes/v2/status_pages/List-degradations-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/List-degradations-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"9e7f8b0822635170\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"b257b99d-355b-4b2c-82c0-335694c1e940\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages/fcf5cb92-aa21-43c1-b2c3-54ff692fef7b/degradations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/statuspages/degradations" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/fcf5cb92-aa21-43c1-b2c3-54ff692fef7b/degradations/2339dce7-c32c-42f4-88c6-ce3ff16f0cbd" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/fcf5cb92-aa21-43c1-b2c3-54ff692fef7b" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/List-status-pages-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/List-status-pages-returns-OK-response.json index 0e1a28737..4e4610ae7 100644 --- a/tests/scenarios/cassettes/v2/status_pages/List-status-pages-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/List-status-pages-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"a292a726f79d8dd3\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/2fb5cefa-a43b-4974-b439-96cef54df054" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Update-component-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/Update-component-returns-OK-response.json index 14b720e44..23facfd5a 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Update-component-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Update-component-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"18ce7dca5f31f286\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Logs Indexing\"},\"id\":\"7a828867-d56d-41a9-bc35-9eec112fd334\",\"type\":\"components\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/statuspages/2f95d75e-d08f-4c37-8808-2b0246f86e16/components/7a828867-d56d-41a9-bc35-9eec112fd334" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/2f95d75e-d08f-4c37-8808-2b0246f86e16" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Update-degradation-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/Update-degradation-returns-OK-response.json index dba21885b..c4ac4314e 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Update-degradation-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Update-degradation-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"63b50a302c459f7c\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"components_affected\":[{\"id\":\"681d4866-a4ff-4e4e-b295-6b9586892675\",\"status\":\"major_outage\"}],\"description\":\"Our API is experiencing elevated latency. We are investigating the issue.\",\"status\":\"investigating\",\"title\":\"Elevated API Latency\"},\"type\":\"degradations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa/degradations" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"title\":\"Elevated API Latency in US1\"},\"id\":\"3e8741c2-3c93-4346-9ddc-67d381baee05\",\"type\":\"degradations\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/statuspages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa/degradations/3e8741c2-3c93-4346-9ddc-67d381baee05" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa/degradations/3e8741c2-3c93-4346-9ddc-67d381baee05" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/5df6e8f7-b903-4ba9-b0c5-d603536e23fa" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/status_pages/Update-status-page-returns-OK-response.json b/tests/scenarios/cassettes/v2/status_pages/Update-status-page-returns-OK-response.json index f9a32cbf6..26219084d 100644 --- a/tests/scenarios/cassettes/v2/status_pages/Update-status-page-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/status_pages/Update-status-page-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"components\":[{\"components\":[{\"name\":\"Login\",\"position\":0,\"type\":\"component\"},{\"name\":\"Settings\",\"position\":1,\"type\":\"component\"}],\"name\":\"Application\",\"type\":\"group\"}],\"domain_prefix\":\"f7d669fd50a8ce89\",\"enabled\":true,\"name\":\"A Status Page\",\"type\":\"internal\",\"visualization_type\":\"bars_and_uptime_percentage\"},\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/statuspages" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"A Status Page in US1\"},\"id\":\"197028d4-9c5e-420f-acb1-963ae82ebf22\",\"type\":\"status_pages\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/statuspages/197028d4-9c5e-420f-acb1-963ae82ebf22" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/statuspages/197028d4-9c5e-420f-acb1-963ae82ebf22" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/synthetics/Create-a-Network-Path-test-returns-OK-response.json b/tests/scenarios/cassettes/v2/synthetics/Create-a-Network-Path-test-returns-OK-response.json index 0378fa2fd..0dfae4947 100644 --- a/tests/scenarios/cassettes/v2/synthetics/Create-a-Network-Path-test-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/synthetics/Create-a-Network-Path-test-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"config\":{\"assertions\":[{\"operator\":\"lessThan\",\"property\":\"avg\",\"target\":500,\"type\":\"latency\"}],\"request\":{\"e2e_queries\":50,\"host\":\"example.com\",\"max_ttl\":30,\"port\":443,\"tcp_method\":\"prefer_sack\",\"traceroute_queries\":3}},\"locations\":[\"aws:us-east-1\",\"agent:my-agent-name\"],\"message\":\"Network Path test notification\",\"name\":\"Example Network Path test\",\"options\":{\"tick_every\":60},\"status\":\"live\",\"subtype\":\"tcp\",\"tags\":[\"env:production\"],\"type\":\"network\"},\"type\":\"network\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/synthetics/tests/network" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"public_ids\":[\"iab-wcx-mhp\"]},\"type\":\"delete_tests_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/synthetics/tests/bulk-delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/synthetics/Create-a-test-suite-returns-OK-response.json b/tests/scenarios/cassettes/v2/synthetics/Create-a-test-suite-returns-OK-response.json index d3ec9a345..bf6619670 100644 --- a/tests/scenarios/cassettes/v2/synthetics/Create-a-test-suite-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/synthetics/Create-a-test-suite-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"message\":\"Notification message\",\"name\":\"Example suite name\",\"options\":{},\"tags\":[\"env:production\"],\"tests\":[],\"type\":\"suite\"},\"type\":\"suites\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/synthetics/suites" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"public_ids\":[\"36n-bb6-njj\"]},\"type\":\"delete_suites_request\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/synthetics/suites/bulk-delete" }, @@ -70,4 +56,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/synthetics/Get-a-Network-Path-test-returns-OK-response.json b/tests/scenarios/cassettes/v2/synthetics/Get-a-Network-Path-test-returns-OK-response.json index b042883c9..ec3c8eb5f 100644 --- a/tests/scenarios/cassettes/v2/synthetics/Get-a-Network-Path-test-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/synthetics/Get-a-Network-Path-test-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/synthetics/tests/network/c7a-uwa-wn2" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/synthetics/Get-the-on-demand-concurrency-cap-returns-OK-response.json b/tests/scenarios/cassettes/v2/synthetics/Get-the-on-demand-concurrency-cap-returns-OK-response.json index 980d51fae..e889970c5 100644 --- a/tests/scenarios/cassettes/v2/synthetics/Get-the-on-demand-concurrency-cap-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/synthetics/Get-the-on-demand-concurrency-cap-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/synthetics/settings/on_demand_concurrency_cap" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/synthetics/Save-new-value-for-on-demand-concurrency-cap-returns-OK-response.json b/tests/scenarios/cassettes/v2/synthetics/Save-new-value-for-on-demand-concurrency-cap-returns-OK-response.json index 54491a63c..6090b27c6 100644 --- a/tests/scenarios/cassettes/v2/synthetics/Save-new-value-for-on-demand-concurrency-cap-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/synthetics/Save-new-value-for-on-demand-concurrency-cap-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"on_demand_concurrency_cap\":20}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/synthetics/settings/on_demand_concurrency_cap" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/synthetics/Search-Synthetics-suites-returns-OK-response.json b/tests/scenarios/cassettes/v2/synthetics/Search-Synthetics-suites-returns-OK-response.json index c8ca656c9..859b2b2a4 100644 --- a/tests/scenarios/cassettes/v2/synthetics/Search-Synthetics-suites-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/synthetics/Search-Synthetics-suites-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/synthetics/suites/search" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-CREATED-response.json index 8ec08328a..5bc98c993 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-34095e00d70ee50a\",\"name\":\"test-name-34095e00d70ee50a\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2-34095e00d70ee50a\",\"name\":\"test-name-2-34095e00d70ee50a\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"relationships\":{\"parent_team\":{\"data\":{\"id\":\"551c947a-0f0f-4ff0-8c41-0ceddabe3551\",\"type\":\"team\"}},\"sub_team\":{\"data\":{\"id\":\"e1c6ab08-0325-4df7-aea1-6bec76692d55\",\"type\":\"team\"}}},\"type\":\"team_hierarchy_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/c53bed14-1c0a-4895-b845-1c04be086ba0" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/e1c6ab08-0325-4df7-aea1-6bec76692d55" }, @@ -153,11 +124,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/551c947a-0f0f-4ff0-8c41-0ceddabe3551" }, @@ -176,4 +143,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-Conflict-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-Conflict-response.json index 243ecc4ff..2329a4468 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-Conflict-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-Conflict-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-6c891437b748aea8\",\"name\":\"test-name-6c891437b748aea8\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2-6c891437b748aea8\",\"name\":\"test-name-2-6c891437b748aea8\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"relationships\":{\"parent_team\":{\"data\":{\"id\":\"4a9a1845-0ba7-4a6f-a34d-6e72a4ffda87\",\"type\":\"team\"}},\"sub_team\":{\"data\":{\"id\":\"21296c73-c9e2-4889-a33f-417d2974b2bd\",\"type\":\"team\"}}},\"type\":\"team_hierarchy_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"relationships\":{\"parent_team\":{\"data\":{\"id\":\"4a9a1845-0ba7-4a6f-a34d-6e72a4ffda87\",\"type\":\"team\"}},\"sub_team\":{\"data\":{\"id\":\"21296c73-c9e2-4889-a33f-417d2974b2bd\",\"type\":\"team\"}}},\"type\":\"team_hierarchy_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/e980108e-d535-4bdf-84ca-5e8f84a68480" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/21296c73-c9e2-4889-a33f-417d2974b2bd" }, @@ -187,11 +151,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/4a9a1845-0ba7-4a6f-a34d-6e72a4ffda87" }, @@ -210,4 +170,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-OK-response.json index 30d4385f0..22b3c1fd2 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-4d8084da4dfa4ed8\",\"name\":\"test-name-4d8084da4dfa4ed8\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2-4d8084da4dfa4ed8\",\"name\":\"test-name-2-4d8084da4dfa4ed8\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"relationships\":{\"parent_team\":{\"data\":{\"id\":\"d5b049f4-59f1-474d-ad98-5a7342a8961f\",\"type\":\"team\"}},\"sub_team\":{\"data\":{\"id\":\"790428f6-10bc-427d-bf36-f53ca3c197e0\",\"type\":\"team\"}}},\"type\":\"team_hierarchy_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/6cf86539-2c6e-497e-8cef-0b285ff05514" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/790428f6-10bc-427d-bf36-f53ca3c197e0" }, @@ -153,11 +124,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/d5b049f4-59f1-474d-ad98-5a7342a8961f" }, @@ -176,4 +143,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-SUCCESS-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-SUCCESS-response.json index 9ef6bef93..d7a8f502f 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-SUCCESS-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-hierarchy-link-returns-SUCCESS-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-a75ee0b8b483d66f\",\"name\":\"test-name-a75ee0b8b483d66f\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2-a75ee0b8b483d66f\",\"name\":\"test-name-2-a75ee0b8b483d66f\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"relationships\":{\"parent_team\":{\"data\":{\"id\":\"b85e63cd-1d9f-4b71-a47c-f5a99d4a4afd\",\"type\":\"team\"}},\"sub_team\":{\"data\":{\"id\":\"2d096572-eb6a-4579-ba38-b4247cf75e17\",\"type\":\"team\"}}},\"type\":\"team_hierarchy_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/fb94d43b-fe10-4c5f-ae7c-4ad745428651" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/2d096572-eb6a-4579-ba38-b4247cf75e17" }, @@ -153,11 +124,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/b85e63cd-1d9f-4b71-a47c-f5a99d4a4afd" }, @@ -176,4 +143,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-link-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-link-returns-API-error-response-response.json index 70c4e0173..2fb1c72c3 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-link-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-link-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-d92d2e08806acc4e\",\"name\":\"test-name-d92d2e08806acc4e\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"label\":\"\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/2cb8bb60-405b-11ee-8a69-da7ad0900002/links" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/2cb8bb60-405b-11ee-8a69-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-link-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-link-returns-OK-response.json index f467020d1..2535dc12e 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-link-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-link-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-5e6a036c358c6bff\",\"name\":\"test-name-5e6a036c358c6bff\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"label\":\"Link label\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/66d6e3d2-f7ea-4946-bc93-b11db5b9bed4/links" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/66d6e3d2-f7ea-4946-bc93-b11db5b9bed4/links/b0c50a40-f84a-11f0-a7c6-da7ad0900002" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/66d6e3d2-f7ea-4946-bc93-b11db5b9bed4" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-returns-API-error-response-response.json index 6f795e581..a9dc2fb7a 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-b98be6aba3b71089\",\"name\":\"test-name-b98be6aba3b71089\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-b98be6aba3b71089\",\"name\":\"Example Team\"},\"relationships\":{\"users\":{\"data\":[]}},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/2d8e0130-405b-11ee-869d-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-returns-CREATED-response.json index 144ccaa75..0b002b8c7 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ef7e0a86ff5c0e43\",\"name\":\"test-name-ef7e0a86ff5c0e43\"},\"relationships\":{\"users\":{\"data\":[]}},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/8be92a56-405c-11ee-8f72-da7ad0900002" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-a-team-with-V2-fields-returns-CREATED-response.json b/tests/scenarios/cassettes/v2/teams/Create-a-team-with-V2-fields-returns-CREATED-response.json index 86035d1b4..1bad05e56 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-a-team-with-V2-fields-returns-CREATED-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-a-team-with-V2-fields-returns-CREATED-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"avatar\":\"\ud83e\udd51\",\"banner\":7,\"handle\":\"test-handle-d8e2060f755d882d\",\"hidden_modules\":[\"m3\"],\"name\":\"test-name-d8e2060f755d882d\",\"visible_modules\":[\"m1\",\"m2\"]},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/fcaac0f6-405c-11ee-9237-da7ad0900002" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-team-notification-rule-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Create-team-notification-rule-returns-API-error-response-response.json index a7ea3e762..81ff72ac9 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-team-notification-rule-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-team-notification-rule-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-416b8af9ae1d2bbe\",\"name\":\"test-name-416b8af9ae1d2bbe\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/f3b7fcd4-f37c-4e11-b288-f6cfa4b0df44/notification-rules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/f3b7fcd4-f37c-4e11-b288-f6cfa4b0df44/notification-rules" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/f3b7fcd4-f37c-4e11-b288-f6cfa4b0df44" }, @@ -128,4 +103,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Create-team-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Create-team-notification-rule-returns-OK-response.json index befaae554..72ea0c725 100644 --- a/tests/scenarios/cassettes/v2/teams/Create-team-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Create-team-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-72b192d95e937252\",\"name\":\"test-name-72b192d95e937252\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/04eae0c8-e225-4f2c-97ec-39dab13dfc38/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/04eae0c8-e225-4f2c-97ec-39dab13dfc38" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Delete-team-notification-rule-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Delete-team-notification-rule-returns-API-error-response-response.json index 5cb12a77b..228ccbb76 100644 --- a/tests/scenarios/cassettes/v2/teams/Delete-team-notification-rule-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Delete-team-notification-rule-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-7ecc01265306da71\",\"name\":\"test-name-7ecc01265306da71\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/9bd7798e-a955-48e0-9a36-13820e1ff74b/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/9bd7798e-a955-48e0-9a36-13820e1ff74b/notification-rules/3d031bb2-e1da-4d34-a670-1b5557b032c9" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/9bd7798e-a955-48e0-9a36-13820e1ff74b" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Delete-team-notification-rule-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/teams/Delete-team-notification-rule-returns-No-Content-response.json index 1d87a1677..7dee42ca8 100644 --- a/tests/scenarios/cassettes/v2/teams/Delete-team-notification-rule-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/teams/Delete-team-notification-rule-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-4f30392b8132329e\",\"name\":\"test-name-4f30392b8132329e\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/204d172a-83e4-420c-a840-d914be2cd5ed/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/204d172a-83e4-420c-a840-d914be2cd5ed/notification-rules/d4abbaab-11b3-41ea-a6e3-ed366522a39e" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/204d172a-83e4-420c-a840-d914be2cd5ed" }, @@ -118,4 +96,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-a-team-hierarchy-link-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Get-a-team-hierarchy-link-returns-API-error-response-response.json index 790fff8c8..d7f398699 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-a-team-hierarchy-link-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-a-team-hierarchy-link-returns-API-error-response-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-a-team-hierarchy-link-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-a-team-hierarchy-link-returns-OK-response.json index a46e83455..6ec1b0ef3 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-a-team-hierarchy-link-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-a-team-hierarchy-link-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ae3e76a23be3747a\",\"name\":\"test-name-ae3e76a23be3747a\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2-ae3e76a23be3747a\",\"name\":\"test-name-2-ae3e76a23be3747a\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"relationships\":{\"parent_team\":{\"data\":{\"id\":\"fafeac94-42b4-4469-91e8-0ae5ca3f564b\",\"type\":\"team\"}},\"sub_team\":{\"data\":{\"id\":\"196bcc55-bd30-4cfd-8549-b3d255a0517b\",\"type\":\"team\"}}},\"type\":\"team_hierarchy_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/5401e712-de1b-4deb-ac35-2c6ee1943ad0" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/5401e712-de1b-4deb-ac35-2c6ee1943ad0" }, @@ -157,11 +128,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/196bcc55-bd30-4cfd-8549-b3d255a0517b" }, @@ -181,11 +148,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/fafeac94-42b4-4469-91e8-0ae5ca3f564b" }, @@ -204,4 +167,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-a-team-link-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Get-a-team-link-returns-API-error-response-response.json index 10f3ef03f..93b95bc6e 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-a-team-link-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-a-team-link-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-87a259270e6183b1\",\"name\":\"test-name-87a259270e6183b1\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/2e28b978-405b-11ee-9792-da7ad0900002/links/REPLACE.ME" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/2e28b978-405b-11ee-9792-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-a-team-link-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-a-team-link-returns-OK-response.json index 89df3db99..618bcc810 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-a-team-link-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-a-team-link-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-94cf752f98fda23c\",\"name\":\"test-name-94cf752f98fda23c\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"label\":\"Test-Get_a_team_link_returns_OK_response-1769166013\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21/links" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21/links/b1c355f0-f84a-11f0-8d16-da7ad0900002" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21/links/b1c355f0-f84a-11f0-8d16-da7ad0900002" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-a-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Get-a-team-returns-API-error-response-response.json index 4926adb02..87e319c90 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-a-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-a-team-returns-API-error-response-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/REPLACE.ME" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-a-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-a-team-returns-OK-response.json index 01b861e30..2db3c89d6 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-a-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-a-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-df7035850d3d2bf3\",\"name\":\"test-name-df7035850d3d2bf3\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/2f0a0aae-405b-11ee-8fd8-da7ad0900002" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/2f0a0aae-405b-11ee-8fd8-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-all-teams-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/teams/Get-all-teams-returns-OK-response-with-pagination.json index 3c2afa18d..ca1cb1fed 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-all-teams-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/teams/Get-all-teams-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team?page%5Bsize%5D=2&page%5Bnumber%5D=0" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team?page%5Bsize%5D=2&page%5Bnumber%5D=1" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-all-teams-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-all-teams-returns-OK-response.json index ab3966e61..cf34510b9 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-all-teams-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-all-teams-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-e6e42a2ebca0ed06\",\"name\":\"test-name-e6e42a2ebca0ed06\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/2f5b80be-405b-11ee-8a0d-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-all-teams-with-fields-team-parameter-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-all-teams-with-fields-team-parameter-returns-OK-response.json index 94b10d9f6..3dac5fdc2 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-all-teams-with-fields-team-parameter-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-all-teams-with-fields-team-parameter-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-c164c08030364bd8\",\"name\":\"test-name-c164c08030364bd8\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team?fields%5Bteam%5D=id%2Cname%2Chandle" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/bfc08ce5-4a3c-4336-8544-0a366a1656fb" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-links-for-a-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Get-links-for-a-team-returns-API-error-response-response.json index 946e4fd5d..c85debac1 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-links-for-a-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-links-for-a-team-returns-API-error-response-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/REPLACE.ME/links" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-links-for-a-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-links-for-a-team-returns-OK-response.json index f69435c47..0e0043f4d 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-links-for-a-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-links-for-a-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2047a02ca89d196f\",\"name\":\"test-name-2047a02ca89d196f\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/2fcd65d0-405b-11ee-817e-da7ad0900002/links" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/2fcd65d0-405b-11ee-817e-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-permission-settings-for-a-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Get-permission-settings-for-a-team-returns-API-error-response-response.json index e175b8c1d..a8d6fe52b 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-permission-settings-for-a-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-permission-settings-for-a-team-returns-API-error-response-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/REPLACE.ME/permission-settings" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-permission-settings-for-a-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-permission-settings-for-a-team-returns-OK-response.json index a321527a9..bf00da3bb 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-permission-settings-for-a-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-permission-settings-for-a-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-c87e4cf0f4edb309\",\"name\":\"test-name-c87e4cf0f4edb309\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/302a1e60-405b-11ee-aa12-da7ad0900002/permission-settings" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/302a1e60-405b-11ee-aa12-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-team-hierarchy-links-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-team-hierarchy-links-returns-OK-response.json index fc294aa14..46e74c826 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-team-hierarchy-links-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-team-hierarchy-links-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ab0ee85594ae1dfd\",\"name\":\"test-name-ab0ee85594ae1dfd\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2-ab0ee85594ae1dfd\",\"name\":\"test-name-2-ab0ee85594ae1dfd\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"relationships\":{\"parent_team\":{\"data\":{\"id\":\"d1baf3de-7316-43b5-8582-dc887acc26ef\",\"type\":\"team\"}},\"sub_team\":{\"data\":{\"id\":\"61b0ab36-c1e5-47fd-898a-ba9bfc860e9d\",\"type\":\"team\"}}},\"type\":\"team_hierarchy_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links?filter%5Bparent_team%5D=d1baf3de-7316-43b5-8582-dc887acc26ef&filter%5Bsub_team%5D=61b0ab36-c1e5-47fd-898a-ba9bfc860e9d&page%5Bnumber%5D=0&page%5Bsize%5D=100" }, @@ -133,11 +108,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/61509612-5bb0-42c5-a16e-bf4920acf473" }, @@ -157,11 +128,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/61b0ab36-c1e5-47fd-898a-ba9bfc860e9d" }, @@ -181,11 +148,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/d1baf3de-7316-43b5-8582-dc887acc26ef" }, @@ -204,4 +167,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-API-error-response-response.json index 8efd64cbc..104f9c2ad 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-API-error-response-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/REPLACE.ME/memberships" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-Represents-a-user-s-association-to-a-team-response-with-pagination.json b/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-Represents-a-user-s-association-to-a-team-response-with-pagination.json index 33bc4c3a4..75effc457 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-Represents-a-user-s-association-to-a-team-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-Represents-a-user-s-association-to-a-team-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/2e06bf2c-193b-41d4-b3c2-afccc080458f/memberships?page%5Bsize%5D=2&page%5Bnumber%5D=0" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/2e06bf2c-193b-41d4-b3c2-afccc080458f/memberships?page%5Bsize%5D=2&page%5Bnumber%5D=1" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-Represents-a-user-s-association-to-a-team-response.json b/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-Represents-a-user-s-association-to-a-team-response.json index 303f8bb83..dd804959b 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-Represents-a-user-s-association-to-a-team-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-team-memberships-returns-Represents-a-user-s-association-to-a-team-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-f05d3606dace17e6\",\"name\":\"test-name-f05d3606dace17e6\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/308b9b7c-405b-11ee-b8bb-da7ad0900002/memberships" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/308b9b7c-405b-11ee-b8bb-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-team-notification-rule-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Get-team-notification-rule-returns-API-error-response-response.json index b7afd824a..8a5376400 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-team-notification-rule-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-team-notification-rule-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-903f29be232384f8\",\"name\":\"test-name-903f29be232384f8\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/54fb1795-4bee-4e8f-9ccd-1aca53d24f8e/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/54fb1795-4bee-4e8f-9ccd-1aca53d24f8e/notification-rules/54fb1795-4bee-4e8f-9ccd-1aca53d24f8e" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/54fb1795-4bee-4e8f-9ccd-1aca53d24f8e" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-team-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-team-notification-rule-returns-OK-response.json index 152467123..2d5add49d 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-team-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-team-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ee0eead53fe855d3\",\"name\":\"test-name-ee0eead53fe855d3\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/a7145aa7-d043-4f4d-bd45-fd02669b47d7/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/a7145aa7-d043-4f4d-bd45-fd02669b47d7/notification-rules/68717b60-b443-49ac-b7ca-75664cb53c29" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/a7145aa7-d043-4f4d-bd45-fd02669b47d7" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-team-notification-rules-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Get-team-notification-rules-returns-OK-response.json index d39b1d042..663ab361b 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-team-notification-rules-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-team-notification-rules-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-470a68e726826798\",\"name\":\"test-name-470a68e726826798\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/a3101ed3-6329-48f6-86fa-17f3680205a3/notification-rules" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/team/a3101ed3-6329-48f6-86fa-17f3680205a3/notification-rules" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/a3101ed3-6329-48f6-86fa-17f3680205a3" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Get-user-memberships-returns-Represents-a-user-s-association-to-a-team-response.json b/tests/scenarios/cassettes/v2/teams/Get-user-memberships-returns-Represents-a-user-s-association-to-a-team-response.json index dba6a106f..3c8c1bed6 100644 --- a/tests/scenarios/cassettes/v2/teams/Get-user-memberships-returns-Represents-a-user-s-association-to-a-team-response.json +++ b/tests/scenarios/cassettes/v2/teams/Get-user-memberships-returns-Represents-a-user-s-association-to-a-team-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_user_memberships_returns_Represents_a_user_s_association_to_a_team_response-1692647090@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/users/30e03059-405b-11ee-9a91-1a2c4720b59d/memberships" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/30e03059-405b-11ee-9a91-1a2c4720b59d" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Remove-a-team-hierarchy-link-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Remove-a-team-hierarchy-link-returns-API-error-response-response.json index b5ca8c318..3b9dc70cc 100644 --- a/tests/scenarios/cassettes/v2/teams/Remove-a-team-hierarchy-link-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Remove-a-team-hierarchy-link-returns-API-error-response-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Remove-a-team-hierarchy-link-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/teams/Remove-a-team-hierarchy-link-returns-No-Content-response.json index 78149960d..8434fa871 100644 --- a/tests/scenarios/cassettes/v2/teams/Remove-a-team-hierarchy-link-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/teams/Remove-a-team-hierarchy-link-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-db31819631324305\",\"name\":\"test-name-db31819631324305\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2-db31819631324305\",\"name\":\"test-name-2-db31819631324305\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"relationships\":{\"parent_team\":{\"data\":{\"id\":\"eaf01981-6b63-41ba-b49f-30449c50e865\",\"type\":\"team\"}},\"sub_team\":{\"data\":{\"id\":\"120aeb27-ca42-4e38-a9e4-6497b8f9407c\",\"type\":\"team\"}}},\"type\":\"team_hierarchy_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/185446b8-1e88-419c-b266-3933f1411b6e" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team-hierarchy-links/185446b8-1e88-419c-b266-3933f1411b6e" }, @@ -157,11 +128,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/120aeb27-ca42-4e38-a9e4-6497b8f9407c" }, @@ -181,11 +148,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/eaf01981-6b63-41ba-b49f-30449c50e865" }, @@ -204,4 +167,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Remove-a-team-link-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Remove-a-team-link-returns-API-error-response-response.json index 6d5e8204f..99dbc9d83 100644 --- a/tests/scenarios/cassettes/v2/teams/Remove-a-team-link-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Remove-a-team-link-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-e3c0e8f681a17e5d\",\"name\":\"test-name-e3c0e8f681a17e5d\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/312a5500-405b-11ee-8490-da7ad0900002/links/REPLACE.ME" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/312a5500-405b-11ee-8490-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Remove-a-team-link-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/teams/Remove-a-team-link-returns-No-Content-response.json index 85ec105fa..a69b1d6b9 100644 --- a/tests/scenarios/cassettes/v2/teams/Remove-a-team-link-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/teams/Remove-a-team-link-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-5e7e3d924d3cf03e\",\"name\":\"test-name-5e7e3d924d3cf03e\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1769166015\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f/links" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f/links/b2fba45e-f84a-11f0-9d5d-da7ad0900002" }, @@ -95,11 +77,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f/links/b2fba45e-f84a-11f0-9d5d-da7ad0900002" }, @@ -123,11 +101,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f" }, @@ -146,4 +120,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Remove-a-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Remove-a-team-returns-API-error-response-response.json index f33ddb7e0..5762449f4 100644 --- a/tests/scenarios/cassettes/v2/teams/Remove-a-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Remove-a-team-returns-API-error-response-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/REPLACE.ME" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Remove-a-team-returns-No-Content-response.json b/tests/scenarios/cassettes/v2/teams/Remove-a-team-returns-No-Content-response.json index 287c96379..1c92b2e6f 100644 --- a/tests/scenarios/cassettes/v2/teams/Remove-a-team-returns-No-Content-response.json +++ b/tests/scenarios/cassettes/v2/teams/Remove-a-team-returns-No-Content-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-a9d07353f71937c2\",\"name\":\"test-name-a9d07353f71937c2\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/320db0de-405b-11ee-bb10-da7ad0900002" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/320db0de-405b-11ee-bb10-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Remove-a-user-from-a-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Remove-a-user-from-a-team-returns-API-error-response-response.json index 9e6408dba..0372a2a8a 100644 --- a/tests/scenarios/cassettes/v2/teams/Remove-a-user-from-a-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Remove-a-user-from-a-team-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-61d5baa2cd58430d\",\"name\":\"test-name-61d5baa2cd58430d\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/325bc472-405b-11ee-ac5e-da7ad0900002/memberships/REPLACE.ME" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/325bc472-405b-11ee-ac5e-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Sync-teams-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Sync-teams-returns-OK-response.json index ac930c558..c6c2d8959 100644 --- a/tests/scenarios/cassettes/v2/teams/Sync-teams-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Sync-teams-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"source\":\"github\",\"type\":\"link\"},\"type\":\"team_sync_bulk\"}}", "encoding": null }, - "headers": { - "Accept": [ - "*/*" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/sync" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-a-team-link-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Update-a-team-link-returns-API-error-response-response.json index 3f584cfd1..1352c54d4 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-a-team-link-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-a-team-link-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-f05d64ea2c336925\",\"name\":\"test-name-f05d64ea2c336925\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"label\":\"Link label\",\"url\":\"https://example.com\"},\"type\":\"team_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/team/32b31d26-405b-11ee-8641-da7ad0900002/links/REPLACE.ME" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/32b31d26-405b-11ee-8641-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-a-team-link-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Update-a-team-link-returns-OK-response.json index cc1dd2b40..d1c9975ca 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-a-team-link-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-a-team-link-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-98fa6b5d3df15a52\",\"name\":\"test-name-98fa6b5d3df15a52\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"label\":\"Test-Update_a_team_link_returns_OK_response-1769166017\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5/links" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"label\":\"New Label\",\"url\":\"https://example.com\"},\"type\":\"team_links\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5/links/b433501a-f84a-11f0-9cd8-da7ad0900002" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5/links/b433501a-f84a-11f0-9cd8-da7ad0900002" }, @@ -129,11 +104,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5" }, @@ -152,4 +123,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-a-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Update-a-team-returns-OK-response.json index 61ae0afa5..8426e19d3 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-a-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-a-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-2d88c8b44bfe8721\",\"name\":\"test-name-2d88c8b44bfe8721\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"avatar\":\"\ud83e\udd51\",\"banner\":7,\"handle\":\"test-handle-2d88c8b44bfe8721\",\"hidden_modules\":[\"m3\"],\"name\":\"test-name-2d88c8b44bfe8721 updated\",\"visible_modules\":[\"m1\",\"m2\"]},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/team/81011c66-405c-11ee-bec1-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/81011c66-405c-11ee-bec1-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-returns-API-error-response-response.json index ea020bd55..4efd5a6e1 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-d1ea4282abe3f68d\",\"name\":\"test-name-d1ea4282abe3f68d\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"role\":\"admin\"},\"type\":\"team_memberships\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/team/587b5f1a-b8ef-42b7-a99a-746cb80422a4/memberships/00000000-0000-dead-beef-000000000000" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/587b5f1a-b8ef-42b7-a99a-746cb80422a4" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-returns-OK-response.json index 9123e3c6f..3f66216f4 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ae403c8f160ec46f\",\"name\":\"test-name-ae403c8f160ec46f\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_a_user_s_membership_attributes_on_a_team_returns_OK_response-1770908386@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"role\":\"admin\"},\"relationships\":{\"user\":{\"data\":{\"id\":\"3330c2ed-ac5d-458e-875b-ffc85c436edc\",\"type\":\"users\"}}},\"type\":\"team_memberships\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607/memberships" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"role\":\"admin\"},\"type\":\"team_memberships\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607/memberships/3330c2ed-ac5d-458e-875b-ffc85c436edc" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607/memberships/3330c2ed-ac5d-458e-875b-ffc85c436edc" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/3330c2ed-ac5d-458e-875b-ffc85c436edc" }, @@ -187,11 +151,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/38c0d1d3-69c0-4452-95a0-0115b22f2607" }, @@ -210,4 +170,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-with-invalid-role-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-with-invalid-role-returns-API-error-response-response.json index ab3ffe34a..fad507b81 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-with-invalid-role-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-a-user-s-membership-attributes-on-a-team-with-invalid-role-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ff2b53b6514455c7\",\"name\":\"test-name-ff2b53b6514455c7\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_a_user_s_membership_attributes_on_a_team_with_invalid_role_returns_API_error_response_respons-1770908405@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"role\":\"admin\"},\"relationships\":{\"user\":{\"data\":{\"id\":\"eed29272-352e-4bf8-ab48-ad007a1f7179\",\"type\":\"users\"}}},\"type\":\"team_memberships\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/9c2a3be7-8a43-4f37-bc3d-88248875f867/memberships" }, @@ -108,14 +87,7 @@ "string": "{\"data\":{\"attributes\":{\"role\":\"member\"},\"type\":\"team_memberships\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/team/9c2a3be7-8a43-4f37-bc3d-88248875f867/memberships/eed29272-352e-4bf8-ab48-ad007a1f7179" }, @@ -139,11 +111,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/9c2a3be7-8a43-4f37-bc3d-88248875f867/memberships/eed29272-352e-4bf8-ab48-ad007a1f7179" }, @@ -163,11 +131,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/eed29272-352e-4bf8-ab48-ad007a1f7179" }, @@ -187,11 +151,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/9c2a3be7-8a43-4f37-bc3d-88248875f867" }, @@ -210,4 +170,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-a-user-s-role-on-a-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Update-a-user-s-role-on-a-team-returns-API-error-response-response.json index 482e4ccc6..0e7a59516 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-a-user-s-role-on-a-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-a-user-s-role-on-a-team-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-427b76ae43f10fe0\",\"name\":\"test-name-427b76ae43f10fe0\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"role\":\"admin\"},\"type\":\"team_memberships\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/team/33d811ca-405b-11ee-a640-da7ad0900002/memberships/REPLACE.ME" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/33d811ca-405b-11ee-a640-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-permission-setting-for-team-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Update-permission-setting-for-team-returns-API-error-response-response.json index 7e14d0e7c..a5ece5018 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-permission-setting-for-team-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-permission-setting-for-team-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-62f52dee42c1d7dc\",\"name\":\"test-name-62f52dee42c1d7dc\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"value\":\"admins\"},\"type\":\"team_permission_settings\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/team/3426dddc-405b-11ee-818a-da7ad0900002/permission-settings/REPLACE.ME" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/3426dddc-405b-11ee-818a-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-permission-setting-for-team-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Update-permission-setting-for-team-returns-OK-response.json index 0c0e9d5f9..8e2d1ec98 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-permission-setting-for-team-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-permission-setting-for-team-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-f17bf3394db1955e\",\"name\":\"test-name-f17bf3394db1955e\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"value\":\"admins\"},\"type\":\"team_permission_settings\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/team/3474a102-405b-11ee-8a0f-da7ad0900002/permission-settings/manage_membership" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/3474a102-405b-11ee-8a0f-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-team-notification-rule-returns-API-error-response-response.json b/tests/scenarios/cassettes/v2/teams/Update-team-notification-rule-returns-API-error-response-response.json index a73e8c609..80f0c4ccb 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-team-notification-rule-returns-API-error-response-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-team-notification-rule-returns-API-error-response-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-191ec67f8f79c1b1\",\"name\":\"test-name-191ec67f8f79c1b1\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/30484b70-7506-41b9-b1c6-4fcf6c13e5e4/notification-rules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"pagerduty\":{\"service_name\":\"Datadog-prod\"},\"slack\":{\"channel\":\"aaa-governance-ops\",\"workspace\":\"Datadog\"}},\"id\":\"30484b70-7506-41b9-b1c6-4fcf6c13e5e4\",\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/team/30484b70-7506-41b9-b1c6-4fcf6c13e5e4/notification-rules/3d031bb2-e1da-4d34-a670-1b5557b032c9" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/30484b70-7506-41b9-b1c6-4fcf6c13e5e4" }, @@ -128,4 +103,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/teams/Update-team-notification-rule-returns-OK-response.json b/tests/scenarios/cassettes/v2/teams/Update-team-notification-rule-returns-OK-response.json index 61734d486..8067dae79 100644 --- a/tests/scenarios/cassettes/v2/teams/Update-team-notification-rule-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/teams/Update-team-notification-rule-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-129c4638a0cbf5ab\",\"name\":\"test-name-129c4638a0cbf5ab\"},\"type\":\"team\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":{\"enabled\":true},\"slack\":{\"channel\":\"aaa-omg-ops\",\"workspace\":\"Datadog\"}},\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/team/b103bc00-af0b-48ee-ad0a-2cae69341320/notification-rules" }, @@ -74,14 +60,7 @@ "string": "{\"data\":{\"attributes\":{\"pagerduty\":{\"service_name\":\"Datadog-prod\"},\"slack\":{\"channel\":\"aaa-governance-ops\",\"workspace\":\"Datadog\"}},\"id\":\"5bff55f5-6777-4494-a2bd-23e0a6a3d751\",\"type\":\"team_notification_rules\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/team/b103bc00-af0b-48ee-ad0a-2cae69341320/notification-rules/5bff55f5-6777-4494-a2bd-23e0a6a3d751" }, @@ -105,11 +84,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/team/b103bc00-af0b-48ee-ad0a-2cae69341320" }, @@ -128,4 +103,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-Bad-Request-response.json index 176195d53..aeed6d850 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost_by_tag/monthly_cost_attribution?start_month=2023-11-11T19%3A41%3A02.013Z&end_month=2023-11-13T19%3A41%3A02.013Z&fields=not_a_product" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-OK-response.json index 79407bc9d..add45c235 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost_by_tag/monthly_cost_attribution?start_month=2023-11-11T19%3A43%3A19.607Z&end_month=2023-11-13T19%3A43%3A19.607Z&fields=infra_host_total_cost" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.json index 2dc124c19..88ac92bf7 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/cost_by_tag/active_billing_dimensions" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.json index eb8c383a1..f2b37e79e 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/billing_dimension_mapping" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-cost-across-multi-org-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-cost-across-multi-org-account-returns-OK-response.json index 664b03b79..8e8edd744 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-cost-across-multi-org-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-cost-across-multi-org-account-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/cost_by_org?start_month=2022-04-22T17%3A07%3A01.561Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-estimated-cost-across-multi-org-account-with-date-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-estimated-cost-across-multi-org-account-with-date-returns-OK-response.json index 26582215b..dcce95a28 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-estimated-cost-across-multi-org-account-with-date-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-estimated-cost-across-multi-org-account-with-date-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/estimated_cost_by_org?start_date=2022-04-20T17%3A07%3A01.561Z&end_date=2022-04-22T17%3A07%3A01.561Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-estimated-cost-across-multi-org-account-with-month-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-estimated-cost-across-multi-org-account-with-month-returns-OK-response.json index eb72ead7a..a15d6daa3 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-estimated-cost-across-multi-org-account-with-month-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-estimated-cost-across-multi-org-account-with-month-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/estimated_cost_by_org?start_month=2022-04-20T17%3A07%3A01.561Z&end_month=2022-04-22T17%3A07%3A01.561Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-historical-cost-across-your-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-historical-cost-across-your-account-returns-OK-response.json index 5c75b9fee..423034b62 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-historical-cost-across-your-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-historical-cost-across-your-account-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/historical_cost?start_month=2022-09-21T21%3A58%3A43.871Z&view=sub-org" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.json index 0376328bd..8042b4846 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/hourly_usage?filter%5Btimestamp%5D%5Bstart%5D=2022-07-16T14%3A57%3A41.335Z&filter%5Btimestamp%5D%5Bend%5D=2022-07-14T14%3A57%3A41.335Z&filter%5Bproduct_families%5D=infra_hosts" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.json index 7d8c23b5d..f6d76b5c5 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/hourly_usage?filter%5Btimestamp%5D%5Bstart%5D=2022-07-16T14%3A57%3A41.821Z&filter%5Bproduct_families%5D=infra_hosts" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.json index a0441cad7..79b5d4090 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/application_security?start_hr=2022-04-29T16%3A40%3A49.302Z&end_hr=2022-04-27T16%3A40%3A49.302Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.json index 031b03b37..dcd3d8794 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/lambda_traced_invocations?start_hr=2024-01-21T20%3A56%3A23.911Z&end_hr=2024-01-19T20%3A56%3A23.911Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.json index b1f85d1eb..02dab5a02 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/lambda_traced_invocations?start_hr=2024-01-19T20%3A54%3A39.781Z&end_hr=2024-01-21T20%3A54%3A39.781Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.json index c8a807a5b..5828a7232 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/observability_pipelines?start_hr=2022-04-17T18%3A23%3A39.831Z&end_hr=2022-04-15T18%3A23%3A39.831Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.json index baa8a1440..ce914f29c 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/application_security?start_hr=2023-10-11T15%3A16%3A50.772Z&end_hr=2023-10-13T15%3A16%3A50.772Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.json index a4cb56e24..e0ad5c0a6 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/observability_pipelines?start_hr=2023-10-11T15%3A14%3A35.114Z&end_hr=2023-10-13T15%3A14%3A35.114Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-projected-cost-across-your-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-projected-cost-across-your-account-returns-OK-response.json index 367a6c6a3..be5fb2712 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-projected-cost-across-your-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-projected-cost-across-your-account-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/projected_cost?view=sub-org" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.json index 30bc30528..a2484b5f6 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/estimated_cost?view=sub-org&start_month=2022-11-03T21%3A08%3A41.229Z&start_date=2022-10-31T21%3A08%3A41.229Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-date-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-date-returns-OK-response.json index 794550cef..984105ed6 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-date-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-date-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/estimated_cost?start_date=2022-07-24T14%3A22%3A55.359Z&view=sub-org" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-month-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-month-returns-OK-response.json index 26f1e4132..077854301 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-month-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-month-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json;datetime-format=rfc3339" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/usage/estimated_cost?view=sub-org&start_month=2022-11-04T18%3A40%3A14.021Z" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Create-a-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/users/Create-a-user-returns-OK-response.json index be7344c43..3379a0f1b 100644 --- a/tests/scenarios/cassettes/v2/users/Create-a-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/users/Create-a-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_user_returns_OK_response-1652349215@datadoghq.com\",\"name\":\"Datadog API Client Python\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/6409ce70-d1d9-11ec-ad3d-da7ad0900002" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Disable-a-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/users/Disable-a-user-returns-OK-response.json index 76129bd54..3b29f9d29 100644 --- a/tests/scenarios/cassettes/v2/users/Disable-a-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/users/Disable-a-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Disable_a_user_returns_OK_response-1652349216@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/649b7e06-d1d9-11ec-ad3d-da7ad0900002" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/649b7e06-d1d9-11ec-ad3d-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Get-a-user-invitation-returns-OK-response.json b/tests/scenarios/cassettes/v2/users/Get-a-user-invitation-returns-OK-response.json index 4150b51d5..276690675 100644 --- a/tests/scenarios/cassettes/v2/users/Get-a-user-invitation-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/users/Get-a-user-invitation-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_a_user_invitation_returns_OK_response-1652349217@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":[{\"relationships\":{\"user\":{\"data\":{\"id\":\"657f03d8-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"users\"}}},\"type\":\"user_invitations\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/user_invitations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/user_invitations/65ef03ae-d1d9-11ec-ad3d-da7ad0900002" }, @@ -99,11 +81,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/657f03d8-d1d9-11ec-ad3d-da7ad0900002" }, @@ -122,4 +100,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Get-a-user-permissions-returns-OK-response.json b/tests/scenarios/cassettes/v2/users/Get-a-user-permissions-returns-OK-response.json index f00da3f3e..40f052bab 100644 --- a/tests/scenarios/cassettes/v2/users/Get-a-user-permissions-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/users/Get-a-user-permissions-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_a_user_permissions_returns_OK_response-1652349220@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/users/66d13aa8-d1d9-11ec-ad3d-da7ad0900002/permissions" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/66d13aa8-d1d9-11ec-ad3d-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Get-user-details-returns-OK-response.json b/tests/scenarios/cassettes/v2/users/Get-user-details-returns-OK-response.json index b827aa004..02ebfaef6 100644 --- a/tests/scenarios/cassettes/v2/users/Get-user-details-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/users/Get-user-details-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_user_details_returns_OK_response-1697467605@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/users/d3edd11c-6c32-11ee-9c79-aaef51702d10" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/d3edd11c-6c32-11ee-9c79-aaef51702d10" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/List-all-users-returns-OK-response-with-pagination.json b/tests/scenarios/cassettes/v2/users/List-all-users-returns-OK-response-with-pagination.json index 24a825274..1b5a310fa 100644 --- a/tests/scenarios/cassettes/v2/users/List-all-users-returns-OK-response-with-pagination.json +++ b/tests/scenarios/cassettes/v2/users/List-all-users-returns-OK-response-with-pagination.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/users?page%5Bsize%5D=2&page%5Bnumber%5D=0" }, @@ -31,11 +27,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/users?page%5Bsize%5D=2&page%5Bnumber%5D=1" }, @@ -58,4 +50,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/List-all-users-returns-OK-response.json b/tests/scenarios/cassettes/v2/users/List-all-users-returns-OK-response.json index bb868e07d..83d40459b 100644 --- a/tests/scenarios/cassettes/v2/users/List-all-users-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/users/List-all-users-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-List_all_users_returns_OK_response-1652349222@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/users?filter=test-list_all_users_returns_ok_response-1652349222%40datadoghq.com" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/688172d2-d1d9-11ec-ad3d-da7ad0900002" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Send-invitation-emails-returns-OK-response.json b/tests/scenarios/cassettes/v2/users/Send-invitation-emails-returns-OK-response.json index be79a6fb0..64bf32348 100644 --- a/tests/scenarios/cassettes/v2/users/Send-invitation-emails-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/users/Send-invitation-emails-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Send_invitation_emails_returns_OK_response-1652349230@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":[{\"relationships\":{\"user\":{\"data\":{\"id\":\"6cf192b6-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"users\"}}},\"type\":\"user_invitations\"}]}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/user_invitations" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/6cf192b6-d1d9-11ec-ad3d-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Update-a-user-returns-Bad-User-ID-in-Request-response.json b/tests/scenarios/cassettes/v2/users/Update-a-user-returns-Bad-User-ID-in-Request-response.json index a61d22946..53cd9927d 100644 --- a/tests/scenarios/cassettes/v2/users/Update-a-user-returns-Bad-User-ID-in-Request-response.json +++ b/tests/scenarios/cassettes/v2/users/Update-a-user-returns-Bad-User-ID-in-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_a_user_returns_Bad_User_ID_in_Request_response-1652349231@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"disabled\":true,\"name\":\"updated\"},\"id\":\"00000000-mismatch-body-id-ffffffffffff\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/users/6de87a9a-d1d9-11ec-ad3d-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/6de87a9a-d1d9-11ec-ad3d-da7ad0900002" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Update-a-user-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/users/Update-a-user-returns-Not-found-response.json index c41e766ca..6ac4237f2 100644 --- a/tests/scenarios/cassettes/v2/users/Update-a-user-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/users/Update-a-user-returns-Not-found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"disabled\":true,\"name\":\"updated\"},\"id\":\"00000000-dead-beef-dead-ffffffffffff\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/users/00000000-dead-beef-dead-ffffffffffff" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/users/Update-a-user-returns-OK-response.json b/tests/scenarios/cassettes/v2/users/Update-a-user-returns-OK-response.json index ba9d70b3f..c8fcfe78a 100644 --- a/tests/scenarios/cassettes/v2/users/Update-a-user-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/users/Update-a-user-returns-OK-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_a_user_returns_OK_response-1652349233@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/users" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"disabled\":true,\"name\":\"updated\"},\"id\":\"6de87a9b-d1d9-11ec-ad3d-da7ad0900002\",\"type\":\"users\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/users/6de87a9b-d1d9-11ec-ad3d-da7ad0900002" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/users/6de87a9b-d1d9-11ec-ad3d-da7ad0900002" }, @@ -98,4 +80,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-Bad-Request-response.json index 0d2afe508..7886c30f1 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/workflows/malformed/instances/malformed/cancel" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-Not-Found-response.json index 26516fd9d..73ed990e4 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/workflows/0233a3b7-b7ba-425e-a8cc-375ca2020b5b/instances/e0c64dc8-f946-4ae8-8d79-54569031ce67/cancel" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-OK-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-OK-response.json index aebda0cba..64670535e 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Cancel-a-workflow-instance-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "put", "uri": "https://api.datadoghq.com/api/v2/workflows/ccf73164-1998-4785-a7a3-8d06c7e5f558/instances/305a472b-71ab-4ce8-8f8d-75db635627b5/cancel" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Create-Workflow-returns-Bad-request-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Create-Workflow-returns-Bad-request-response.json index 47011ee31..ab0868ee2 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Create-Workflow-returns-Bad-request-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Create-Workflow-returns-Bad-request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"name\":\"Too many characters in description\",\"spec\":{}},\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Create-Workflow-returns-Successfully-created-a-workflow-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Create-Workflow-returns-Successfully-created-a-workflow-response.json index ee7595a51..3307391ed 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Create-Workflow-returns-Successfully-created-a-workflow-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Create-Workflow-returns-Successfully-created-a-workflow-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A sample workflow.\",\"name\":\"Example Workflow\",\"published\":true,\"spec\":{\"connectionEnvs\":[{\"connections\":[{\"connectionId\":\"11111111-1111-1111-1111-111111111111\",\"label\":\"INTEGRATION_DATADOG\"}],\"env\":\"default\"}],\"handle\":\"my-handle\",\"inputSchema\":{\"parameters\":[{\"defaultValue\":\"default\",\"name\":\"input\",\"type\":\"STRING\"}]},\"outputSchema\":{\"parameters\":[{\"name\":\"output\",\"type\":\"ARRAY_OBJECT\",\"value\":\"outputValue\"}]},\"steps\":[{\"actionId\":\"com.datadoghq.dd.monitor.listMonitors\",\"connectionLabel\":\"INTEGRATION_DATADOG\",\"name\":\"Step1\",\"outboundEdges\":[{\"branchName\":\"main\",\"nextStepName\":\"Step2\"}],\"parameters\":[{\"name\":\"tags\",\"value\":\"service:monitoring\"}]},{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"Step2\"}],\"triggers\":[{\"monitorTrigger\":{\"rateLimit\":{\"count\":1,\"interval\":\"3600s\"}},\"startStepNames\":[\"Step1\"]},{\"githubWebhookTrigger\":{},\"startStepNames\":[\"Step1\"]}]},\"tags\":[\"team:infra\",\"service:monitoring\",\"foo:bar\"]},\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/workflows/9c250b4e-3d0c-433d-84e6-60a6bde81adb" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Create-a-Workflow-returns-Bad-request-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Create-a-Workflow-returns-Bad-request-response.json index c10d7d2e5..fe4defd35 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Create-a-Workflow-returns-Bad-request-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Create-a-Workflow-returns-Bad-request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"name\":\"Too many characters in description\",\"spec\":{}},\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Create-a-Workflow-returns-Successfully-created-a-workflow-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Create-a-Workflow-returns-Successfully-created-a-workflow-response.json index 46320fe65..f7bde778a 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Create-a-Workflow-returns-Successfully-created-a-workflow-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Create-a-Workflow-returns-Successfully-created-a-workflow-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A sample workflow.\",\"name\":\"Example Workflow\",\"published\":true,\"spec\":{\"connectionEnvs\":[{\"connections\":[{\"connectionId\":\"11111111-1111-1111-1111-111111111111\",\"label\":\"INTEGRATION_DATADOG\"}],\"env\":\"default\"}],\"inputSchema\":{\"parameters\":[{\"defaultValue\":\"default\",\"name\":\"input\",\"type\":\"STRING\"}]},\"outputSchema\":{\"parameters\":[{\"name\":\"output\",\"type\":\"ARRAY_OBJECT\",\"value\":\"outputValue\"}]},\"steps\":[{\"actionId\":\"com.datadoghq.dd.monitor.listMonitors\",\"connectionLabel\":\"INTEGRATION_DATADOG\",\"name\":\"Step1\",\"outboundEdges\":[{\"branchName\":\"main\",\"nextStepName\":\"Step2\"}],\"parameters\":[{\"name\":\"tags\",\"value\":\"service:monitoring\"}]},{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"Step2\"}],\"triggers\":[{\"monitorTrigger\":{\"rateLimit\":{\"count\":1,\"interval\":\"3600s\"}},\"startStepNames\":[\"Step1\"]},{\"githubWebhookTrigger\":{},\"startStepNames\":[\"Step1\"]}]},\"tags\":[\"team:infra\",\"service:monitoring\",\"foo:bar\"]},\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/workflows/c850935f-15fc-4e5b-8903-d68066c5343a" }, @@ -60,4 +49,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Delete-an-existing-Workflow-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Delete-an-existing-Workflow-returns-Not-found-response.json index 047a4aebb..d1aab8a0c 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Delete-an-existing-Workflow-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Delete-an-existing-Workflow-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/workflows/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Delete-an-existing-Workflow-returns-Successfully-deleted-a-workflow-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Delete-an-existing-Workflow-returns-Successfully-deleted-a-workflow-response.json index f833a5ba4..20840f9c0 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Delete-an-existing-Workflow-returns-Successfully-deleted-a-workflow-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Delete-an-existing-Workflow-returns-Successfully-deleted-a-workflow-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Cassette Workflow x-given\",\"spec\":{\"steps\":[{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"No_op\"}],\"triggers\":[{\"startStepNames\":[\"No_op\"],\"workflowTrigger\":{}}]}},\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/workflows/8b9af60d-3521-4ed0-85b2-8e2ab2131e58" }, @@ -61,11 +50,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/workflows/8b9af60d-3521-4ed0-85b2-8e2ab2131e58" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Execute-a-workflow-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Execute-a-workflow-returns-Bad-Request-response.json index f7c458a03..a5e637647 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Execute-a-workflow-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Execute-a-workflow-returns-Bad-Request-response.json @@ -6,14 +6,7 @@ "string": "{\"meta\":{\"payload\":{\"input\":\"value\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows/malformed/instances" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Execute-a-workflow-returns-Created-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Execute-a-workflow-returns-Created-response.json index c387c4a2d..d1783e6e5 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Execute-a-workflow-returns-Created-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Execute-a-workflow-returns-Created-response.json @@ -6,14 +6,7 @@ "string": "{\"meta\":{\"payload\":{\"input\":\"value\"}}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows/ccf73164-1998-4785-a7a3-8d06c7e5f558/instances" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-Bad-Request-response.json index be7d8965c..131aaedbf 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/workflows/malformed/instances/malformed" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-Not-Found-response.json index 4a75e1ba8..d7ecaf341 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-Not-Found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/workflows/0233a3b7-b7ba-425e-a8cc-375ca2020b5b/instances/e0c64dc8-f946-4ae8-8d79-54569031ce67" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-OK-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-OK-response.json index beb3d54a3..9ae1916a2 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Get-a-workflow-instance-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/workflows/ccf73164-1998-4785-a7a3-8d06c7e5f558/instances/305a472b-71ab-4ce8-8f8d-75db635627b5" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Bad-request-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Bad-request-response.json index cc765878a..944cc0a2d 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Bad-request-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Bad-request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/workflows/bad-format" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Not-found-response.json index 4b456a6bd..363fe5c26 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Not-found-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/workflows/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Successfully-got-a-workflow-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Successfully-got-a-workflow-response.json index 0e1945187..48357c2d8 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Successfully-got-a-workflow-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Get-an-existing-Workflow-returns-Successfully-got-a-workflow-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Cassette Workflow x-given\",\"spec\":{\"steps\":[{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"No_op\"}],\"triggers\":[{\"startStepNames\":[\"No_op\"],\"workflowTrigger\":{}}]}},\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows" }, @@ -37,11 +30,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/workflows/dec8dfd0-2031-480a-90ce-4e9179b22793" }, @@ -65,11 +54,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/workflows/dec8dfd0-2031-480a-90ce-4e9179b22793" }, @@ -88,4 +73,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/List-workflow-instances-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/workflow_automation/List-workflow-instances-returns-Bad-Request-response.json index 05e635227..fe2a5e083 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/List-workflow-instances-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/List-workflow-instances-returns-Bad-Request-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/workflows/malformed/instances" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/List-workflow-instances-returns-OK-response.json b/tests/scenarios/cassettes/v2/workflow_automation/List-workflow-instances-returns-OK-response.json index 4c4275bed..f71f1ed2c 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/List-workflow-instances-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/List-workflow-instances-returns-OK-response.json @@ -3,11 +3,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, + "headers": {}, "method": "get", "uri": "https://api.datadoghq.com/api/v2/workflows/ccf73164-1998-4785-a7a3-8d06c7e5f558/instances" }, @@ -30,4 +26,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Bad-request-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Bad-request-response.json index e26e4e273..2840bc813 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Bad-request-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Bad-request-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Cassette Workflow x-given\",\"spec\":{\"steps\":[{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"No_op\"}],\"triggers\":[{\"startStepNames\":[\"No_op\"],\"workflowTrigger\":{}}]}},\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"name\":\"Too many characters in description\",\"spec\":{}},\"id\":\"22222222-2222-2222-2222-222222222222\",\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/workflows/b40d1eb8-5741-474c-a137-897f73527a77" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/workflows/b40d1eb8-5741-474c-a137-897f73527a77" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Not-found-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Not-found-response.json index efdad8dc3..a8c49c6c5 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Not-found-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Not-found-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A sample workflow.\",\"name\":\"Example Workflow\",\"published\":true,\"spec\":{\"connectionEnvs\":[{\"connections\":[{\"connectionId\":\"11111111-1111-1111-1111-111111111111\",\"label\":\"INTEGRATION_DATADOG\"}],\"env\":\"default\"}],\"inputSchema\":{\"parameters\":[{\"defaultValue\":\"default\",\"name\":\"input\",\"type\":\"STRING\"}]},\"outputSchema\":{\"parameters\":[{\"name\":\"output\",\"type\":\"ARRAY_OBJECT\",\"value\":\"outputValue\"}]},\"steps\":[{\"actionId\":\"com.datadoghq.dd.monitor.listMonitors\",\"connectionLabel\":\"INTEGRATION_DATADOG\",\"name\":\"Step1\",\"outboundEdges\":[{\"branchName\":\"main\",\"nextStepName\":\"Step2\"}],\"parameters\":[{\"name\":\"tags\",\"value\":\"service:monitoring\"}]},{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"Step2\"}],\"triggers\":[{\"monitorTrigger\":{\"rateLimit\":{\"count\":1,\"interval\":\"3600s\"}},\"startStepNames\":[\"Step1\"]},{\"githubWebhookTrigger\":{},\"startStepNames\":[\"Step1\"]}]},\"tags\":[\"team:infra\",\"service:monitoring\",\"foo:bar\"]},\"id\":\"22222222-2222-2222-2222-222222222222\",\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/workflows/aaa11111-aa11-aa11-aaaa-aaaaaa111111" }, @@ -36,4 +29,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Successfully-updated-a-workflow-response.json b/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Successfully-updated-a-workflow-response.json index a99ab7d95..b47e289ff 100644 --- a/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Successfully-updated-a-workflow-response.json +++ b/tests/scenarios/cassettes/v2/workflow_automation/Update-an-existing-Workflow-returns-Successfully-updated-a-workflow-response.json @@ -6,14 +6,7 @@ "string": "{\"data\":{\"attributes\":{\"name\":\"Cassette Workflow x-given\",\"spec\":{\"steps\":[{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"No_op\"}],\"triggers\":[{\"startStepNames\":[\"No_op\"],\"workflowTrigger\":{}}]}},\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "post", "uri": "https://api.datadoghq.com/api/v2/workflows" }, @@ -40,14 +33,7 @@ "string": "{\"data\":{\"attributes\":{\"description\":\"A sample workflow.\",\"name\":\"Example Workflow\",\"published\":true,\"spec\":{\"connectionEnvs\":[{\"connections\":[{\"connectionId\":\"11111111-1111-1111-1111-111111111111\",\"label\":\"INTEGRATION_DATADOG\"}],\"env\":\"default\"}],\"inputSchema\":{\"parameters\":[{\"defaultValue\":\"default\",\"name\":\"input\",\"type\":\"STRING\"}]},\"outputSchema\":{\"parameters\":[{\"name\":\"output\",\"type\":\"ARRAY_OBJECT\",\"value\":\"outputValue\"}]},\"steps\":[{\"actionId\":\"com.datadoghq.dd.monitor.listMonitors\",\"connectionLabel\":\"INTEGRATION_DATADOG\",\"name\":\"Step1\",\"outboundEdges\":[{\"branchName\":\"main\",\"nextStepName\":\"Step2\"}],\"parameters\":[{\"name\":\"tags\",\"value\":\"service:monitoring\"}]},{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"Step2\"}],\"triggers\":[{\"monitorTrigger\":{\"rateLimit\":{\"count\":1,\"interval\":\"3600s\"}},\"startStepNames\":[\"Step1\"]},{\"githubWebhookTrigger\":{},\"startStepNames\":[\"Step1\"]}]},\"tags\":[\"team:infra\",\"service:monitoring\",\"foo:bar\"]},\"id\":\"22222222-2222-2222-2222-222222222222\",\"type\":\"workflows\"}}", "encoding": null }, - "headers": { - "Accept": [ - "application/json" - ], - "Content-Type": [ - "application/json" - ] - }, + "headers": {}, "method": "patch", "uri": "https://api.datadoghq.com/api/v2/workflows/a08f59a2-97d7-484e-8dda-b5abbb003869" }, @@ -71,11 +57,7 @@ { "request": { "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, + "headers": {}, "method": "delete", "uri": "https://api.datadoghq.com/api/v2/workflows/a08f59a2-97d7-484e-8dda-b5abbb003869" }, @@ -94,4 +76,4 @@ } ], "recorded_with": "VCR 6.0.0" -} \ No newline at end of file +} diff --git a/tests/scenarios/fixtures.rs b/tests/scenarios/fixtures.rs index 2cc2115de..cd13af68b 100644 --- a/tests/scenarios/fixtures.rs +++ b/tests/scenarios/fixtures.rs @@ -14,11 +14,11 @@ use lazy_static::lazy_static; use minijinja::{Environment, State}; use regex::Regex; use reqwest_middleware::ClientBuilder; -use rvcr::{VCRMiddleware, VCRMode}; +use reqwest_vcr::{VCRMiddleware, VCRMode}; use serde_json::{json, Value}; use sha256::digest; use std::{ - collections::{HashMap, HashSet}, + collections::HashMap, env, fs::{create_dir_all, read_to_string, remove_file, File}, io::Write, @@ -146,8 +146,7 @@ pub async fn before_scenario( .expect("Failed to initialize rVCR middleware") .with_mode(VCRMode::Record) .with_modify_request(|req| { - req.headers.remove_entry("dd-api-key"); - req.headers.remove_entry("dd-application-key"); + req.headers.clear(); }) .with_modify_response(|res| { res.headers.remove_entry("content-security-policy"); @@ -167,13 +166,11 @@ pub async fn before_scenario( .expect("Failed to initialize rVCR middleware") .with_mode(VCRMode::Replay) .with_modify_request(|req| { - req.headers.remove_entry("dd-api-key"); - req.headers.remove_entry("dd-application-key"); + req.headers.clear(); }) .with_modify_response(|res| { res.headers.remove_entry("content-security-policy"); - }) - .with_request_matcher(|vcr_req, req| req_eq(vcr_req, req)); + }); vcr_client_builder.with(middleware) } }; @@ -681,69 +678,6 @@ fn response_is_bool(world: &mut DatadogWorld, path: String, expected: String) { assert_eq!(found, expected == "true"); } -fn req_eq(lhs: &vcr_cassette::Request, rhs: &vcr_cassette::Request) -> bool { - let mut lhs_query = urlencoding::decode( - lhs.uri - .query() - .unwrap_or_default() - .to_string() - .replace("+", "%20") - .as_str(), - ) - .expect("UTF-8") - .to_string(); - - let mut rhs_query = urlencoding::decode( - rhs.uri - .query() - .unwrap_or_default() - .to_string() - .replace("+", "%20") - .as_str(), - ) - .expect("UTF-8") - .to_string(); - - lhs_query = reformat_rfc3339_datetime(&lhs_query); - rhs_query = reformat_rfc3339_datetime(&rhs_query); - - let lhs_queries: HashSet<_> = lhs_query.split("&").into_iter().collect(); - let rhs_queries: HashSet<_> = rhs_query.split("&").into_iter().collect(); - - let lhs_body = lhs - .body - .string - .parse::() - .unwrap_or_default(); - let rhs_body = rhs - .body - .string - .parse::() - .unwrap_or_default(); - - lhs.uri.scheme() == rhs.uri.scheme() - && lhs.uri.host() == rhs.uri.host() - && lhs.uri.port() == rhs.uri.port() - && lhs.uri.path() == rhs.uri.path() - && lhs_queries == rhs_queries - && lhs_body == rhs_body - && lhs.method == rhs.method -} - -fn reformat_rfc3339_datetime(input: &str) -> String { - let re: Regex = - Regex::new(r"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})").unwrap(); - let result = re.replace_all(input, |captures: ®ex::Captures| { - let matched_date_time = &captures[0]; - let parsed_date_time = DateTime::parse_from_rfc3339(matched_date_time) - .expect("Failed to parse datetime") - .with_timezone(&Utc); - let formatted_date_time = - parsed_date_time.to_rfc3339_opts(chrono::SecondsFormat::Millis, true); - formatted_date_time - }); - result.to_string() -} fn lookup(path: &String, object: &Value) -> Option { let mut json_pointer = format!("/{}", path).replace('.', "/");