Skip to content

Commit eae5a4f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit fcf2546 of spec repo
1 parent d7ed682 commit eae5a4f

File tree

13 files changed

+144
-40
lines changed

13 files changed

+144
-40
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 58 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29996,6 +29996,13 @@ components:
2999629996
Library:
2999729997
description: Vulnerability library.
2999829998
properties:
29999+
additional_names:
30000+
description: Related library or package names (such as child packages or
30001+
affected binary paths).
30002+
items:
30003+
example: linux-tools-common
30004+
type: string
30005+
type: array
2999930006
name:
3000030007
description: Vulnerability library name.
3000130008
example: linux-aws-5.15
@@ -57371,6 +57378,12 @@ components:
5737157378
type: array
5737257379
risks:
5737357380
$ref: '#/components/schemas/VulnerabilityRisks'
57381+
running_kernel:
57382+
description: "True if the vulnerability affects a package in the host\u2019s
57383+
running kernel, false if it affects a non-running kernel, and omit if
57384+
it is not kernel-related."
57385+
example: true
57386+
type: boolean
5737457387
status:
5737557388
$ref: '#/components/schemas/VulnerabilityStatus'
5737657389
title:
@@ -57431,10 +57444,15 @@ components:
5743157444
- RubyGems
5743257445
- Go
5743357446
- Packagist
57434-
- Ddeb
57447+
- Deb
5743557448
- Rpm
5743657449
- Apk
5743757450
- Windows
57451+
- Generic
57452+
- MacOs
57453+
- Oci
57454+
- BottleRocket
57455+
- None
5743857456
type: string
5743957457
x-enum-varnames:
5744057458
- PYPI
@@ -57444,10 +57462,15 @@ components:
5744457462
- RUBY_GEMS
5744557463
- GO
5744657464
- PACKAGIST
57447-
- D_DEB
57465+
- DEB
5744857466
- RPM
5744957467
- APK
5745057468
- WINDOWS
57469+
- GENERIC
57470+
- MAC_OS
57471+
- OCI
57472+
- BOTTLE_ROCKET
57473+
- NONE
5745157474
VulnerabilityRelationships:
5745257475
description: Related entities object.
5745357476
properties:
@@ -57548,12 +57571,14 @@ components:
5754857571
- IAST
5754957572
- SCA
5755057573
- Infra
57574+
- SAST
5755157575
example: SCA
5755257576
type: string
5755357577
x-enum-varnames:
5755457578
- IAST
5755557579
- SCA
5755657580
- INFRA
57581+
- SAST
5755757582
VulnerabilityType:
5755857583
description: The vulnerability type.
5755957584
enum:
@@ -80311,6 +80336,10 @@ paths:
8031180336
summary: List assets SBOMs
8031280337
tags:
8031380338
- Security Monitoring
80339+
x-permission:
80340+
operator: OR
80341+
permissions:
80342+
- appsec_vm_read
8031480343
x-unstable: '**Note**: This endpoint is a private preview.
8031580344

8031680345
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -80382,6 +80411,10 @@ paths:
8038280411
summary: Get SBOM
8038380412
tags:
8038480413
- Security Monitoring
80414+
x-permission:
80415+
operator: OR
80416+
permissions:
80417+
- appsec_vm_read
8038580418
x-unstable: '**Note**: This endpoint is a private preview.
8038680419

8038780420
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -80496,6 +80529,10 @@ paths:
8049680529
summary: List scanned assets metadata
8049780530
tags:
8049880531
- Security Monitoring
80532+
x-permission:
80533+
operator: OR
80534+
permissions:
80535+
- appsec_vm_read
8049980536
x-unstable: '**Note**: This endpoint is a private preview.
8050080537

