azure-appsvc-reenable-basic-auth
match (effective permission)
{
"action": "Microsoft.Web/sites/basicPublishingCredentialsPolicies/write",
"scope_type": "resource|resourceGroup|subscription"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <Microsoft.Web/sites> |
| permissions | Microsoft.Web/sites/basicPublishingCredentialsPolicies/write |
Narrative
{principal.name} can re-enable basic publishing credentials on {target.name} (basicPublishingCredentialsPolicies/write).
Raw rule rules/derived/azure/appservice.yaml
id: azure-appsvc-reenable-basic-auth
emits: CanModifyConfiguration
match_effective_permission:
action: Microsoft.Web/sites/basicPublishingCredentialsPolicies/write
scope_type: resource|resourceGroup|subscription
emit:
source_type: Identity
target_type: '*'
source: <principal>
target: <Microsoft.Web/sites>
permissions:
- Microsoft.Web/sites/basicPublishingCredentialsPolicies/write
note: Re-enable SCM/FTP basic auth that a defender disabled, restoring a credentialed Kudu/FTP data-plane
foothold (prerequisite to make publishxml creds usable).
narrative: '{principal.name} can re-enable basic publishing credentials on {target.name} (basicPublishingCredentialsPolicies/write).'