dddd/common/config/pocs/kube-api-secrets.yaml

31 lines
714 B
YAML
Raw Normal View History

2023-08-18 08:55:46 +02:00
id: kube-api-secrets
info:
name: Kube API Secrets
author: sharath
severity: info
description: Scans for kube secrets endpoint
metadata:
max-request: 1
2023-11-01 09:00:03 +01:00
tags: tech,k8s,kubernetes,devops,kube
2023-08-18 08:55:46 +02:00
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
2023-11-01 09:00:03 +01:00
# digest: 4a0a0047304502206dd5098057f8451fa983b62035faa23630f203f62e9ee70daf48331e9062a0ed022100ce8604d136c0047d8f3cb7105e323f8e4bc08084680c55a8d9490762aca97a08:922c64590222798bb761d5b6d8e72950