Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54294,7 +54294,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_findings_read
summary: List AWS Scan Options
summary: List AWS scan options
tags:
- Agentless Scanning
post:
Expand Down Expand Up @@ -54327,7 +54327,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Post AWS Scan Options
summary: Create AWS scan options
tags:
- Agentless Scanning
x-codegen-request-body-name: body
Expand All @@ -54353,7 +54353,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Delete AWS Scan Options
summary: Delete AWS scan options
tags:
- Agentless Scanning
get:
Expand Down Expand Up @@ -54412,7 +54412,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Patch AWS Scan Options
summary: Update AWS scan options
tags:
- Agentless Scanning
x-codegen-request-body-name: body
Expand All @@ -54434,7 +54434,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_findings_read
summary: List azure scan options
summary: List Azure scan options
tags:
- Agentless Scanning
post:
Expand All @@ -54460,7 +54460,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Create azure scan options
summary: Create Azure scan options
tags:
- Agentless Scanning
/api/v2/agentless_scanning/accounts/azure/{subscription_id}:
Expand All @@ -54485,7 +54485,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Delete azure scan options
summary: Delete Azure scan options
tags:
- Agentless Scanning
get:
Expand Down Expand Up @@ -54553,7 +54553,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Update azure scan options
summary: Update Azure scan options
tags:
- Agentless Scanning
/api/v2/agentless_scanning/accounts/gcp:
Expand All @@ -54576,7 +54576,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_findings_read
summary: List GCP Scan Options
summary: List GCP scan options
tags:
- Agentless Scanning
post:
Expand Down Expand Up @@ -54609,7 +54609,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Post GCP Scan Options
summary: Create GCP scan options
tags:
- Agentless Scanning
x-codegen-request-body-name: body
Expand Down Expand Up @@ -54641,7 +54641,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Delete GCP Scan Options
summary: Delete GCP scan options
tags:
- Agentless Scanning
get:
Expand Down Expand Up @@ -54716,7 +54716,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Patch GCP Scan Options
summary: Update GCP scan options
tags:
- Agentless Scanning
x-codegen-request-body-name: body
Expand All @@ -54740,7 +54740,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_findings_read
summary: Get AWS On Demand tasks
summary: List AWS on demand tasks
tags:
- Agentless Scanning
x-permission:
Expand Down Expand Up @@ -54777,7 +54777,7 @@ paths:
appKeyAuth: []
- AuthZ:
- org_management
summary: Post an AWS on demand task
summary: Create AWS on demand task
tags:
- Agentless Scanning
x-codegen-request-body-name: body
Expand Down Expand Up @@ -54811,7 +54811,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_findings_read
summary: Get AWS On Demand task by id
summary: Get AWS on demand task
tags:
- Agentless Scanning
x-permission:
Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_CreateAwsOnDemandTask.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Post an AWS on demand task returns "AWS on demand task created successfully."
// Create AWS on demand task returns "AWS on demand task created successfully."
// response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_CreateAwsScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Post AWS Scan Options returns "Agentless scan options enabled successfully."
// Create AWS scan options returns "Agentless scan options enabled successfully."
// response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_CreateAzureScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Create azure scan options returns "Created" response
// Create Azure scan options returns "Created" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;
use datadog_api_client::datadogV2::model::AzureScanOptions;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_CreateGcpScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Post GCP Scan Options returns "Agentless scan options enabled successfully."
// Create GCP scan options returns "Agentless scan options enabled successfully."
// response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_DeleteAwsScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Delete AWS Scan Options returns "No Content" response
// Delete AWS scan options returns "No Content" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;

Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_DeleteAzureScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Delete azure scan options returns "No Content" response
// Delete Azure scan options returns "No Content" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;

Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_DeleteGcpScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Delete GCP Scan Options returns "No Content" response
// Delete GCP scan options returns "No Content" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;

Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_GetAwsOnDemandTask.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Get AWS On Demand task by id returns "OK." response
// Get AWS on demand task returns "OK." response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;

Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_ListAwsOnDemandTasks.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Get AWS On Demand tasks returns "OK" response
// List AWS on demand tasks returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;

Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_ListAwsScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// List AWS Scan Options returns "OK" response
// List AWS scan options returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;

Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_ListAzureScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// List azure scan options returns "OK" response
// List Azure scan options returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;

Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_ListGcpScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// List GCP Scan Options returns "OK" response
// List GCP scan options returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;

Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_UpdateAwsScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Patch AWS Scan Options returns "No Content" response
// Update AWS scan options returns "No Content" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;
use datadog_api_client::datadogV2::model::AwsScanOptionsType;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_UpdateAzureScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Update azure scan options returns "OK" response
// Update Azure scan options returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;
use datadog_api_client::datadogV2::model::AzureScanOptionsInputUpdate;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2_agentless-scanning_UpdateGcpScanOptions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Patch GCP Scan Options returns "OK" response
// Update GCP scan options returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_agentless_scanning::AgentlessScanningAPI;
use datadog_api_client::datadogV2::model::GcpScanOptionsInputUpdate;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-10-23T22:21:53.448Z
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"http_interactions": [
{
"request": {
"body": {
"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"
]
},
"method": "post",
"uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws"
},
"response": {
"body": {
"string": "{\"data\":{\"id\":\"438046ce-01cd-4ae5-b117-ff971e6fa449\",\"type\":\"aws_resource\",\"attributes\":{\"arn\":\"arn:aws:lambda:us-west-2:123456789012:function:my-function\",\"created_at\":\"2025-10-23T22:21:53.957627Z\",\"status\":\"QUEUED\"}}}",
"encoding": null
},
"headers": {
"Content-Type": [
"application/vnd.api+json"
]
},
"status": {
"code": 201,
"message": "Created"
}
},
"recorded_at": "Thu, 23 Oct 2025 22:21:53 GMT"
}
],
"recorded_with": "VCR 6.0.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-10-23T22:21:54.011Z
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"http_interactions": [
{
"request": {
"body": {
"string": "{\"data\":{\"attributes\":{\"arn\":\"invalid-arn\"},\"type\":\"aws_resource\"}}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"method": "post",
"uri": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws"
},
"response": {
"body": {
"string": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid aws arn\"}]}",
"encoding": null
},
"headers": {
"Content-Type": [
"application/vnd.api+json"
]
},
"status": {
"code": 400,
"message": "Bad Request"
}
},
"recorded_at": "Thu, 23 Oct 2025 22:21:54 GMT"
}
],
"recorded_with": "VCR 6.0.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-10-23T22:21:54.335Z
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"request": {
"body": {
"string": "{\"data\":{\"attributes\":{\"lambda\":true,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"184366314700\",\"type\":\"incorrect_type\"}}",
"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": {
Expand All @@ -19,7 +19,7 @@
},
"response": {
"body": {
"string": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"incorrect_type\\\" expected one of \\\"aws_scan_options\\\"\"}]}",
"string": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"the provided Aws account id is not valid\"}]}",
"encoding": null
},
"headers": {
Expand All @@ -32,7 +32,7 @@
"message": "Bad Request"
}
},
"recorded_at": "Thu, 27 Feb 2025 17:01:48 GMT"
"recorded_at": "Thu, 23 Oct 2025 22:21:54 GMT"
}
],
"recorded_with": "VCR 6.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-10-23T22:21:54.694Z
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"http_interactions": [
{
"request": {
"body": {
"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"
]
},
"method": "post",
"uri": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws"
},
"response": {
"body": {
"string": "{\"errors\":[{\"status\":\"409\",\"detail\":\"aws scan options already exist for account 000000000002\"}]}",
"encoding": null
},
"headers": {
"Content-Type": [
"application/vnd.api+json"
]
},
"status": {
"code": 409,
"message": "Conflict"
}
},
"recorded_at": "Thu, 23 Oct 2025 22:21:54 GMT"
}
],
"recorded_with": "VCR 6.0.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-10-23T22:21:55.015Z
Loading