Reputation: 273
I would like to quickly identify where a specific permission is applied across my whole GCP estate. For example I would like to know what resources are configured with the permission iam.serviceAccounts.actAs
Is there a command for this?
Upvotes: 2
Views: 251
Reputation: 81336
No. You will need to check: 1) IAM in each project. 2) Every resource in your Google Project that supports identity (Compute Engine, Cloud Functions, etc.). 3) Each organization and folder as roles can be inherited. 4) Each Cloud Storage object also supports identity but not actAs
.
The design of Google Cloud does not make this task easy nor bulletproof.
Upvotes: 2