GithubHelp home page GithubHelp logo

Comments (6)

AlexGidarakos avatar AlexGidarakos commented on May 28, 2024 2

Hi again @jfagoagas. I can confirm that using the code from said branch allows the scan to complete without issues. Please let me know if any further information would be useful.

Thanks.

P.S.: Just FYI the limited storage that AWS CloudShell provides for the user's home directory causes issues when installing the poetry dependencies to run Prowler from GitHub. For posterity, here's a workaround:

git clone https://github.com/Fennerr/prowler.git
cd prowler
git checkout issue-2516
pip install poetry
mkdir /tmp/pypoetry
poetry config cache-dir /tmp/pypoetry
poetry shell
...

from prowler.

jfagoagas avatar jfagoagas commented on May 28, 2024 1

Hi again @jfagoagas. I can confirm that using the code from said branch allows the scan to complete without issues. Please let me know if any further information would be useful.

Thanks.

P.S.: Just FYI the limited storage that AWS CloudShell provides for the user's home directory causes issues when installing the poetry dependencies to run Prowler from GitHub. For posterity, here's a workaround:

git clone https://github.com/Fennerr/prowler.git
cd prowler
git checkout issue-2516
pip install poetry
mkdir /tmp/pypoetry
poetry config cache-dir /tmp/pypoetry
poetry shell
...

That's a great catch @AlexGidarakos, I'm going to include in our docs. Btw, we've merged the fix PR!

from prowler.

jfagoagas avatar jfagoagas commented on May 28, 2024 1

Included in the docs @AlexGidarakos --> #3190 Thanks!

from prowler.

jfagoagas avatar jfagoagas commented on May 28, 2024

Hi @AlexGidarakos currently we are working to improve the Prowler's memory management. The AWS CloudShell is a supported environment to execute Prowler but due to the restricted memory on that environment you can experience some issues if you are auditing a big AWS account.

Can you estimate the number of resources in the account?

Do you know if some services have a large number of resources, I mean way more than the rest of the services?

Thanks for using Prowler 🚀

from prowler.

AlexGidarakos avatar AlexGidarakos commented on May 28, 2024

Hi @jfagoagas. Checking in AWS Tag Editor there are around 400 resources in this account, with the most important ones being:

15 CloudFormation stacks
235 Config rules
2 DynamoDB tables
1 IGW
1 NACL
20 ENIs
9 RTBs
8 SGs
8 Subnets
1 VPC
1 ECS Cluster with 3 Fargate Services running 2 tasks each
1 ElastiCache cluster with 2 nodes
1 ALB with 3 Target Groups
5 KMSs
16 Lambdas
1 Aurora Cluster with PSQL-compatible engine with 2 instances
13 DB Cluster Snapshots
17 S3 buckets
5 SSM Parameters
32 Secrets Manager secrets

Thanks for looking into this bug report.

from prowler.

jfagoagas avatar jfagoagas commented on May 28, 2024

@AlexGidarakos thanks for the quick response. Could you please execute Prowler using the branch Fennerr:issue-2516 from this PR? #3167?

Thanks!

from prowler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.