Skip to content

Commit 8000885

Browse files
committed
Add more security headers
... and deprecate "X-Content-Security-Policy" and "X-WebKit-CSP"
1 parent 701c606 commit 8000885

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

testssl.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3438,13 +3438,17 @@ run_security_headers() {
34383438
for header_and_svrty in "X-Frame-Options OK" \
34393439
"X-Content-Type-Options OK" \
34403440
"Content-Security-Policy OK" \
3441-
"X-Content-Security-Policy OK" \
3442-
"X-WebKit-CSP OK" \
3441+
"X-Content-Security-Policy INFO" \
3442+
"X-WebKit-CSP INFO" \
34433443
"Content-Security-Policy-Report-Only OK" \
34443444
"Expect-CT OK" \
34453445
"Permissions-Policy OK" \
3446+
"Cross-Origin-Opener-Policy INFO" \
3447+
"Cross-Origin-Resource-Policy INFO" \
3448+
"Cross-Origin-Embedder-Policy INFO" \
34463449
"X-XSS-Protection INFO" \
34473450
"Access-Control-Allow-Origin INFO" \
3451+
"Access-Control-Allow-Credentials INFO" \
34483452
"Upgrade INFO" \
34493453
"X-Served-By INFO" \
34503454
"Referrer-Policy INFO" \

0 commit comments

Comments
 (0)