8050180538
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -80924,6 +80961,14 @@ paths:
8092480961
required: false
8092580962
schema:
8092680963
type: string
80964+
- description: Filter for whether the vulnerability affects a running kernel
80965+
(for vulnerabilities related to a `Host` asset).
80966+
example: true
80967+
in: query
80968+
name: filter[running_kernel]
80969+
required: false
80970+
schema:
80971+
type: boolean
8092780972
- description: Filter by asset name. This field supports the usage of wildcards
8092880973
(*).
8092980974
example: datadog-agent
@@ -81067,6 +81112,10 @@ paths:
8106781112
summary: List vulnerabilities
8106881113
tags:
8106981114
- Security Monitoring
81115+
x-permission:
81116+
operator: OR
81117+
permissions:
81118+
- appsec_vm_read
8107081119
x-unstable: '**Note**: This endpoint is a private preview.
8107181120

8107281121
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -81425,6 +81474,10 @@ paths:
8142581474
summary: List vulnerable assets
8142681475
tags:
8142781476
- Security Monitoring
81477+
x-permission:
81478+
operator: OR
81479+
permissions:
81480+
- appsec_vm_read
8142881481
x-unstable: '**Note**: This endpoint is a private preview.
8142981482

8143081483
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -84562,8 +84615,8 @@ paths:
8456284615
x-unstable: '**Note**: This endpoint may be subject to changes.'
8456384616
/api/v2/static-analysis/secrets/rules:
8456484617
get:
84565-
description: Returns list of Secrets rules with ID, Pattern, Description, Priority,
84566-
and SDS ID
84618+
description: Returns a list of Secrets rules with ID, Pattern, Description,
84619+
Priority, and SDS ID.
8456784620
operationId: GetSecretsRules
8456884621
responses:
8456984622
'200':
@@ -84579,7 +84632,7 @@ paths:
8457984632
appKeyAuth: []
8458084633
- AuthZ:
8458184634
- code_analysis_read
84582-
summary: Returns list of Secrets rules
84635+
summary: Returns a list of Secrets rules
8458384636
tags:
8458484637
- Security Monitoring
8458584638
x-unstable: '**Note**: This endpoint may be subject to changes.'
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-31T12:04:28.397Z"
1+
"2025-12-12T14:36:04.169Z"

cassettes/v2/Security-Monitoring_1187227211/List-vulnerabilities-returns-Not-found-There-is-no-request-associated-with-the-provided-t_4208064063/recording.har

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
"url": "https://api.datadoghq.com/api/v2/security/vulnerabilities?page%5Btoken%5D=unknown&page%5Bnumber%5D=1"
3737
},
3838
"response": {
39-
"bodySize": 131,
39+
"bodySize": 65,
4040
"content": {
4141
"mimeType": "application/vnd.api+json",
42-
"size": 131,
43-
"text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"rpc error: code = Internal desc = no cached result set found for queryID: unknown\"}]}"
42+
"size": 65,
43+
"text": "{\"errors\":[{\"status\":\"404\",\"title\":\"Unexpected internal error\"}]}"
4444
},
4545
"cookies": [],
4646
"headers": [
@@ -49,14 +49,14 @@
4949
"value": "application/vnd.api+json"
5050
}
5151
],
52-
"headersSize": 661,
52+
"headersSize": 660,
5353
"httpVersion": "HTTP/1.1",
5454
"redirectURL": "",
5555
"status": 404,
5656
"statusText": "Not Found"
5757
},
58-
"startedDateTime": "2025-01-31T12:04:28.406Z",
59-
"time": 489
58+
"startedDateTime": "2025-12-12T14:36:04.174Z",
59+
"time": 518
6060
}
6161
],
6262
"pages": [],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-01-31T12:04:39.730Z"
1+
"2025-12-12T14:36:49.310Z"

cassettes/v2/Security-Monitoring_1187227211/List-vulnerabilities-returns-OK-response_2451060917/recording.har

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"value": "application/json"
2222
}
2323
],
24-
"headersSize": 612,
24+
"headersSize": 614,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "GET",
2727
"queryString": [
@@ -56,8 +56,8 @@
5656
"status": 200,
5757
"statusText": "OK"
5858
},
59-
"startedDateTime": "2025-01-31T12:04:39.739Z",
60-
"time": 1094
59+
"startedDateTime": "2025-12-12T14:36:49.316Z",
60+
"time": 984
6161
}
6262
],
6363
"pages": [],

