Create exposed-prometheus-log.yaml
parent
4822208487
commit
b283f65482
|
@ -0,0 +1,24 @@
|
||||||
|
id: exposed-prometheus-log
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Exposed Prometheus
|
||||||
|
author: dhiyaneshDK
|
||||||
|
severity: low
|
||||||
|
tags: exposure,prometheus
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/prometheus"
|
||||||
|
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
words:
|
||||||
|
- 'gateway_request_total'
|
||||||
|
- 'logback_events_total'
|
||||||
|
condition: or
|
||||||
|
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200
|
Loading…
Reference in New Issue