mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
* change user to ks * update logs * host scanner with fixed version * testing gh actions * testing gh actions * Workflow call testing (#7) * testing gh actions * testing gh actions * remove deps * build multi platforms * workflow_call testing * adding workflow-call-testing branch name * specify URL * adding org name * adding workflows * cleaning from unused branches * Adopt custom cluster name
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()