prowler-cloud / prowler

Prowler is an Open Source Security tool for AWS, Azure, GCP and Kubernetes to do security assessments, audits, incident response, compliance, continuous monitoring, hardening and forensics readiness. Includes CIS, NIST 800, NIST CSF, CISA, FedRAMP, PCI-DSS, GDPR, HIPAA, FFIEC, SOC2, GXP, Well-Architected Security, ENS and more
https://prowler.com
Apache License 2.0
10.52k stars 1.5k forks source link

[Bug]: Prowler gets stuck at 82th check #2433

Closed dmdhrumilmistry closed 1 year ago

dmdhrumilmistry commented 1 year ago

Steps to Reproduce

  1. Start AWS ec2 instance (free tier) with ubuntu distro and ReadOnlyAccess Policy
  2. SSH into the machine
  3. Installed prowler using pip
  4. Start prowler
prowler aws

Expected behavior

Should run checks and generate output

Actual Result with Screenshots or Logs

image

How did you install Prowler?

From pip package (pip install prowler)

Environment Resource

EC2

OS used

Ubuntu

Prowler version

Prowler 3.5.3 (it is the latest version, yay!)

Pip version

pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

Context

No response

jfagoagas commented 1 year ago

Hi @dmdhrumilmistry, could you please execute Prowler again but using the --log-level ERROR flag and paste the output here?

Also I see that there are two ^C (ctrl + C) to the right of the progress bar? Do you know if something on your side could be triggering that?

Thanks for using Prowler 🚀

dmdhrumilmistry commented 1 year ago

@jfagoagas yes, I tried stopping the program. Could it be issues with resources? I'm running it on t2.micro instance.

Will update this comment soon with logs.

jfagoagas commented 1 year ago

@jfagoagas yes, I tried stopping the program. Could it be issues with resources? I'm running it on t2.micro instance.

Will update this comment soon with logs.

Yes, it could be related with your workstation specifications. Please, execute Prowler with --log-level ERROR flag and paste the output here.

dmdhrumilmistry commented 1 year ago

@jfagoagas yes, I tried stopping the program. Could it be issues with resources? I'm running it on t2.micro instance. Will update this comment soon with logs.

Yes, it could be related with your workstation specifications. Please, execute Prowler with --log-level ERROR flag and paste the output here.

Yes, issue was with my ec2 instance. I was using t2.micro with IAM role attached to run prowler. I increased it to t3.medium and it was working fine.

Is there any way to limit resources cpu/ram/threads so I can work with t2.micro as well?

jfagoagas commented 1 year ago

Hi @dmdhrumilmistry, we don't have any minimum specification to run Prowler since it depends on the number of resources you have in your cloud provider.

The most common case is to have 1 vCPU and 2 GiB RAM.

Thanks for using Prowler 🚀