Skip to content

Small script like program which converts cloudtrail logs to a very verbose aws privileges json file.

Notifications You must be signed in to change notification settings

Faffnir/cloudtrailToAWSPrivileges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Cloud Trail logs to AWS Privileges converter

Ever wondered how much privileges you really need when using AWS. This tool helps you build a minimal permissions file for AWS.

Setup

  1. Setup a cloudtrail log according to this documentation
  2. Export the cloudtrail logs in json
  3. Run ./cloudtrailToAWSPrivileges -file cloudtrail.json > new-policy.json
  4. Run aws iam create-policy --policy-name <fancy-policy-name> --policy-document file://new-policy.json

About

Small script like program which converts cloudtrail logs to a very verbose aws privileges json file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages