π§ Oracle Storage Bucket allows public access - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/oracle/bucket/bucket-public-access/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-05-02T12:07:19.097501296Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 399 | βοΈ extract('CA10O1__publicAccessType__c') == 'NoPublicAccess' | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('CA10O1__publicAccessType__c') == 'ObjectRead' | βοΈ null |
| π’ | test3 | βοΈ 299 | βοΈ extract('CA10O1__publicAccessType__c') == 'ObjectReadWithoutList' | βοΈ null |
| π’ | test4 | βοΈ 101 | βοΈ CA10O1__publicAccessType__c.isEmpty() | βοΈ null |
| π’ | test5 | βοΈ 400 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/oracle/bucket/bucket-public-access/policy.yaml | 6A65B4CD44ED0D4F36815A37E7CBC0F2 |
| Open | /ce/ca/oracle/bucket/bucket-public-access/prod.logic.yaml | 4D0030D54F4A8B0A2846267384F8F641 |
| Open | /ce/ca/oracle/bucket/bucket-public-access/test-data.json | 3927961D7B452F976A85CFF3D0B20F9B |
| Open | /types/CA10O1__CaOracleStorageBucket__c/object.extracts.yaml | 4A2A185CC5E21E043DA4F3BC71A4FDDA |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/oracle/bucket/bucket-public-access/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/oracle/bucket/bucket-public-access/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/oracle/bucket/bucket-public-access/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/oracle/bucket/bucket-public-access/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/oracle/bucket/bucket-public-access/prod.logic.yaml
Contentβ
---
inputType: "CA10O1__CaOracleStorageBucket__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10O1__CaOracleStorageBucket__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The bucket allows public object read access and object listing."
remediationMessage: "Set the bucket Public Access Type to NoPublicAccess."
check:
IS_EQUAL:
left:
EXTRACT: "CA10O1__publicAccessType__c"
right:
TEXT: "ObjectRead"
- status: "INCOMPLIANT"
currentStateMessage: "The bucket allows public object read access."
remediationMessage: "Set the bucket Public Access Type to NoPublicAccess."
check:
IS_EQUAL:
left:
EXTRACT: "CA10O1__publicAccessType__c"
right:
TEXT: "ObjectReadWithoutList"
- status: "COMPLIANT"
currentStateMessage: "The bucket does not allow public access."
check:
IS_EQUAL:
left:
EXTRACT: "CA10O1__publicAccessType__c"
right:
TEXT: "NoPublicAccess"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected value in the bucket Public Access Type field."