2021-02-10 20:15:57 +00:00
|
|
|
id: docker-compose-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: docker-compose.yml exposure
|
|
|
|
author: meme-lord & blckraven
|
|
|
|
severity: medium
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
redirects: true
|
|
|
|
max-redirects: 3
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/docker-compose.yml"
|
2021-02-11 07:37:02 +00:00
|
|
|
- "{{BaseURL}}/docker-compose.prod.yml"
|
|
|
|
- "{{BaseURL}}/docker-compose.production.yml"
|
|
|
|
- "{{BaseURL}}/docker-compose.staging.yml"
|
|
|
|
- "{{BaseURL}}/docker-compose.dev.yml"
|
|
|
|
- "{{BaseURL}}/docker-compose-dev.yml"
|
2021-02-10 20:15:57 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'regex("^version: ", body) && contains(body, "services:") == true'
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|