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