2021-11-27 22:09:10 +00:00
|
|
|
id: prometheus-exporter
|
|
|
|
|
2020-10-01 21:09:13 +00:00
|
|
|
info:
|
|
|
|
name: Prometheus exporter detect
|
2020-10-02 16:33:03 +00:00
|
|
|
author: jarijaas
|
2020-10-01 21:09:13 +00:00
|
|
|
severity: info
|
|
|
|
description: Prometheus exporter detector
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/prometheus/prometheus/wiki/Default-port-allocations
|
2021-11-27 22:09:10 +00:00
|
|
|
tags: prometheus
|
2020-10-04 11:23:02 +00:00
|
|
|
|
2020-10-01 21:09:13 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-01-13 07:31:46 +00:00
|
|
|
- "{{BaseURL}}"
|
2021-09-08 12:17:19 +00:00
|
|
|
|
2020-10-04 11:23:02 +00:00
|
|
|
matchers-condition: and
|
2020-10-01 21:09:13 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-11-27 22:09:10 +00:00
|
|
|
- 'Exporter'
|
|
|
|
- '<a href="/metrics">Metrics</a>'
|
2020-10-01 21:09:13 +00:00
|
|
|
condition: and
|
2021-09-08 12:17:19 +00:00
|
|
|
|
2021-11-27 22:09:10 +00:00
|
|
|
extractors:
|
2020-10-01 21:09:13 +00:00
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
2020-10-01 21:18:22 +00:00
|
|
|
- "<title>(.*?)</title>"
|