2020-09-08 14:11:58 +00:00
|
|
|
id: missing-csp
|
|
|
|
info:
|
|
|
|
name: CSP Not Enforced
|
|
|
|
author: geeknik
|
|
|
|
severity: info
|
|
|
|
description: Checks if there is a CSP header
|
2021-08-11 07:58:45 +00:00
|
|
|
tags: misc,generic
|
2021-04-01 18:35:08 +00:00
|
|
|
|
2020-09-08 14:11:58 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}'
|
|
|
|
redirects: true
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- '!contains(tolower(all_headers), ''content-security-policy'')'
|