Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request : Function for returning all supported resource types for a given action #20

Open
rams3sh opened this issue Mar 28, 2019 · 2 comments

Comments

@rams3sh
Copy link

rams3sh commented Mar 28, 2019

It would be great if there is a module / function which can return supported resources for a given action.
Currently based on my search there is no easily consumable json from where one can get the supported resource types for an action. The details are currently spread across various AWS articles.

However , IAM policy simulator has this data as part of it's code but this can be accessed only post authentication into AWS.

One possible use case of this feature would be to identify if a given policy with a set of actions is practically valid for a given set of resources / resource types.

PS. I gathered this json with dirty curl based script from IAM Policy Simulator for solving my problem. Thought this feature will fit great as part of policyuniverse, hence raising this feature request.
Link for the json here : https://raw.githubusercontent.com/rams3sh/MyFileStore/master/IamSimulator_extract.json

There are also other keys which are part of this json which also might contribute to multiple other features. Since my use case was very limited to actions and resources, restricting the request to the same.

@pchaganti
Copy link

👍

@ebickle
Copy link

ebickle commented Aug 14, 2019

I've been working on this on a private fork and already have the data in place. It will take some time to make this robust, but if the Netflix team is interested over the next little while I'll likely start by augmenting the data.json file with the resource data. Then the functions can be added after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants