28 lines
483 B
YAML
28 lines
483 B
YAML
id: prometheus-log
|
|
|
|
info:
|
|
name: Exposed Prometheus
|
|
author: dhiyaneshDK
|
|
severity: low
|
|
tags: prometheus,misconfig
|
|
metadata:
|
|
max-request: 2
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/prometheus"
|
|
- "{{BaseURL}}/actuator/prometheus"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'gateway_request_total'
|
|
- 'logback_events_total'
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|