Provide support for automatically discovering Azure subscriptions #1665
Labels
agents:discovery-agent
All issues related to the resource discovery agent
end-user:msft-defender
feature-request
New feature requests
Hacktoberfest
All issues available for contribution during Hacktoberfest
help-wanted
All issues where people can contribute to the project
integration:azure-resource-graph
All issues related to Azure Resource Graph integration
Milestone
Proposal
Hello,
As of today, the list of subscriptions has to be set to
resource-discovery-declaration.yaml
in the azureLandscape key.I would like the resource-discovery component to automatically discover this list of subscriptions so that when a new one is created in the tenant, the resources of that subscriptions are automatically scraped by the scraper (thanks to the already available "monitor multiple subscriptions" feature on the scraper.
use case
I want to monitor all cpu of any VM of any subscription:
That would make it completely automatic regardless of subscriptions creation/deletion.
technical input
I have thought of using this API to do so:
https://docs.microsoft.com/en-us/rest/api/resources/subscriptions/list
but this is part of resource management and not graph.
Thank you for consideration
Component
Resource Discovery
Contact Details
alban.hurtaud@amadeus.com
The text was updated successfully, but these errors were encountered: