Skip to main content

🧠 Azure Subscription Application Insights are not configured - prod.logic.yaml 🟠🟒

Flags​

Input Type​

TypeAPI NameExtractsExtract FilesLogic Files
πŸ”’πŸ“• Azure SubscriptionCA10__CaAzureAccount__c13131

Uses​

Test Results πŸŸ’β€‹

Generated at: 2025-04-24T23:46:13.120032315Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 199βœ”οΈ CA10__Azure_Application_Insights_Components__r.has(COMPLIANT)βœ”οΈ null
🟒test2βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null
🟒test3βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null

Generation​

FileMD5
Open/ce/ca/azure/subscription/application-insights-configured/policy.yaml0693EA0106DC79C22C2A68A20E8101E2
Open/ce/ca/azure/subscription/application-insights-configured/prod.logic.yaml33467AC5DC6B1ADEB06D39F5E467D580
Open/ce/ca/azure/subscription/application-insights-configured/test-data.json6E381629E6A21E199FF7653D126FAD16

Generate FULL script​

java -jar repo-manager.jar policies generate FULL /ce/ca/azure/subscription/application-insights-configured/prod.logic.yaml

Generate DEBUG script​

java -jar repo-manager.jar policies generate DEBUG /ce/ca/azure/subscription/application-insights-configured/prod.logic.yaml

Generate CAPTURE_TEST_DATA script​

java -jar repo-manager.jar policies generate CAPTURE_TEST_DATA /ce/ca/azure/subscription/application-insights-configured/prod.logic.yaml

Generate TESTS script​

java -jar repo-manager.jar policies generate TESTS /ce/ca/azure/subscription/application-insights-configured/prod.logic.yaml

Execute tests​

java -jar repo-manager.jar policies test /ce/ca/azure/subscription/application-insights-configured/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAzureAccount__c"
testData:
- file: "test-data.json"
conditions:
- status: "COMPLIANT"
currentStateMessage: "Application Insights are configured and successfully provisioned."
check:
RELATED_LIST_HAS:
relationshipName: "CA10__Azure_Application_Insights_Components__r"
status: "COMPLIANT"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "Application Insights are not configured."
relatedLists:
- relationshipName: "CA10__Azure_Application_Insights_Components__r"
conditions: []
otherwise:
status: "COMPLIANT"
currentStateMessage: "Application Insights are configured."