Coder Social home page Coder Social logo

Comments (6)

Kamerabuilt avatar Kamerabuilt commented on June 24, 2024 1

Nice work!

Looks like its fixed :)

from pmapper.

ncc-erik-steringer avatar ncc-erik-steringer commented on June 24, 2024

Hello @Kamerabuilt ,

First look, I'm guessing it's the aws:MultiFactorAuthPresent condition that's tripping things up. The relevant source code is https://github.com/nccgroup/PMapper/blob/master/principalmapper/graphing/sts_edges.py#L84-L86 . If that's not working, then all the MFA stuff might be broken and that'd be a bigger problem.

Please confirm the following:

  • Which version of PMapper are you're using?
  • Is the user is able to assume the role (i.e. no mispellings in any of the policies)?
  • Does the user has an MFA device configured?
  • Is this for a live AWS account or a mock account on LocalStack?

from pmapper.

Kamerabuilt avatar Kamerabuilt commented on June 24, 2024
  1. I am using the latest PMapper version (I reinstalled it from scratch today). Is there a way to confirm which version exactly? I tried running -v (version), but it does not seem to be supported.
  2. Yes, user can assume the role and execute the admin privileges associated with that role (through MFA)
  3. Yes, and it is needed to assume the role per the Trust policy
  4. It is a live AWS account (my personal account)

from pmapper.

ncc-erik-steringer avatar ncc-erik-steringer commented on June 24, 2024

Added a fix in v1.2.0-dev with 06f1dc1 . This issue actually extends to any edge-checks that involves resource policies that can be affected by MFA. Probably gonna have to do some more fixing here before releasing v1.2.0.

from pmapper.

Kamerabuilt avatar Kamerabuilt commented on June 24, 2024

Can I test the 1.2.0-dev (if so how)?

Is there a way to display the current version of PMapper?

from pmapper.

ncc-erik-steringer avatar ncc-erik-steringer commented on June 24, 2024

Sure can! Just clone the repo and checkout the 1.2.0-dev branch. Then do pip install . from the PMapper directory after you finish cloning. If you run pip show principalmapper it should show you the current version, and v1.2.0 will have a --version arg.

from pmapper.

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.