Skip to content

How to convert csp meta tag into csp_whitelist.xml format in magento 2

below is the meat tag i want covert as per magento 2

<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-
inline';script-src 'self' 'unsafe-inline' *.acsbapp.com *.acsbap.com acsbap.com 
acsbapp.com;connect-src 'self' 'unsafe-inline' *.acsbapp.com *.acsbap.com acsbap.com 
acsbapp.com *.wikipedia.org;media-src 'self' 'unsafe-inline' data:;img-src 'self' 'unsafe
-inline' data: *.acsbapp.com *.acsbap.com acsbap.com acsbapp.com;style-src 'unsafe-inline'"/>

how can i convert above tag to csp_whitelist.xml format in magento 2