id: apache-licenserc

info:
  name: Apache License File
  author: DhiyaneshDk
  severity: low
  description: Apache License file is exposed.
  metadata:
    verified: true
    max-request: 1
  tags: exposure,file,apache

http:
  - method: GET
    path:
      - '{{BaseURL}}/.licenserc.yaml'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'header:'
          - 'license:'
          - 'copyright-owner:'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402203f337fd6057c324fe90245aeabeca0d3e739085fa8923f8abee0e5f7ff414aa202202a10591856b6511e4ed94c8275960906a20c42e3133c5cffd013a2548fb29a67:922c64590222798bb761d5b6d8e72950