36 lines
709 B
YAML
36 lines
709 B
YAML
id: springboot-metrics
|
|
|
|
info:
|
|
name: Detect Springboot metrics Actuator
|
|
author: pussycat0x
|
|
severity: low
|
|
description: Additional routes may be displayed
|
|
tags: springboot,exposure
|
|
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
|