Comments (5)
@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.
@kmcquade hi,could you help me to find out the problem?Thanks a lot!
from cloudsplaining.
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.
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.
@kmcquade Thanks for your response. I'll try as you said and reply if I have any results.
from cloudsplaining.
Related Issues (20)
- Provide option to flag all risky actions, regardless of resource constraints or conditions
- Multi-Account Scan Strips Leading Zeros From Account ID HOT 3
- Migrate from Vue 2 -> Vue 3 and upgrade dependencies HOT 4
- Not able to run the tool HOT 2
- It would be nice to have an inclusion specifying version of scanning
- Unable to scan multiple accounts HOT 1
- Add new read actions to detection list
- Incorrect Link in Docs
- Infrastructure Modification check ignores conditions set on policy HOT 6
- is this solution runnable within a lambda HOT 1
- Unable to identify "Policy leveraged by Compute Service Role" HOT 1
- Rightsizing the broad IAM policies Automatically
- Unhandled exception when running multi-account scan HOT 3
- Cannot build due to pyyaml-6.0 errors
- problem with installation from brew
- TypeError: list indices must be integers or slices, not str (Windows 10) HOT 5
- Security Risk Assessment HOT 1
- ARN Not found HOT 2
- Automatically publish container to Docker Hub via GitHub Actions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudsplaining.