nccgroup / Scout2

Security auditing tool for AWS environments
http://nccgroup.github.io/Scout2/
GNU General Public License v2.0
1.73k stars 300 forks source link

KeyError: None in rules/preprocessing.py #294

Closed andresriancho closed 6 years ago

andresriancho commented 6 years ago
Traceback (most recent call last):
  File "/home/andres/tools/virtualenvs/scout2/local/lib/python2.7/site-packages/AWSScout2-3.2.1-py2.7.egg/AWSScout2/rules/preprocessing.py", line 632, in new_go_to_and_do
    callback(aws_config, current_config[key][value], path, current_path, value, callback_args)
  File "/home/andres/tools/virtualenvs/scout2/local/lib/python2.7/site-packages/AWSScout2-3.2.1-py2.7.egg/AWSScout2/rules/preprocessing.py", line 284, in match_instances_and_subnets_callback
    vpc = subnet_map[subnet_id]
KeyError: None
x4v13r64 commented 6 years ago

Could you please provide more details about the issue (full output with --debug flag) please.

x4v13r64 commented 6 years ago

Merged into https://github.com/nccgroup/Scout2/issues/296.