Files
kubescape/core
Moshe Rappaport cb704cb1e7 Edit Junit output (#802)
* Edit Junit output

* Update go sum

* Following review
2022-09-14 08:59:39 +03:00
..
2022-09-05 11:46:59 +03:00
2022-08-22 18:22:28 +03:00
2022-08-18 17:41:03 +03:00
2022-09-14 08:59:39 +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()