Git Product home page Git Product logo

Comments (5)

yf-odyssey avatar yf-odyssey commented on June 26, 2024 1

@kmcquade Hi, I tried as you said and first saving the output of aws iam get-account-authorization-details --profile audit to a JSON file. Then using Cloudsplaining to check the json file and it works. Thanks a lot!

from cloudsplaining.

yf-odyssey avatar yf-odyssey commented on June 26, 2024

@kmcquade hi,could you help me to find out the problem?Thanks a lot!

from cloudsplaining.

kmcquade avatar kmcquade commented on June 26, 2024

yeah I can almost guarantee it's the AWS region being AWS china. IIRC it's hardcoded to be AWS in some cases.

I don't have capacity to make any fix like this, as I'm tied up with my startup. If you or anyone else wants to take this on and make a pull request with a fix, and it passes the unit tests, I can go ahead and approve/merge. Note that this would probably be a good opportunity to ensure compatibility with partitions other than aws or aws-cn like GovCloud or whatever the CIA abbreviation one is.

from cloudsplaining.

kmcquade avatar kmcquade commented on June 26, 2024

You could try saving the output of aws iam get-account-authorization-details --profile audit to a JSON file and then pumping that into Cloudsplaining - that might work. The cloudsplaining download command is just a simple wrapper for aws iam get-account-authorization-details so at least the input would work.

If that fails, and you don't want to make a PR for the tool, you could do another ugly workaround where you replace all instances of arn:aws-cn with arn:aws in the JSON output. Cloudsplaining would definitely accept that.

Sorry I can't be of more help. I just have other commitments that prevent me from being involved with the project at this point.

from cloudsplaining.

yf-odyssey avatar yf-odyssey commented on June 26, 2024

@kmcquade Thanks for your response. I'll try as you said and reply if I have any results.

from cloudsplaining.

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.