2021-11-27 22:09:10 +00:00
|
|
|
id: prometheus-log
|
2021-07-13 13:54:13 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Exposed Prometheus
|
|
|
|
author: dhiyaneshDK
|
|
|
|
severity: low
|
2021-11-27 22:09:10 +00:00
|
|
|
tags: prometheus
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2021-07-13 13:54:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-13 13:54:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/prometheus"
|
2021-11-27 22:09:10 +00:00
|
|
|
- "{{BaseURL}}/actuator/prometheus"
|
2021-07-13 13:54:13 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'gateway_request_total'
|
|
|
|
- 'logback_events_total'
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|