diff --git a/to-rdjson.jq b/to-rdjson.jq index df18334..3b5b630 100644 --- a/to-rdjson.jq +++ b/to-rdjson.jq @@ -5,7 +5,7 @@ name: "tfsec", url: "https://github.com/aquasecurity/tfsec" }, - diagnostics: .results | map({ + diagnostics: (.results // {}) | map({ message: .description, code: { value: .rule_id,