Skip to content

Commit 0162619

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 319e516 of spec repo (#3098)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6a43b41 commit 0162619

File tree

8 files changed

+10
-27
lines changed

8 files changed

+10
-27
lines changed

.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###

examples/v2/security-monitoring/GetSBOM.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from datadog_api_client.v2.model.asset_type import AssetType
88

99
configuration = Configuration()
10-
configuration.unstable_operations["get_sbom"] = True
1110
with ApiClient(configuration) as api_client:
1211
api_instance = SecurityMonitoringApi(api_client)
1312
response = api_instance.get_sbom(

examples/v2/security-monitoring/ListAssetsSBOMs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from datadog_api_client.v2.model.asset_type import AssetType
88

99
configuration = Configuration()
10-
configuration.unstable_operations["list_assets_sbo_ms"] = True
1110
with ApiClient(configuration) as api_client:
1211
api_instance = SecurityMonitoringApi(api_client)
1312
response = api_instance.list_assets_sbo_ms(

src/datadog_api_client/configuration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,10 @@ def __init__(
273273
"v2.delete_threat_hunting_job": False,
274274
"v2.get_finding": False,
275275
"v2.get_rule_version_history": False,
276-
"v2.get_sbom": False,
277276
"v2.get_secrets_rules": False,
278277
"v2.get_security_monitoring_histsignal": False,
279278
"v2.get_security_monitoring_histsignals_by_job_id": False,
280279
"v2.get_threat_hunting_job": False,
281-
"v2.list_assets_sbo_ms": False,
282280
"v2.list_findings": False,
283281
"v2.list_multiple_rulesets": False,
284282
"v2.list_scanned_assets_metadata": False,
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
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-07-10T10:13:27.247Z
1+
2026-01-20T08:26:52.182Z
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

tests/v2/features/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)