Files
kubescape/core
TarangVerma 52aa5f02e2 Fixed typos in contribute.md (#779)
Fixed some spellings as well as grammar so that reader gets clear and concise view of the text.
2022-09-06 09:40:47 +03:00
..
2022-09-05 10:49:37 +03:00
2022-08-22 18:22:28 +03:00
2022-08-18 17:41:03 +03:00
2022-09-06 09:40:47 +03: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()