Skip to main content

🧠 Oracle Storage Bucket is not encrypted with a customer managed key - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-05-02T12:07:18.492420440Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 199βœ”οΈ extract('CA10O1__kmsKeyOcid__c').isNotEmpty()βœ”οΈ null
🟒test2βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null
🟒test3βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/oracle/bucket/bucket-cmk-encryption/policy.yaml56BDF83254BE4FCCC9F269CA4EE64DB4
Open/ce/ca/oracle/bucket/bucket-cmk-encryption/prod.logic.yamlCEC7E8E2368C356E718224FC9E02D460
Open/ce/ca/oracle/bucket/bucket-cmk-encryption/test-data.json2E2C9084FB42FFD6368644B67486DA11
Open/types/CA10O1__CaOracleStorageBucket__c/object.extracts.yaml4A2A185CC5E21E043DA4F3BC71A4FDDA

Available Commands​

repo-manager policies generate FULL /ce/ca/oracle/bucket/bucket-cmk-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/oracle/bucket/bucket-cmk-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/oracle/bucket/bucket-cmk-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/oracle/bucket/bucket-cmk-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/oracle/bucket/bucket-cmk-encryption/prod.logic.yaml

Content​

Open File

---
inputType: "CA10O1__CaOracleStorageBucket__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10O1__CaOracleStorageBucket__c/object.extracts.yaml"
conditions:
- status: "COMPLIANT"
currentStateMessage: "The bucket is encrypted with a customer managed key."
check:
NOT_EMPTY:
arg:
EXTRACT: "CA10O1__kmsKeyOcid__c"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The bucket is not encrypted with a customer managed key."
remediationMessage: "Configure the bucket to use a customer managed key from OCI Vault."