Files
kubescape/core
Alessio Greggi feb39ed130 test: fix test with new function argument
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
2023-03-28 16:39:00 +02:00
..
2023-03-26 13:21:30 +03:00
2023-01-31 08:06:33 +01:00
2022-11-14 14:36:37 +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()