π§ Azure App Service is not registered with Microsoft Entra ID - prod.logic.yaml π’
- Contextual name: π§ prod.logic.yaml π’
- ID:
/ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/prod.logic.yaml
- Located in: π Azure App Service is not registered with Microsoft Entra ID π’
Flagsβ
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Input Typeβ
Type | API Name | Extracts | Extract Files | Logic Files | |
---|---|---|---|---|---|
π | π Azure App Service | CA10__CaAzureAppService__c | 9 | 1 | 7 |
Usesβ
Test Results π’β
Generated at: 2025-04-24T23:45:15.137183222Z Open
Result | Id | Condition Index | Condition Text | Runtime Error |
---|---|---|---|---|
π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
π’ | test2 | βοΈ 199 | βοΈ extract('CA10__identityPrincipalId__c').isEmpty() | βοΈ null |
π’ | test3 | βοΈ 200 | βοΈ otherwise | βοΈ null |
Generationβ
File | MD5 | |
---|---|---|
Open | /ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/policy.yaml | 4DE95CFAE996E810288F66012FBE33CB |
Open | /ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/prod.logic.yaml | 2D92FBD322EE3585D80093CA8CC5D8C9 |
Open | /ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/test-data.json | 64D549819F537B81A4E9137FF620D231 |
Open | /types/CA10__CaAzureAppService__c/object.extracts.yaml | BA4130C0EACD0EA4C609D6BD75139054 |
Generate FULL scriptβ
java -jar repo-manager.jar policies generate FULL /ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/prod.logic.yaml
Generate DEBUG scriptβ
java -jar repo-manager.jar policies generate DEBUG /ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/prod.logic.yaml
Generate CAPTURE_TEST_DATA scriptβ
java -jar repo-manager.jar policies generate CAPTURE_TEST_DATA /ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/prod.logic.yaml
Generate TESTS scriptβ
java -jar repo-manager.jar policies generate TESTS /ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/prod.logic.yaml
Execute testsβ
java -jar repo-manager.jar policies test /ce/ca/azure/app-service/app-service-registered-with-microsoft-entra-id/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaAzureAppService__c"
importExtracts:
- file: "/types/CA10__CaAzureAppService__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "App Service is not registered with Entra ID."
remediationMessage: "Consider registering App Service with Entra ID."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10__identityPrincipalId__c"
otherwise:
status: "COMPLIANT"
currentStateMessage: "App Service is registered with Entra ID."