From 11b9c6e457894f5d91e558ad754eb6742db0b70d Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 11 Aug 2026 20:28:44 +0000 Subject: [PATCH] Regenerate client from commit 9c05766 of spec repo --- .generator/schemas/v2/openapi.yaml | 11 +++++++++++ lib/datadog_api_client/v2/api/logs_api.rb | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b9855adfad5e..1530dac8cd66 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -119663,6 +119663,7 @@ components: incident_write: Create, view, and manage incidents in Datadog. integrations_read: View configured integrations and their settings. logs_modify_indexes: Modify log indexes, filters, exclusion filters, and configurations. + logs_read_data: Read log data. logs_read_index_data: Read indexed log data. manage_integrations: Install, uninstall, and configure integrations. metrics_read: View custom metrics. @@ -164295,6 +164296,11 @@ paths: $ref: "#/components/responses/NotAuthorizedResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - logs_read_data summary: Aggregate events tags: ["Logs"] x-codegen-request-body-name: body @@ -166177,6 +166183,11 @@ paths: $ref: "#/components/responses/NotAuthorizedResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - logs_read_data summary: Search logs (POST) tags: ["Logs"] x-codegen-request-body-name: body diff --git a/lib/datadog_api_client/v2/api/logs_api.rb b/lib/datadog_api_client/v2/api/logs_api.rb index 1a3fd91fa940..952a159991d6 100644 --- a/lib/datadog_api_client/v2/api/logs_api.rb +++ b/lib/datadog_api_client/v2/api/logs_api.rb @@ -70,7 +70,7 @@ def aggregate_logs_with_http_info(body, opts = {}) return_type = opts[:debug_return_type] || 'LogsAggregateResponse' # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] new_options = opts.merge( :operation => :aggregate_logs, @@ -143,7 +143,7 @@ def list_logs_with_http_info(opts = {}) return_type = opts[:debug_return_type] || 'LogsListResponse' # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] new_options = opts.merge( :operation => :list_logs,