Files
sif/modules/recon/pulsar-metrics-exposure.yaml
T
TigahandGitHub 473c74da5e feat(modules): add nsq and pulsar exposure modules (#297)
* feat(modules): add nsq and pulsar exposure modules

* chore(modules): trim redundant module header comments

drop the leading comment restating id/name on nsq-stats-exposure and pulsar-metrics-exposure
2026-07-22 12:47:36 -07:00

35 lines
763 B
YAML

id: pulsar-metrics-exposure
info:
name: Apache Pulsar Broker Metrics Exposure
author: sif
severity: medium
description: Detects an exposed Apache Pulsar broker Prometheus metrics endpoint that leaks per-topic and per-subscription throughput and backlog figures without authentication
tags: [pulsar, apache, messaging, streaming, metrics, prometheus, exposure, unauth, recon]
type: http
http:
method: GET
paths:
- "{{BaseURL}}/metrics"
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "pulsar_topics_count"
- type: word
part: body
words:
- "pulsar_subscriptions_count"
- type: regex
part: body
regex:
- '(?m)^# TYPE pulsar_'