mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 01:44:08 -04:00
@@ -49,4 +49,4 @@ def test_owasp_useful_headers_set(
|
||||
expected_sources <= actual_sources
|
||||
), f"Missing sources in connect-src: {expected_sources - actual_sources}"
|
||||
assert search(r"style-src 'self' static\.example\.com 'nonce-.*';", csp)
|
||||
assert search(r"img-src 'self' static\.example\.com static-logos\.test\.com", csp)
|
||||
assert search(r"img-src 'self' static\.example\.com", csp)
|
||||
|
||||
Reference in New Issue
Block a user