id: collectd-exporter-metrics

info:
  name: Collectd Exporter Metrics
  author: DhiyaneshDk
  severity: low
  description: Collectd Exporter Metrics is exposed.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Collectd Exporter"
  tags: collectd,exposure,debug,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/metrics"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "# HELP"
          - "collectd_"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a004730450221009c66bee93f5a12bc169ca0d59a6588cfc65f438c0d33e4d37af08b93979ea269022011cb5b1c9dfea4d18dcd4b3897e1e816b2c668e967d51b2f42278a65ecc8cd0b:922c64590222798bb761d5b6d8e72950