Skip to content

Commit

Permalink
Merge pull request #7666 from projectdiscovery/prometheus-promtail
Browse files Browse the repository at this point in the history
Create prometheus-promtail.yaml
  • Loading branch information
ritikchaddha committed Jul 12, 2023
2 parents 6354ac5 + 94b2c26 commit b594f45
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions http/misconfiguration/prometheus-promtail.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
id: prometheus-promtail

info:
name: Prometheus Promtail - Exposure
author: irshad ahamed
severity: medium
description: |
Prometheus Promtail is an agent that gathers log data from various sources, such as files or systemd journal.
reference:
- https://grafana.com/docs/loki/latest/clients/promtail/
- https://github.com/grafana/loki/issues/8680
metadata:
max-request: 1
verified: true
shodan-query: http.favicon.hash:932345713
tags: misconfig,prometheus,promtail,exposure

http:
- method: GET
path:
- "{{BaseURL}}/service-discovery"

matchers-condition: and
matchers:
- type: word
words:
- '>Promtail</a>'
- 'https://github.com/grafana/loki'
condition: and

- type: status
status:
- 200

0 comments on commit b594f45

Please sign in to comment.