mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-06-23 16:57:38 +02:00
Merge pull request #3050 from potato-20/add-modern-security-headers
Report additional modern security headers (INFO)
This commit is contained in:
+8
-1
@@ -3609,7 +3609,14 @@ run_security_headers() {
|
|||||||
"Referrer-Policy INFO" \
|
"Referrer-Policy INFO" \
|
||||||
"X-UA-Compatible INFO" \
|
"X-UA-Compatible INFO" \
|
||||||
"Cache-Control INFO" \
|
"Cache-Control INFO" \
|
||||||
"Pragma INFO"; do
|
"Pragma INFO" \
|
||||||
|
"X-Permitted-Cross-Domain-Policies INFO" \
|
||||||
|
"Origin-Agent-Cluster INFO" \
|
||||||
|
"Document-Policy INFO" \
|
||||||
|
"Clear-Site-Data INFO" \
|
||||||
|
"Reporting-Endpoints INFO" \
|
||||||
|
"Report-To INFO" \
|
||||||
|
"NEL INFO"; do
|
||||||
read header svrty <<< "${header_and_svrty}"
|
read header svrty <<< "${header_and_svrty}"
|
||||||
[[ "$DEBUG" -ge 5 ]] && echo "testing \"$header\" (severity \"$svrty\")"
|
[[ "$DEBUG" -ge 5 ]] && echo "testing \"$header\" (severity \"$svrty\")"
|
||||||
match_httpheader_key "$header" "$header" "$spaces" "$first"
|
match_httpheader_key "$header" "$header" "$spaces" "$first"
|
||||||
|
|||||||
Reference in New Issue
Block a user