2020-09-07 19:13:53 +00:00
|
|
|
id: missing-hsts
|
|
|
|
info:
|
2021-03-17 01:43:30 +00:00
|
|
|
name: Strict Transport Security Not Enforced
|
2020-09-07 19:13:53 +00:00
|
|
|
author: Dawid Czarnecki
|
2020-09-08 07:23:49 +00:00
|
|
|
severity: info
|
|
|
|
description: Checks if the HSTS is enabled by looking for Strict Transport Security
|
2020-09-07 19:13:53 +00:00
|
|
|
response header.
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}'
|
|
|
|
redirects: true
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2021-03-17 01:43:30 +00:00
|
|
|
- '!contains(tolower(all_headers), ''strict-transport-security'')'
|