From 1b6a9f234d07a8d4fabc713e1177ad7559c5ae43 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp <19+brynary@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:02:23 -0500 Subject: [PATCH] Improvements to kube-linter plugin (#1438) - Lint the entire directory all at once - If kube-linter exits with a "success" exit code but no stdout, treat it as a Lint Error rather than invoking the parser (which would crash due to trying to parse a blank string) --- qlty-plugins/plugins/linters/kube-linter/plugin.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qlty-plugins/plugins/linters/kube-linter/plugin.toml b/qlty-plugins/plugins/linters/kube-linter/plugin.toml index 6b13e1f46..f71173345 100644 --- a/qlty-plugins/plugins/linters/kube-linter/plugin.toml +++ b/qlty-plugins/plugins/linters/kube-linter/plugin.toml @@ -46,3 +46,5 @@ output = "stdout" output_format = "sarif" output_category = "vulnerability" output_level = "medium" +missing_output_as_error = true +target = { type = "literal", path = "." } \ No newline at end of file