triat / terraform-security-scan

Run a security scan on your terraform with the very nice https://github.com/aquasecurity/tfsec
MIT License
110 stars 30 forks source link

Missing required go runtime #52

Closed steveoh closed 1 year ago

steveoh commented 2 years ago

I'm seeing this issue now.

- name: Terraform security scan
  uses: triat/terraform-security-scan@v3
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# github.com/aquasecurity/defsec/rego/convert
/go/pkg/mod/github.com/aquasecurity/defsec@v0.25.0/rego/convert/struct.go:35:10: typ.IsExported undefined (type reflect.StructField has no field or method IsExported)
note: module requires Go 1.17
/entrypoint.sh: line 20: /go/bin/tfsec: No such file or directory

Originally posted by @steveoh in https://github.com/triat/terraform-security-scan/issues/39#issuecomment-1075439786

triat commented 2 years ago

I think this might be fixed by #51

I'm doing a release right now, let me know if the new version fixes your issue