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.

GuideDescription
App Registration SetupStart 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 WIFRun the Create Connection wizard for an Azure Tenant using Workload Identity Federation.
Connect an Azure TenantRun the Create Connection wizard for an Azure Tenant using a client secret.
Connect an Azure SubscriptionImport 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:

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.

GuideDescription
Real-Time Events OverviewUnderstand the event polling and event handler options and choose the right one for your environment.
Event PollingSubscription-level event polling via Azure Monitor audit logs. Enabled by default.
Management Group Event PollingManagement group hierarchy change detection. Runs every 12 hours by default.
Event HandlersPush-based event delivery using Azure Monitor Activity Log Alerts and Action Groups.

Configuration

GuideDescription
Enabling ServicesEnable Azure services for governance. Each service must be explicitly enabled before Guardrails discovers its resources.
Managing PermissionsConfigure how Guardrails manages Azure RBAC permissions: Role Mode, standard levels, modifiers, and custom levels.

Lifecycle

GuideDescription
Decommission Azure ResourcesSafely disconnect Azure resources by removing Guardrails infrastructure and deleting the connection.

Further Reading