From e936068237ad9ec9cd1d32f776b143a40f70cafc Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 27 Mar 2026 19:09:10 +0000 Subject: [PATCH] Regenerate client from commit 73f60e7 of spec repo --- .generator/schemas/v2/openapi.yaml | 5 +++-- lib/datadog_api_client/v2/api/security_monitoring_api.rb | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f1ef3930eef6..ea8f0cd3e16b 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/lib/datadog_api_client/v2/api/security_monitoring_api.rb b/lib/datadog_api_client/v2/api/security_monitoring_api.rb index 3192e46a021f..e7f624de8a1f 100644 --- a/lib/datadog_api_client/v2/api/security_monitoring_api.rb +++ b/lib/datadog_api_client/v2/api/security_monitoring_api.rb @@ -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` @@ -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")