Merge pull request #7666 from projectdiscovery/prometheus-promtail

Create prometheus-promtail.yaml
patch-1
Ritik Chaddha 2023-07-12 17:22:00 +05:30 committed by GitHub
commit b594f453c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -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