Files
kubescape/core
Amir Malka 150967eae8 Refactor backend integration (#1355)
* refactor BE integration

Signed-off-by: Amir Malka <amirm@armosec.io>
2023-08-23 15:36:08 +03:00
..
2023-08-23 15:36:08 +03:00
2023-08-23 15:36:08 +03:00
2023-08-07 19:11:14 +03:00
2023-08-23 15:36:08 +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()