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 | 28 ++++++++++++++-------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/notifications-fe') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-fe/src/main/webapp/WEB-INF/web.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-fe/src/main/webapp/WEB-INF/web.xml index b51399ca54..f0291cb060 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-fe/src/main/webapp/WEB-INF/web.xml +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-fe/src/main/webapp/WEB-INF/web.xml @@ -14,6 +14,15 @@ org.openecomp.server.listeners.OnboardingAppStartupListener + + dataValidatorFilter + org.openecomp.sdc.common.filters.DataValidatorFilter + + + dataValidatorFilter + /v1.0/* + + contentSecurityPolicyHeaderFilter org.openecomp.sdc.common.filters.ContentSecurityPolicyHeaderFilter @@ -54,6 +63,7 @@ RestrictionAccessFilter /* + spring-mapper @@ -62,10 +72,13 @@ 1 + + spring-mapper + /ws/* + CXFServlet - CXF Servlet org.apache.cxf.transport.servlet.CXFServlet @@ -87,19 +100,14 @@ 1 + + CXFServlet + /* + org.eclipse.jetty.servlet.Default.dirAllowed false - - spring-mapper - /ws/* - - - CXFServlet - /* - - -- cgit 1.2.3-korg