Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100233,6 +100233,7 @@ paths:
- security_monitoring_notification_profiles_write
/api/v2/security/vulnerabilities:
get:
deprecated: true
description: |-
Get a list of vulnerabilities.

Expand Down Expand Up @@ -100674,9 +100675,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.
Expand Down
3 changes: 3 additions & 0 deletions lib/datadog_api_client/v2/api/security_monitoring_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4878,6 +4878,8 @@ def list_vulnerabilities(opts = {})
#
# Extensions can only include one value: `ext:modifier=value`.
#
# @deprecated This API is deprecated.
#
# @param opts [Hash] the optional parameters
# @option opts [String] :page_token Its value must come from the `links` section of the response of the first request. Do not manually edit it.
# @option opts [Integer] :page_number The page number to be retrieved. It should be equal or greater than `1`
Expand Down Expand Up @@ -4924,6 +4926,7 @@ def list_vulnerabilities(opts = {})
# @option opts [String] :filter_asset_operating_system_version Filter by asset operating system version.
# @return [Array<(ListVulnerabilitiesResponse, Integer, Hash)>] ListVulnerabilitiesResponse data, response status code and response headers
def list_vulnerabilities_with_http_info(opts = {})
warn "[DEPRECATION] `ListVulnerabilities` is deprecated."
unstable_enabled = @api_client.config.unstable_operations["v2.list_vulnerabilities".to_sym]
if unstable_enabled
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_vulnerabilities")
Expand Down
Loading