Kube API Deployments
ID: kube-api-deployments
Severity: info
Author: sharath
Tags: tech,k8s,kubernetes,devops,kube
Description
Section titled “Description”Scans for kube deployments
YAML Source
Section titled “YAML Source”id: kube-api-deployments
info: name: Kube API Deployments author: sharath severity: info description: Scans for kube deployments metadata: max-request: 1 tags: tech,k8s,kubernetes,devops,kube
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# digest: 4a0a0047304502201f969d8fa82f07ec445fc34ab444702d514584e0bab17c834871f4c56a62c168022100e95493bd0140949314340e8e529e4f5b5697f03f11ba31a26857dad944f47bd7:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/technologies/kubernetes/kube-api/kube-api-deployments.yaml"