Skip to content

Commit

Permalink
add alternative operator for null results (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhansen-gw authored Nov 10, 2021
1 parent 5f0c3bd commit c0a64a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion to-rdjson.jq
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name: "tfsec",
url: "https://github.com/aquasecurity/tfsec"
},
diagnostics: .results | map({
diagnostics: (.results // {}) | map({
message: .description,
code: {
value: .rule_id,
Expand Down

0 comments on commit c0a64a3

Please sign in to comment.