fix(misconf): do not erase variable type for child modules #7936
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
We need to improve the evaluation of input module variables. If null is passed to a module, it will erase the type of the variable and cause incorrect evaluation of expressions that use them.
Discussed in #7932
Checklist
trivy clean --all
The text was updated successfully, but these errors were encountered: