id: docker-compose-config info: name: docker-compose.yml exposure author: meme-lord,blckraven,geeknik severity: medium tags: config,exposure,devops requests: - method: GET redirects: true max-redirects: 3 path: - "{{BaseURL}}/docker-compose.yml" - "{{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" - "{{BaseURL}}/docker-compose.override.yml" stop-at-first-match: true matchers-condition: and matchers: - type: dsl dsl: - 'regex("^version: ", body) && contains(body, "services:")' - type: status status: - 200