nuclei-templates/technologies/kubernetes/kube-api/kube-api-secrets.yaml

27 lines
492 B
YAML
Raw Normal View History

id: kube-api-secrets
info:
name: Kube API Secrets
author: sharath
severity: info
description: Scans for kube secrets endpoint
tags: tech,k8s,kubernetes,devops,kube
requests:
- method: GET
path:
- "{{BaseURL}}/api/v1/namespaces/default/secrets"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '"SecretList":'
- '"items":'
condition: and