Skip to content

Commit 6d2e9a1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit fcf2546 of spec repo (#3117)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 99be8a8 commit 6d2e9a1

File tree

14 files changed

+145
-41
lines changed

14 files changed

+145
-41
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 58 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29976,6 +29976,13 @@ components:
2997629976
Library:
2997729977
description: Vulnerability library.
2997829978
properties:
29979+
additional_names:
29980+
description: Related library or package names (such as child packages or
29981+
affected binary paths).
29982+
items:
29983+
example: linux-tools-common
29984+
type: string
29985+
type: array
2997929986
name:
2998029987
description: Vulnerability library name.
2998129988
example: linux-aws-5.15
@@ -57353,6 +57360,12 @@ components:
5735357360
type: array
5735457361
risks:
5735557362
$ref: '#/components/schemas/VulnerabilityRisks'
57363+
running_kernel:
57364+
description: "True if the vulnerability affects a package in the host\u2019s
57365+
running kernel, false if it affects a non-running kernel, and omit if
57366+
it is not kernel-related."
57367+
example: true
57368+
type: boolean
5735657369
status:
5735757370
$ref: '#/components/schemas/VulnerabilityStatus'
5735857371
title:
@@ -57413,10 +57426,15 @@ components:
5741357426
- RubyGems
5741457427
- Go
5741557428
- Packagist
57416-
- Ddeb
57429+
- Deb
5741757430
- Rpm
5741857431
- Apk
5741957432
- Windows
57433+
- Generic
57434+
- MacOs
57435+
- Oci
57436+
- BottleRocket
57437+
- None
5742057438
type: string
5742157439
x-enum-varnames:
5742257440
- PYPI
@@ -57426,10 +57444,15 @@ components:
5742657444
- RUBY_GEMS
5742757445
- GO
5742857446
- PACKAGIST
57429-
- D_DEB
57447+
- DEB
5743057448
- RPM
5743157449
- APK
5743257450
- WINDOWS
57451+
- GENERIC
57452+
- MAC_OS
57453+
- OCI
57454+
- BOTTLE_ROCKET
57455+
- NONE
5743357456
VulnerabilityRelationships:
5743457457
description: Related entities object.
5743557458
properties:
@@ -57530,12 +57553,14 @@ components:
5753057553
- IAST
5753157554
- SCA
5753257555
- Infra
57556+
- SAST
5753357557
example: SCA
5753457558
type: string
5753557559
x-enum-varnames:
5753657560
- IAST
5753757561
- SCA
5753857562
- INFRA
57563+
- SAST
5753957564
VulnerabilityType:
5754057565
description: The vulnerability type.
5754157566
enum:
@@ -80296,6 +80321,10 @@ paths:
8029680321
summary: List assets SBOMs
8029780322
tags:
8029880323
- Security Monitoring
80324+
x-permission:
80325+
operator: OR
80326+
permissions:
80327+
- appsec_vm_read
8029980328
x-unstable: '**Note**: This endpoint is a private preview.
8030080329

8030180330
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -80367,6 +80396,10 @@ paths:
8036780396
summary: Get SBOM
8036880397
tags:
8036980398
- Security Monitoring
80399+
x-permission:
80400+
operator: OR
80401+
permissions:
80402+
- appsec_vm_read
8037080403
x-unstable: '**Note**: This endpoint is a private preview.
8037180404

8037280405
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -80481,6 +80514,10 @@ paths:
8048180514
summary: List scanned assets metadata
8048280515
tags:
8048380516
- Security Monitoring
80517+
x-permission:
80518+
operator: OR
80519+
permissions:
80520+
- appsec_vm_read
8048480521
x-unstable: '**Note**: This endpoint is a private preview.
8048580522

8048680523
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -80909,6 +80946,14 @@ paths:
8090980946
required: false
8091080947
schema:
8091180948
type: string
80949+
- description: Filter for whether the vulnerability affects a running kernel
80950+
(for vulnerabilities related to a `Host` asset).
80951+
example: true
80952+
in: query
80953+
name: filter[running_kernel]
80954+
required: false
80955+
schema:
80956+
type: boolean
8091280957
- description: Filter by asset name. This field supports the usage of wildcards
8091380958
(*).
8091480959
example: datadog-agent
@@ -81052,6 +81097,10 @@ paths:
8105281097
summary: List vulnerabilities
8105381098
tags:
8105481099
- Security Monitoring
81100+
x-permission:
81101+
operator: OR
81102+
permissions:
81103+
- appsec_vm_read
8105581104
x-unstable: '**Note**: This endpoint is a private preview.
8105681105

8105781106
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -81410,6 +81459,10 @@ paths:
8141081459
summary: List vulnerable assets
8141181460
tags:
8141281461
- Security Monitoring
81462+
x-permission:
81463+
operator: OR
81464+
permissions:
81465+
- appsec_vm_read
8141381466
x-unstable: '**Note**: This endpoint is a private preview.
8141481467

8141581468
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
@@ -84547,8 +84600,8 @@ paths:
8454784600
x-unstable: '**Note**: This endpoint may be subject to changes.'
8454884601
/api/v2/static-analysis/secrets/rules:
8454984602
get:
84550-
description: Returns list of Secrets rules with ID, Pattern, Description, Priority,
84551-
and SDS ID
84603+
description: Returns a list of Secrets rules with ID, Pattern, Description,
84604+
Priority, and SDS ID.
8455284605
operationId: GetSecretsRules
8455384606
responses:
8455484607
'200':
@@ -84564,7 +84617,7 @@ paths:
8456484617
appKeyAuth: []
8456584618
- AuthZ:
8456684619
- code_analysis_read
84567-
summary: Returns list of Secrets rules
84620+
summary: Returns a list of Secrets rules
8456884621
tags:
8456984622
- Security Monitoring
8457084623
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": [],

examples/v2/security-monitoring/GetSecretsRules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Returns list of Secrets rules returns "OK" response
2+
* Returns a list of Secrets rules returns "OK" response
33
*/
44

55
import { client, v2 } from "@datadog/datadog-api-client";

features/support/scenarios_model_mapping.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4162,6 +4162,10 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
41624162
"type": "string",
41634163
"format": "",
41644164
},
4165+
"filterRunningKernel": {
4166+
"type": "boolean",
4167+
"format": "",
4168+
},
41654169
"filterAssetName": {
41664170
"type": "string",
41674171
"format": "",

features/v2/security_monitoring.feature

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ Feature: Security Monitoring
733733
When the request is sent
734734
Then the response status is 404 Not Found
735735

736-
@generated @skip @team:DataDog/asm-vm
736+
@generated @skip @team:DataDog/k9-cloud-vm
737737
Scenario: Get SBOM returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
738738
Given operation "GetSBOM" enabled
739739
And new "GetSBOM" request
@@ -742,7 +742,7 @@ Feature: Security Monitoring
742742
When the request is sent
743743
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
744744

745-
@team:DataDog/asm-vm
745+
@team:DataDog/k9-cloud-vm
746746
Scenario: Get SBOM returns "Not found: asset not found" response
747747
Given operation "GetSBOM" enabled
748748
And new "GetSBOM" request
@@ -751,7 +751,7 @@ Feature: Security Monitoring
751751
When the request is sent
752752
Then the response status is 404 Not found: asset not found
753753

754-
@skip @team:DataDog/asm-vm
754+
@skip @team:DataDog/k9-cloud-vm
755755
Scenario: Get SBOM returns "OK" response
756756
Given operation "GetSBOM" enabled
757757
And new "GetSBOM" request
@@ -1134,14 +1134,14 @@ Feature: Security Monitoring
11341134
When the request is sent
11351135
Then the response status is 200 The list of notification rules.
11361136

1137-
@generated @skip @team:DataDog/asm-vm
1137+
@generated @skip @team:DataDog/k9-cloud-vm
11381138
Scenario: List assets SBOMs returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
11391139
Given operation "ListAssetsSBOMs" enabled
11401140
And new "ListAssetsSBOMs" request
11411141
When the request is sent
11421142
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
11431143

1144-
@team:DataDog/asm-vm
1144+
@team:DataDog/k9-cloud-vm
11451145
Scenario: List assets SBOMs returns "Not found: There is no request associated with the provided token." response
11461146
Given operation "ListAssetsSBOMs" enabled
11471147
And new "ListAssetsSBOMs" request
@@ -1150,14 +1150,14 @@ Feature: Security Monitoring
11501150
When the request is sent
11511151
Then the response status is 404 Not found: There is no request associated with the provided token.
11521152

1153-
@generated @skip @team:DataDog/asm-vm
1153+
@generated @skip @team:DataDog/k9-cloud-vm
11541154
Scenario: List assets SBOMs returns "Not found: asset not found" response
11551155
Given operation "ListAssetsSBOMs" enabled
11561156
And new "ListAssetsSBOMs" request
11571157
When the request is sent
11581158
Then the response status is 404 Not found: asset not found
11591159

1160-
@team:DataDog/asm-vm
1160+
@team:DataDog/k9-cloud-vm
11611161
Scenario: List assets SBOMs returns "OK" response
11621162
Given operation "ListAssetsSBOMs" enabled
11631163
And new "ListAssetsSBOMs" request
@@ -1269,14 +1269,14 @@ Feature: Security Monitoring
12691269
When the request is sent
12701270
Then the response status is 200 OK
12711271

1272-
@skip @team:DataDog/asm-vm
1272+
@skip @team:DataDog/k9-cloud-vm
12731273
Scenario: List scanned assets metadata returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
12741274
Given operation "ListScannedAssetsMetadata" enabled
12751275
And new "ListScannedAssetsMetadata" request
12761276
When the request is sent
12771277
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
12781278

1279-
@team:DataDog/asm-vm
1279+
@team:DataDog/k9-cloud-vm
12801280
Scenario: List scanned assets metadata returns "Not found: asset not found" response
12811281
Given operation "ListScannedAssetsMetadata" enabled
12821282
And new "ListScannedAssetsMetadata" request
@@ -1285,7 +1285,7 @@ Feature: Security Monitoring
12851285
When the request is sent
12861286
Then the response status is 404 Not found: asset not found
12871287

1288-
@team:DataDog/asm-vm
1288+
@team:DataDog/k9-cloud-vm
12891289
Scenario: List scanned assets metadata returns "OK" response
12901290
Given operation "ListScannedAssetsMetadata" enabled
12911291
And new "ListScannedAssetsMetadata" request
@@ -1306,14 +1306,14 @@ Feature: Security Monitoring
13061306
When the request is sent
13071307
Then the response status is 200 OK
13081308

1309-
@generated @skip @team:DataDog/asm-vm
1309+
@generated @skip @team:DataDog/k9-cloud-vm
13101310
Scenario: List vulnerabilities returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
13111311
Given operation "ListVulnerabilities" enabled
13121312
And new "ListVulnerabilities" request
13131313
When the request is sent
13141314
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
13151315

1316-
@team:DataDog/asm-vm
1316+
@team:DataDog/k9-cloud-vm
13171317
Scenario: List vulnerabilities returns "Not found: There is no request associated with the provided token." response
13181318
Given operation "ListVulnerabilities" enabled
13191319
And new "ListVulnerabilities" request
@@ -1322,7 +1322,7 @@ Feature: Security Monitoring
13221322
When the request is sent
13231323
Then the response status is 404 Not found: There is no request associated with the provided token.
13241324

1325-
@team:DataDog/asm-vm
1325+
@team:DataDog/k9-cloud-vm
13261326
Scenario: List vulnerabilities returns "OK" response
13271327
Given operation "ListVulnerabilities" enabled
13281328
And new "ListVulnerabilities" request
@@ -1332,14 +1332,14 @@ Feature: Security Monitoring
13321332
When the request is sent
13331333
Then the response status is 200 OK
13341334

1335-
@generated @skip @team:DataDog/asm-vm
1335+
@generated @skip @team:DataDog/k9-cloud-vm
13361336
Scenario: List vulnerable assets returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
13371337
Given operation "ListVulnerableAssets" enabled
13381338
And new "ListVulnerableAssets" request
13391339
When the request is sent
13401340
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
13411341

1342-
@team:DataDog/asm-vm
1342+
@team:DataDog/k9-cloud-vm
13431343
Scenario: List vulnerable assets returns "Not found: There is no request associated with the provided token." response
13441344
Given operation "ListVulnerableAssets" enabled
13451345
And new "ListVulnerableAssets" request
@@ -1348,7 +1348,7 @@ Feature: Security Monitoring
13481348
When the request is sent
13491349
Then the response status is 404 Not found: There is no request associated with the provided token.
13501350

1351-
@team:DataDog/asm-vm
1351+
@team:DataDog/k9-cloud-vm
13521352
Scenario: List vulnerable assets returns "OK" response
13531353
Given operation "ListVulnerableAssets" enabled
13541354
And new "ListVulnerableAssets" request
@@ -1482,14 +1482,14 @@ Feature: Security Monitoring
14821482
When the request is sent
14831483
Then the response status is 422 The server cannot process the request because it contains invalid data.
14841484

1485-
@generated @skip @team:DataDog/asm-vm
1486-
Scenario: Returns list of Secrets rules returns "OK" response
1485+
@generated @skip @team:DataDog/k9-vm-ast
1486+
Scenario: Returns a list of Secrets rules returns "OK" response
14871487
Given operation "GetSecretsRules" enabled
14881488
And new "GetSecretsRules" request
14891489
When the request is sent
14901490
Then the response status is 200 OK
14911491

1492-
@generated @skip @team:DataDog/asm-vm
1492+
@generated @skip @team:DataDog/k9-vm-ast
14931493
Scenario: Ruleset get multiple returns "OK" response
14941494
Given operation "ListMultipleRulesets" enabled
14951495
And new "ListMultipleRulesets" request

0 commit comments

Comments
 (0)