Create exposed-prometheus-log.yaml

patch-1
Dhiyaneshwaran 2021-07-13 19:24:13 +05:30 committed by GitHub
parent 4822208487
commit b283f65482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -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