From 5ee02101aba049dd3f32cdc6b58b9dab84498326 Mon Sep 17 00:00:00 2001 From: Pranav-b-7 Date: Thu, 7 Oct 2021 20:11:12 +0530 Subject: [PATCH] auth turned off for /oes/echo/ --- .../groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gate-core/src/main/groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy b/gate-core/src/main/groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy index 516c59ae98..04189560ad 100644 --- a/gate-core/src/main/groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy +++ b/gate-core/src/main/groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy @@ -116,6 +116,7 @@ class AuthConfig { .antMatchers(HttpMethod.GET,'/visibilityservice/v2/approvalGateInstances/{id}/status').permitAll() .antMatchers(HttpMethod.GET,'/visibilityservice/v1/approvalGateInstances/{id}/status').permitAll() .antMatchers(HttpMethod.POST,'/oes/echo').permitAll() + .antMatchers(HttpMethod.POST,'/oes/echo/').permitAll() .antMatchers(HttpMethod.GET,'/autopilot/mgmt/**').permitAll() .antMatchers('/plugins/deck/**').permitAll() .antMatchers(HttpMethod.POST, '/webhooks/**').permitAll() @@ -180,6 +181,7 @@ class AuthConfig { .antMatchers(HttpMethod.GET,'/visibilityservice/v2/approvalGateInstances/{id}/status').permitAll() .antMatchers(HttpMethod.GET,'/visibilityservice/v1/approvalGateInstances/{id}/status').permitAll() .antMatchers(HttpMethod.POST,'/oes/echo').permitAll() + .antMatchers(HttpMethod.POST,'/oes/echo/').permitAll() .antMatchers(HttpMethod.GET,'/autopilot/mgmt/**').permitAll() .antMatchers('/**/favicon.ico').permitAll() .antMatchers(HttpMethod.OPTIONS, "/**").permitAll()