From 2527750044c5dc065221681718bd54da3bbcc2d6 Mon Sep 17 00:00:00 2001 From: Sahil-tarento <140611066+Sahil-tarento@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:58:14 +0530 Subject: [PATCH] Adding whielist label for digiLoocker API --- ansible/roles/kong-api/defaults/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index 50c9f14e7b..a5f1078310 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -10983,8 +10983,12 @@ kong_apis: upstream_url: "{{ sb_cb_ext_service_url }}/digilocker/v1/retrieveURI" strip_uri: true plugins: + - name: jwt - name: cors - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'digiLockerAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" @@ -10997,8 +11001,12 @@ kong_apis: upstream_url: "{{ sb_cb_ext_service_url }}/digilocker/v1/retrieveDoc" strip_uri: true plugins: + - name: jwt - name: cors - "{{ statsd_pulgin }}" + - name: acl + config.whitelist: + - 'digiLockerAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}"