Skip to content

Commit 3f656c6

Browse files
committed
#34707: New Relic module does not complies with CSP
- fixed issue with compliance new relic module with CSP
1 parent 1e46eec commit 3f656c6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
10+
<policies>
11+
<policy id="script-src">
12+
<values>
13+
<value id="newrelic-agent" type="host">*.newrelic.com</value>
14+
<value id="newrelic-agent-data" type="host">*.nr-data.net</value>
15+
</values>
16+
</policy>
17+
<policy id="connect-src">
18+
<values>
19+
<value id="newrelic-agent" type="host">*.newrelic.com</value>
20+
<value id="newrelic-agent-data" type="host">*.nr-data.net</value>
21+
</values>
22+
</policy>
23+
</policies>
24+
</csp_whitelist>

0 commit comments

Comments
 (0)