Skip to main content

🧠 Azure Active Directory Device Should Have Breeze Agent Installed - prod.logic.yaml 🟒

Flags​

Input Type​

TypeAPI NameExtractsExtract FilesLogic Files
πŸ”’πŸ“• Azure Active Directory DeviceCA10Z1__CaAzureActiveDirectoryDevice__c111

Uses​

Test Results πŸŸ’β€‹

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

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10Z1__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('breezeLastUpdate').isEmpty()βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('breezeLastUpdate').beyondLastDays(1)βœ”οΈ null
🟒test4βœ”οΈ 300βœ”οΈ otherwiseβœ”οΈ null

Generation​

FileMD5
Open/ce/ca/breeze/coverage/azure-active-directory-device/policy.yaml33BF9C09725732D2E005C9BA337D6026
Open/ce/ca/breeze/coverage/azure-active-directory-device/prod.logic.yamlD9E857DD8682D517CBB6BF65AC5E627A
Open/ce/ca/breeze/coverage/test-data-ca10z1.json18CBEB77F58B4301E78898FEEB0BCCB0
Open/types/CA10Z1__CaAzureActiveDirectoryDevice__c/breeze.extracts.yaml211FE47E47B2E8DEB1767ECA18ED8C28

Generate FULL script​

java -jar repo-manager.jar policies generate FULL /ce/ca/breeze/coverage/azure-active-directory-device/prod.logic.yaml

Generate DEBUG script​

java -jar repo-manager.jar policies generate DEBUG /ce/ca/breeze/coverage/azure-active-directory-device/prod.logic.yaml

Generate CAPTURE_TEST_DATA script​

java -jar repo-manager.jar policies generate CAPTURE_TEST_DATA /ce/ca/breeze/coverage/azure-active-directory-device/prod.logic.yaml

Generate TESTS script​

java -jar repo-manager.jar policies generate TESTS /ce/ca/breeze/coverage/azure-active-directory-device/prod.logic.yaml

Execute tests​

java -jar repo-manager.jar policies test /ce/ca/breeze/coverage/azure-active-directory-device/prod.logic.yaml

Content​

Open File

---
inputType: CA10Z1__CaAzureActiveDirectoryDevice__c
importExtracts:
- file: /types/CA10Z1__CaAzureActiveDirectoryDevice__c/breeze.extracts.yaml
testData:
- file: ../test-data-ca10z1.json
conditions:
- status: INCOMPLIANT
currentStateMessage: Device never had breeze agent installed
remediationMessage: Install breeze agent on the device
check:
IS_EMPTY:
arg:
EXTRACT: breezeLastUpdate
- status: INCOMPLIANT
currentStateMessage: Device latest breeze report was more than a day ago
remediationMessage: Re-install breeze agent on the device and make sure it is reporting
check:
IS_BEYOND_LAST_DAYS:
offsetDays: 1
arg:
EXTRACT: breezeLastUpdate
otherwise:
status: COMPLIANT
currentStateMessage: Device has breeze agent installed and has a recent report