id: kubelet-pods

info:
  name: Kubelet Scan
  author: sharath
  severity: info
  description: Scans for kubelet pods
  metadata:
    max-request: 1
  tags: tech,k8s,kubernetes,devops,kubelet,pods

http:
  - method: GET
    path:
      - "{{BaseURL}}/pods"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - '"PodList":'
          - '"items":'
        condition: and
# digest: 4a0a00473045022100da8ab1c9b936322a54326c5a2b4dc258fb361af4b530877bada3647785870879022003ca712783aeffb90a80872533f5a72f4ff2232d3d103aa04656fec4c9bd55a4:922c64590222798bb761d5b6d8e72950