Skip to content

Commit d39706c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Deprecate ListVulnerabilities endpoint (DataDog#3865)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 4784b34 commit d39706c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101090,6 +101090,7 @@ paths:
101090101090
- security_monitoring_notification_profiles_write
101091101091
/api/v2/security/vulnerabilities:
101092101092
get:
101093+
deprecated: true
101093101094
description: |-
101094101095
Get a list of vulnerabilities.
101095101096

@@ -101531,9 +101532,9 @@ paths:
101531101532
operator: OR
101532101533
permissions:
101533101534
- appsec_vm_read
101535+
x-sunset: "2027-01-01"
101534101536
x-unstable: |-
101535-
**Note**: This endpoint is a private preview.
101536-
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).
101537+
**Note**: This endpoint is deprecated. See the [List Security Findings endpoint](https://docs.datadoghq.com/api/latest/security-monitoring/#list-security-findings).
101537101538
/api/v2/security/vulnerabilities/notification_rules:
101538101539
get:
101539101540
description: Returns the list of notification rules for security vulnerabilities.

api/datadogV2/api_security_monitoring.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6922,6 +6922,8 @@ func (r *ListVulnerabilitiesOptionalParameters) WithFilterAssetOperatingSystemVe
69226922
// Requests may include extensions to modify the behavior of the requested endpoint. The filter parameters follow the [JSON:API format](https://jsonapi.org/extensions/#extensions) format: `ext:$extension_name`, where `extension_name` is the name of the modifier that is being applied.
69236923
//
69246924
// Extensions can only include one value: `ext:modifier=value`.
6925+
//
6926+
// Deprecated: This API is deprecated.
69256927
func (a *SecurityMonitoringApi) ListVulnerabilities(ctx _context.Context, o ...ListVulnerabilitiesOptionalParameters) (ListVulnerabilitiesResponse, *_nethttp.Response, error) {
69266928
var (
69276929
localVarHTTPMethod = _nethttp.MethodGet

0 commit comments

Comments
 (0)