features/v2/security_monitoring.feature

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ Feature: Security Monitoring
781781
When the request is sent
782782
Then the response status is 404 Not Found
783783

784-
@generated @skip @team:DataDog/asm-vm
784+
@generated @skip @team:DataDog/k9-cloud-vm
785785
Scenario: Get SBOM returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
786786
Given operation "GetSBOM" enabled
787787
And new "GetSBOM" request
@@ -790,7 +790,7 @@ Feature: Security Monitoring
790790
When the request is sent
791791
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
792792

793-
@team:DataDog/asm-vm
793+
@team:DataDog/k9-cloud-vm
794794
Scenario: Get SBOM returns "Not found: asset not found" response
795795
Given operation "GetSBOM" enabled
796796
And new "GetSBOM" request
@@ -799,7 +799,7 @@ Feature: Security Monitoring
799799
When the request is sent
800800
Then the response status is 404 Not found: asset not found
801801

802-
@skip @team:DataDog/asm-vm
802+
@skip @team:DataDog/k9-cloud-vm
803803
Scenario: Get SBOM returns "OK" response
804804
Given operation "GetSBOM" enabled
805805
And new "GetSBOM" request
@@ -1182,14 +1182,14 @@ Feature: Security Monitoring
11821182
When the request is sent
11831183
Then the response status is 200 The list of notification rules.
11841184

1185-
@generated @skip @team:DataDog/asm-vm
1185+
@generated @skip @team:DataDog/k9-cloud-vm
11861186
Scenario: List assets SBOMs returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
11871187
Given operation "ListAssetsSBOMs" enabled
11881188
And new "ListAssetsSBOMs" request
11891189
When the request is sent
11901190
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
11911191

1192-
@team:DataDog/asm-vm
1192+
@team:DataDog/k9-cloud-vm
11931193
Scenario: List assets SBOMs returns "Not found: There is no request associated with the provided token." response
11941194
Given operation "ListAssetsSBOMs" enabled
11951195
And new "ListAssetsSBOMs" request
@@ -1198,14 +1198,14 @@ Feature: Security Monitoring
11981198
When the request is sent
11991199
Then the response status is 404 Not found: There is no request associated with the provided token.
12001200

1201-
@generated @skip @team:DataDog/asm-vm
1201+
@generated @skip @team:DataDog/k9-cloud-vm
12021202
Scenario: List assets SBOMs returns "Not found: asset not found" response
12031203
Given operation "ListAssetsSBOMs" enabled
12041204
And new "ListAssetsSBOMs" request
12051205
When the request is sent
12061206
Then the response status is 404 Not found: asset not found
12071207

1208-
@team:DataDog/asm-vm
1208+
@team:DataDog/k9-cloud-vm
12091209
Scenario: List assets SBOMs returns "OK" response
12101210
Given operation "ListAssetsSBOMs" enabled
12111211
And new "ListAssetsSBOMs" request
@@ -1317,14 +1317,14 @@ Feature: Security Monitoring
13171317
When the request is sent
13181318
Then the response status is 200 OK
13191319

1320-
@skip @team:DataDog/asm-vm
1320+
@skip @team:DataDog/k9-cloud-vm
13211321
Scenario: List scanned assets metadata returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
13221322
Given operation "ListScannedAssetsMetadata" enabled
13231323
And new "ListScannedAssetsMetadata" request
13241324
When the request is sent
13251325
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
13261326

1327-
@team:DataDog/asm-vm
1327+
@team:DataDog/k9-cloud-vm
13281328
Scenario: List scanned assets metadata returns "Not found: asset not found" response
13291329
Given operation "ListScannedAssetsMetadata" enabled
13301330
And new "ListScannedAssetsMetadata" request
@@ -1333,7 +1333,7 @@ Feature: Security Monitoring
13331333
When the request is sent
13341334
Then the response status is 404 Not found: asset not found
13351335

