Skip to content

Commit 20bf716

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

File tree

53 files changed

+1724
-129
lines changed

Some content is hidden

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

53 files changed

+1724
-129
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:

cassettes/v2/Agentless-Scanning_730042230/Create-AWS-Scan-Options-returns-Bad-Request-response_2511578425/frozen.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-10-23T22:21:53.448Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"log": {
3+
"_recordingName": "Agentless Scanning/Create AWS on demand task returns \"AWS on demand task created successfully.\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "22e692ec011856ae6a7be829dfef8419",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 114,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 587,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":{\"attributes\":{\"arn\":\"arn:aws:lambda:us-west-2:123456789012:function:my-function\"},\"type\":\"aws_resource\"}}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws"
39+
},
40+
"response": {
41+
"bodySize": 219,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 219,
45+
"text": "{\"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\"}}}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 659,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 201,
58+
"statusText": "Created"
59+
},
60+
"startedDateTime": "2025-10-23T22:21:53.677Z",
61+
"time": 324
62+
}
63+
],
64+
"pages": [],
65+
"version": "1.2"
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-10-23T22:21:54.011Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"log": {
3+
"_recordingName": "Agentless Scanning/Create AWS on demand task returns \"Bad Request\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "ddc95453e78cc1f7f3a9441d29765f2e",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 67,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 584,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":{\"attributes\":{\"arn\":\"invalid-arn\"},\"type\":\"aws_resource\"}}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/agentless_scanning/ondemand/aws"
39+
},
40+
"response": {
41+
"bodySize": 65,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 65,
45+
"text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid aws arn\"}]}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 658,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 400,
58+
"statusText": "Bad Request"
59+
},
60+
"startedDateTime": "2025-10-23T22:21:54.014Z",
61+
"time": 316
62+
}
63+
],
64+
"pages": [],
65+
"version": "1.2"
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-10-23T22:21:54.335Z"

cassettes/v2/Agentless-Scanning_730042230/Create-AWS-Scan-Options-returns-Bad-Request-response_2511578425/recording.har renamed to cassettes/v2/Agentless-Scanning_730042230/Create-AWS-scan-options-returns-Bad-Request-response_1430541753/recording.har

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"log": {
3-
"_recordingName": "Agentless Scanning/Create AWS Scan Options returns \"Bad Request\" response",
3+
"_recordingName": "Agentless Scanning/Create AWS scan options returns \"Bad Request\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
77
"version": "6.0.5"
88
},
99
"entries": [
1010
{
11-
"_id": "cda837416ea852c80a5c04b219ec4b12",
11+
"_id": "e28914845e4d166ac2fedce7aead5f70",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 152,
15+
"bodySize": 145,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,23 +26,23 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 586,
29+
"headersSize": 584,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"lambda\":true,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"184366314700\",\"type\":\"incorrect_type\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"lambda\":true,\"sensitive_data\":false,\"vuln_containers_os\":true,\"vuln_host_os\":true},\"id\":\"123\",\"type\":\"aws_scan_options\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/agentless_scanning/accounts/aws"
3939
},
4040
"response": {
41-
"bodySize": 127,
41+
"bodySize": 90,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 127,
45-
"text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"incorrect_type\\\" expected one of \\\"aws_scan_options\\\"\"}]}"
44+
"size": 90,
45+
"text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"the provided Aws account id is not valid\"}]}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,14 +51,14 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 525,
54+
"headersSize": 524,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 400,
5858
"statusText": "Bad Request"
5959
},
60-
"startedDateTime": "2025-02-27T17:01:48.815Z",
61-
"time": 402
60+
"startedDateTime": "2025-10-23T22:21:54.339Z",
61+
"time": 349
6262
}
6363
],
6464
"pages": [],
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-10-23T22:21:54.694Z"

0 commit comments

Comments
 (0)