diff options
author | waqas.ikram <waqas.ikram@est.tech> | 2024-01-24 16:10:55 +0000 |
---|---|---|
committer | waqas.ikram <waqas.ikram@est.tech> | 2024-01-25 14:46:03 +0000 |
commit | 4bb817b02483c61addf42a6193228444c0de70a6 (patch) | |
tree | ce13ed2d74fc2ee5bd915b0c718e6fe5714ada75 | |
parent | 2ee6ad456a91061d64b859ba20108c7e3c556de3 (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>
-rw-r--r-- | kubernetes/cps/components/cps-core/resources/config/application-helm.yml | 2 | ||||
-rw-r--r-- | kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml | 2 |
2 files changed, 2 insertions, 2 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} diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml b/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml index 3c9261191b..2b68b6c04f 100644 --- a/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml +++ b/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml @@ -37,7 +37,7 @@ sdnc: security: # comma-separated uri patterns which do not require authorization - permit-uri: /actuator/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs + permit-uri: /actuator/**,/swagger-ui.html,/swagger-ui/**,/swagger-resources/**,/api-docs/**,/v3/api-docs auth: username: ${DMI_PLUGIN_USERNAME} password: ${DMI_PLUGIN_PASSWORD} |