misc update
parent
6ba8cb040d
commit
b74dffae92
|
@ -1,24 +1,29 @@
|
||||||
id: kubernetes-exposed-metrics
|
id: kubernetes-metrics
|
||||||
|
|
||||||
info:
|
info:
|
||||||
name: Detect Kubernetes Exposed Metrics
|
name: Detect Kubernetes Exposed Metrics
|
||||||
author: pussycat0x
|
author: pussycat0x
|
||||||
severity: low
|
severity: low
|
||||||
description: Information Disclosure of Garbage Collection
|
description: Information Disclosure of Garbage Collection
|
||||||
tags: kubernetes,exposure, metrics
|
tags: kubernetes,exposure,devops
|
||||||
|
reference: https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/#metrics-in-kubernetes
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- "{{BaseURL}}:8080/metrics"
|
- "{{BaseURL}}/metrics"
|
||||||
|
|
||||||
matchers-condition: and
|
matchers-condition: and
|
||||||
matchers:
|
matchers:
|
||||||
- type: word
|
- type: word
|
||||||
part: body
|
part: body
|
||||||
|
condition: and
|
||||||
words:
|
words:
|
||||||
- "namespace"
|
- "namespace"
|
||||||
- "HELP"
|
- "HELP"
|
||||||
- "TYPE"
|
- "TYPE"
|
||||||
- "kube"
|
- "kube"
|
||||||
condition: and
|
|
||||||
- type: status
|
- type: status
|
||||||
status:
|
status:
|
||||||
- 200
|
- 200
|
Loading…
Reference in New Issue