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

Use policyuniverse #2

Open
0xdabbad00 opened this issue Feb 16, 2018 · 3 comments
Open

Use policyuniverse #2

0xdabbad00 opened this issue Feb 16, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@0xdabbad00
Copy link
Collaborator

0xdabbad00 commented Feb 16, 2018

Use https://github.com/netflix-skunkworks/policyuniverse instead of https://github.com/duo-labs/cloudtracker/blob/master/cloudtracker/__init__.py#L80 and aws_api_list.txt. This would also support NotAction (

# TODO Implement NotAction
). This could also help with the --ignore-benign flag to more accurately identify benign actions beyond List* and Describe*.

Need to push changes to that project to support some of CloudTracker's needs.

@0xdabbad00
Copy link
Collaborator Author

policyuniverse is largely focused on resource policies, such as those attached to an S3 bucket or ElasticSearch cluster, and not IAM policies for actors. However, I filed Netflix-Skunkworks/policyuniverse#8 in order to start things moving so that library can be used here.

@bobrich
Copy link

bobrich commented Jun 29, 2018

Assuming you're aware of this: https://awspolicygen.s3.amazonaws.com/js/policies.js I think that's where policyuniverse sources the IAM info.

@0xdabbad00
Copy link
Collaborator Author

@bobrich Thanks, I just wrote up some notes on IAM vs APIs vs CloudTrail yesterday actually where I noted that data source: https://summitroute.com/blog/2018/06/28/aws_iam_vs_api_vs_cloudtrail/

My existing approach in CloudTracker is very unclean and misses a lot of the points I note in that blog. I need to revisit how I've approached a lot of the things with CloudTracker to account for all of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants