last sync: 2025-Apr-29 17:16:02 UTC

[Preview]: Prevents containers from being ran as root by setting runAsNotRoot to true.

Azure BuiltIn Policy definition

Source Azure Portal
Display name [Preview]: Prevents containers from being ran as root by setting runAsNotRoot to true.
Id 2fe7ba7d-f670-41f5-8b70-b61dc7dfbe18
Version 1.1.0-preview
Details on versioning
Versioning Versions supported for Versioning: 2
1.1.0-preview
1.0.0-preview
Built-in Versioning [Preview]
Category Kubernetes
Microsoft Learn
Description Setting runAsNotRoot to true increases security by preventing containers from being ran as root.
Cloud environments AzureCloud = true
AzureUSGovernment = true
AzureChinaCloud = unknown
Available in AzUSGov The Policy is available in AzureUSGovernment cloud. Version: '1.0.0-preview'
Repository: Azure-Policy 2fe7ba7d-f670-41f5-8b70-b61dc7dfbe18
Mode Microsoft.Kubernetes.Data
Type BuiltIn
Preview True
Deprecated False
Effect Default
Mutate
Allowed
Mutate, Disabled
RBAC role(s) none
Rule aliases none
Rule resource types IF (1)
Compliance Not a Compliance control
Initiatives usage none
History
Date/Time (UTC ymd) (i) Change type Change detail
2025-04-22 16:46:02 change Minor, suffix remains equal (1.0.0-preview > 1.1.0-preview)
2024-08-26 18:17:33 add 2fe7ba7d-f670-41f5-8b70-b61dc7dfbe18
JSON compare
compare mode: version left: version right:
JSON
api-version=2021-06-01
EPAC