@@ -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