Skip to content

Commit 3dfd68a

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b28a6bd of spec repo
1 parent dcc8389 commit 3dfd68a

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98241,6 +98241,7 @@ paths:
9824198241
- security_monitoring_notification_profiles_write
9824298242
/api/v2/security/vulnerabilities:
9824398243
get:
98244+
deprecated: true
9824498245
description: |-
9824598246
Get a list of vulnerabilities.
9824698247

@@ -98683,8 +98684,7 @@ paths:
9868398684
permissions:
9868498685
- appsec_vm_read
9868598686
x-unstable: |-
98686-
**Note**: This endpoint is a private preview.
98687-
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).
98687+
**Note**: This endpoint is deprecated. See the [List Security Findings endpoint](https://docs.datadoghq.com/api/latest/security-monitoring/#list-security-findings).
9868898688
/api/v2/security/vulnerabilities/notification_rules:
9868998689
get:
9869098690
description: Returns the list of notification rules for security vulnerabilities.

src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12056,7 +12056,9 @@ public ListVulnerabilitiesOptionalParameters filterAssetOperatingSystemVersion(
1205612056
*
1205712057
* @return ListVulnerabilitiesResponse
1205812058
* @throws ApiException if fails to make API call
12059+
* @deprecated
1205912060
*/
12061+
@Deprecated
1206012062
public ListVulnerabilitiesResponse listVulnerabilities() throws ApiException {
1206112063
return listVulnerabilitiesWithHttpInfo(new ListVulnerabilitiesOptionalParameters()).getData();
1206212064
}
@@ -12067,7 +12069,9 @@ public ListVulnerabilitiesResponse listVulnerabilities() throws ApiException {
1206712069
* <p>See {@link #listVulnerabilitiesWithHttpInfoAsync}.
1206812070
*
1206912071
* @return CompletableFuture&lt;ListVulnerabilitiesResponse&gt;
12072+
* @deprecated
1207012073
*/
12074+
@Deprecated
1207112075
public CompletableFuture<ListVulnerabilitiesResponse> listVulnerabilitiesAsync() {
1207212076
return listVulnerabilitiesWithHttpInfoAsync(new ListVulnerabilitiesOptionalParameters())
1207312077
.thenApply(
@@ -12084,7 +12088,9 @@ public CompletableFuture<ListVulnerabilitiesResponse> listVulnerabilitiesAsync()
1208412088
* @param parameters Optional parameters for the request.
1208512089
* @return ListVulnerabilitiesResponse
1208612090
* @throws ApiException if fails to make API call
12091+
* @deprecated
1208712092
*/
12093+
@Deprecated
1208812094
public ListVulnerabilitiesResponse listVulnerabilities(
1208912095
ListVulnerabilitiesOptionalParameters parameters) throws ApiException {
1209012096
return listVulnerabilitiesWithHttpInfo(parameters).getData();
@@ -12097,7 +12103,9 @@ public ListVulnerabilitiesResponse listVulnerabilities(
1209712103
*
1209812104
* @param parameters Optional parameters for the request.
1209912105
* @return CompletableFuture&lt;ListVulnerabilitiesResponse&gt;
12106+
* @deprecated
1210012107
*/
12108+
@Deprecated
1210112109
public CompletableFuture<ListVulnerabilitiesResponse> listVulnerabilitiesAsync(
1210212110
ListVulnerabilitiesOptionalParameters parameters) {
1210312111
return listVulnerabilitiesWithHttpInfoAsync(parameters)
@@ -12234,7 +12242,10 @@ public CompletableFuture<ListVulnerabilitiesResponse> listVulnerabilitiesAsync(
1223412242
* <tr><td> 404 </td><td> Not found: There is no request associated with the provided token. </td><td> - </td></tr>
1223512243
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
1223612244
* </table>
12245+
*
12246+
* @deprecated
1223712247
*/
12248+
@Deprecated
1223812249
public ApiResponse<ListVulnerabilitiesResponse> listVulnerabilitiesWithHttpInfo(
1223912250
ListVulnerabilitiesOptionalParameters parameters) throws ApiException {
1224012251
// Check if unstable operation is enabled
@@ -12419,7 +12430,9 @@ public ApiResponse<ListVulnerabilitiesResponse> listVulnerabilitiesWithHttpInfo(
1241912430
*
1242012431
* @param parameters Optional parameters for the request.
1242112432
* @return CompletableFuture&lt;ApiResponse&lt;ListVulnerabilitiesResponse&gt;&gt;
12433+
* @deprecated
1242212434
*/
12435+
@Deprecated
1242312436
public CompletableFuture<ApiResponse<ListVulnerabilitiesResponse>>
1242412437
listVulnerabilitiesWithHttpInfoAsync(ListVulnerabilitiesOptionalParameters parameters) {
1242512438
// Check if unstable operation is enabled

0 commit comments

Comments
 (0)