id: kube-api-pods

info:
  name: Kube API Pods
  author: sharath
  severity: info
  description: Scans for kube pods
  metadata:
    max-request: 1
  tags: tech,k8s,kubernetes,devops,kube

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/namespaces/default/pods"

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

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