Skip to main content

🧠 Azure Storage Account is not configured to use geo-redundant storage - prod.logic.yaml🟢

Uses

Test Results 🟢

Generated at: 2026-05-02T12:05:16.899287573Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟢111✔️ 200✔️ otherwise✔️ null
🟢222✔️ 199✔️ extract('CA10__skuName__c').endsWith('GRS') || extract('CA10__skuName__c').endsWith('GZRS')✔️ null
🟢333✔️ 200✔️ otherwise✔️ null
🟢444✔️ 199✔️ extract('CA10__skuName__c').endsWith('GRS') || extract('CA10__skuName__c').endsWith('GZRS')✔️ null

Generation Bundle

FileMD5
Open/ce/ca/azure/storage/geo-redundant-storage/policy.yaml6FADCCD32214FFDBB1214D3C4B7DCC48
Open/ce/ca/azure/storage/geo-redundant-storage/prod.logic.yaml445825EB60C90A227DBDA556E8414EA3
Open/ce/ca/azure/storage/geo-redundant-storage/test-data.json86496C35235640FA4E2EA332FB5223D7
Open/types/CA10__CaAzureStorageAccount__c/object.extracts.yaml2FD9F962F192FC3E335D23D11315B8F9

Available Commands

repo-manager policies generate FULL /ce/ca/azure/storage/geo-redundant-storage/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/storage/geo-redundant-storage/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/storage/geo-redundant-storage/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/storage/geo-redundant-storage/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/storage/geo-redundant-storage/prod.logic.yaml

Content

Open File

---
inputType: "CA10__CaAzureStorageAccount__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAzureStorageAccount__c/object.extracts.yaml
conditions:
- status: "COMPLIANT"
currentStateMessage: "The storage account is configured to use geo-redundant storage."
check:
OR:
args:
- ENDS_WITH:
arg:
EXTRACT: "CA10__skuName__c"
search:
TEXT: "GRS"
- ENDS_WITH:
arg:
EXTRACT: "CA10__skuName__c"
search:
TEXT: "GZRS"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The storage account is not configured to use geo-redundant storage."
remediationMessage: "Change redundancy to GRS, RA-GRS, GZRS, or RA-GZRS."