JohannesEbke / aws_list_all

List all your AWS resources, all regions, all services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recommendation for Policies

erikm30 opened this issue · comments

Is there a recommendation for a policy with the least rights that can be used to successfully run the script ?

This should run well with arn:aws:iam::aws:policy/ReadOnlyAccess , but probably can run well on more restricted policies. Since it does heuristics and actually knows which APIs it will call, it would probably be quite easy to generate a policy generator. Unfortunately, since it picks up on new APIs on boto3 updates, this policy would get out of date, but for security-conscious setups it might give an edge over ReadOnlyAccess.

ToDo

  • Add to Readme
  • Add "strict" policy generator.