Files
kubescape/core
Amir Malka 2b931fb3f0 Prioritization (#815)
* removed commented out code

* Added attack tracks information to prioritization algorithm

* bump opa-utils

* go mod tidy

* go mod tidy

* CR changes
2022-09-15 16:16:54 +03:00
..
2022-09-15 16:16:54 +03:00
2022-09-15 16:16:54 +03:00
2022-08-22 18:22:28 +03:00
2022-08-18 17:41:03 +03:00
2022-09-15 16:16:54 +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()