28 lines
535 B
YAML
28 lines
535 B
YAML
id: kube-api-deployments
|
|
|
|
info:
|
|
name: Kube API Deployments
|
|
author: sharath
|
|
severity: info
|
|
description: Scans for kube deployments
|
|
tags: tech,k8s,kubernetes,devops,kube
|
|
metadata:
|
|
max-request: 1
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/apis/apps/v1/namespaces/default/deployments"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"DeploymentList":'
|
|
- '"items":'
|
|
condition: and |