28 lines
473 B
YAML
28 lines
473 B
YAML
id: prometheus-log
|
|
|
|
info:
|
|
name: Exposed Prometheus
|
|
author: dhiyaneshDK
|
|
severity: low
|
|
tags: prometheus
|
|
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
|