Files
kubescape/core
Matthias Bertschy 5d795edd31 Merge pull request #1493 from mohaidoss/fix-download-artifacts
Fix for Kubescape Reading Policies from Local File
2023-11-23 12:56:54 +01:00
..
2023-10-22 17:43:51 +03:00
2023-10-22 17:43:51 +03:00
2023-08-07 19:11:14 +03:00
2023-11-23 14:19:13 +05:30
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()