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 src/datadog_api_client/v2/api/logs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, api_client=None):
self._aggregate_logs_endpoint = _Endpoint(
settings={
"response_type": (LogsAggregateResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"endpoint_path": "/api/v2/logs/analytics/aggregate",
"operation_id": "aggregate_logs",
"http_method": "POST",
Expand All @@ -59,7 +59,7 @@ def __init__(self, api_client=None):
self._list_logs_endpoint = _Endpoint(
settings={
"response_type": (LogsListResponse,),
"auth": ["apiKeyAuth", "appKeyAuth"],
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"endpoint_path": "/api/v2/logs/events/search",
"operation_id": "list_logs",
"http_method": "POST",
Expand Down
Loading