34 lines
784 B
YAML
34 lines
784 B
YAML
id: kube-api-nodes
|
|
|
|
info:
|
|
name: Kube API Nodes
|
|
author: sharath,ritikchaddha
|
|
severity: info
|
|
description: Scans for kube nodes
|
|
metadata:
|
|
max-request: 1
|
|
tags: tech,k8s,kubernetes,devops,kube
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/api/v1/nodes"
|
|
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"NodeList":'
|
|
- '"items":'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"containerRuntimeVersion"'
|
|
- '"kubeletVersion": "v'
|
|
condition: and
|
|
|
|
# digest: 490a0046304402205f312dec39e7712ec578c13702c841788aae4b5665e4767aa8b40c740a8d5f5e022016d0c0791ea08625719167931f1a39a4f622cb0605c4f8511e64a11f9d08548c:922c64590222798bb761d5b6d8e72950
|