31 lines
690 B
YAML
31 lines
690 B
YAML
id: kube-api-pods
|
|
|
|
info:
|
|
name: Kube API Pods
|
|
author: sharath
|
|
severity: info
|
|
description: Scans for kube pods
|
|
metadata:
|
|
max-request: 1
|
|
tags: tech,k8s,kubernetes,devops,kube
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/api/v1/namespaces/default/pods"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"PodList":'
|
|
- '"items":'
|
|
condition: and
|
|
|
|
# digest: 4a0a0047304502205bfc02676e46438499be94f38048c1df6a1801cf0c04c5b2cd030c4477895d30022100cd6f350f79eb0c019059440788197302b35ec5946fcfb9a4462cd2c9d60efe1e:922c64590222798bb761d5b6d8e72950
|