Specify internal and external notes when opting out of route authorization #198590
Labels
enhancement
New value added to drive a business result
Feature:Hardening
Harding of Kibana from a security perspective
Team:Security
Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Routes that out-out of authorization are required to provide a justification for doing so:
kibana/packages/core/http/core-http-server/src/router/route.ts
Lines 178 to 187 in 71c0d75
kibana/packages/core/http/core-http-router-server-internal/src/security_route_config_validator.ts
Lines 98 to 106 in 71c0d75
These justifications are designed for internal consumption, and do not provide value to external API consumers.
We should update this schema to support two types of notes:
read
access to thelogs-*
data stream).The internal justification should remain a required field.
The new external description should be an optional field.
The new external description should be surfaced in the OAS documentation, similar to what we do for routes that have opted-in to authorization (#197001)
The text was updated successfully, but these errors were encountered: