Skip to content

Commit ba2449f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Homogenize agentless routes summaries (#3428)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent da9f219 commit ba2449f

File tree

69 files changed

+711
-151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+711
-151
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54561,7 +54561,7 @@ paths:
5456154561
appKeyAuth: []
5456254562
- AuthZ:
5456354563
- security_monitoring_findings_read
54564-
summary: List AWS Scan Options
54564+
summary: List AWS scan options
5456554565
tags:
5456654566
- Agentless Scanning
5456754567
post:
@@ -54594,7 +54594,7 @@ paths:
5459454594
appKeyAuth: []
5459554595
- AuthZ:
5459654596
- org_management
54597-
summary: Post AWS Scan Options
54597+
summary: Create AWS scan options
5459854598
tags:
5459954599
- Agentless Scanning
5460054600
x-codegen-request-body-name: body
@@ -54620,7 +54620,7 @@ paths:
5462054620
appKeyAuth: []
5462154621
- AuthZ:
5462254622
- org_management
54623-
summary: Delete AWS Scan Options
54623+
summary: Delete AWS scan options
5462454624
tags:
5462554625
- Agentless Scanning
5462654626
get:
@@ -54679,7 +54679,7 @@ paths:
5467954679
appKeyAuth: []
5468054680
- AuthZ:
5468154681
- org_management
54682-
summary: Patch AWS Scan Options
54682+
summary: Update AWS scan options
5468354683
tags:
5468454684
- Agentless Scanning
5468554685
x-codegen-request-body-name: body
@@ -54701,7 +54701,7 @@ paths:
5470154701
appKeyAuth: []
5470254702
- AuthZ:
5470354703
- security_monitoring_findings_read
54704-
summary: List azure scan options
54704+
summary: List Azure scan options
5470554705
tags:
5470654706
- Agentless Scanning
5470754707
post:
@@ -54727,7 +54727,7 @@ paths:
5472754727
appKeyAuth: []
5472854728
- AuthZ:
5472954729
- org_management
54730-
summary: Create azure scan options
54730+
summary: Create Azure scan options
5473154731
tags:
5473254732
- Agentless Scanning
5473354733
/api/v2/agentless_scanning/accounts/azure/{subscription_id}:
@@ -54752,7 +54752,7 @@ paths:
5475254752
appKeyAuth: []
5475354753
- AuthZ:
5475454754
- org_management
54755-
summary: Delete azure scan options
54755+
summary: Delete Azure scan options
5475654756
tags:
5475754757
- Agentless Scanning
5475854758
get:
@@ -54820,7 +54820,7 @@ paths:
5482054820
appKeyAuth: []
5482154821
- AuthZ:
5482254822
- org_management
54823-
summary: Update azure scan options
54823+
summary: Update Azure scan options
5482454824
tags:
5482554825
- Agentless Scanning
5482654826
/api/v2/agentless_scanning/accounts/gcp:
@@ -54843,7 +54843,7 @@ paths:
5484354843
appKeyAuth: []
5484454844
- AuthZ:
5484554845
- security_monitoring_findings_read
54846-
summary: List GCP Scan Options
54846+
summary: List GCP scan options
5484754847
tags:
5484854848
- Agentless Scanning
5484954849
post:
@@ -54876,7 +54876,7 @@ paths:
5487654876
appKeyAuth: []
5487754877
- AuthZ:
5487854878
- org_management
54879-
summary: Post GCP Scan Options
54879+
summary: Create GCP scan options
5488054880
tags:
5488154881
- Agentless Scanning
5488254882
x-codegen-request-body-name: body
@@ -54908,7 +54908,7 @@ paths:
5490854908
appKeyAuth: []
5490954909
- AuthZ:
5491054910
- org_management
54911-
summary: Delete GCP Scan Options
54911+
summary: Delete GCP scan options
5491254912
tags:
5491354913
- Agentless Scanning
5491454914
get:
@@ -54983,7 +54983,7 @@ paths:
5498354983
appKeyAuth: []
5498454984
- AuthZ:
5498554985
- org_management
54986-
summary: Patch GCP Scan Options
54986+
summary: Update GCP scan options
5498754987
tags:
5498854988
- Agentless Scanning
5498954989
x-codegen-request-body-name: body
@@ -55007,7 +55007,7 @@ paths:
5500755007
appKeyAuth: []
5500855008
- AuthZ:
5500955009
- security_monitoring_findings_read
55010-
summary: Get AWS On Demand tasks
55010+
summary: List AWS on demand tasks
5501155011
tags:
5501255012
- Agentless Scanning
5501355013
x-permission:
@@ -55044,7 +55044,7 @@ paths:
5504455044
appKeyAuth: []
5504555045
- AuthZ:
5504655046
- org_management
55047-
summary: Post an AWS on demand task
55047+
summary: Create AWS on demand task
5504855048
tags:
5504955049
- Agentless Scanning
5505055050
x-codegen-request-body-name: body
@@ -55078,7 +55078,7 @@ paths:
5507855078
appKeyAuth: []
5507955079
- AuthZ:
5508055080
- security_monitoring_findings_read
55081-
summary: Get AWS On Demand task by id
55081+
summary: Get AWS on demand task
5508255082
tags:
5508355083
- Agentless Scanning
5508455084
x-permission:

api/datadogV2/api_agentless_scanning.go

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
// AgentlessScanningApi service type
1616
type AgentlessScanningApi datadog.Service
1717

18-
// CreateAwsOnDemandTask Post an AWS on demand task.
18+
// CreateAwsOnDemandTask Create AWS on demand task.
1919
// 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.
2020
func (a *AgentlessScanningApi) CreateAwsOnDemandTask(ctx _context.Context, body AwsOnDemandCreateRequest) (AwsOnDemandResponse, *_nethttp.Response, error) {
2121
var (
@@ -95,7 +95,7 @@ func (a *AgentlessScanningApi) CreateAwsOnDemandTask(ctx _context.Context, body
9595
return localVarReturnValue, localVarHTTPResponse, nil
9696
}
9797

98-
// CreateAwsScanOptions Post AWS Scan Options.
98+
// CreateAwsScanOptions Create AWS scan options.
9999
// Activate Agentless scan options for an AWS account.
100100
func (a *AgentlessScanningApi) CreateAwsScanOptions(ctx _context.Context, body AwsScanOptionsCreateRequest) (AwsScanOptionsResponse, *_nethttp.Response, error) {
101101
var (
@@ -175,7 +175,7 @@ func (a *AgentlessScanningApi) CreateAwsScanOptions(ctx _context.Context, body A
175175
return localVarReturnValue, localVarHTTPResponse, nil
176176
}
177177

178-
// CreateAzureScanOptions Create azure scan options.
178+
// CreateAzureScanOptions Create Azure scan options.
179179
// Activate Agentless scan options for an Azure subscription.
180180
func (a *AgentlessScanningApi) CreateAzureScanOptions(ctx _context.Context, body AzureScanOptions) (AzureScanOptions, *_nethttp.Response, error) {
181181
var (
@@ -255,7 +255,7 @@ func (a *AgentlessScanningApi) CreateAzureScanOptions(ctx _context.Context, body
255255
return localVarReturnValue, localVarHTTPResponse, nil
256256
}
257257

258-
// CreateGcpScanOptions Post GCP Scan Options.
258+
// CreateGcpScanOptions Create GCP scan options.
259259
// Activate Agentless scan options for a GCP project.
260260
func (a *AgentlessScanningApi) CreateGcpScanOptions(ctx _context.Context, body GcpScanOptions) (GcpScanOptions, *_nethttp.Response, error) {
261261
var (
@@ -335,7 +335,7 @@ func (a *AgentlessScanningApi) CreateGcpScanOptions(ctx _context.Context, body G
335335
return localVarReturnValue, localVarHTTPResponse, nil
336336
}
337337

338-
// DeleteAwsScanOptions Delete AWS Scan Options.
338+
// DeleteAwsScanOptions Delete AWS scan options.
339339
// Delete Agentless scan options for an AWS account.
340340
func (a *AgentlessScanningApi) DeleteAwsScanOptions(ctx _context.Context, accountId string) (*_nethttp.Response, error) {
341341
var (
@@ -403,7 +403,7 @@ func (a *AgentlessScanningApi) DeleteAwsScanOptions(ctx _context.Context, accoun
403403
return localVarHTTPResponse, nil
404404
}
405405

406-
// DeleteAzureScanOptions Delete azure scan options.
406+
// DeleteAzureScanOptions Delete Azure scan options.
407407
// Delete Agentless scan options for an Azure subscription.
408408
func (a *AgentlessScanningApi) DeleteAzureScanOptions(ctx _context.Context, subscriptionId string) (*_nethttp.Response, error) {
409409
var (
@@ -471,7 +471,7 @@ func (a *AgentlessScanningApi) DeleteAzureScanOptions(ctx _context.Context, subs
471471
return localVarHTTPResponse, nil
472472
}
473473

474-
// DeleteGcpScanOptions Delete GCP Scan Options.
474+
// DeleteGcpScanOptions Delete GCP scan options.
475475
// Delete Agentless scan options for a GCP project.
476476
func (a *AgentlessScanningApi) DeleteGcpScanOptions(ctx _context.Context, projectId string) (*_nethttp.Response, error) {
477477
var (
@@ -539,7 +539,7 @@ func (a *AgentlessScanningApi) DeleteGcpScanOptions(ctx _context.Context, projec
539539
return localVarHTTPResponse, nil
540540
}
541541

542-
// GetAwsOnDemandTask Get AWS On Demand task by id.
542+
// GetAwsOnDemandTask Get AWS on demand task.
543543
// Fetch the data of a specific on demand task.
544544
func (a *AgentlessScanningApi) GetAwsOnDemandTask(ctx _context.Context, taskId string) (AwsOnDemandResponse, *_nethttp.Response, error) {
545545
var (
@@ -851,7 +851,7 @@ func (a *AgentlessScanningApi) GetGcpScanOptions(ctx _context.Context, projectId
851851
return localVarReturnValue, localVarHTTPResponse, nil
852852
}
853853

854-
// ListAwsOnDemandTasks Get AWS On Demand tasks.
854+
// ListAwsOnDemandTasks List AWS on demand tasks.
855855
// Fetches the most recent 1000 AWS on demand tasks.
856856
func (a *AgentlessScanningApi) ListAwsOnDemandTasks(ctx _context.Context) (AwsOnDemandListResponse, *_nethttp.Response, error) {
857857
var (
@@ -928,7 +928,7 @@ func (a *AgentlessScanningApi) ListAwsOnDemandTasks(ctx _context.Context) (AwsOn
928928
return localVarReturnValue, localVarHTTPResponse, nil
929929
}
930930

931-
// ListAwsScanOptions List AWS Scan Options.
931+
// ListAwsScanOptions List AWS scan options.
932932
// Fetches the scan options configured for AWS accounts.
933933
func (a *AgentlessScanningApi) ListAwsScanOptions(ctx _context.Context) (AwsScanOptionsListResponse, *_nethttp.Response, error) {
934934
var (
@@ -1005,7 +1005,7 @@ func (a *AgentlessScanningApi) ListAwsScanOptions(ctx _context.Context) (AwsScan
10051005
return localVarReturnValue, localVarHTTPResponse, nil
10061006
}
10071007

1008-
// ListAzureScanOptions List azure scan options.
1008+
// ListAzureScanOptions List Azure scan options.
10091009
// Fetches the scan options configured for Azure accounts.
10101010
func (a *AgentlessScanningApi) ListAzureScanOptions(ctx _context.Context) (AzureScanOptionsArray, *_nethttp.Response, error) {
10111011
var (
@@ -1082,7 +1082,7 @@ func (a *AgentlessScanningApi) ListAzureScanOptions(ctx _context.Context) (Azure
10821082
return localVarReturnValue, localVarHTTPResponse, nil
10831083
}
10841084

1085-
// ListGcpScanOptions List GCP Scan Options.
1085+
// ListGcpScanOptions List GCP scan options.
10861086
// Fetches the scan options configured for all GCP projects.
10871087
func (a *AgentlessScanningApi) ListGcpScanOptions(ctx _context.Context) (GcpScanOptionsArray, *_nethttp.Response, error) {
10881088
var (
@@ -1159,7 +1159,7 @@ func (a *AgentlessScanningApi) ListGcpScanOptions(ctx _context.Context) (GcpScan
11591159
return localVarReturnValue, localVarHTTPResponse, nil
11601160
}
11611161

1162-
// UpdateAwsScanOptions Patch AWS Scan Options.
1162+
// UpdateAwsScanOptions Update AWS scan options.
11631163
// Update the Agentless scan options for an activated account.
11641164
func (a *AgentlessScanningApi) UpdateAwsScanOptions(ctx _context.Context, accountId string, body AwsScanOptionsUpdateRequest) (*_nethttp.Response, error) {
11651165
var (
@@ -1230,7 +1230,7 @@ func (a *AgentlessScanningApi) UpdateAwsScanOptions(ctx _context.Context, accoun
12301230
return localVarHTTPResponse, nil
12311231
}
12321232

1233-
// UpdateAzureScanOptions Update azure scan options.
1233+
// UpdateAzureScanOptions Update Azure scan options.
12341234
// Update the Agentless scan options for an activated subscription.
12351235
func (a *AgentlessScanningApi) UpdateAzureScanOptions(ctx _context.Context, subscriptionId string, body AzureScanOptionsInputUpdate) (AzureScanOptions, *_nethttp.Response, error) {
12361236
var (
@@ -1311,7 +1311,7 @@ func (a *AgentlessScanningApi) UpdateAzureScanOptions(ctx _context.Context, subs
13111311
return localVarReturnValue, localVarHTTPResponse, nil
13121312
}
13131313

1314-
// UpdateGcpScanOptions Patch GCP Scan Options.
1314+
// UpdateGcpScanOptions Update GCP scan options.
13151315
// Update the Agentless scan options for an activated GCP project.
13161316
func (a *AgentlessScanningApi) UpdateGcpScanOptions(ctx _context.Context, projectId string, body GcpScanOptionsInputUpdate) (GcpScanOptions, *_nethttp.Response, error) {
13171317
var (

examples/v2/agentless-scanning/CreateAwsOnDemandTask.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Post an AWS on demand task returns "AWS on demand task created successfully." response
1+
// Create AWS on demand task returns "AWS on demand task created successfully." response
22

33
package main
44

examples/v2/agentless-scanning/CreateAwsScanOptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Post AWS Scan Options returns "Agentless scan options enabled successfully." response
1+
// Create AWS scan options returns "Agentless scan options enabled successfully." response
22

33
package main
44

examples/v2/agentless-scanning/CreateAzureScanOptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Create azure scan options returns "Created" response
1+
// Create Azure scan options returns "Created" response
22

33
package main
44

examples/v2/agentless-scanning/CreateGcpScanOptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Post GCP Scan Options returns "Agentless scan options enabled successfully." response
1+
// Create GCP scan options returns "Agentless scan options enabled successfully." response
22

33
package main
44

examples/v2/agentless-scanning/DeleteAwsScanOptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Delete AWS Scan Options returns "No Content" response
1+
// Delete AWS scan options returns "No Content" response
22

33
package main
44

examples/v2/agentless-scanning/DeleteAzureScanOptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Delete azure scan options returns "No Content" response
1+
// Delete Azure scan options returns "No Content" response
22

33
package main
44

examples/v2/agentless-scanning/DeleteGcpScanOptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Delete GCP Scan Options returns "No Content" response
1+
// Delete GCP scan options returns "No Content" response
22

33
package main
44

examples/v2/agentless-scanning/GetAwsOnDemandTask.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Get AWS On Demand task by id returns "OK." response
1+
// Get AWS on demand task returns "OK." response
22

33
package main
44

0 commit comments

Comments
 (0)