Open simar7 opened 1 month ago
@simar7 I'll divide this into 3 tasks.
count
and each
objects, but we decided not to add that. It would be easy to add it. https://github.com/aquasecurity/trivy/pull/6302/commits/835351defb6280f93cae61386d616525123f328efoo
and bar
, which have resources with the same logical path. Maybe we should add some kind of entrypoint field? The path field for a resource makes no sense if it is in a remote module. Only the logical path is enough.
TODO:
for_each
orcount
variables. This would allow to target specific resources such as described in the example below.Discussed in https://github.com/aquasecurity/trivy/discussions/7157