🧠 Azure Storage Account Access Key Rotation Reminders are not enabled - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/azure/storage/access-key-rotation-reminders/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2025-12-17T01:31:12.591388616Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | 001 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | 002 | ✔️ 199 | ✔️ extract('CA10__keyExpirationPeriodDays__c').isEmpty() | ✔️ null |
| 🟢 | 003 | ✔️ 299 | ✔️ extract('CA10__keyExpirationPeriodDays__c') > number(90.0) | ✔️ null |
| 🟢 | 004 | ✔️ 300 | ✔️ otherwise | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/azure/storage/access-key-rotation-reminders/policy.yaml | EA513B870E9A7A224326501B73908987 |
| Open | /ce/ca/azure/storage/access-key-rotation-reminders/prod.logic.yaml | FAB83C6AC2A4EDDD05B233EDF9E66BAF |
| Open | /ce/ca/azure/storage/access-key-rotation-reminders/test-data.json | EBFD18EF2D1503A72FCEF7C1CD0D6980 |
| Open | /types/CA10__CaAzureStorageAccount__c/object.extracts.yaml | 2FD9F962F192FC3E335D23D11315B8F9 |
Available Commands
repo-manager policies generate FULL /ce/ca/azure/storage/access-key-rotation-reminders/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/storage/access-key-rotation-reminders/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/storage/access-key-rotation-reminders/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/storage/access-key-rotation-reminders/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/storage/access-key-rotation-reminders/prod.logic.yaml
Content
---
inputType: "CA10__CaAzureStorageAccount__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAzureStorageAccount__c/object.extracts.yaml
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "Key rotation reminders are not configured."
remediationMessage: "Configure the Key rotation reminders."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10__keyExpirationPeriodDays__c"
- status: "INCOMPLIANT"
currentStateMessage: "Key rotation reminders are set for more than 90 days."
remediationMessage: "Configure Key rotation reminders for 90 days."
check:
GREATER_THAN:
left:
EXTRACT: "CA10__keyExpirationPeriodDays__c"
right:
NUMBER: 90.0
otherwise:
status: "COMPLIANT"
currentStateMessage: "Key rotation reminders are configured."