Create prometheus-promtail.yaml

patch-1
Dhiyaneshwaran 2023-07-11 18:10:42 +05:30 committed by GitHub
parent fee7f0b529
commit 326f4666fc
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:
verified: true
shodan-query: http.favicon.hash:932345713
max-request: 1
tags: prometheus,promtail,exposure,misconfig
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