id: goodjob-dashboard

info:
  name: goodjob-dashboard
  author: hahwul
  severity: medium
  description: |
    Rails GoodJob Dashboard panel was detected.
  reference:
    - https://github.com/bensheldon/good_job
  metadata:
    verified: true
    max-request: 2
  tags: unauth,panel,goodjob

http:
  - method: GET
    path:
      - "{{BaseURL}}/jobs"
      - "{{BaseURL}}/good_job/jobs"

    redirects: true
    max-redirects: 2
    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        words:
          - <title>Good Job Dashboard</title>
        part: body

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