mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 20:48:40 +02:00
Change CSP to a WARN to make this test pass
This commit is contained in:
parent
a43f95ada7
commit
09bf50f6a5
2 changed files with 7 additions and 1 deletions
|
@ -240,6 +240,12 @@ SERVER_EMAIL = "root@get.gov"
|
||||||
# as Host header may contain a proxy rather than the actual client
|
# as Host header may contain a proxy rather than the actual client
|
||||||
USE_X_FORWARDED_HOST = True
|
USE_X_FORWARDED_HOST = True
|
||||||
|
|
||||||
|
# Content-security policy header configuration
|
||||||
|
CSP_DEFAULT_SRC = ["'none'"]
|
||||||
|
CSP_STYLE_SRC = ["'self'"]
|
||||||
|
CSP_SCRIPT_SRC = ["'self'"]
|
||||||
|
CSP_IMG_SRC = ["'self'"]
|
||||||
|
|
||||||
# endregion
|
# endregion
|
||||||
# region: Internationalisation----------------------------------------------###
|
# region: Internationalisation----------------------------------------------###
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
10035 FAIL (Strict-Transport-Security Header - Passive/beta)
|
10035 FAIL (Strict-Transport-Security Header - Passive/beta)
|
||||||
10036 WARN (HTTP Server Response Header - Passive/beta)
|
10036 WARN (HTTP Server Response Header - Passive/beta)
|
||||||
10037 WARN (Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) - Passive/release)
|
10037 WARN (Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) - Passive/release)
|
||||||
10038 FAIL (Content Security Policy (CSP) Header Not Set - Passive/beta)
|
10038 WARN (Content Security Policy (CSP) Header Not Set - Passive/beta)
|
||||||
10039 WARN (X-Backend-Server Header Information Leak - Passive/beta)
|
10039 WARN (X-Backend-Server Header Information Leak - Passive/beta)
|
||||||
10040 FAIL (Secure Pages Include Mixed Content - Passive/release)
|
10040 FAIL (Secure Pages Include Mixed Content - Passive/release)
|
||||||
10041 WARN (HTTP to HTTPS Insecure Transition in Form Post - Passive/beta)
|
10041 WARN (HTTP to HTTPS Insecure Transition in Form Post - Passive/beta)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue