id: kube-api-secrets info: name: Kube API Secrets author: sharath severity: info description: Scans for kube secrets endpoint metadata: max-request: 1 tags: tech,k8s,kubernetes,devops,kube 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 # digest: 4a0a0047304502206dd5098057f8451fa983b62035faa23630f203f62e9ee70daf48331e9062a0ed022100ce8604d136c0047d8f3cb7105e323f8e4bc08084680c55a8d9490762aca97a08:922c64590222798bb761d5b6d8e72950