file update

patch-1
bauthard 2020-09-08 12:53:49 +05:30
parent e7f2ce3e7c
commit c04055bbdb
1 changed files with 3 additions and 4 deletions

View File

@ -2,9 +2,8 @@ id: missing-hsts
info: info:
name: Strict Tranposrt Security Not Enforced name: Strict Tranposrt Security Not Enforced
author: Dawid Czarnecki author: Dawid Czarnecki
severity: low severity: info
description: >- description: Checks if the HSTS is enabled by looking for Strict Transport Security
Checks if the HSTS is enabled by looking for Strict Transport Security
response header. response header.
requests: requests:
- method: GET - method: GET
@ -14,4 +13,4 @@ requests:
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- '!contains(tolower(all_headers), ''strict-transport-security'')' - '!contains(tolower(all_headers), ''strict-transport-security'')'