Files
kubescape/core
David Wertenteil 1a2dda700b Merge pull request #1291 from XDRAGON2002/issue_1290
fix: yamlhandler error handling
2023-07-25 14:39:26 +03:00
..
2023-07-10 10:54:56 +03:00
2023-07-18 15:56:16 +03:00
2023-01-31 08:06:33 +01: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()