Skip to content

Commit

Permalink
chore(slo): add access:public missing options for public routes (#195114
Browse files Browse the repository at this point in the history
)

(cherry picked from commit 8281517)
  • Loading branch information
kdelemme committed Oct 8, 2024
1 parent 291adf0 commit f1dcd54
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ const deleteSloInstancesRoute = createSloServerRoute({
endpoint: 'POST /api/observability/slos/_delete_instances 2023-10-31',
options: {
tags: ['access:slo_write'],
access: 'public',
},
params: deleteSLOInstancesParamsSchema,
handler: async ({ context, params }) => {
Expand All @@ -532,6 +533,7 @@ const findSloDefinitionsRoute = createSloServerRoute({
endpoint: 'GET /api/observability/slos/_definitions 2023-10-31',
options: {
tags: ['access:slo_read'],
access: 'public',
},
params: findSloDefinitionsParamsSchema,
handler: async ({ context, params, logger }) => {
Expand Down

0 comments on commit f1dcd54

Please sign in to comment.