Files
kubescape/core
David Wertenteil 2bfe2a590c Merge pull request #1034 from matthyx/1032
only attempt to print existing attack graphs
2023-01-13 13:24:08 +02:00
..
2022-11-14 14:36:37 +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()