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

List just all used services #43

Open
jayzalowitz opened this issue Oct 29, 2020 · 1 comment
Open

List just all used services #43

jayzalowitz opened this issue Oct 29, 2020 · 1 comment

Comments

@jayzalowitz
Copy link

This would be deadly useful for those of us who do pci compliance

@JohannesEbke
Copy link
Owner

That's actually a difficult question to answer sometimes - some API calls give you "AWS Managed" resources mixed in with your own resources. Currently, aws_list_all only has basic support to disentangle this (see https://github.com/JohannesEbke/aws_list_all/blob/master/aws_list_all/listing.py#L8 ), so you'd always get some results.

What you can do now: Just do query everything once on an empty account, and subsequently on a target account. The difference between (used services in empty account, used services in target account) will give you the definitely used services at least.

I'll leave this here as an improvement, as it may be useful. Maybe I can get a cached version of the empty account run into the package, so I can print out a listing like this...

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

2 participants