kics icon indicating copy to clipboard operation
kics copied to clipboard

bug(terraform): when parsing tfplan in the case of child modules only resources in the deepest module are parsed

Open nirfirefly opened this issue 1 year ago • 1 comments

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

nirfirefly avatar Oct 03 '24 20:10 nirfirefly

Happens the same with resources with the same type and name, as I described in this issue: #7307

ivangonzalezz avatar Dec 13 '24 12:12 ivangonzalezz