π§ Oracle Storage Bucket is not encrypted with a customer managed key - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/oracle/bucket/bucket-cmk-encryption/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-05-02T12:07:18.492420440Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 199 | βοΈ extract('CA10O1__kmsKeyOcid__c').isNotEmpty() | βοΈ null |
| π’ | test2 | βοΈ 200 | βοΈ otherwise | βοΈ null |
| π’ | test3 | βοΈ 200 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/oracle/bucket/bucket-cmk-encryption/policy.yaml | 56BDF83254BE4FCCC9F269CA4EE64DB4 |
| Open | /ce/ca/oracle/bucket/bucket-cmk-encryption/prod.logic.yaml | CEC7E8E2368C356E718224FC9E02D460 |
| Open | /ce/ca/oracle/bucket/bucket-cmk-encryption/test-data.json | 2E2C9084FB42FFD6368644B67486DA11 |
| Open | /types/CA10O1__CaOracleStorageBucket__c/object.extracts.yaml | 4A2A185CC5E21E043DA4F3BC71A4FDDA |
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β
---
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."