mirror of
https://github.com/SleepingBag945/dddd.git
synced 2025-06-10 18:22:26 +00:00
29 lines
519 B
YAML
29 lines
519 B
YAML
![]() |
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
|
||
|
metadata:
|
||
|
max-request: 1
|
||
|
|
||
|
http:
|
||
|
- 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
|