16 lines
327 B
YAML
16 lines
327 B
YAML
|
id: missing-csp
|
||
|
info:
|
||
|
name: CSP Not Enforced
|
||
|
author: geeknik
|
||
|
severity: info
|
||
|
description: Checks if there is a CSP header
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- '{{BaseURL}}'
|
||
|
redirects: true
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- '!contains(tolower(all_headers), ''content-security-policy'')'
|