Skip to content

Commit

Permalink
[Authz] Migrated unauthorized routes owned by obs-ai-assistant,securi…
Browse files Browse the repository at this point in the history
…ty-solution
  • Loading branch information
kibanamachine committed Oct 30, 2024
1 parent fd615c7 commit d6bed9a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ export const registerDataStreamsRoute = (
.addVersion(
{
version: '1',
security: {
authz: {
enabled: false,
reason: 'This route is opted out from authorization',
},
},
validate: {
request: {},
response: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ export const registerUsageMetricsRoute = (
.addVersion(
{
version: '1',
security: {
authz: {
enabled: false,
reason: 'This route is opted out from authorization',
},
},
validate: {
request: {
body: UsageMetricsRequestSchema,
Expand Down

0 comments on commit d6bed9a

Please sign in to comment.