INNER CODE UNIT · Python

main

valqore/valqore · benchmarks/run_benchmark.py:299

def main():
    prov = _provenance()
    vq = run_valqore()
    ck = run_checkov()
    ks = run_kubescape()
    tv = run_trivy()
    kscore = run_kube_score()
    report = build_report(vq, ck, ks, tv, kscore, prov)
    (ROOT / "RESULTS.md").write_text(report, encoding="utf-8")
    (ROOT / "results.json").write_text(
        json.dumps({"provenance": prov, "valqore": vq, "checkov": ck,
                    "kubescape": ks, "trivy": tv, "kube_score": kscore}, indent=2), encoding="utf-8")
    print(report)
    print(f"\nWrote {ROOT/'RESULTS.md'} and {ROOT/'results.json'}")


if __name__ == "__main__":
    main()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…