id: kube-api-version info: name: Kube API Version author: sharath,raesene severity: info description: Searches for exposed Kubernetes API servers which return version information unauthenticated metadata: max-request: 1 tags: tech,k8s,kubernetes,devops,kube http: - method: GET path: - "{{BaseURL}}/version" matchers-condition: and matchers: - type: status status: - 200 - type: word part: body words: - '"major":' - '"minor":' - '"goVersion":' condition: and extractors: - type: json json: - ".gitVersion" # digest: 4a0a0047304502205c77fdf29062416098e1f444025f8068adacf7a13ad8899e21bed86a9f1bf3b10221008d26f2a133e7367bb68a0ba574a68be4a4fb67324fdf8a7be919e1597786a071:922c64590222798bb761d5b6d8e72950