Governing Azure
Turbot Guardrails provides deep integration with Microsoft Azure through dozens of mods covering hundreds of resource types. This section covers everything you need to set up and manage Azure governance in your workspace, from connecting your first tenant through to configuring real-time events, permissions, and services.
Getting Connected
The recommended path is to connect your Azure Tenant, which discovers all management groups and subscriptions automatically and gives you granular control over which subscriptions to govern and at what level.
| Guide | Description |
|---|---|
| App Registration Setup | Start here. Create an App Registration and configure API and IAM permissions. Required before connecting any Azure resource. Client secret creation is only needed if you are not using Workload Identity Federation. |
| Set Up Workload Identity Federation | (Recommended) Keyless authentication using AWS-to-Azure federation. No client secret to create, store, or rotate. |
| Connect an Azure Tenant using WIF | Run the Create Connection wizard for an Azure Tenant using Workload Identity Federation. |
| Connect an Azure Tenant | Run the Create Connection wizard for an Azure Tenant using a client secret. |
| Connect an Azure Subscription | Import a single standalone subscription using a client secret. |
[!TIP] When connecting via a tenant, you choose a discovery level for each subscription during the wizard:
- Subscription Only: subscription metadata and tenant-level policy visibility. No resource discovery.
- All Resources: full resource discovery and runtime governance across all subscription resources.
You can start with Subscription Only and upgrade individual subscriptions to All Resources later.
Real-Time Events
After connecting accounts, configure how Guardrails receives change notifications from Azure. Event pollers are enabled by default.
| Guide | Description |
|---|---|
| Real-Time Events Overview | Understand the event polling and event handler options and choose the right one for your environment. |
| Event Polling | Subscription-level event polling via Azure Monitor audit logs. Enabled by default. |
| Management Group Event Polling | Management group hierarchy change detection. Runs every 12 hours by default. |
| Event Handlers | Push-based event delivery using Azure Monitor Activity Log Alerts and Action Groups. |
Configuration
| Guide | Description |
|---|---|
| Enabling Services | Enable Azure services for governance. Each service must be explicitly enabled before Guardrails discovers its resources. |
| Managing Permissions | Configure how Guardrails manages Azure RBAC permissions: Role Mode, standard levels, modifiers, and custom levels. |
Lifecycle
| Guide | Description |
|---|---|
| Decommission Azure Resources | Safely disconnect Azure resources by removing Guardrails infrastructure and deleting the connection. |
Further Reading
- Explore Azure Mods on the Guardrails Hub
- Set up Turbot Azure policies with Terraform Policy Packs
- Learn more about permissions in Guardrails