aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/components/cps-core
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2024-01-24 16:10:55 +0000
committerwaqas.ikram <waqas.ikram@est.tech>2024-01-25 14:46:03 +0000
commit4bb817b02483c61addf42a6193228444c0de70a6 (patch)
treece13ed2d74fc2ee5bd915b0c718e6fe5714ada75 /kubernetes/cps/components/cps-core
parent2ee6ad456a91061d64b859ba20108c7e3c556de3 (diff)
[CPS] Updating permit-uri config
Adding Swagger UI URI, api-docs, and v3 api-docs to be excluded from authentication verification. Issue-ID: CPS-2045 Change-Id: I5638b8ac98b73bad1002c72f8145a494c7b3c44f Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'kubernetes/cps/components/cps-core')
-rw-r--r--kubernetes/cps/components/cps-core/resources/config/application-helm.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/cps/components/cps-core/resources/config/application-helm.yml b/kubernetes/cps/components/cps-core/resources/config/application-helm.yml
index 72da92fd86..81b81341e5 100644
--- a/kubernetes/cps/components/cps-core/resources/config/application-helm.yml
+++ b/kubernetes/cps/components/cps-core/resources/config/application-helm.yml
@@ -38,7 +38,7 @@ spring:
security:
# comma-separated uri patterns which do not require authorization
- permit-uri: /actuator/**,/swagger-ui/**,/swagger-resources/**,/api-docs
+ permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**,/v3/api-docs/**
auth:
username: ${CPS_USERNAME}
password: ${CPS_PASSWORD}