You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful if Semgrep automatically supported these type equivalences so I don't have to manually specify separate cases in rules. Here's a link that exhibits the behavior: https://semgrep.dev/playground/s/D0Kj.
Describe alternatives you've considered
Manually specifying the equivalences
Use case
What will this feature enable for you?
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Terraform supports automatic type conversions between strings, ints, and bools: https://developer.hashicorp.com/terraform/language/expressions/types#type-conversion. E.g.
"42"
and42
,"true"
andtrue
.Describe the solution you'd like
It would be helpful if Semgrep automatically supported these type equivalences so I don't have to manually specify separate cases in rules. Here's a link that exhibits the behavior: https://semgrep.dev/playground/s/D0Kj.
Describe alternatives you've considered
Manually specifying the equivalences
Use case
What will this feature enable for you?
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: