diff --git a/tests/scenarios/cassettes/v2/agentless_scanning/Create-azure-scan-options-returns-Created-response.frozen b/tests/scenarios/cassettes/v2/agentless_scanning/Create-azure-scan-options-returns-Created-response.frozen deleted file mode 100644 index 98f070f22..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-azure-scan-options-returns-Created-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2025-10-12T15:49:46.454Z \ 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 deleted file mode 100644 index 062fbaf68..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Create-azure-scan-options-returns-Created-response.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "http_interactions": [ - { - "request": { - "body": { - "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" - ] - }, - "method": "post", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/azure" - }, - "response": { - "body": { - "string": "{\"data\":{\"id\":\"12345678-90ab-cdef-1234-567890abcdef\",\"type\":\"azure_scan_options\",\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true}}}", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 201, - "message": "Created" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:46 GMT" - }, - { - "request": { - "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, - "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/azure/12345678-90ab-cdef-1234-567890abcdef" - }, - "response": { - "body": { - "string": "", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 200, - "message": "OK" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:46 GMT" - } - ], - "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.frozen b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-Scan-Options-returns-Bad-Request-response.frozen deleted file mode 100644 index 5f729cf85..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-Scan-Options-returns-Bad-Request-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2025-10-12T15:49:47.436Z \ 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 deleted file mode 100644 index 081224fe4..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-Scan-Options-returns-Bad-Request-response.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "http_interactions": [ - { - "request": { - "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, - "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/incorrectId" - }, - "response": { - "body": { - "string": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid AWS account ID\"}]}", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 400, - "message": "Bad Request" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:47 GMT" - } - ], - "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.frozen b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-Scan-Options-returns-Not-Found-response.frozen deleted file mode 100644 index cea262b60..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-Scan-Options-returns-Not-Found-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2025-10-12T15:49:47.578Z \ 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 deleted file mode 100644 index fafb7d71a..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-AWS-Scan-Options-returns-Not-Found-response.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "http_interactions": [ - { - "request": { - "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, - "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws/000000000005" - }, - "response": { - "body": { - "string": "{\"errors\":[{\"status\":\"404\",\"detail\":\"no aws scan options found for account 000000000005\"}]}", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 404, - "message": "Not Found" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:47 GMT" - } - ], - "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.frozen b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-Scan-Options-returns-Bad-Request-response.frozen deleted file mode 100644 index 5988097e0..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-Scan-Options-returns-Bad-Request-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2025-10-12T15:49:48.019Z \ 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 deleted file mode 100644 index e5ba868fb..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-Scan-Options-returns-Bad-Request-response.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "http_interactions": [ - { - "request": { - "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, - "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/no" - }, - "response": { - "body": { - "string": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"project_id 'no' is too short: must be at least 6 characters (current: 2)\"}]}", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 400, - "message": "Bad Request" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:48 GMT" - } - ], - "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.frozen b/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-Scan-Options-returns-Not-Found-response.frozen deleted file mode 100644 index 76701ebfa..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-Scan-Options-returns-Not-Found-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2025-10-12T15:49:48.425Z \ 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 deleted file mode 100644 index 183708959..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/Delete-GCP-Scan-Options-returns-Not-Found-response.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "http_interactions": [ - { - "request": { - "body": "", - "headers": { - "Accept": [ - "*/*" - ] - }, - "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp/nonexistent-project-id" - }, - "response": { - "body": { - "string": "{\"errors\":[{\"status\":\"404\",\"detail\":\"no gcp scan options found for project nonexistent-project-id\"}]}", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 404, - "message": "Not Found" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:48 GMT" - } - ], - "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.frozen b/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-Scan-Options-returns-OK-response.frozen deleted file mode 100644 index e60e415ca..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-Scan-Options-returns-OK-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2025-10-12T15:49:55.380Z \ 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 deleted file mode 100644 index 46bcf147a..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-AWS-Scan-Options-returns-OK-response.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "http_interactions": [ - { - "request": { - "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, - "method": "get", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws" - }, - "response": { - "body": { - "string": "{\"data\":[{\"id\":\"000000000002\",\"type\":\"aws_scan_options\",\"attributes\":{\"lambda\":false,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true}},{\"id\":\"123456789012\",\"type\":\"aws_scan_options\",\"attributes\":{\"lambda\":true,\"sensitive_data\":true,\"vuln_containers_os\":true,\"vuln_host_os\":true}}]}", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 200, - "message": "OK" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:55 GMT" - } - ], - "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.frozen b/tests/scenarios/cassettes/v2/agentless_scanning/List-GCP-Scan-Options-returns-OK-response.frozen deleted file mode 100644 index 45916000e..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-GCP-Scan-Options-returns-OK-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2025-10-12T15:49:56.136Z \ 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 deleted file mode 100644 index 4bbf583ea..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-GCP-Scan-Options-returns-OK-response.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "http_interactions": [ - { - "request": { - "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, - "method": "get", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/gcp" - }, - "response": { - "body": { - "string": "{\"data\":[{\"id\":\"invalid/project/id\",\"type\":\"gcp_scan_options\",\"attributes\":{\"vuln_containers_os\":true,\"vuln_host_os\":true}},{\"id\":\"api-spec-test\",\"type\":\"gcp_scan_options\",\"attributes\":{\"vuln_containers_os\":false,\"vuln_host_os\":true}}]}", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 200, - "message": "OK" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:56 GMT" - } - ], - "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.frozen b/tests/scenarios/cassettes/v2/agentless_scanning/List-azure-scan-options-returns-OK-response.frozen deleted file mode 100644 index 77da1071f..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-azure-scan-options-returns-OK-response.frozen +++ /dev/null @@ -1 +0,0 @@ -2025-10-12T15:49:56.536Z \ 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 deleted file mode 100644 index a25b5aa04..000000000 --- a/tests/scenarios/cassettes/v2/agentless_scanning/List-azure-scan-options-returns-OK-response.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "http_interactions": [ - { - "request": { - "body": "", - "headers": { - "Accept": [ - "application/json" - ] - }, - "method": "get", - "uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/azure" - }, - "response": { - "body": { - "string": "{\"data\":[]}", - "encoding": null - }, - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "status": { - "code": 200, - "message": "OK" - } - }, - "recorded_at": "Sun, 12 Oct 2025 15:49:56 GMT" - } - ], - "recorded_with": "VCR 6.0.0" -} \ No newline at end of file