π§ Azure Application Gateway minimum TLS version is below 1.3 - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/azure/application-gateway/gateway-tls-1-3/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π Azure Application Gateway
- π Azure Application Gateway - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-11-14T12:03:20.381114528Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | tls13-0 | βοΈ 199 | βοΈ extract('CA10__sslPolicyMinProtocolVersion__c') == 'TLSv1_3' | βοΈ null |
| π’ | tls13-1 | βοΈ 299 | βοΈ setOfText(['TLSv1_0', 'TLSv1_1', 'TLSv1_2']).contains(extract('CA10__sslPolicyMinProtocolVersion__c')) | βοΈ null |
| π’ | tls13-2 | βοΈ 299 | βοΈ setOfText(['TLSv1_0', 'TLSv1_1', 'TLSv1_2']).contains(extract('CA10__sslPolicyMinProtocolVersion__c')) | βοΈ null |
| π’ | tls13-3 | βοΈ 299 | βοΈ setOfText(['TLSv1_0', 'TLSv1_1', 'TLSv1_2']).contains(extract('CA10__sslPolicyMinProtocolVersion__c')) | βοΈ null |
| π’ | tls13-4 | βοΈ 300 | βοΈ otherwise | βοΈ null |
| π’ | tls13-5 | βοΈ 300 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/azure/application-gateway/gateway-tls-1-3/policy.yaml | 8EB0BCA364EBD7D8212EBE10BFDDFB3F |
| Open | /ce/ca/azure/application-gateway/gateway-tls-1-3/prod.logic.yaml | 01A660F9648C90CF33A4AE90A9978E4B |
| Open | /ce/ca/azure/application-gateway/gateway-tls-1-3/test-data.json | 49FE374E020E8CA9DE16DF814966B4EC |
| Open | /types/CA10__CaAzureApplicationGateway__c/object.extracts.yaml | 0D83E678F320459334C801870D84974C |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/azure/application-gateway/gateway-tls-1-3/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/application-gateway/gateway-tls-1-3/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/application-gateway/gateway-tls-1-3/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/application-gateway/gateway-tls-1-3/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/application-gateway/gateway-tls-1-3/prod.logic.yaml
Contentβ
---
inputType: CA10__CaAzureApplicationGateway__c
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAzureApplicationGateway__c/object.extracts.yaml
conditions:
- status: COMPLIANT
currentStateMessage: The gateway-level minimum TLS version is 1.3.
check:
IS_EQUAL:
left:
EXTRACT: CA10__sslPolicyMinProtocolVersion__c
right:
TEXT: TLSv1_3
- status: INCOMPLIANT
currentStateMessage: The gateway-level minimum TLS version is below 1.3.
remediationMessage: Set the gateway and listener-specific SSL policies to TLS 1.3.
check:
CONTAINS:
arg:
SET:
itemType: TEXT
items:
- TLSv1_0
- TLSv1_1
- TLSv1_2
search:
EXTRACT: CA10__sslPolicyMinProtocolVersion__c
otherwise:
status: UNDETERMINED
currentStateMessage: The gateway-level minimum TLS version is unavailable or unexpected.