Skip to content

Commit 68d1af9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c63f1b1 of spec repo
1 parent 0c07bf9 commit 68d1af9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100233,6 +100233,7 @@ paths:
100233100233
- security_monitoring_notification_profiles_write
100234100234
/api/v2/security/vulnerabilities:
100235100235
get:
100236+
deprecated: true
100236100237
description: |-
100237100238
Get a list of vulnerabilities.
100238100239

@@ -100674,9 +100675,9 @@ paths:
100674100675
operator: OR
100675100676
permissions:
100676100677
- appsec_vm_read
100678+
x-sunset: "2027-01-01"
100677100679
x-unstable: |-
100678-
**Note**: This endpoint is a private preview.
100679-
If you are interested in accessing this API, [fill out this form](https://forms.gle/kMYC1sDr6WDUBDsx9).
100680+
**Note**: This endpoint is deprecated. See the [List Security Findings endpoint](https://docs.datadoghq.com/api/latest/security-monitoring/#list-security-findings).
100680100681
/api/v2/security/vulnerabilities/notification_rules:
100681100682
get:
100682100683
description: Returns the list of notification rules for security vulnerabilities.

lib/datadog_api_client/v2/api/security_monitoring_api.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4878,6 +4878,8 @@ def list_vulnerabilities(opts = {})
48784878
#
48794879
# Extensions can only include one value: `ext:modifier=value`.
48804880
#
4881+
# @deprecated This API is deprecated.
4882+
#
48814883
# @param opts [Hash] the optional parameters
48824884
# @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.
48834885
# @option opts [Integer] :page_number The page number to be retrieved. It should be equal or greater than `1`
@@ -4924,6 +4926,7 @@ def list_vulnerabilities(opts = {})
49244926
# @option opts [String] :filter_asset_operating_system_version Filter by asset operating system version.
49254927
# @return [Array<(ListVulnerabilitiesResponse, Integer, Hash)>] ListVulnerabilitiesResponse data, response status code and response headers
49264928
def list_vulnerabilities_with_http_info(opts = {})
4929+
warn "[DEPRECATION] `ListVulnerabilities` is deprecated."
49274930
unstable_enabled = @api_client.config.unstable_operations["v2.list_vulnerabilities".to_sym]
49284931
if unstable_enabled
49294932
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_vulnerabilities")

0 commit comments

Comments
 (0)