last sync: 2025-Sep-17 17:22:58 UTC

Sets readOnlyRootFileSystem in the Pod spec to true if it is not set.

Azure BuiltIn Policy definition

Source Azure Portal
Display name Sets readOnlyRootFileSystem in the Pod spec to true if it is not set.
Id 8e875f96-2c56-40ca-86db-b9f6a0be7347
Version 1.3.1
Details on versioning
Versioning Versions supported for Versioning: 5
1.3.1
1.3.0-preview
1.2.0-preview
1.1.0-preview
1.0.0-preview
Built-in Versioning [Preview]
Category Kubernetes
Microsoft Learn
Description Setting readOnlyRootFileSystem to true increases security by preventing containers from writing into the root filesystem
Cloud environments AzureCloud = true
AzureUSGovernment = true
AzureChinaCloud = unknown
Available in AzUSGov The Policy is available in AzureUSGovernment cloud. Version: '1.2.0-preview'
Repository: Azure-Policy 8e875f96-2c56-40ca-86db-b9f6a0be7347
Mode Microsoft.Kubernetes.Data
Type BuiltIn
Preview False
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
Initiative DisplayName Initiative Id Initiative Category State Type polSet in AzUSGov
Deployment safeguards should help guide developers towards AKS recommended best practices c047ea8e-9c78-49b2-958b-37e56d291a44 Kubernetes GA BuiltIn true
History
Date/Time (UTC ymd) (i) Change type Change detail
2025-09-15 17:23:08 change Patch, old suffix: preview (1.3.0-preview > 1.3.1)
2025-04-22 16:46:02 change Minor, suffix remains equal (1.2.0-preview > 1.3.0-preview)
2024-08-09 18:17:47 change Minor, suffix remains equal (1.1.0-preview > 1.2.0-preview)
2024-04-12 17:45:57 change Minor, suffix remains equal (1.0.0-preview > 1.1.0-preview)
2024-04-08 17:52:20 add 8e875f96-2c56-40ca-86db-b9f6a0be7347
JSON compare
compare mode: version left: version right:
JSON
api-version=2021-06-01
EPAC