id: jenkins-login

info:
  name: Jenkins Login Detected
  author: pdteam
  severity: info
  description: Jenkins is an open source automation server.
  reference:
    - https://www.jenkins.io/doc/book/security/
  remediation: Ensure proper access.
  classification:
    cwe-id: CWE-200
    cpe: cpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: jenkins
    vendor: jenkins
  tags: panel,jenkins

http:
  - method: GET
    path:
      - '{{BaseURL}}/login'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Sign in [Jenkins]'

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