id: kubelet-stats

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/stats/summary"

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

      - type: word
        part: body
        words:
          - '"node":'
          - '"nodeName":'
        condition: and
# digest: 490a00463044022058c20174d68cdf0f63e23ae046bc0aed9024502a2b1a1a2d2876e251ffb7199f02201d92e4a7ac9e3a37e7e383252415ea8687b6e113af316aa2c5c160c22cf31d87:922c64590222798bb761d5b6d8e72950