๐ง Oracle IAAS Boot Volume is not encrypted with a customer managed key - prod.logic.yaml๐ข
- Contextual name: ๐ง prod.logic.yaml๐ข
- ID:
/ce/ca/oracle/compute/boot-volume-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:20.560139829Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| ๐ข | test1 | โ๏ธ 99 | โ๏ธ isDisappeared(CA10O1__disappearanceTime__c) | โ๏ธ null |
| ๐ข | test2 | โ๏ธ 199 | โ๏ธ not(setOfText(['caOracleIaasBootVolume']).contains(RecordType.DeveloperName)) | โ๏ธ null |
| ๐ข | test3 | โ๏ธ 299 | โ๏ธ extract('CA10O1__lifecycleState__c') != 'AVAILABLE' | โ๏ธ null |
| ๐ข | test4 | โ๏ธ 399 | โ๏ธ extract('CA10O1__kmsKeyOcid__c').isNotEmpty() | โ๏ธ null |
| ๐ข | test5 | โ๏ธ 400 | โ๏ธ otherwise | โ๏ธ null |
Generation Bundleโ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/oracle/compute/boot-volume-cmk-encryption/policy.yaml | 454FC37F89B8F58050DE2E475298F80B |
| Open | /ce/ca/oracle/compute/boot-volume-cmk-encryption/prod.logic.yaml | 32C77AA0E788D7067B1F1656BD086E55 |
| Open | /ce/ca/oracle/compute/boot-volume-cmk-encryption/test-data.json | E7F192973B6FBE268A3C9D87EE30851D |
| Open | /types/CA10O1__CaOracleIaasVolume__c/object.extracts.yaml | 29D15263C90A3304C9D8774185E00633 |
Available Commandsโ
repo-manager policies generate FULL /ce/ca/oracle/compute/boot-volume-cmk-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/oracle/compute/boot-volume-cmk-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/oracle/compute/boot-volume-cmk-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/oracle/compute/boot-volume-cmk-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/oracle/compute/boot-volume-cmk-encryption/prod.logic.yaml
Contentโ
---
inputType: "CA10O1__CaOracleIaasVolume__c"
recordTypes:
- "caOracleIaasBootVolume"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10O1__CaOracleIaasVolume__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The boot volume is not available."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10O1__lifecycleState__c"
right:
TEXT: "AVAILABLE"
- status: "COMPLIANT"
currentStateMessage: "The boot volume is encrypted with a customer managed key."
check:
NOT_EMPTY:
arg:
EXTRACT: "CA10O1__kmsKeyOcid__c"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The boot volume is not encrypted with a customer managed key."
remediationMessage: "Configure the boot volume to use a customer managed key from OCI Vault."