Azure Resources
Last updated
Last updated
provides on-demand cloud computing platforms and APIs. Cortex uses the Azure Resource API to pull in resource details and import entities such as SQL servers, virtual machines, virtual networks, load balancers, and others.
Integrate Azure Resources with Cortex to drive insights into:
Catalogs
Dependencies
After the integration is configured, your resources from Azure will be visible in Cortex.
Before getting started, you will need the following information. These can be found in the Enterprise applications section of Azure:
Azure tenant ID
Azure client ID and
Azure subscription ID
Ensure that the service principal for the subscription ID has a .
In Cortex, click your avatar in the lower left corner, then click Settings.
Under "Integrations", click Azure Resources.
Click Add configuration.
Configure the Azure Resources integration form:
Account alias: Enter your Azure account alias. Account aliases are used to tie service registrations to different configuration accounts.
Azure tenant ID: Enter your Azure tenant ID.
Client ID and Client secret: Enter your Azure client ID and secret.
Subscription ID: Enter your Azure subscription ID.
Click Save.
You can configure automatic import from Azure:
Next to Auto import from AWS, Azure, and/or Google Cloud, click the toggle to enable the import.
Cortex can automatically discover ownership for your Azure resources. To configure this:
Make sure that your Azure resources have a tag matching the x-cortex-tag
of the corresponding Cortex team
By default, Cortex looks for the owner
tag. You can also customize the tag key name on the Settings page.
Cortex syncs ownership from Azure Resources every day at 6 a.m. UTC.
Cortex automatically discovers dependencies between your services and resources by scanning for resources with specific Azure Resources tags. By default, a service will have dependencies on any Cortex resource that has a corresponding Azure Resources resource with Azure Resources tag key = "service" and tag value = the service's Cortex tag.
You can associate a Cortex entity with one or more Azure Resources entities. Cortex will display those Azure Resources entities' metadata on the Cortex entity page.
When the entity is connected to Azure, the entity YAML will look like the following:
With the Azure Resources integration, you can create Scorecard rules and write CQL queries based on Azure Resources details.
Cortex conducts a background sync of Azure Resources every day at 10 a.m. UTC and an ownership sync every day at 6 a.m. UTC.
Why is the Azure resource type microsoft-resources-subscriptions-resourcegroups
not pulling in Azure Resource details?
Cortex pulls from the Azure Resource API, but not from the Azure Resource Group API. If you would like to submit a feature request for support of Azure Resource Groups, please contact our customer engineering team.
The following options are available to get assistance from the Cortex Customer Engineering team:
Chat: Available in the Resource Center
Slack: Users with a connected Slack channel will have a workflow added to their account. From here, you can either @CortexTechnicalSupport or add a :ticket:
reaction to a question in Slack, and the team will respond directly.
Don’t have a Slack channel? Talk with your Customer Success Manager.
In Cortex, navigate to the :
You will be redirected to the Azure Resources Settings page in Cortex, where you can optionally choose to include only specified Azure resource types for this integration. You can also enable for any discovered entities of known types.
In Cortex, navigate to the .
Enable the “Sync ownership from Azure” toggle in the in Cortex.
On the , you can customize the tag key names for dependencies.
For more information on defining dependencies, please see the .
See the for instructions on importing entities.
See more examples in the in Cortex.
Email: , or open a support ticket in the in app Resource Center