File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -925,12 +925,12 @@ def run(args: argparse.Namespace) -> None: # pragma: no cover
925925 db_connection_str = args .cache_file ,
926926 )
927927 if getattr (args , "owasp_kubernetes_top10_2022_in" , False ):
928- logger . warning (
929- "--owasp_kubernetes_top10_2022_in requested, but no Kubernetes 2022 parser module is present in this branch; skipping "
928+ raise RuntimeError (
929+ "--owasp_kubernetes_top10_2022_in is not supported in this branch because the Kubernetes 2022 parser module is not implemented "
930930 )
931931 if getattr (args , "owasp_kubernetes_top10_2025_in" , False ):
932- logger . warning (
933- "--owasp_kubernetes_top10_2025_in requested, but no Kubernetes 2025 parser module is present in this branch; skipping "
932+ raise RuntimeError (
933+ "--owasp_kubernetes_top10_2025_in is not supported in this branch because the Kubernetes 2025 parser module is not implemented "
934934 )
935935 if getattr (args , "owasp_llm_top10_2025_in" , False ):
936936 from application .utils .external_project_parsers .parsers import (
You can’t perform that action at this time.
0 commit comments