reviewdog / action-tfsec

Run tfsec with reviewdog on pull requests to enforce security best practices
MIT License
72 stars 24 forks source link

reviewdog: parse error: failed to unmarshal rdjson (DiagnosticResult): proto: syntax error (line 1:1): unexpected token #115

Open thepoppingone opened 1 year ago

thepoppingone commented 1 year ago

Just putting it here to help people debug for Terraform 1.5, if import flag is used this would be the error raised in reviewdog https://github.com/aquasecurity/tfsec/issues/2070#issuecomment-1673920879

Only trivy supports the import keyword, tfsec would fail otherwise.

shogo82148 commented 1 year ago

See also https://github.com/reviewdog/action-tfsec/issues/112