Files
kubescape/core
YiscahLevySilas1 9f97f91f32 add context
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io>
2023-02-05 12:03:10 +02:00
..
2023-01-31 08:06:33 +01:00
2023-01-31 08:06:33 +01:00
2022-11-14 14:36:37 +02:00
2023-02-05 12:03:10 +02: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()