Gallery › Sovereignty › Azure built-in policies
[Preview]: Enforce Encryption-in-Transit across Azure Services - HTTPS
Converted Initiative Version 1.1.0-preview Preview
Help restrict and audit Azure Services to use HTTPS/SSL
ConvertTo-Bylaw converted this initiative, and proved that the file compiles back to the same definition.
Azure Policy JSONEnforceEncryptionInTransitHTTPS.json · 379 lines
{
"properties": {
"displayName": "[Preview]: Enforce Encryption-in-Transit across Azure Services - HTTPS",
"policyType": "BuiltIn",
"description": "Help restrict and audit Azure Services to use HTTPS/SSL",
"metadata": {
"version": "1.1.0-preview",
"category": "Sovereignty",
"preview": true,
"SovereigntyLevel": "Level 2 - Encryption at-rest/in-transit"
},
"version": "1.1.0-preview",
"parameters": {
"effect_deny": {
"type": "String",
"metadata": {
"displayName": "Effect-Deny",
"description": "This effect applies to policies that support Deny or Audit effect."
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Deny"
},
"effect_modify": {
"type": "String",
"defaultValue": "Modify",
"allowedValues": [
"Modify",
"Disabled"
],
"metadata": {
"displayName": "Effect-Modify",
"description": "This effect applies to policies that support Modify effect."
}
},
"effect_auditIfNotExists": {
"type": "String",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect-AuditIfNotExists",
"description": "This effect applies to policies that support AuditIfNotExists effect."
}
},
"effect_audit": {
"type": "String",
"defaultValue": "Audit",
"allowedValues": [
"Audit",
"Disabled"
],
"metadata": {
"displayName": "Effect-Audit",
"description": "This effect applies to policies that support Audit effect."
}
},
"1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_source": {
"type": "String",
"metadata": {
"displayName": "Source",
"description": "The source k8s object for constraint evaluation. 'Original' means only evaluate against the specific GroupVersionKind specified in the policy definition. 'Generated' means only evaluate against k8s objects generated by Gatekeeper ExpansionTemplates. 'All' means evaluate against both the original object and any generated ones."
},
"defaultValue": "Original",
"allowedValues": [
"All",
"Generated",
"Original"
]
},
"1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_warn": {
"type": "Boolean",
"metadata": {
"displayName": "Warn",
"description": "Whether or not to return warnings back to the user in the kubectl cli"
},
"defaultValue": false
},
"1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_excludedNamespaces": {
"type": "Array",
"metadata": {
"displayName": "Namespace exclusions",
"description": "List of Kubernetes namespaces to exclude from policy evaluation. System namespaces \"kube-system\", \"gatekeeper-system\" and \"azure-arc\" are always excluded by design. \"azure-extensions-usage-system\" is optional to remove."
},
"defaultValue": [
"kube-system",
"gatekeeper-system",
"azure-arc",
"azure-extensions-usage-system"
]
},
"1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_namespaces": {
"type": "Array",
"metadata": {
"displayName": "Namespace inclusions",
"description": "List of Kubernetes namespaces to only include in policy evaluation. An empty list means the policy is applied to all resources in all namespaces."
},
"defaultValue": []
},
"1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_labelSelector": {
"type": "Object",
"metadata": {
"displayName": "Kubernetes label selector",
"description": "Label query to select Kubernetes resources for policy evaluation. An empty label selector matches all Kubernetes resources."
},
"defaultValue": {},
"schema": {
"description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all resources.",
"type": "object",
"properties": {
"matchLabels": {
"description": "matchLabels is a map of {key,value} pairs.",
"type": "object",
"additionalProperties": {
"type": "string"
},
"minProperties": 1
},
"matchExpressions": {
"description": "matchExpressions is a list of values, a key, and an operator.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "operator represents a key's relationship to a set of values.",
"type": "string",
"enum": [
"In",
"NotIn",
"Exists",
"DoesNotExist"
]
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"key",
"operator"
],
"additionalProperties": false
},
"minItems": 1
}
},
"additionalProperties": false
}
}
},
"policyDefinitions": [
{
"policyDefinitionReferenceId": "secureTransferInStorageAccounts",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/404c3081-a854-4457-ae30-26a93ef643f9",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "secureTransferInStorageAccountsModify",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f81e3117-0093-4b17-8a60-82363134f0eb",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_modify')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnAppServiceApps",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a4af4a39-4135-47fb-b175-47fbdf85311d",
"definitionVersion": "4.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnAppServiceAppsModify",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0f98368e-36bc-4716-8ac2-8f8067203b63",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_modify')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnAppServiceSlots",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ae1b9a8c-dfce-4605-bd91-69213b4a26fc",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnAppServiceSlotsModify",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a18c77f2-3d6d-497a-9f61-849a7e8a3b79",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_modify')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnFunctionApp",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/6d555dd1-86f2-4f1c-8ed7-5abae7c6cbab",
"definitionVersion": "5.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnFunctionAppModify",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a096cbd0-4693-432f-9374-682f485f23f3",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_modify')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnFunctionAppSlots",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/5e5dbe3f-2702-4ffc-8b1e-0cae008a5c71",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnFunctionAppSlotsModify",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/08cf2974-d178-48a0-b26d-f6b8e555748b",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_modify')]"
}
}
},
{
"policyDefinitionReferenceId": "sslOnPostgreSQLFlexibleServers",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/c29c38cb-74a7-4505-9a06-e588ab86620a",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_auditIfNotExists')]"
}
}
},
{
"policyDefinitionReferenceId": "sslPortOnRedisCache",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22bee202-a82f-4305-9a2a-6d7f44d4dedb",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "disableNonSSLOnRedisCacheModify",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/766f5de3-c6c0-4327-9f4d-042ab8ae846c",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_modify')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnContainerApps",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0e80e269-43a4-4ae9-b5bc-178126b8a5cb",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "httpsOnlyOnKubernetesIngress",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d",
"definitionVersion": "8.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
},
"source": {
"value": "[parameters('1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_source')]"
},
"warn": {
"value": "[parameters('1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_warn')]"
},
"excludedNamespaces": {
"value": "[parameters('1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_excludedNamespaces')]"
},
"namespaces": {
"value": "[parameters('1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_namespaces')]"
},
"labelSelector": {
"value": "[parameters('1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_labelSelector')]"
}
}
},
{
"policyDefinitionReferenceId": "validHTTPSEndpointOnBotService",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/6164527b-e1ee-4882-8673-572f425f5e0a",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "validHTTPSForAPIManagement",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ee7495e7-3ba7-40b6-bfee-c29e22cc75d4",
"definitionVersion": "2.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_deny')]"
}
}
},
{
"policyDefinitionReferenceId": "sslOnPostgreSQLServers",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/d158790f-bfb0-486c-8631-2dc6b4e8e6af",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_audit')]"
}
}
},
{
"policyDefinitionReferenceId": "sslOnMySQLServers",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e802a67a-daf5-4436-9ea6-f6d821dd0c5d",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect_audit')]"
}
}
}
],
"versions": [
"1.1.0-PREVIEW",
"1.0.0-PREVIEW"
]
},
"id": "/providers/Microsoft.Authorization/policySetDefinitions/c7c0ab87-63da-4706-ba95-ff564e38402b",
"name": "c7c0ab87-63da-4706-ba95-ff564e38402b"
}Bylawc7c0ab87-63da-4706-ba95-ff564e38402b.bylaw.ps1 · 288 lines
# Converted from EnforceEncryptionInTransitHTTPS.json by ConvertTo-Bylaw.
Initiative 'c7c0ab87-63da-4706-ba95-ff564e38402b' {
Properties @{
DisplayName = '[Preview]: Enforce Encryption-in-Transit across Azure Services - HTTPS'
Description = 'Help restrict and audit Azure Services to use HTTPS/SSL'
Version = '1.1.0-preview'
Category = 'Sovereignty'
Preview = $true
PolicyVersion = '1.1.0-preview'
Metadata = [ordered]@{ SovereigntyLevel = 'Level 2 - Encryption at-rest/in-transit' }
}
Parameter Effect_deny @{
AllowedValues = @('Audit', 'Deny', 'Disabled')
Default = 'Deny'
DisplayName = 'Effect-Deny'
Description = 'This effect applies to policies that support Deny or Audit effect.'
}
Parameter Effect_modify @{
AllowedValues = @('Modify', 'Disabled')
Default = 'Modify'
DisplayName = 'Effect-Modify'
Description = 'This effect applies to policies that support Modify effect.'
}
Parameter Effect_auditIfNotExists @{
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect-AuditIfNotExists'
Description = 'This effect applies to policies that support AuditIfNotExists effect.'
}
Parameter Effect_audit @{
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect-Audit'
Description = 'This effect applies to policies that support Audit effect.'
}
Parameter P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_source @{
AllowedValues = @('All', 'Generated', 'Original')
Default = 'Original'
DisplayName = 'Source'
Description = 'The source k8s object for constraint evaluation. ''Original'' means only evaluate against the specific GroupVersionKind specified in the policy definition. ''Generated'' means only evaluate against k8s objects generated by Gatekeeper ExpansionTemplates. ''All'' means evaluate against both the original object and any generated ones.'
JsonName = '1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_source'
}
Parameter P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_warn @{
Type = 'Boolean'
Default = $false
DisplayName = 'Warn'
Description = 'Whether or not to return warnings back to the user in the kubectl cli'
JsonName = '1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_warn'
}
Parameter P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_excludedNamespaces @{
Type = 'Array'
Default = @('kube-system', 'gatekeeper-system', 'azure-arc', 'azure-extensions-usage-system')
DisplayName = 'Namespace exclusions'
Description = 'List of Kubernetes namespaces to exclude from policy evaluation. System namespaces "kube-system", "gatekeeper-system" and "azure-arc" are always excluded by design. "azure-extensions-usage-system" is optional to remove.'
JsonName = '1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_excludedNamespaces'
}
Parameter P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_namespaces @{
Type = 'Array'
Default = @()
DisplayName = 'Namespace inclusions'
Description = 'List of Kubernetes namespaces to only include in policy evaluation. An empty list means the policy is applied to all resources in all namespaces.'
JsonName = '1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_namespaces'
}
Parameter P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_labelSelector @{
Type = 'Object'
Default = [ordered]@{ }
DisplayName = 'Kubernetes label selector'
Description = 'Label query to select Kubernetes resources for policy evaluation. An empty label selector matches all Kubernetes resources.'
JsonName = '1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d_labelSelector'
Schema = [ordered]@{
description = 'A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all resources.'
type = 'object'
properties = [ordered]@{
matchLabels = [ordered]@{
description = 'matchLabels is a map of {key,value} pairs.'
type = 'object'
additionalProperties = [ordered]@{ type = 'string' }
minProperties = 1
}
matchExpressions = [ordered]@{
description = 'matchExpressions is a list of values, a key, and an operator.'
type = 'array'
items = [ordered]@{
type = 'object'
properties = [ordered]@{
key = [ordered]@{
description = 'key is the label key that the selector applies to.'
type = 'string'
}
operator = [ordered]@{
description = 'operator represents a key''s relationship to a set of values.'
type = 'string'
enum = @('In', 'NotIn', 'Exists', 'DoesNotExist')
}
values = [ordered]@{
description = 'values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.'
type = 'array'
items = [ordered]@{ type = 'string' }
}
}
required = @('key', 'operator')
additionalProperties = $false
}
minItems = 1
}
}
additionalProperties = $false
}
}
PolicyDefinition @{
Id = '404c3081-a854-4457-ae30-26a93ef643f9'
ReferenceId = 'secureTransferInStorageAccounts'
Version = '2.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = 'f81e3117-0093-4b17-8a60-82363134f0eb'
ReferenceId = 'secureTransferInStorageAccountsModify'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect_modify)
}
}
PolicyDefinition @{
Id = 'a4af4a39-4135-47fb-b175-47fbdf85311d'
ReferenceId = 'httpsOnlyOnAppServiceApps'
Version = '4.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = '0f98368e-36bc-4716-8ac2-8f8067203b63'
ReferenceId = 'httpsOnlyOnAppServiceAppsModify'
Version = '2.*.*'
Parameters = @{
effect = (Param Effect_modify)
}
}
PolicyDefinition @{
Id = 'ae1b9a8c-dfce-4605-bd91-69213b4a26fc'
ReferenceId = 'httpsOnlyOnAppServiceSlots'
Version = '2.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = 'a18c77f2-3d6d-497a-9f61-849a7e8a3b79'
ReferenceId = 'httpsOnlyOnAppServiceSlotsModify'
Version = '2.*.*'
Parameters = @{
effect = (Param Effect_modify)
}
}
PolicyDefinition @{
Id = '6d555dd1-86f2-4f1c-8ed7-5abae7c6cbab'
ReferenceId = 'httpsOnlyOnFunctionApp'
Version = '5.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = 'a096cbd0-4693-432f-9374-682f485f23f3'
ReferenceId = 'httpsOnlyOnFunctionAppModify'
Version = '2.*.*'
Parameters = @{
effect = (Param Effect_modify)
}
}
PolicyDefinition @{
Id = '5e5dbe3f-2702-4ffc-8b1e-0cae008a5c71'
ReferenceId = 'httpsOnlyOnFunctionAppSlots'
Version = '2.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = '08cf2974-d178-48a0-b26d-f6b8e555748b'
ReferenceId = 'httpsOnlyOnFunctionAppSlotsModify'
Version = '2.*.*'
Parameters = @{
effect = (Param Effect_modify)
}
}
PolicyDefinition @{
Id = 'c29c38cb-74a7-4505-9a06-e588ab86620a'
ReferenceId = 'sslOnPostgreSQLFlexibleServers'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect_auditIfNotExists)
}
}
PolicyDefinition @{
Id = '22bee202-a82f-4305-9a2a-6d7f44d4dedb'
ReferenceId = 'sslPortOnRedisCache'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = '766f5de3-c6c0-4327-9f4d-042ab8ae846c'
ReferenceId = 'disableNonSSLOnRedisCacheModify'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect_modify)
}
}
PolicyDefinition @{
Id = '0e80e269-43a4-4ae9-b5bc-178126b8a5cb'
ReferenceId = 'httpsOnContainerApps'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = '1a5b4dca-0b6f-4cf5-907c-56316bc1bf3d'
ReferenceId = 'httpsOnlyOnKubernetesIngress'
Version = '8.*.*'
Parameters = [ordered]@{
effect = (Param Effect_deny)
source = (Param P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_source)
warn = (Param P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_warn)
excludedNamespaces = (Param P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_excludedNamespaces)
namespaces = (Param P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_namespaces)
labelSelector = (Param P1a5b4dca_0b6f_4cf5_907c_56316bc1bf3d_labelSelector)
}
}
PolicyDefinition @{
Id = '6164527b-e1ee-4882-8673-572f425f5e0a'
ReferenceId = 'validHTTPSEndpointOnBotService'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = 'ee7495e7-3ba7-40b6-bfee-c29e22cc75d4'
ReferenceId = 'validHTTPSForAPIManagement'
Version = '2.*.*'
Parameters = @{
effect = (Param Effect_deny)
}
}
PolicyDefinition @{
Id = 'd158790f-bfb0-486c-8631-2dc6b4e8e6af'
ReferenceId = 'sslOnPostgreSQLServers'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect_audit)
}
}
PolicyDefinition @{
Id = 'e802a67a-daf5-4436-9ea6-f6d821dd0c5d'
ReferenceId = 'sslOnMySQLServers'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect_audit)
}
}
}Members (19)
- Secure transfer to storage accounts should be enabled
- Configure secure transfer of data on a storage account
- App Service apps should only be accessible over HTTPS
- Configure App Service apps to only be accessible over HTTPS
- App Service app slots should only be accessible over HTTPS
- Configure App Service app slots to only be accessible over HTTPS
- Function apps should only be accessible over HTTPS
- Configure Function apps to only be accessible over HTTPS
- Function app slots should only be accessible over HTTPS
- Configure Function app slots to only be accessible over HTTPS
- Enforce SSL connection should be enabled for PostgreSQL flexible servers
- Only secure connections to your Azure Cache for Redis should be enabled
- Configure Azure Cache for Redis to disable non SSL ports
- Container Apps should only be accessible over HTTPS
- Kubernetes clusters should be accessible only over HTTPS
- Bot Service endpoint should be a valid HTTPS URI
- API Management APIs should use only encrypted protocols
- Enforce SSL connection should be enabled for PostgreSQL database servers
- Enforce SSL connection should be enabled for MySQL database servers
Source: built-in-policies/policySetDefinitions/Sovereignty/EnforceEncryptionInTransitHTTPS.json in Azure/azure-policy, under the MIT licence.
Bylaw