Files
kubescape/core
Amit Schendel bfd6886d62 Passing the service fqdn from outside
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
2024-03-03 16:36:30 +02:00
..
2024-03-01 15:09:25 +02:00
2023-10-22 17:43:51 +03:00
2023-10-22 17:43:51 +03:00
2024-03-03 16:36:30 +02:00

Kubescape core package


// initialize kubescape
ks := core.NewKubescape()

// scan cluster
results, err := ks.Scan(&cautils.ScanInfo{})

// convert scan results to json
jsonRes, err := results.ToJson()