question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide support for automatically discovering Azure subscriptions

See original GitHub issue

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:

  • resource-discovery -> give tenantId and create a landscape for the VirtualMachines of every subscriptions
  • scraper -> create metrics regarding the CPU for all subscriptions given by the discovery component.

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

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
tomkerkhovecommented, Nov 23, 2021

It’s coming in v0.1.0 and will most likely be split indeed, but this will definitely be added.

1reaction
tomkerkhovecommented, Jul 6, 2021

POCed it and should be feasible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Elevate access to manage all Azure subscriptions and ...
This allows you to view all resources and assign access in any subscription or management group in the directory. User Access Administrator role...
Read more >
Automatically Discover Azure Virtual Machines (Preview)
The Teleport Discovery Service can connect to Azure and automatically discover and enroll virtual machines matching configured labels.
Read more >
Issue with Subscription when Discovering Azure Clo...
Solved: Hi. I'm trying to discover Azure Cloud resources. I've been supplied with the necessary Keys and IDs to set up the Service...
Read more >
Discover Azure Accounts (Tenable Cloud Security)
Cloud discovery in Tenable Cloud Security supports onboarding single and multiple Azure subscriptions. To onboard an Azure tenant, provide the role details ...
Read more >
Discovering Microsoft Azure - BMC Documentation
BMC Helix Discovery enables you to discover your cloud services running in these regions. To do so, you must provide an application ID...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found