GithubHelp home page GithubHelp logo

Comments (10)

christiandavilakoobin avatar christiandavilakoobin commented on August 27, 2024 1

You're right. It works now! Thanks!

from prowler.

jfagoagas avatar jfagoagas commented on August 27, 2024

Hi @christiandavilakoobin I've created the above PR in the branch PRWLR-3837-bug-none-type-object-has-no-attribute-client-with-prowler-4-2-1-4141. Please test it and tell me if this works as expected.

Thanks for using Prowler 🚀

from prowler.

christiandavilakoobin avatar christiandavilakoobin commented on August 27, 2024

Hi @jfagoagas,

Yes, it's working now.

Thanks!

from prowler.

jfagoagas avatar jfagoagas commented on August 27, 2024

Hi @jfagoagas,

Yes, it's working now.

Thanks!

That's great! I'll fix some failing tests tomorrow and include some others to prevent this to happen again. Probably we will release a 4.2.2 tomorrow or Monday.

Thanks again 🙌

from prowler.

jfagoagas avatar jfagoagas commented on August 27, 2024

Hi @christiandavilakoobin could you please test it again with the same branch? I've refactor some parts of the code make it more simpler to work with and also to separate concerns about AWS and other providers.

More tests has been included.

from prowler.

christiandavilakoobin avatar christiandavilakoobin commented on August 27, 2024

Hi @jfagoagas

It fails 😢 :

Traceback (most recent call last):
  File "/home/prowler/.local/bin/prowler", line 8, in <module>
    sys.exit(prowler())
             ^^^^^^^^^
  File "/home/prowler/.local/lib/python3.12/site-packages/prowler/__main__.py", line 204, in prowler
    global_provider.mutelist = args.mutelist_file
    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/prowler/.local/lib/python3.12/site-packages/prowler/providers/aws/aws_provider.py", line 322, in mutelist
    mutelist = get_mutelist_file_from_lambda(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: get_mutelist_file_from_lambda() takes from 1 to 2 positional arguments but 3 were given

from prowler.

jfagoagas avatar jfagoagas commented on August 27, 2024

You were faster than me! I'm just including tests for that part to prevent this from happening again.

from prowler.

jfagoagas avatar jfagoagas commented on August 27, 2024

@christiandavilakoobin pushed changes and tests, thanks!

from prowler.

christiandavilakoobin avatar christiandavilakoobin commented on August 27, 2024

@jfagoagas same error. It seems you fixed the s3, but lambda still have 3 parameters instead 2.

from prowler.

jfagoagas avatar jfagoagas commented on August 27, 2024

It should be fixed with the last commit maybe you didn't pull, could you check it?

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.