func AnalyzePods(vulsFilePath string) {
	findings := new(Findings)
	pods := GetPods(GetClient(GetKubeconfig()))
	vuls := GetVulnerabilities(vulsFilePath)
	for _, pod := range pods.Items {
		for _, container := range pod.Spec.Containers {
			for _, vul := range vuls.Vulnerabilities {
				for _, check := range vul.Checks {
					EvaluateCheck(check, vul, findings, container, pod)
				}
			}
		}
	}
	FindingsToJson(*findings)
}
AnalyzePods checks all the vulnerabilities for all running pods in the cluster
package main
import (
	"encoding/json"
	"fmt"
	"io/ioutil"
	"k8s.io/api/core/v1"
)
type Findings struct {
	Findings []Finding
}
type Finding struct {
	PodName         string `json:"pod_name"`
	ContainerName   string `json:"container_name"`
	VulnerabilityId int    `json:"vulnerability_id"`
	Description     string `json:"description"`
	ResourceName    string `json:"resource_name"`
	ResourceValue   string `json:"resource_value"`
	ExploitCommand  string `json:"exploit_command"`
}