Skip to content

Commit

Permalink
Add more security headers
Browse files Browse the repository at this point in the history
... and deprecate "X-Content-Security-Policy" and "X-WebKit-CSP"
  • Loading branch information
drwetter committed Jan 16, 2025
1 parent 701c606 commit 8000885
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3438,13 +3438,17 @@ run_security_headers() {
for header_and_svrty in "X-Frame-Options OK" \
"X-Content-Type-Options OK" \
"Content-Security-Policy OK" \
"X-Content-Security-Policy OK" \
"X-WebKit-CSP OK" \
"X-Content-Security-Policy INFO" \
"X-WebKit-CSP INFO" \
"Content-Security-Policy-Report-Only OK" \
"Expect-CT OK" \
"Permissions-Policy OK" \
"Cross-Origin-Opener-Policy INFO" \
"Cross-Origin-Resource-Policy INFO" \
"Cross-Origin-Embedder-Policy INFO" \
"X-XSS-Protection INFO" \
"Access-Control-Allow-Origin INFO" \
"Access-Control-Allow-Credentials INFO" \
"Upgrade INFO" \
"X-Served-By INFO" \
"Referrer-Policy INFO" \
Expand Down

0 comments on commit 8000885

Please sign in to comment.