Closed museadmin closed 6 years ago
Thanks for opening the issue @museadmin, could you please run the tool with --debug and provide the output?
Not sure if this is the same issue. But using Scout2Listall tool I am getting a 'NoneType' just running the sample code.
./Scout2Listall.py --debug --profile <profile> --path ec2.regions.id.vpcs.id.security_groups.id
--debug does not get anymore info.
Traceback (most recent call last):
File "./Scout2Listall.py", line 8, in <module>
sys.exit(main())
File "/Users/sean/src/github.com/Scout2/AWSScout2/__listall__.py", line 110, in main
(lines, template) = format_listall_output(args.format_file[0], None, args.format, rule)
TypeError: 'NoneType' object has no attribute '__getitem__'```
@museadmin closed due to lack of feedback, can't isolate the origin of the error.
@SeanLeftBelow this seems like an unrelated issue
When running your scanner I am seeing this output in the snapshot scanning
Fetching EC2 config... regions instances security_groups volumes snapshots network_interfaces 1/1 136/136 445/445 407/407 6799/24378 0/492argument of type 'NoneType' is not iterable 1/1 136/136 445/445 407/407 18283/24378 0/492argument of type 'NoneType' is not iterable 1/1 136/136 445/445 407/407 18753/24378 0/492argument of type 'NoneType' is not iterable
Presumably you need to add a check for null somewhere.
The tool runs to completion though so I would suggest that a this is a low priority.