Skip to content

Commit

Permalink
Added specific reasons why authorization is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
consulthys committed Dec 27, 2024
1 parent eb35752 commit 34c5860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function registerDynamicRoute({
security: {
authz: {
enabled: false,
reason: 'This route is opted out from authorization',
reason: 'This route is opted out from authorization because it is only retrieving the ES cluster UUID',
},
},
options: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function registerV1PrometheusRoute({
security: {
authz: {
enabled: false,
reason: 'This route is opted out from authorization',
reason: 'This route is opted out from authorization because it is not interacting with ES at all',
},
},
options: {
Expand Down

0 comments on commit 34c5860

Please sign in to comment.