Files
kubescape/core
Yuval LeibovichandGitHub 3b78169f8c Update loadmocks.go
remove armobuildin obj. from regolibrary 

Signed-off-by: Yuval Leibovich <89763818+yuleib@users.noreply.github.com>
2023-11-23 13:29:27 +02:00
..
2023-10-22 17:43:51 +03:00
2023-10-22 17:43:51 +03:00
2023-11-23 13:29:27 +02:00
2023-11-23 14:19:13 +05:30
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()