kics
kics copied to clipboard
bug(terraform): when parsing tfplan in the case of child modules only resources in the deepest module are parsed
The map entry is initialized for each child module and overrides the resources from modules up the tree https://github.com/Checkmarx/kics/blob/c17d26eb1d582e6cf8c169f476b494421cef00a2/pkg/parser/json/tfplan.go#L67
Happens the same with resources with the same type and name, as I described in this issue: #7307