-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Built-in Policy Release b5d9fffe (#1294)
Co-authored-by: Azure Policy Bot <azgovpolicy@microsoft.com>
- Loading branch information
1 parent
4fdc615
commit 9a3984e
Showing
15 changed files
with
485 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
...nitions/Mobile Network/ConfigurePacketCoreDiagnosticAccessWithMicrosoftEntraID_Audit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"properties": { | ||
"displayName": "Packet Core Control Plane diagnostic access should only use Microsoft EntraID authentication type", | ||
"policyType": "BuiltIn", | ||
"mode": "Indexed", | ||
"description": "Authenticaton type must be Microsoft EntraID for packet core diagnostic access over local APIs", | ||
"metadata": { | ||
"category": "Mobile Network", | ||
"version": "1.0.0" | ||
}, | ||
"version": "1.0.0", | ||
"parameters": { | ||
"effect": { | ||
"type": "String", | ||
"metadata": { | ||
"displayName": "Effect", | ||
"description": "Enable or disable the execution of the policy" | ||
}, | ||
"allowedValues": [ | ||
"Audit", | ||
"Deny", | ||
"Disabled" | ||
], | ||
"defaultValue": "Audit" | ||
} | ||
}, | ||
"policyRule": { | ||
"if": { | ||
"allOf": [ | ||
{ | ||
"field": "type", | ||
"equals": "Microsoft.MobileNetwork/packetCoreControlPlanes" | ||
}, | ||
{ | ||
"field": "Microsoft.MobileNetwork/packetCoreControlPlanes/localDiagnosticsAccess.authenticationType", | ||
"notEquals": "AAD" | ||
} | ||
] | ||
}, | ||
"then": { | ||
"effect": "[parameters('effect')]" | ||
} | ||
}, | ||
"versions": [ | ||
"1.0.0" | ||
] | ||
}, | ||
"id": "/providers/Microsoft.Authorization/policyDefinitions/aec63c84-f9ea-46c7-9e66-ba567bae0f09", | ||
"name": "aec63c84-f9ea-46c7-9e66-ba567bae0f09" | ||
} |
63 changes: 63 additions & 0 deletions
63
...itions/Mobile Network/ConfigurePacketCoreDiagnosticAccessWithMicrosoftEntraID_Modify.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"properties": { | ||
"displayName": "Configure Packet Core Control Plane diagnostic access to use authentication type Microsoft EntraID", | ||
"policyType": "BuiltIn", | ||
"mode": "Indexed", | ||
"description": "Authenticaton type must be Microsoft EntraID for packet core diagnostic access over local APIs", | ||
"metadata": { | ||
"category": "Mobile Network", | ||
"version": "1.0.0" | ||
}, | ||
"version": "1.0.0", | ||
"parameters": { | ||
"effect": { | ||
"type": "String", | ||
"metadata": { | ||
"displayName": "Effect", | ||
"description": "Enable or disable the execution of the policy" | ||
}, | ||
"allowedValues": [ | ||
"Modify", | ||
"Disabled" | ||
], | ||
"defaultValue": "Modify" | ||
} | ||
}, | ||
"policyRule": { | ||
"if": { | ||
"allOf": [ | ||
{ | ||
"field": "type", | ||
"equals": "Microsoft.MobileNetwork/packetCoreControlPlanes" | ||
}, | ||
{ | ||
"field": "Microsoft.MobileNetwork/packetCoreControlPlanes/localDiagnosticsAccess.authenticationType", | ||
"notEquals": "AAD" | ||
} | ||
] | ||
}, | ||
"then": { | ||
"effect": "[parameters('effect')]", | ||
"details": { | ||
"roleDefinitionIds": [ | ||
"/providers/microsoft.authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c" | ||
], | ||
"conflictEffect": "audit", | ||
"operations": [ | ||
{ | ||
"condition": "[greaterOrEquals(requestContext().apiVersion, '2022-11-01')]", | ||
"operation": "addOrReplace", | ||
"field": "Microsoft.MobileNetwork/packetCoreControlPlanes/localDiagnosticsAccess.authenticationType", | ||
"value": "AAD" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"versions": [ | ||
"1.0.0" | ||
] | ||
}, | ||
"id": "/providers/Microsoft.Authorization/policyDefinitions/7508b186-60e2-4518-bf70-3d7fbaba1f3a", | ||
"name": "7508b186-60e2-4518-bf70-3d7fbaba1f3a" | ||
} |
50 changes: 50 additions & 0 deletions
50
built-in-policies/policyDefinitions/Mobile Network/ConfigureSIMGroupwithCMK_Audit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"properties": { | ||
"displayName": "SIM Group should use customer-managed keys to encrypt data at rest", | ||
"policyType": "BuiltIn", | ||
"mode": "Indexed", | ||
"description": "Use customer-managed keys to manage the encryption at rest of SIM secrets in a SIM Group. Customer-managed keys are commonly required to meet regulatory compliance standards and they enable the data to be encrypted with an Azure Key Vault key created and owned by you. You have full control and responsibility for the key lifecycle, including rotation and management.", | ||
"metadata": { | ||
"category": "Mobile Network", | ||
"version": "1.0.0" | ||
}, | ||
"version": "1.0.0", | ||
"parameters": { | ||
"effect": { | ||
"type": "String", | ||
"metadata": { | ||
"displayName": "Effect", | ||
"description": "Enable or disable the execution of the policy" | ||
}, | ||
"allowedValues": [ | ||
"Audit", | ||
"Deny", | ||
"Disabled" | ||
], | ||
"defaultValue": "Audit" | ||
} | ||
}, | ||
"policyRule": { | ||
"if": { | ||
"allOf": [ | ||
{ | ||
"field": "type", | ||
"equals": "Microsoft.MobileNetwork/simGroups" | ||
}, | ||
{ | ||
"value": "[length(field('Microsoft.MobileNetwork/simGroups/encryptionKey.keyUrl'))]", | ||
"equals": "0" | ||
} | ||
] | ||
}, | ||
"then": { | ||
"effect": "[parameters('effect')]" | ||
} | ||
}, | ||
"versions": [ | ||
"1.0.0" | ||
] | ||
}, | ||
"id": "/providers/Microsoft.Authorization/policyDefinitions/45c4e9bd-ad6b-4634-9566-c2dad2f03cbf", | ||
"name": "45c4e9bd-ad6b-4634-9566-c2dad2f03cbf" | ||
} |
65 changes: 65 additions & 0 deletions
65
built-in-policies/policyDefinitions/Stack HCI/DataAtRestEncryptedAtCluster_Audit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"properties": { | ||
"displayName": "[Preview]: Azure Stack HCI systems should have encrypted volumes", | ||
"policyType": "BuiltIn", | ||
"mode": "Indexed", | ||
"description": "Use BitLocker to encrypt the OS and data volumes on Azure Stack HCI systems.", | ||
"metadata": { | ||
"version": "1.0.0-preview", | ||
"category": "Stack HCI", | ||
"preview": true | ||
}, | ||
"version": "1.0.0-preview", | ||
"parameters": { | ||
"effect": { | ||
"type": "String", | ||
"defaultValue": "AuditIfNotExists", | ||
"allowedValues": [ | ||
"Audit", | ||
"Disabled", | ||
"AuditIfNotExists" | ||
], | ||
"metadata": { | ||
"displayName": "Effect", | ||
"description": "Enable or disable the execution of the policy" | ||
} | ||
} | ||
}, | ||
"policyRule": { | ||
"if": { | ||
"allOf": [ | ||
{ | ||
"field": "type", | ||
"equals": "Microsoft.AzureStackHCI/clusters" | ||
}, | ||
{ | ||
"field": "Microsoft.AzureStackHCI/clusters/reportedProperties.clusterVersion", | ||
"greater": "10.0.20350" | ||
} | ||
] | ||
}, | ||
"then": { | ||
"effect": "[parameters('effect')]", | ||
"details": { | ||
"type": "Microsoft.AzureStackHCI/clusters/securitySettings", | ||
"existenceCondition": { | ||
"allOf": [ | ||
{ | ||
"field": "Microsoft.AzureStackHCI/clusters/securitySettings/securityComplianceStatus.dataAtRestEncrypted", | ||
"in": [ | ||
"Compliant", | ||
"Pending" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"versions": [ | ||
"1.0.0-PREVIEW" | ||
] | ||
}, | ||
"id": "/providers/Microsoft.Authorization/policyDefinitions/ee8ca833-1583-4d24-837e-96c2af9488a4", | ||
"name": "ee8ca833-1583-4d24-837e-96c2af9488a4" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.