-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7666 from projectdiscovery/prometheus-promtail
Create prometheus-promtail.yaml
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |