๐ง Oracle IAAS Instance Secure Boot is disabled - prod.logic.yaml๐ข
- Contextual name: ๐ง prod.logic.yaml๐ข
- ID:
/ce/ca/oracle/compute/instance-secure-boot/prod.logic.yaml - Tags:
- ๐ข Logic test success
- ๐ข Logic with extracts
- ๐ข Logic with test data
Usesโ
Test Results ๐ขโ
Generated at: 2026-05-02T12:07:22.446728966Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| ๐ข | test1 | โ๏ธ 99 | โ๏ธ isDisappeared(CA10O1__disappearanceTime__c) | โ๏ธ null |
| ๐ข | test2 | โ๏ธ 101 | โ๏ธ CA10O1__platformConfigJson__c.isEmpty() | โ๏ธ null |
| ๐ข | test3 | โ๏ธ 199 | โ๏ธ extract('CA10O1__platformConfigJson__c') == bytes('null') | โ๏ธ null |
| ๐ข | test4 | โ๏ธ 299 | โ๏ธ extract('caJsonFrom__platformConfigJson__c').jsonQueryText('isSecureBootEnabled') == true | โ๏ธ null |
| ๐ข | test5 | โ๏ธ 399 | โ๏ธ extract('caJsonFrom__platformConfigJson__c').jsonQueryText('isSecureBootEnabled') == false | โ๏ธ null |
| ๐ข | test6 | โ๏ธ 206 | โ๏ธ extract('caJsonFrom__platformConfigJson__c').jsonQueryText('isSecureBootEnabled').isResultEmpty() | โ๏ธ null |
Generation Bundleโ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/oracle/compute/instance-secure-boot/policy.yaml | 1AA7D6FF882DD4D06573DA21F653AEBF |
| Open | /ce/ca/oracle/compute/instance-secure-boot/prod.logic.yaml | 72A95DD0C45F00AC8FD9C650421C2A2F |
| Open | /ce/ca/oracle/compute/instance-secure-boot/test-data.json | BBAEE4317BE1EA5266FE1659E34A5847 |
| Open | /types/CA10O1__CaOracleIaasInstance__c/object.extracts.yaml | 0C380BCFB27869AC64860559F80FEA7E |
Available Commandsโ
repo-manager policies generate FULL /ce/ca/oracle/compute/instance-secure-boot/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/oracle/compute/instance-secure-boot/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/oracle/compute/instance-secure-boot/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/oracle/compute/instance-secure-boot/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/oracle/compute/instance-secure-boot/prod.logic.yaml
Contentโ
---
inputType: "CA10O1__CaOracleIaasInstance__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10O1__CaOracleIaasInstance__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "Secure Boot platform configuration is not available for this instance."
check:
IS_EQUAL:
left:
EXTRACT: "CA10O1__platformConfigJson__c"
right:
BYTES: "null"
- status: "COMPLIANT"
currentStateMessage: "Secure Boot is enabled for this instance."
check:
IS_EQUAL:
left:
JSON_QUERY_BOOLEAN:
arg:
EXTRACT: "caJsonFrom__platformConfigJson__c"
expression: "isSecureBootEnabled"
undeterminedIf:
evaluationError: "The platform configuration JSON query failed."
resultTypeMismatch: "The Secure Boot value in the platform configuration is not a boolean."
resultIsEmpty: "The platform configuration does not include a Secure Boot value."
right:
BOOLEAN: true
- status: "INCOMPLIANT"
currentStateMessage: "Secure Boot is disabled for this instance."
remediationMessage: "Enable Secure Boot for this instance."
check:
IS_EQUAL:
left:
JSON_QUERY_BOOLEAN:
arg:
EXTRACT: "caJsonFrom__platformConfigJson__c"
expression: "isSecureBootEnabled"
undeterminedIf:
evaluationError: "The platform configuration JSON query failed."
resultTypeMismatch: "The Secure Boot value in the platform configuration is not a boolean."
resultIsEmpty: "The platform configuration does not include a Secure Boot value."
right:
BOOLEAN: false
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected value in the Secure Boot platform configuration."