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.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Post an AWS on demand task returns "AWS on demand task created successfully." response
Create AWS on demand task returns "AWS on demand task created successfully." response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/CreateAwsScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Post AWS Scan Options returns "Agentless scan options enabled successfully." response
Create AWS scan options returns "Agentless scan options enabled successfully." response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/CreateAzureScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Create azure scan options returns "Created" response
Create Azure scan options returns "Created" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/CreateGcpScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Post GCP Scan Options returns "Agentless scan options enabled successfully." response
Create GCP scan options returns "Agentless scan options enabled successfully." response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/DeleteAwsScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Delete AWS Scan Options returns "No Content" response
Delete AWS scan options returns "No Content" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/DeleteAzureScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Delete azure scan options returns "No Content" response
Delete Azure scan options returns "No Content" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/DeleteGcpScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Delete GCP Scan Options returns "No Content" response
Delete GCP scan options returns "No Content" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/GetAwsOnDemandTask.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Get AWS On Demand task by id returns "OK." response
Get AWS on demand task returns "OK." response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/ListAwsOnDemandTasks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Get AWS On Demand tasks returns "OK" response
List AWS on demand tasks returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/ListAwsScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
List AWS Scan Options returns "OK" response
List AWS scan options returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/ListAzureScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
List azure scan options returns "OK" response
List Azure scan options returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/ListGcpScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
List GCP Scan Options returns "OK" response
List GCP scan options returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/UpdateAwsScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Patch AWS Scan Options returns "No Content" response
Update AWS scan options returns "No Content" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/UpdateAzureScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Update azure scan options returns "OK" response
Update Azure scan options returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/agentless-scanning/UpdateGcpScanOptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Patch GCP Scan Options returns "OK" response
Update GCP scan options returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
30 changes: 15 additions & 15 deletions src/datadog_api_client/v2/api/agentless_scanning_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def create_aws_on_demand_task(
self,
body: AwsOnDemandCreateRequest,
) -> AwsOnDemandResponse:
"""Post an AWS on demand task.
"""Create AWS on demand task.

Trigger the scan of an AWS resource with a high priority. Agentless scanning must be activated for the AWS account containing the resource to scan.

Expand All @@ -440,7 +440,7 @@ def create_aws_scan_options(
self,
body: AwsScanOptionsCreateRequest,
) -> AwsScanOptionsResponse:
"""Post AWS Scan Options.
"""Create AWS scan options.

Activate Agentless scan options for an AWS account.

Expand All @@ -457,7 +457,7 @@ def create_azure_scan_options(
self,
body: AzureScanOptions,
) -> AzureScanOptions:
"""Create azure scan options.
"""Create Azure scan options.

Activate Agentless scan options for an Azure subscription.

Expand All @@ -473,7 +473,7 @@ def create_gcp_scan_options(
self,
body: GcpScanOptions,
) -> GcpScanOptions:
"""Post GCP Scan Options.
"""Create GCP scan options.

Activate Agentless scan options for a GCP project.

Expand All @@ -490,7 +490,7 @@ def delete_aws_scan_options(
self,
account_id: str,
) -> None:
"""Delete AWS Scan Options.
"""Delete AWS scan options.

Delete Agentless scan options for an AWS account.

Expand All @@ -507,7 +507,7 @@ def delete_azure_scan_options(
self,
subscription_id: str,
) -> None:
"""Delete azure scan options.
"""Delete Azure scan options.

Delete Agentless scan options for an Azure subscription.

Expand All @@ -524,7 +524,7 @@ def delete_gcp_scan_options(
self,
project_id: str,
) -> None:
"""Delete GCP Scan Options.
"""Delete GCP scan options.

Delete Agentless scan options for a GCP project.

Expand All @@ -541,7 +541,7 @@ def get_aws_on_demand_task(
self,
task_id: str,
) -> AwsOnDemandResponse:
"""Get AWS On Demand task by id.
"""Get AWS on demand task.

Fetch the data of a specific on demand task.

Expand Down Expand Up @@ -608,7 +608,7 @@ def get_gcp_scan_options(
def list_aws_on_demand_tasks(
self,
) -> AwsOnDemandListResponse:
"""Get AWS On Demand tasks.
"""List AWS on demand tasks.

Fetches the most recent 1000 AWS on demand tasks.

Expand All @@ -620,7 +620,7 @@ def list_aws_on_demand_tasks(
def list_aws_scan_options(
self,
) -> AwsScanOptionsListResponse:
"""List AWS Scan Options.
"""List AWS scan options.

Fetches the scan options configured for AWS accounts.

Expand All @@ -632,7 +632,7 @@ def list_aws_scan_options(
def list_azure_scan_options(
self,
) -> AzureScanOptionsArray:
"""List azure scan options.
"""List Azure scan options.

Fetches the scan options configured for Azure accounts.

Expand All @@ -644,7 +644,7 @@ def list_azure_scan_options(
def list_gcp_scan_options(
self,
) -> GcpScanOptionsArray:
"""List GCP Scan Options.
"""List GCP scan options.

Fetches the scan options configured for all GCP projects.

Expand All @@ -658,7 +658,7 @@ def update_aws_scan_options(
account_id: str,
body: AwsScanOptionsUpdateRequest,
) -> None:
"""Patch AWS Scan Options.
"""Update AWS scan options.

Update the Agentless scan options for an activated account.

Expand All @@ -680,7 +680,7 @@ def update_azure_scan_options(
subscription_id: str,
body: AzureScanOptionsInputUpdate,
) -> AzureScanOptions:
"""Update azure scan options.
"""Update Azure scan options.

Update the Agentless scan options for an activated subscription.

Expand All @@ -701,7 +701,7 @@ def update_gcp_scan_options(
project_id: str,
body: GcpScanOptionsInputUpdate,
) -> GcpScanOptions:
"""Patch GCP Scan Options.
"""Update GCP scan options.

Update the Agentless scan options for an activated GCP project.

Expand Down
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,20 @@
interactions:
- request:
body: '{"data":{"attributes":{"arn":"arn:aws:lambda:us-west-2:123456789012:function:my-function"},"type":"aws_resource"}}'
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"}}}'
headers:
content-type:
- application/vnd.api+json
status:
code: 201
message: Created
version: 1
Loading