You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running "scout aws", I'm unable to get the EC2 network attack surface information.
Scout throws the following error:
ERROR provider.py L273: Error completing EC2 network attack surface information: argument of type 'NoneType' is not iterable
I've tried this on an Ubuntu 22.04 system with python 3.10.12, and also on Ubuntu 24.04 with python 3.12.3.
Here's the relevant ouput section with the --debug run on Ubuntu 22.04/python 3.10.12:
2024-07-08 10:49:10 t-1 scout[2492662] INFO Running pre-processing engine
2024-07-08 10:49:10 t-1 scout[2492662] ERROR provider.py L273: Error completing EC2 network attack surface information: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/home/vo/ScoutSuite/ScoutSuite/providers/aws/provider.py", line 273, in _complete_information_on_ec2_attack_surface
if current_config is not None and 'PublicDnsName' in current_config.get('Association', {}):
TypeError: argument of type 'NoneType' is not iterable
2024-07-08 10:49:10 t-1 scout[2492662] ERROR provider.py L273: Error completing EC2 network attack surface information: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/home/vo/ScoutSuite/ScoutSuite/providers/aws/provider.py", line 273, in _complete_information_on_ec2_attack_surface
if current_config is not None and 'PublicDnsName' in current_config.get('Association', {}):
TypeError: argument of type 'NoneType' is not iterable
2024-07-08 10:49:10 t-1 scout[2492662] ERROR provider.py L273: Error completing EC2 network attack surface information: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/home/vo/ScoutSuite/ScoutSuite/providers/aws/provider.py", line 273, in _complete_information_on_ec2_attack_surface
if current_config is not None and 'PublicDnsName' in current_config.get('Association', {}):
TypeError: argument of type 'NoneType' is not iterable
To reproduce, I just run
python scout.py aws
Any guidance is very appreciated!
Vo
The text was updated successfully, but these errors were encountered:
Bug:
When running "scout aws", I'm unable to get the EC2 network attack surface information.
Scout throws the following error:
ERROR provider.py L273: Error completing EC2 network attack surface information: argument of type 'NoneType' is not iterable
I've tried this on an Ubuntu 22.04 system with python 3.10.12, and also on Ubuntu 24.04 with python 3.12.3.
Here's the relevant ouput section with the --debug run on Ubuntu 22.04/python 3.10.12:
2024-07-08 10:49:10 t-1 scout[2492662] INFO Running pre-processing engine
2024-07-08 10:49:10 t-1 scout[2492662] ERROR provider.py L273: Error completing EC2 network attack surface information: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/home/vo/ScoutSuite/ScoutSuite/providers/aws/provider.py", line 273, in _complete_information_on_ec2_attack_surface
if current_config is not None and 'PublicDnsName' in current_config.get('Association', {}):
TypeError: argument of type 'NoneType' is not iterable
2024-07-08 10:49:10 t-1 scout[2492662] ERROR provider.py L273: Error completing EC2 network attack surface information: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/home/vo/ScoutSuite/ScoutSuite/providers/aws/provider.py", line 273, in _complete_information_on_ec2_attack_surface
if current_config is not None and 'PublicDnsName' in current_config.get('Association', {}):
TypeError: argument of type 'NoneType' is not iterable
2024-07-08 10:49:10 t-1 scout[2492662] ERROR provider.py L273: Error completing EC2 network attack surface information: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/home/vo/ScoutSuite/ScoutSuite/providers/aws/provider.py", line 273, in _complete_information_on_ec2_attack_surface
if current_config is not None and 'PublicDnsName' in current_config.get('Association', {}):
TypeError: argument of type 'NoneType' is not iterable
To reproduce, I just run
python scout.py aws
Any guidance is very appreciated!
Vo
The text was updated successfully, but these errors were encountered: