Created
May 13, 2022 12:00
-
-
Save denvit/a57c8ae5fbc34a1c3c985477c83eceea to your computer and use it in GitHub Desktop.
Magento_CSP xml file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- | |
/** | |
* Copyright Magento, Inc. All rights reserved. | |
* See COPYING.txt for license details. | |
*/ | |
--> | |
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp/etc/csp_whitelist.xsd"> | |
<policies> | |
<policy id="default-src"> | |
<values> | |
<value id="klarna-playground-default" type="host">*.playground.klarna.com</value> | |
</values> | |
</policy> | |
<policy id="font-src"> | |
<values> | |
<value id="fontawesome" type="host">*.fontawesome.com</value> | |
<value id="fonts-googleapis" type="host">*.fonts.googleapis.com</value> | |
<value id="g-static" type="host">*.gstatic.com</value> | |
<value id="data" type="host">data:</value> | |
<value id="cloudflare" type="host">*.cloudflare.com</value> | |
<value id="typekitfonts-font" type="host">*.typekit.net</value> | |
</values> | |
</policy> | |
<policy id="style-src"> | |
<values> | |
<value id="googleapis" type="host">*.googleapis.com</value> | |
<value id="typekitfonts-style" type="host">*.typekit.net</value> | |
</values> | |
</policy> | |
<policy id="script-src"> | |
<values> | |
<value id="googleapis" type="host">*.googleapis.com</value> | |
<value id="addthis" type="host">*.addthis.com</value> | |
<value id="moatads" type="host">*.moatads.com</value> | |
<value id="addthisedge" type="host">*.addthisedge.com</value> | |
<value id="facebook" type="host">*.facebook.com</value> | |
<value id="pinterest" type="host">*.pinterest.com</value> | |
<value id="google-main-script" type="host">*.google.com</value> | |
<value id="google-static" type="host">*.gstatic.com</value> | |
<value id="klarna-base-main-script" type="host">*.klarna.com</value> | |
<value id="klarna-base-cdn--script" type="host">*.cdn.klarna.com</value> | |
<value id="klarna-base-cdn2--script" type="host">*.klarnacdn.net</value> | |
<value id="klarna-base-playground--script" type="host">*.klarnaevt.com</value> | |
<value id="klarna-base-playground--script2" type="host">*.playground.klarna.com</value> | |
<value id="cookie-bot-script" type="host">*.cookiebot.com</value> | |
<value id="paypal-script" type="host">*.paypal.com</value> | |
<value id="paypal-sandbox-script" type="host">*.paypal.sandbox.com</value> | |
<value id="paypal-objects-script" type="host">*.paypalobjects.com</value> | |
<value id="vimeo-script" type="host">*.vimeo.com</value> | |
<value id="google-tag-manager-script" type="host">*.googletagmanager.com</value> | |
<value id="google-analytics-script" type="host">*.google-analytics.com</value> | |
<value id="google-add-services-script" type="host">*.googleadservices.com</value> | |
<value id="youtube-script" type="host">*.youtube.com</value> | |
<value id="facebook-connect-script" type="host">*.connect.facebook.net</value> | |
<value id="bs-serving-script" type="host">*.serving-sys.com</value> | |
</values> | |
</policy> | |
<policy id="img-src"> | |
<values> | |
<value id="cloudflare" type="host">*.cloudflare.com</value> | |
<value id="klarna-base" type="host">https://cdn.klarna.com</value> | |
<value id="data" type="host">data:</value> | |
<value id="vimeocdn" type="host">*.vimeocdn.com</value> | |
<value id="youtube-img" type="host">https://s.ytimg.com</value> | |
<value id="widgets-magento" type="host">*.widgets.magentocommerce.com</value> | |
<value id="fpdbs" type="host">*.fpdbs.paypal.com</value> | |
<value id="t-paypal" type="host">*.t.paypal.com</value> | |
<value id="paypal" type="host">*.paypal.com</value> | |
<value id="sandbox-paypal" type="host">*.fpdbs.sandbox.paypal.com</value> | |
<value id="googleapis" type="host">*.googleapis.com</value> | |
<value id="g-static" type="host">*.gstatic.com</value> | |
<value id="addthis" type="host">*.addthis.com</value> | |
<value id="pinterest" type="host">*.pinterest.com</value> | |
<value id="cdninstagram" type="host">*.cdninstagram.com</value> | |
<value id="klarna-base-playground" type="host">*.klarnaevt.com</value> | |
<value id="klarna-base-cdn" type="host">*.klarnacdn.net</value> | |
</values> | |
</policy> | |
<policy id="connect-src"> | |
<values> | |
<value id="cloudflare" type="host">*.cloudflare.com</value> | |
<value id="paypal" type="host">*.paypal.com</value> | |
<value id="googleapis" type="host">*.googleapis.com</value> | |
<value id="addthis" type="host">*.addthis.com</value> | |
<value id="cardinalcommerce" type="host">*.cardinalcommerce.com</value> | |
<value id="instagram" type="host">https://graph.instagram.com</value> | |
<value id="klarna-base-main-src" type="host">*.klarna.com</value> | |
<value id="klarna-base-playground-src" type="host">*.playground.klarnaevt.com</value> | |
<value id="klarna-base-playground-src2" type="host">*.playground.klarna.com</value> | |
</values> | |
</policy> | |
<policy id="frame-src"> | |
<values> | |
<value id="google" type="host">*.google.com</value> | |
<value id="addthis" type="host">*.addthis.com</value> | |
<value id="pinterest" type="host">*.pinterest.com</value> | |
<value id="klarna-base-main-frame" type="host">*.klarna.com</value> | |
<value id="klarna-base-playground-frame" type="host">*.klarnaevt.com</value> | |
</values> | |
</policy> | |
</policies> | |
</csp_whitelist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment