Files
kubescape/core
DRAGON2002 a3f80d91bf fix: format headers (#1383)
Signed-off-by: DRAGON <anantvijay3@gmail.com>
2023-09-13 13:27:56 +03:00
..
2023-09-03 10:39:15 +03:00
2023-09-13 13:27:56 +03:00
2023-08-07 19:11:14 +03:00
2023-09-13 13:27:56 +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()