chore(slo): add access:public missing options for public routes (#195114)

This commit is contained in:
Kevin Delemme 2024-10-08 10:21:47 -04:00 committed by GitHub
parent ef4755a063
commit 8281517ef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }) => {
@ -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 }) => {