Merge pull request #1005 from GSA/1004-csp-add-ga

1004 - Adding GA to connect-src
This commit is contained in:
Steven Reilly
2023-12-13 10:25:52 -05:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

View File

@@ -153,7 +153,11 @@ def _csp(config):
"https://www.google-analytics.com",
"https://dap.digitalgov.gov",
],
"connect-src": ["'self'", "https://gov-bam.nr-data.net"],
"connect-src": [
"'self'",
"https://gov-bam.nr-data.net",
"https://www.google-analytics.com",
],
"style-src": ["'self'", asset_domain],
"img-src": ["'self'", asset_domain, logo_domain],
}