1336-
@team:DataDog/asm-vm
1336+
@team:DataDog/k9-cloud-vm
13371337
Scenario: List scanned assets metadata returns "OK" response
13381338
Given operation "ListScannedAssetsMetadata" enabled
13391339
And new "ListScannedAssetsMetadata" request
@@ -1354,14 +1354,14 @@ Feature: Security Monitoring
13541354
When the request is sent
13551355
Then the response status is 200 OK
13561356

1357-
@generated @skip @team:DataDog/asm-vm
1357+
@generated @skip @team:DataDog/k9-cloud-vm
13581358
Scenario: List vulnerabilities returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
13591359
Given operation "ListVulnerabilities" enabled
13601360
And new "ListVulnerabilities" request
13611361
When the request is sent
13621362
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
13631363

1364-
@team:DataDog/asm-vm
1364+
@team:DataDog/k9-cloud-vm
13651365
Scenario: List vulnerabilities returns "Not found: There is no request associated with the provided token." response
13661366
Given operation "ListVulnerabilities" enabled
13671367
And new "ListVulnerabilities" request
@@ -1370,7 +1370,7 @@ Feature: Security Monitoring
13701370
When the request is sent
13711371
Then the response status is 404 Not found: There is no request associated with the provided token.
13721372

1373-
@team:DataDog/asm-vm
1373+
@team:DataDog/k9-cloud-vm
13741374
Scenario: List vulnerabilities returns "OK" response
13751375
Given operation "ListVulnerabilities" enabled
13761376
And new "ListVulnerabilities" request
@@ -1380,14 +1380,14 @@ Feature: Security Monitoring
13801380
When the request is sent
13811381
Then the response status is 200 OK
13821382

1383-
@generated @skip @team:DataDog/asm-vm
1383+
@generated @skip @team:DataDog/k9-cloud-vm
13841384
Scenario: List vulnerable assets returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
13851385
Given operation "ListVulnerableAssets" enabled
13861386
And new "ListVulnerableAssets" request
13871387
When the request is sent
13881388
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
13891389

1390-
@team:DataDog/asm-vm
1390+
@team:DataDog/k9-cloud-vm
13911391
Scenario: List vulnerable assets returns "Not found: There is no request associated with the provided token." response
13921392
Given operation "ListVulnerableAssets" enabled
13931393
And new "ListVulnerableAssets" request
@@ -1396,7 +1396,7 @@ Feature: Security Monitoring
13961396
When the request is sent
13971397
Then the response status is 404 Not found: There is no request associated with the provided token.
13981398

1399-
@team:DataDog/asm-vm
1399+
@team:DataDog/k9-cloud-vm
14001400
Scenario: List vulnerable assets returns "OK" response
14011401
Given operation "ListVulnerableAssets" enabled
14021402
And new "ListVulnerableAssets" request
@@ -1530,14 +1530,14 @@ Feature: Security Monitoring
15301530
When the request is sent
15311531
Then the response status is 422 The server cannot process the request because it contains invalid data.
15321532

1533-
@generated @skip @team:DataDog/asm-vm
1534-
Scenario: Returns list of Secrets rules returns "OK" response
1533+
@generated @skip @team:DataDog/k9-vm-ast
1534+
Scenario: Returns a list of Secrets rules returns "OK" response
15351535
Given operation "GetSecretsRules" enabled
15361536
And new "GetSecretsRules" request
15371537
When the request is sent
15381538
Then the response status is 200 OK
15391539

1540-
@generated @skip @team:DataDog/asm-vm
1540+
@generated @skip @team:DataDog/k9-vm-ast
15411541
Scenario: Ruleset get multiple returns "OK" response
15421542
Given operation "ListMultipleRulesets" enabled
15431543
And new "ListMultipleRulesets" request

private/bdd_runner/src/support/scenarios_model_mapping.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4172,6 +4172,10 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = {
41724172
type: "string",
41734173
format: "",
41744174
},
4175+
filterRunningKernel: {
4176+
type: "boolean",
4177+
format: "",
4178+
},
41754179
filterAssetName: {
41764180
type: "string",
41774181
format: "",

0 commit comments

Comments
 (0)