Skip to content

Commit

Permalink
Adding csp_whitelist configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBil committed Jul 27, 2021
1 parent 07297ab commit 622339b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions etc/csp_whitelist.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<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="style-src">
<values>
<value id="trustpilot" type="host">*.trustpilot.com</value>
</values>
</policy>
<policy id="frame-src">
<values>
<value id="trustpilot" type="host">*.trustpilot.com</value>
</values>
</policy>
<policy id="script-src">
<values>
<value id="trustpilot" type="host">*.trustpilot.com</value>
</values>
</policy>
<policy id="font-src">
<values>
<value id="gstatic" type="host">*.gstatic.com</value>
</values>
</policy>
</policies>
</csp_whitelist>

0 comments on commit 622339b

Please sign in to comment.