From ddb9d5a7637b382be9ac7a96ad023a983c41c342 Mon Sep 17 00:00:00 2001 From: vasraz Date: Fri, 14 Oct 2022 13:35:39 +0100 Subject: Fix security risk 'Improper Input Validation' Signed-off-by: Vasyl Razinkov Change-Id: I6a52148aec3b567db43ec57109214e52d106f73c Issue-ID: SDC-4189 --- .../src/main/webapp/WEB-INF/web.xml | 52 +++++++++++++--------- 1 file changed, 32 insertions(+), 20 deletions(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/web.xml') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/web.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/web.xml index eb8bd9e93f..31400f878e 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/web.xml +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/webapp/WEB-INF/web.xml @@ -24,9 +24,19 @@ org.openecomp.server.listeners.OnboardingAppStartupListener + + dataValidatorFilter + org.openecomp.sdc.common.filters.DataValidatorFilter + + + dataValidatorFilter + /v1.0/* + + contentSecurityPolicyHeaderFilter - org.openecomp.sdc.common.filters.ContentSecurityPolicyHeaderFilter + org.openecomp.sdc.common.filters.ContentSecurityPolicyHeaderFilter + true @@ -41,9 +51,6 @@ PermissionsFilter /v1.0/vendor-license-models/* - - - PermissionsFilter /v1.0/vendor-software-products/* @@ -63,6 +70,10 @@ * + + cross-origin + /* + RestrictionAccessFilter @@ -73,34 +84,34 @@ RestrictionAccessFilter /* + BasicAuth org.openecomp.server.filters.BasicAuthenticationFilter - - AuthN - org.openecomp.server.filters.ActionAuthenticationFilter - - - AuthZ - org.openecomp.server.filters.ActionAuthorizationFilter - - - cross-origin - /* - BasicAuth /1.0/* + + + AuthN + org.openecomp.server.filters.ActionAuthenticationFilter + AuthN /workflow/v1.0/actions/* + + + AuthZ + org.openecomp.server.filters.ActionAuthorizationFilter + AuthZ /workflow/v1.0/actions/* + SessionContextFilter org.openecomp.server.filters.OnboardingSessionContextFilter @@ -109,6 +120,7 @@ SessionContextFilter /* + spring-mapper @@ -117,6 +129,10 @@ 1 + + spring-mapper + /ws/* + CXFServlet @@ -141,10 +157,6 @@ 1 - - spring-mapper - /ws/* - CXFServlet /* -- cgit 1.2.3-korg