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
11 changes: 11 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog_api_client/v2/api/logs_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
Loading