-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic: inconsistent map element types #290
Comments
Thanks we are working on a fix aquasecurity/trivy-iac#60 |
+1 |
+1 |
fix got to master but im still having same issue. |
@simar7 this is still and issue for me too. Here's a recent run
|
Looks like we just need this PR to land: #291 |
Any update on when it might land? still experiencing this issue |
The team was away for holidays. We will work on it this week and have a new release available soon. |
Running the trivy-action causes a panic and the action fails due to
panic: inconsistent map element types (cty.Object(map[string]cty.Type{"arn":cty.String, "endpoint":cty.NilType, "for_each":cty.Object(map[string]cty.Type{"arn":cty.String, "for_each":cty.NilType, "id":cty.String, "name":cty.NilType}), "id":cty.String, "protocol":cty.String, "topic_arn":cty.NilType}) then cty.Object(map[string]cty.Type{"arn":cty.String, "endpoint":cty.String, "for_each":cty.Object(map[string]cty.Type{"arn":cty.String, "for_each":cty.NilType, "id":cty.String, "name":cty.NilType}), "id":cty.String, "protocol":cty.String, "topic_arn":cty.NilType}))
I set the action up to scan IaC (Terraform) code as specified here: https://github.com/aquasecurity/trivy-action#using-trivy-to-scan-infrastructure-as-code
The text was updated successfully, but these errors were encountered: