Assigned
Status Update
Comments
ba...@google.com <ba...@google.com> #2
Hello,
Thank you for reaching out. I'm going to create an internal feature request. Please keep in mind that this feature request has to be analyzed and considered by the product team and I can't provide you ETA for it to be delivered. However, you can keep track of the status by following this thread.
Description
This will create a feature request which anybody can view and comment on.
Please describe your requested enhancement. Good feature requests will solve common problems or enable new use cases.
What you would like to accomplish: / How this might work:
We need a streamlined way to quickly and easily detect whether a Service Account is attached to resources like VMs or Cloud Functions, with all the related metadata centralised in one place.
Service account '*-compute@developer.gserviceaccount.com ' can be associated with various resources like Cloud Functions, Virtual Machines, and other resources. We propose a feature to list all these resources with a single command or query, presenting all metadata in one place, structured like a tree directory.
We propose a feature where each service account displays a tree structure, with the service account at the top and all associated resources (VMs, Cloud Functions, APIs, etc.) listed underneath. This would be available either through gcloud or the console, providing a comprehensive view of all resources under a service account within a project.
This feature will enhance the user experience by offering a clear, organised view of all resources linked to a service account, simplifying resource management and improving productivity.
This should be achieved with 'gcloud' or through the GCP console.
If applicable, reasons why alternative solutions are not sufficient:
Asset Inventory was used, but a query for this was not found that effectively retrieves all resources linked to a specific service account.
There is a lack of pre-made queries (like Policy analyzers) and online information on how to list all resources associated with a particular service account.
Other information (workarounds you have tried, documentation consulted, etc):
Eg.https://www.cyberciti.biz/media/new/faq/2012/11/Tree-Display-Structure-Directory-Hierarchy.png