π§ Azure Application Gateway HTTP2 protocol is not enabled - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/azure/application-gateway/gateway-http2-protocol/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: 2025-12-17T01:31:02.208173522Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | 001 | βοΈ 199 | βοΈ extract('CA10__enableHttp2__c') == true | βοΈ null |
| π’ | 002 | βοΈ 200 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/azure/application-gateway/gateway-http2-protocol/policy.yaml | 4C93F9085B573FCDDEBA304A836F8978 |
| Open | /ce/ca/azure/application-gateway/gateway-http2-protocol/prod.logic.yaml | 229B06161F400B0365E0E9FF5408215C |
| Open | /ce/ca/azure/application-gateway/gateway-http2-protocol/test-data.json | 7B9319CFE58A2BBD2B7595B248729644 |
| Open | /types/CA10__CaAzureApplicationGateway__c/object.extracts.yaml | 0D83E678F320459334C801870D84974C |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/azure/application-gateway/gateway-http2-protocol/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/application-gateway/gateway-http2-protocol/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/application-gateway/gateway-http2-protocol/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/application-gateway/gateway-http2-protocol/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/application-gateway/gateway-http2-protocol/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 HTTP2 protocol is enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__enableHttp2__c"
right:
BOOLEAN: true
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The HTTP2 protocol is not enabled."
remediationMessage: "Consider enabling the HTTP2 protocol."