3333import com .datadog .api .client .v2 .model .PatchNotificationRuleParameters ;
3434import com .datadog .api .client .v2 .model .RunHistoricalJobRequest ;
3535import com .datadog .api .client .v2 .model .SBOMComponentLicenseType ;
36+ import com .datadog .api .client .v2 .model .SbomFormat ;
3637import com .datadog .api .client .v2 .model .SecurityFilterCreateRequest ;
3738import com .datadog .api .client .v2 .model .SecurityFilterResponse ;
3839import com .datadog .api .client .v2 .model .SecurityFilterUpdateRequest ;
@@ -4029,6 +4030,7 @@ public ApiResponse<GetRuleVersionHistoryResponse> getRuleVersionHistoryWithHttpI
40294030 /** Manage optional parameters to getSBOM. */
40304031 public static class GetSBOMOptionalParameters {
40314032 private String filterRepoDigest ;
4033+ private SbomFormat extFormat ;
40324034
40334035 /**
40344036 * Set filterRepoDigest.
@@ -4041,6 +4043,17 @@ public GetSBOMOptionalParameters filterRepoDigest(String filterRepoDigest) {
40414043 this .filterRepoDigest = filterRepoDigest ;
40424044 return this ;
40434045 }
4046+
4047+ /**
4048+ * Set extFormat.
4049+ *
4050+ * @param extFormat The standard of the SBOM. (optional)
4051+ * @return GetSBOMOptionalParameters
4052+ */
4053+ public GetSBOMOptionalParameters extFormat (SbomFormat extFormat ) {
4054+ this .extFormat = extFormat ;
4055+ return this ;
4056+ }
40444057 }
40454058
40464059 /**
@@ -4155,6 +4168,7 @@ public ApiResponse<GetSBOMResponse> getSBOMWithHttpInfo(
41554168 400 , "Missing the required parameter 'filterAssetName' when calling getSBOM" );
41564169 }
41574170 String filterRepoDigest = parameters .filterRepoDigest ;
4171+ SbomFormat extFormat = parameters .extFormat ;
41584172 // create path and map variables
41594173 String localVarPath =
41604174 "/api/v2/security/sboms/{asset_type}"
@@ -4167,6 +4181,7 @@ public ApiResponse<GetSBOMResponse> getSBOMWithHttpInfo(
41674181 apiClient .parameterToPairs ("" , "filter[asset_name]" , filterAssetName ));
41684182 localVarQueryParams .addAll (
41694183 apiClient .parameterToPairs ("" , "filter[repo_digest]" , filterRepoDigest ));
4184+ localVarQueryParams .addAll (apiClient .parameterToPairs ("" , "ext:format" , extFormat ));
41704185
41714186 Invocation .Builder builder =
41724187 apiClient .createBuilder (
@@ -4229,6 +4244,7 @@ public CompletableFuture<ApiResponse<GetSBOMResponse>> getSBOMWithHttpInfoAsync(
42294244 return result ;
42304245 }
42314246 String filterRepoDigest = parameters .filterRepoDigest ;
4247+ SbomFormat extFormat = parameters .extFormat ;
42324248 // create path and map variables
42334249 String localVarPath =
42344250 "/api/v2/security/sboms/{asset_type}"
@@ -4241,6 +4257,7 @@ public CompletableFuture<ApiResponse<GetSBOMResponse>> getSBOMWithHttpInfoAsync(
42414257 apiClient .parameterToPairs ("" , "filter[asset_name]" , filterAssetName ));
42424258 localVarQueryParams .addAll (
42434259 apiClient .parameterToPairs ("" , "filter[repo_digest]" , filterRepoDigest ));
4260+ localVarQueryParams .addAll (apiClient .parameterToPairs ("" , "ext:format" , extFormat ));
42444261
42454262 Invocation .Builder builder ;
42464263 try {
@@ -6198,7 +6215,7 @@ public ListAssetsSBOMsOptionalParameters filterLicenseType(
61986215 }
61996216
62006217 /**
6201- * List assets SBOMs.
6218+ * List SBOMs.
62026219 *
62036220 * <p>See {@link #listAssetsSBOMsWithHttpInfo}.
62046221 *
@@ -6210,7 +6227,7 @@ public ListAssetsSBOMsResponse listAssetsSBOMs() throws ApiException {
62106227 }
62116228
62126229 /**
6213- * List assets SBOMs.
6230+ * List SBOMs.
62146231 *
62156232 * <p>See {@link #listAssetsSBOMsWithHttpInfoAsync}.
62166233 *
@@ -6225,7 +6242,7 @@ public CompletableFuture<ListAssetsSBOMsResponse> listAssetsSBOMsAsync() {
62256242 }
62266243
62276244 /**
6228- * List assets SBOMs.
6245+ * List SBOMs.
62296246 *
62306247 * <p>See {@link #listAssetsSBOMsWithHttpInfo}.
62316248 *
@@ -6239,7 +6256,7 @@ public ListAssetsSBOMsResponse listAssetsSBOMs(ListAssetsSBOMsOptionalParameters
62396256 }
62406257
62416258 /**
6242- * List assets SBOMs.
6259+ * List SBOMs.
62436260 *
62446261 * <p>See {@link #listAssetsSBOMsWithHttpInfoAsync}.
62456262 *
@@ -6347,7 +6364,7 @@ public ApiResponse<ListAssetsSBOMsResponse> listAssetsSBOMsWithHttpInfo(
63476364 }
63486365
63496366 /**
6350- * List assets SBOMs.
6367+ * List SBOMs.
63516368 *
63526369 * <p>See {@link #listAssetsSBOMsWithHttpInfo}.
63536370 *
@@ -8650,7 +8667,8 @@ public ListVulnerabilitiesOptionalParameters filterOrigin(String filterOrigin) {
86508667 /**
86518668 * Set filterAssetName.
86528669 *
8653- * @param filterAssetName Filter by asset name. (optional)
8670+ * @param filterAssetName Filter by asset name. This field supports the usage of wildcards (*).
8671+ * (optional)
86548672 * @return ListVulnerabilitiesOptionalParameters
86558673 */
86568674 public ListVulnerabilitiesOptionalParameters filterAssetName (String filterAssetName ) {
@@ -8938,6 +8956,8 @@ public CompletableFuture<ListVulnerabilitiesResponse> listVulnerabilitiesAsync(
89388956 *
89398957 * <p>This token can then be used in the subsequent paginated requests.
89408958 *
8959+ * <p><em>Note: The first request may take longer to complete than subsequent requests.</em>
8960+ *
89418961 * <h3>Subsequent requests</h3>
89428962 *
89438963 * <p>Any request containing valid <code>page[token]</code> and <code>page[number]</code>
@@ -8989,6 +9009,16 @@ public CompletableFuture<ListVulnerabilitiesResponse> listVulnerabilitiesAsync(
89899009 * "links": {...}
89909010 * }</code>
89919011 *
9012+ * <h3>Extensions</h3>
9013+ *
9014+ * <p>The request in some cases can include extensions to update behavior of the endpoint
9015+ * requested. The format of the filter parameters follows the <a
9016+ * href="https://jsonapi.org/extensions/#extensions">JSON:API format</a>: <code>
9017+ * ext:$extension_name</code>, where <code>extension_name</code> is the name of the modifier that
9018+ * is being applied.
9019+ *
9020+ * <p>Extensions can only include one value at the moment: <code>ext:modifier=value</code>.
9021+ *
89929022 * @param parameters Optional parameters for the request.
89939023 * @return ApiResponse<ListVulnerabilitiesResponse>
89949024 * @throws ApiException if fails to make API call
@@ -9085,7 +9115,7 @@ public ApiResponse<ListVulnerabilitiesResponse> listVulnerabilitiesWithHttpInfo(
90859115 localVarQueryParams .addAll (
90869116 apiClient .parameterToPairs ("" , "filter[library.version]" , filterLibraryVersion ));
90879117 localVarQueryParams .addAll (
9088- apiClient .parameterToPairs ("" , "filter[advisory_id ]" , filterAdvisoryId ));
9118+ apiClient .parameterToPairs ("" , "filter[advisory.id ]" , filterAdvisoryId ));
90899119 localVarQueryParams .addAll (
90909120 apiClient .parameterToPairs (
90919121 "" , "filter[risks.exploitation_probability]" , filterRisksExploitationProbability ));
@@ -9271,7 +9301,7 @@ public ApiResponse<ListVulnerabilitiesResponse> listVulnerabilitiesWithHttpInfo(
92719301 localVarQueryParams .addAll (
92729302 apiClient .parameterToPairs ("" , "filter[library.version]" , filterLibraryVersion ));
92739303 localVarQueryParams .addAll (
9274- apiClient .parameterToPairs ("" , "filter[advisory_id ]" , filterAdvisoryId ));
9304+ apiClient .parameterToPairs ("" , "filter[advisory.id ]" , filterAdvisoryId ));
92759305 localVarQueryParams .addAll (
92769306 apiClient .parameterToPairs (
92779307 "" , "filter[risks.exploitation_probability]" , filterRisksExploitationProbability ));
@@ -9418,7 +9448,7 @@ public ListVulnerableAssetsOptionalParameters pageNumber(Long pageNumber) {
94189448 /**
94199449 * Set filterName.
94209450 *
9421- * @param filterName Filter by name. (optional)
9451+ * @param filterName Filter by name. This field supports the usage of wildcards (*). (optional)
94229452 * @return ListVulnerableAssetsOptionalParameters
94239453 */
94249454 public ListVulnerableAssetsOptionalParameters filterName (String filterName ) {
0 commit comments