diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f1ef3930eef..ea8f0cd3e16 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -101090,6 +101090,7 @@ paths: - security_monitoring_notification_profiles_write /api/v2/security/vulnerabilities: get: + deprecated: true description: |- Get a list of vulnerabilities. @@ -101531,9 +101532,9 @@ paths: operator: OR permissions: - appsec_vm_read + x-sunset: "2027-01-01" x-unstable: |- - **Note**: This endpoint is a private preview. - If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9). + **Note**: This endpoint is deprecated. See the [List Security Findings endpoint](https://docs.datadoghq.com/api/latest/security-monitoring/#list-security-findings). /api/v2/security/vulnerabilities/notification_rules: get: description: Returns the list of notification rules for security vulnerabilities. diff --git a/src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java b/src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java index 9276637f567..e7f988a4801 100644 --- a/src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java @@ -12059,7 +12059,9 @@ public ListVulnerabilitiesOptionalParameters filterAssetOperatingSystemVersion( * * @return ListVulnerabilitiesResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public ListVulnerabilitiesResponse listVulnerabilities() throws ApiException { return listVulnerabilitiesWithHttpInfo(new ListVulnerabilitiesOptionalParameters()).getData(); } @@ -12070,7 +12072,9 @@ public ListVulnerabilitiesResponse listVulnerabilities() throws ApiException { *

See {@link #listVulnerabilitiesWithHttpInfoAsync}. * * @return CompletableFuture<ListVulnerabilitiesResponse> + * @deprecated */ + @Deprecated public CompletableFuture listVulnerabilitiesAsync() { return listVulnerabilitiesWithHttpInfoAsync(new ListVulnerabilitiesOptionalParameters()) .thenApply( @@ -12087,7 +12091,9 @@ public CompletableFuture listVulnerabilitiesAsync() * @param parameters Optional parameters for the request. * @return ListVulnerabilitiesResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public ListVulnerabilitiesResponse listVulnerabilities( ListVulnerabilitiesOptionalParameters parameters) throws ApiException { return listVulnerabilitiesWithHttpInfo(parameters).getData(); @@ -12100,7 +12106,9 @@ public ListVulnerabilitiesResponse listVulnerabilities( * * @param parameters Optional parameters for the request. * @return CompletableFuture<ListVulnerabilitiesResponse> + * @deprecated */ + @Deprecated public CompletableFuture listVulnerabilitiesAsync( ListVulnerabilitiesOptionalParameters parameters) { return listVulnerabilitiesWithHttpInfoAsync(parameters) @@ -12237,7 +12245,10 @@ public CompletableFuture listVulnerabilitiesAsync( * 404 Not found: There is no request associated with the provided token. - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse listVulnerabilitiesWithHttpInfo( ListVulnerabilitiesOptionalParameters parameters) throws ApiException { // Check if unstable operation is enabled @@ -12422,7 +12433,9 @@ public ApiResponse listVulnerabilitiesWithHttpInfo( * * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<ListVulnerabilitiesResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> listVulnerabilitiesWithHttpInfoAsync(ListVulnerabilitiesOptionalParameters parameters) { // Check if unstable operation is enabled