Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
Azure
Loading policies...

Policy: Azure > App Service > Web App > Managed Identity

Define the Managed Identity setting required for Azure > App Service > Web App.

A managed identity provides an automatically managed identity in Microsoft Entra ID (Azure Active Directory) that applications can use to obtain tokens without managing any credentials.

The Enabled values require the Web App to use at least one managed identity of any kind — system-assigned, user-assigned, or both. When enforcing, a system-assigned identity is assigned only if the Web App has no managed identity. The Disabled values require the Web App to use no managed identity.

The Per Managed Identity > User Assigned Identity values require the Web App's user-assigned identities to exactly match the Azure > App Service > Web App > Managed Identity > User Assigned Identity policy; a system-assigned identity is neither required nor removed. When enforcing, missing identities are assigned and identities not in the list are removed.

The System Assigned and Per Managed Identity > User Assigned Identity values additionally require a system-assigned identity, so a single setting can require both identity kinds. When enforcing, the system-assigned identity is enabled alongside the exact user-assigned identity list.

Targets

This policy targets the following resource types:

  • Azure > App Service > Web App

Related Policies

  • User Assigned Identity

Controls

Setting this policy configures this control:

  • Azure > App Service > Web App > Managed Identity

Policy Packs

This policy setting is used by the following policy packs:

  • Azure CIS v2.0.0 - Section 9 - App Service

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Check: Enabled
    
  • Check: Disabled
    
  • Check: Per `Managed Identity > User Assigned Identity`
    
  • Check: System Assigned and Per `Managed Identity > User Assigned Identity`
    
  • Enforce: Enabled
    
  • Enforce: Disabled
    
  • Enforce: Per `Managed Identity > User Assigned Identity`
    
  • Enforce: System Assigned and Per `Managed Identity > User Assigned Identity`
    

Category

  • IAM

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/iam
  • Policy Type URI
    • tmod:@turbot/azure-appservice#/policy/types/webAppSystemAssignedIdentity
  • GraphQL
    • query policyType(id: "tmod:@turbot/azure-appservice#/policy/types/webAppSystemAssignedIdentity") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/azure-appservice#/policy/types/webAppSystemAssignedIdentity'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/azure-appservice#/policy/types/webAppSystemAssignedIdentity'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/azure-appservice#/policy/types/webAppSystemAssignedIdentity"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-appservice#/policy/types/webAppSystemAssignedIdentity"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
49
Mods
207
Resource Types
3,634
Policies
1,946
Controls
103
Quick Actions
114
IAM