Files
kubescape/core
David Wertenteil d01a7977ae Remove "%" from the print
Signed-off-by: David Wertenteil <dwertent@armosec.io>
2024-02-22 14:26:51 +02:00
..
2024-01-07 16:26:34 +02:00
2023-10-22 17:43:51 +03:00
2023-10-22 17:43:51 +03:00
2024-02-22 14:26:51 +02:00
2022-03-13 18:59:39 +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()