Skip to content

Commit 313b3b0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 319e516 of spec repo
1 parent 1621dbd commit 313b3b0

12 files changed

Lines changed: 13 additions & 46 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87364,9 +87364,6 @@ paths:
8736487364
operator: OR
8736587365
permissions:
8736687366
- appsec_vm_read
87367-
x-unstable: '**Note**: This endpoint is a private preview.
87368-
87369-
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
8737087367
/api/v2/security/sboms/{asset_type}:
8737187368
get:
8737287369
description: Get a single SBOM related to an asset by its type and name.
@@ -87439,9 +87436,6 @@ paths:
8743987436
operator: OR
8744087437
permissions:
8744187438
- appsec_vm_read
87442-
x-unstable: '**Note**: This endpoint is a private preview.
87443-
87444-
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).'
8744587439
/api/v2/security/scanned-assets-metadata:
8744687440
get:
8744787441
description: "Get a list of security scanned assets metadata for an organization.\n\n###
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-02-10T11:40:12.098Z
1+
2026-01-20T09:40:32.938Z

cassettes/features/v2/security_monitoring/Get-SBOM-returns-Not-found-asset-not-found-response.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-07-10T10:13:27.247Z
1+
2026-01-20T08:26:52.182Z

cassettes/features/v2/security_monitoring/List-assets-SBOMs-returns-Not-found-There-is-no-request-associated-with-the-provided-token-response.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-07-10T10:11:37.540Z
1+
2026-01-20T08:27:19.760Z

cassettes/features/v2/security_monitoring/List-assets-SBOMs-returns-OK-response.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Get SBOM returns "OK" response
22

33
require "datadog_api_client"
4-
DatadogAPIClient.configure do |config|
5-
config.unstable_operations["v2.get_sbom".to_sym] = true
6-
end
74
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
85
p api_instance.get_sbom(AssetType::REPOSITORY, "github.com/datadog/datadog-agent")

examples/v2/security-monitoring/ListAssetsSBOMs.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# List assets SBOMs returns "OK" response
22

33
require "datadog_api_client"
4-
DatadogAPIClient.configure do |config|
5-
config.unstable_operations["v2.list_assets_sbo_ms".to_sym] = true
6-
end
74
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
85
opts = {
96
filter_package_name: "pandas",

features/v2/security_monitoring.feature

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -809,26 +809,23 @@ Feature: Security Monitoring
809809

810810
@generated @skip @team:DataDog/k9-cloud-vm
811811
Scenario: Get SBOM returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
812-
Given operation "GetSBOM" enabled
813-
And new "GetSBOM" request
812+
Given new "GetSBOM" request
814813
And request contains "asset_type" parameter from "REPLACE.ME"
815814
And request contains "filter[asset_name]" parameter from "REPLACE.ME"
816815
When the request is sent
817816
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
818817

819818
@team:DataDog/k9-cloud-vm
820819
Scenario: Get SBOM returns "Not found: asset not found" response
821-
Given operation "GetSBOM" enabled
822-
And new "GetSBOM" request
820+
Given new "GetSBOM" request
823821
And request contains "asset_type" parameter with value "Host"
824822
And request contains "filter[asset_name]" parameter with value "unknown-host"
825823
When the request is sent
826824
Then the response status is 404 Not found: asset not found
827825

828826
@skip @team:DataDog/k9-cloud-vm
829827
Scenario: Get SBOM returns "OK" response
830-
Given operation "GetSBOM" enabled
831-
And new "GetSBOM" request
828+
Given new "GetSBOM" request
832829
And request contains "asset_type" parameter with value "Repository"
833830
And request contains "filter[asset_name]" parameter with value "github.com/datadog/datadog-agent"
834831
When the request is sent
@@ -1297,31 +1294,27 @@ Feature: Security Monitoring
12971294

12981295
@generated @skip @team:DataDog/k9-cloud-vm
12991296
Scenario: List assets SBOMs returns "Bad request: The server cannot process the request due to invalid syntax in the request." response
1300-
Given operation "ListAssetsSBOMs" enabled
1301-
And new "ListAssetsSBOMs" request
1297+
Given new "ListAssetsSBOMs" request
13021298
When the request is sent
13031299
Then the response status is 400 Bad request: The server cannot process the request due to invalid syntax in the request.
13041300

13051301
@team:DataDog/k9-cloud-vm
13061302
Scenario: List assets SBOMs returns "Not found: There is no request associated with the provided token." response
1307-
Given operation "ListAssetsSBOMs" enabled
1308-
And new "ListAssetsSBOMs" request
1303+
Given new "ListAssetsSBOMs" request
13091304
And request contains "page[token]" parameter with value "unknown"
13101305
And request contains "page[number]" parameter with value 1
13111306
When the request is sent
13121307
Then the response status is 404 Not found: There is no request associated with the provided token.
13131308

13141309
@generated @skip @team:DataDog/k9-cloud-vm
13151310
Scenario: List assets SBOMs returns "Not found: asset not found" response
1316-
Given operation "ListAssetsSBOMs" enabled
1317-
And new "ListAssetsSBOMs" request
1311+
Given new "ListAssetsSBOMs" request
13181312
When the request is sent
13191313
Then the response status is 404 Not found: asset not found
13201314

13211315
@team:DataDog/k9-cloud-vm
13221316
Scenario: List assets SBOMs returns "OK" response
1323-
Given operation "ListAssetsSBOMs" enabled
1324-
And new "ListAssetsSBOMs" request
1317+
Given new "ListAssetsSBOMs" request
13251318
And request contains "filter[package_name]" parameter with value "pandas"
13261319
And request contains "filter[asset_type]" parameter with value "Service"
13271320
When the request is sent

0 commit comments

Comments
 (0)