π§ Azure SQL Server Microsoft Entra authentication is not configured - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/azure/sql-database/server-microsoft-entra-authentication/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-10-10T12:03:49.860747609Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 101 | βοΈ CA10__activeDirectoryAdminType__c.delegatedTo(CA10__activeDirectoryAdminType__c).isEmpty() | βοΈ null |
| π’ | test3 | βοΈ 199 | βοΈ extract('CA10__activeDirectoryAdminType__c') == 'ActiveDirectory' | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/azure/sql-database/server-microsoft-entra-authentication/policy.yaml | E9B4E6ECE56D4156B766061B9B675F79 |
| Open | /ce/ca/azure/sql-database/server-microsoft-entra-authentication/prod.logic.yaml | D4BDD26EECBA33F52E331A0A3C6555EA |
| Open | /ce/ca/azure/sql-database/server-microsoft-entra-authentication/test-data.json | A2129674BD49492290B366803C570E4F |
| Open | /types/CA10__CaAzureSqlServer__c/object.extracts.yaml | C096245468858A9F41067AD8FA5D8D0E |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/azure/sql-database/server-microsoft-entra-authentication/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/sql-database/server-microsoft-entra-authentication/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/sql-database/server-microsoft-entra-authentication/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/sql-database/server-microsoft-entra-authentication/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/sql-database/server-microsoft-entra-authentication/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaAzureSqlServer__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAzureSqlServer__c/object.extracts.yaml"
conditions:
- status: "COMPLIANT"
currentStateMessage: "Microsoft Entra administrator is configured for this SQL server."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__activeDirectoryAdminType__c"
right:
TEXT: "ActiveDirectory"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "Microsoft Entra administrator is not configured for this SQL server."
remediationMessage: "Configure a Microsoft Entra administrator for SQL Server authentication."