INNER CODE UNIT · Python

main

itbench-hub/ITBench · scenarios/ciso/1.gen-cis-b-k8s-kyverno/evaluation/main.py:25

def main():
    parser = argparse.ArgumentParser(
        description="Evaluate if the Playbook to check the provided CIS Kubernetes Benchmark issue(s) exists and is working."
    )
    parser.add_argument(
        "-polr", "--policy-reports", type=str, help="Path to the aggregated policy report in JSON format (kubectl get polr -A -o json)", required=True
    )
    parser.add_argument(
        "-cpolr",
        "--cluster-policy-reports",
        type=str,
        help="Path to the aggregated cluster policy report in JSON format (kubectl get cpolr -A -o json)",
        required=True,
    )
    parser.add_argument(
        "--api-version",
        type=str,
        help="Resource Api Version",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…