id: kubelet-scan

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

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

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

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