duo-labs / duo-labs/cloudmapper
Collection is not updating
- Dominant language
- JavaScript
- Stars
- 6.3k
- Forks
- 836
- PR merge metrics
- No merged PRs in 30d
Description
Hi I have cloudmapper running in a container.
I noticed my collection hasn't been update in a while (like over a year ago)
on the page http://my_internal_ip/account-data/report.htm
It would show the account name, id and a collection date that is very old thus my data is also stale
I logged into the container and ran python cloudmapper.py collect --account myaccountname
it went through and ran with out issue. Waited about an hour and refresh the pages and still shows the old date.
Also the account I ran it against I checked resources such as some users and buckets and the report isn't accurate
I am so certain it is ignorance on my part.
Any hints to get me back on track?
if I run to report command I would get the following:
Getting resource counts
Traceback (most recent call last):
File "cloudmapper.py", line 72, in
main()
File "cloudmapper.py", line 66, in main
commands[command].run(arguments)
File "/opt/cloudmapper/commands/report.py", line 471, in run
report(accounts, config, args)
File "/opt/cloudmapper/commands/report.py", line 101, in report
account, args.stats_all_resources
File "/opt/cloudmapper/shared/common.py", line 297, in get_account_stats
query_aws(region.account, resource["source"], region),
File "/usr/local/lib/python3.7/site-packages/pyjq.py", line 49, in all
return compile(script, vars, library_paths).all(_get_value(value, url, opener))
File "_pyjq.pyx", line 209, in _pyjq.Script.all (_pyjq.c:2561)
_pyjq.ScriptRuntimeError: Cannot iterate over null (null)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.