Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS EC2 network attack surface information error #1648

Open
vo243 opened this issue Jul 8, 2024 · 0 comments
Open

AWS EC2 network attack surface information error #1648

vo243 opened this issue Jul 8, 2024 · 0 comments
Labels
bug Something isn't working potential Unconfirmed issue

Comments

@vo243
Copy link

vo243 commented Jul 8, 2024

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

@vo243 vo243 added bug Something isn't working potential Unconfirmed issue labels Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working potential Unconfirmed issue
Projects
None yet
Development

No branches or pull requests

1 participant