diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b9855adfad5e..0c1140d4c8fa 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -142278,6 +142278,11 @@ paths: $ref: "#/components/responses/NotAuthorizedResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - events_read summary: Search events tags: ["Events"] x-codegen-request-body-name: body diff --git a/services/events/src/v2/EventsApi.ts b/services/events/src/v2/EventsApi.ts index 05f9c3faee15..8775fae87550 100644 --- a/services/events/src/v2/EventsApi.ts +++ b/services/events/src/v2/EventsApi.ts @@ -264,6 +264,7 @@ export class EventsApiRequestFactory extends BaseAPIRequestFactory { applySecurityAuthentication(_config, requestContext, [ "apiKeyAuth", "appKeyAuth", + "AuthZ", ]); return requestContext;