36 lines
710 B
YAML
36 lines
710 B
YAML
id: springboot-metrics
|
|
|
|
info:
|
|
name: Detect Springboot metrics Actuator
|
|
author: pussycat0x
|
|
severity: low
|
|
description: Additional routes may be displayed
|
|
tags: springboot,misconfig
|
|
metadata:
|
|
max-request: 2
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/metrics"
|
|
- "{{BaseURL}}/actuator/metrics"
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "mem"
|
|
- "mem.free"
|
|
- "processors"
|
|
- "instance.uptime"
|
|
- "systemload.average"
|
|
- "nonheap.init"
|
|
- "heap.committed"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|