Skip to content

Commit de61303

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2dbaa39b of spec repo
1 parent 33cf86b commit de61303

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-05 21:00:41.557576",
8-
"spec_repo_commit": "6105a175"
7+
"regenerated": "2025-03-06 12:03:23.236075",
8+
"spec_repo_commit": "2dbaa39b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-05 21:00:41.573086",
13-
"spec_repo_commit": "6105a175"
12+
"regenerated": "2025-03-06 12:03:23.253166",
13+
"spec_repo_commit": "2dbaa39b"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3342,6 +3342,8 @@ components:
33423342
of EC2 instances, lambda functions, AMI, ECR, RDS and S3 buckets.
33433343
example: arn:aws:ec2:us-east-1:727000456123:instance/i-0eabb50529b67a1ba
33443344
type: string
3345+
required:
3346+
- arn
33453347
type: object
33463348
AwsOnDemandCreateData:
33473349
description: Object for a single AWS on demand task.
@@ -3439,6 +3441,11 @@ components:
34393441
description: Indicates if scanning for vulnerabilities in hosts is enabled.
34403442
example: true
34413443
type: boolean
3444+
required:
3445+
- lambda
3446+
- sensitive_data
3447+
- vuln_containers_os
3448+
- vuln_host_os
34423449
type: object
34433450
AwsScanOptionsCreateData:
34443451
description: Object for the scan options of a single AWS account.
@@ -33202,7 +33209,9 @@ paths:
3320233209
permissions:
3320333210
- security_monitoring_findings_read
3320433211
post:
33205-
description: Trigger the scan of an AWS resource with a high priority.
33212+
description: Trigger the scan of an AWS resource with a high priority. Agentless
33213+
scanning must be activated for the AWS account containing the resource to
33214+
scan.
3320633215
operationId: CreateAwsOnDemandTask
3320733216
requestBody:
3320833217
content:
@@ -33235,7 +33244,7 @@ paths:
3323533244
/api/v2/agentless_scanning/ondemand/aws/{task_id}:
3323633245
get:
3323733246
description: Fetch the data of a specific on demand task.
33238-
operationId: RetrieveAwsOnDemandTask
33247+
operationId: GetAwsOnDemandTask
3323933248
parameters:
3324033249
- $ref: '#/components/parameters/OnDemandTaskId'
3324133250
responses:
@@ -52009,8 +52018,9 @@ tags:
5200952018
name: Action Connection
5201052019
- description: "Datadog Agentless Scanning provides visibility into risks and vulnerabilities\nwithin
5201152020
your hosts, running containers, and serverless functions\u2014all without\nrequiring
52012-
teams to install Agents on every host or where Agents cannot be installed.\nGo
52013-
to https://www.datadoghq.com/blog/agentless-scanning/ to learn more."
52021+
teams to install Agents on every host or where Agents cannot be installed.\nAgentless
52022+
offers also Sensitive Data Scanning capabilities on your storage.\nGo to https://www.datadoghq.com/blog/agentless-scanning/
52023+
to learn more."
5201452024
name: Agentless Scanning
5201552025
- description: Datadog App Builder provides a low-code solution to rapidly develop
5201652026
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)