cloudmapper
cloudmapper copied to clipboard
Collection is not updating
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
Hello @planzone , it seems that it's trying to iterate over a null value here:
https://github.com/duo-labs/cloudmapper/blob/bebf0d1a8f785b5d99995a9f120426b6ab3df4ee/shared/common.py#L298
Because somehow it didn't retrieve any value.
Maybe we can add a check there so pyjq doesn't iterate over null? What do you think?
What I think? I do not think I am qualified to say. Let me know what the changes are and I can try.
@0xdabbad00 the function query_aws is returning null , but I can't see the error.
It might be loading and empty .json file? Thus, returning null but not a valid {} ?
I am having this same issue.
Is there a resolution for this?
I am having this same issue.
Is there a resolution for this?
Hello @lofzee , not for the moment, will try to work on a fix in the next weeks to come :)
Hi, just hitting same issue now also, any suggestions yet to resolve this ?
Hello @gnewso2909 , Can't work on the fix right now, but I know there's one! As said earlier in this issue -> https://github.com/duo-labs/cloudmapper/issues/845#issuecomment-792550928 There might be a try-catch that we aren't doing. However, this project lacks of participation for the moment :( very very sad