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

Getting Segmentation fault when Fetching VPC config #154

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi Team,

When I am trying to get data getting "Segmentation fault" after Fetching VPC config or get "Killed" Fetching VPC config

I am using below command. Scout2 --profile "Profile_Name" --report-dir /var/www/html/scout2-report/ --no-browser --update

NOTE:- I am not using username I have created on role (as per doc mention here)and that role is assigned to instance on which I have installed Scout2.

l01cd3v commented 7 years ago

Hi,

May you please specify the following so that I can try to repro:

Thanks

ghost commented 7 years ago

Hi Please find below instance. instance type - t2.micro OS version - ubuntu-trusty-14.04-amd64-server-20170405 Scout2 version - I am not able to find version. (I install Scount2 today 5 Jun 2017 maybe AWSScout2==3.0.3 this version)

Below is the exact error which I observed 1st time. Fetching VPC config... regions vpcs flow_logs network_acls route_tables subnets Error: could not fetch vpc configuration. can't start new thread Fetching EMR config... regions clusters Error: could not fetch emr configuration. can't start new thread Fetching ElastiCache config... regions clusters security_groups Segmentation fault

l01cd3v commented 7 years ago

Thanks, this is due to limited resources on the instance. I thought this was fixed when I modified the threading strategy but apparently not. I'll see if I can repro & fix.

Meanwhile, If you are in a rush, run Scout2 on a larger instance and you shouldn't see this error.

ghost commented 7 years ago

Hi,

Thanks for your assistance. The issue is resolved now. I have changed my instance type to t2.medium.

renutz commented 7 years ago

Em terça-feira, 6 de junho de 2017, prasadpucsdian notifications@github.com escreveu:

Closed #154 https://github.com/nccgroup/Scout2/issues/154.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nccgroup/Scout2/issues/154#event-1111524749, or mute the thread https://github.com/notifications/unsubscribe-auth/ABil7uugLJsorbL1pUGUyegmJr89O9bgks5sBSz4gaJpZM4NwI56 .