Skip to content

Commit be39b38

Browse files
authored
Add TLS Termination support for FirewallPolicy (#9314)
* Add TLS Termination support for FirewallPolicy * firewallPolicy: certificatesAuthority -> certificateAuthority
1 parent 9a46cba commit be39b38

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/firewallPolicy.json

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,10 @@
566566
"type": "string",
567567
"readOnly": true,
568568
"description": "A unique read-only string that changes whenever the resource is updated."
569+
},
570+
"identity": {
571+
"$ref": "./network.json#/definitions/ManagedServiceIdentity",
572+
"description": "The identity of the firewall policy."
569573
}
570574
},
571575
"allOf": [
@@ -622,10 +626,84 @@
622626
"intrusionSystemMode": {
623627
"description": "The operation mode for Intrusion system.",
624628
"$ref": "#/definitions/FirewallPolicyIntrusionSystemMode"
629+
},
630+
"transportSecurity": {
631+
"description": "TLS Configuration definition.",
632+
"$ref": "#/definitions/FirewallPolicyTransportSecurity"
625633
}
626634
},
627635
"description": "Firewall Policy definition."
628636
},
637+
"FirewallPolicyTransportSecurity": {
638+
"properties": {
639+
"certificateAuthority": {
640+
"$ref": "#/definitions/FirewallPolicyCertificateAuthority",
641+
"description": "The CA used for intermediate CA generation."
642+
},
643+
"excludedDomains": {
644+
"type": "array",
645+
"items": {
646+
"type": "string"
647+
},
648+
"description": "List of domains which are excluded from TLS termination."
649+
},
650+
"trustedRootCertificates": {
651+
"type": "array",
652+
"items": {
653+
"$ref": "#/definitions/FirewallPolicyTrustedRootCertificate",
654+
"description": "A list of certificates which are to be trusted by the firewall."
655+
},
656+
"description": "Certificates which are to be trusted by the firewall."
657+
}
658+
},
659+
"description": "Configuration needed to perform TLS termination & initiation."
660+
},
661+
"FirewallPolicyTrustedRootCertificate": {
662+
"properties": {
663+
"properties": {
664+
"x-ms-client-flatten": true,
665+
"$ref": "#/definitions/FirewallPolicyTrustedRootCertificatePropertiesFormat",
666+
"description": "Properties of the trusted root authorities."
667+
},
668+
"name": {
669+
"type": "string",
670+
"description": "Name of the trusted root certificate that is unique within a firewall policy."
671+
}
672+
},
673+
"description": "Trusted Root certificates of a firewall policy."
674+
},
675+
"FirewallPolicyTrustedRootCertificatePropertiesFormat": {
676+
"properties": {
677+
"keyVaultSecretId": {
678+
"type": "string",
679+
"description": "Secret Id of (base-64 encoded unencrypted pfx) the public certificate data stored in KeyVault."
680+
}
681+
},
682+
"description": "Trusted Root certificates properties for tls."
683+
},
684+
"FirewallPolicyCertificateAuthority": {
685+
"properties": {
686+
"properties": {
687+
"x-ms-client-flatten": true,
688+
"$ref": "#/definitions/FirewallPolicyCertificateAuthorityPropertiesFormat",
689+
"description": "Properties of the certificate authority."
690+
},
691+
"name": {
692+
"type": "string",
693+
"description": "Name of the CA certificate."
694+
}
695+
},
696+
"description": "Trusted Root certificates properties for tls."
697+
},
698+
"FirewallPolicyCertificateAuthorityPropertiesFormat": {
699+
"properties": {
700+
"keyVaultSecretId": {
701+
"type": "string",
702+
"description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault."
703+
}
704+
},
705+
"description": "Trusted Root certificates properties for tls."
706+
},
629707
"FirewallPolicyRuleGroup": {
630708
"properties": {
631709
"properties": {
@@ -823,6 +901,13 @@
823901
},
824902
"description": "Array of Application Protocols."
825903
},
904+
"targetUrls": {
905+
"type": "array",
906+
"description": "List of Urls for this rule condition.",
907+
"items": {
908+
"type": "string"
909+
}
910+
},
826911
"targetFqdns": {
827912
"type": "array",
828913
"description": "List of FQDNs for this rule condition.",
@@ -890,6 +975,10 @@
890975
"items": {
891976
"type": "string"
892977
}
978+
},
979+
"terminateTLS": {
980+
"type": "boolean",
981+
"description": "Terminate TLS connections for this rule."
893982
}
894983
}
895984
},

0 commit comments

Comments
 (0)