duo-labs / duo-labs/cloudmapper
cloudmapper.py report: _pyjq.ScriptRuntimeError: Cannot iterate over null (null)
Open
bug
- Dominant language
- JavaScript
- Stars
- 6.3k
- Forks
- 836
- PR merge metrics
- No merged PRs in 30d
Description
stats_config.yaml contains the following:
query: '[.Reservations[].Instances[]|select(.State.Name == "running")]|length'
When I run the report module, I ge the null error.
I changed the above line to:
query: '[.Reservations[]?.Instances[]|select(.State.Name == "running")]|length'
and this works.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.