Skip to content

Commit 29651cb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 9dd2b6ae of spec repo (#2745)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b9fb7ad commit 29651cb

File tree

10 files changed

+164
-132
lines changed

10 files changed

+164
-132
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-06 16:19:13.185671",
8-
"spec_repo_commit": "1a11ef53"
7+
"regenerated": "2025-03-06 17:12:11.632479",
8+
"spec_repo_commit": "9dd2b6ae"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-06 16:19:13.200872",
13-
"spec_repo_commit": "1a11ef53"
12+
"regenerated": "2025-03-06 17:12:11.648786",
13+
"spec_repo_commit": "9dd2b6ae"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4122,6 +4122,8 @@ components:
41224122
of EC2 instances, lambda functions, AMI, ECR, RDS and S3 buckets.
41234123
example: arn:aws:ec2:us-east-1:727000456123:instance/i-0eabb50529b67a1ba
41244124
type: string
4125+
required:
4126+
- arn
41254127
type: object
41264128
AwsOnDemandCreateData:
41274129
description: Object for a single AWS on demand task.
@@ -4219,6 +4221,11 @@ components:
42194221
description: Indicates if scanning for vulnerabilities in hosts is enabled.
42204222
example: true
42214223
type: boolean
4224+
required:
4225+
- lambda
4226+
- sensitive_data
4227+
- vuln_containers_os
4228+
- vuln_host_os
42224229
type: object
42234230
AwsScanOptionsCreateData:
42244231
description: Object for the scan options of a single AWS account.
@@ -33982,7 +33989,9 @@ paths:
3398233989
permissions:
3398333990
- security_monitoring_findings_read
3398433991
post:
33985-
description: Trigger the scan of an AWS resource with a high priority.
33992+
description: Trigger the scan of an AWS resource with a high priority. Agentless
33993+
scanning must be activated for the AWS account containing the resource to
33994+
scan.
3398633995
operationId: CreateAwsOnDemandTask
3398733996
requestBody:
3398833997
content:
@@ -34015,7 +34024,7 @@ paths:
3401534024
/api/v2/agentless_scanning/ondemand/aws/{task_id}:
3401634025
get:
3401734026
description: Fetch the data of a specific on demand task.
34018-
operationId: RetrieveAwsOnDemandTask
34027+
operationId: GetAwsOnDemandTask
3401934028
parameters:
3402034029
- $ref: '#/components/parameters/OnDemandTaskId'
3402134030
responses:
@@ -53068,8 +53077,9 @@ tags:
5306853077
name: Action Connection
5306953078
- description: "Datadog Agentless Scanning provides visibility into risks and vulnerabilities\nwithin
5307053079
your hosts, running containers, and serverless functions\u2014all without\nrequiring
53071-
teams to install Agents on every host or where Agents cannot be installed.\nGo
53072-
to https://www.datadoghq.com/blog/agentless-scanning/ to learn more."
53080+
teams to install Agents on every host or where Agents cannot be installed.\nAgentless
53081+
offers also Sensitive Data Scanning capabilities on your storage.\nGo to https://www.datadoghq.com/blog/agentless-scanning/
53082+
to learn more."
5307353083
name: Agentless Scanning
5307453084
- description: Datadog App Builder provides a low-code solution to rapidly develop
5307553085
and integrate secure, customized applications into your monitoring stack that

examples/v2/agentless-scanning/RetrieveAwsOnDemandTask.java renamed to examples/v2/agentless-scanning/GetAwsOnDemandTask.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ public static void main(String[] args) {
1212

1313
try {
1414
AwsOnDemandResponse result =
15-
apiInstance.retrieveAwsOnDemandTask("63d6b4f5-e5d0-4d90-824a-9580f05f026a");
15+
apiInstance.getAwsOnDemandTask("63d6b4f5-e5d0-4d90-824a-9580f05f026a");
1616
System.out.println(result);
1717
} catch (ApiException e) {
18-
System.err.println("Exception when calling AgentlessScanningApi#retrieveAwsOnDemandTask");
18+
System.err.println("Exception when calling AgentlessScanningApi#getAwsOnDemandTask");
1919
System.err.println("Status code: " + e.getCode());
2020
System.err.println("Reason: " + e.getResponseBody());
2121
System.err.println("Response headers: " + e.getResponseHeaders());

0 commit comments

Comments
 (0)