π§ Google Storage Bucket logging is not enabled - prod.logic.yamlπ π’
- Contextual name: π§ prod.logic.yamlπ π’
- ID:
/ce/ca/google/storage/bucket-logging/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with test data
- π Logic without extracts
Usesβ
- π Google Storage Bucket
- π§ͺ test-data.json
Test Results π’β
Generated at: 2025-10-25T12:02:55.602082146Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | 001 | βοΈ 199 | βοΈ CA10__Google_Storage_Buckets__r.has(COMPLIANT) | βοΈ null |
| π’ | 002 | βοΈ 299 | βοΈ isEmptyLookup('CA10__loggingBucket__r') | βοΈ null |
| π’ | 003 | βοΈ 300 | βοΈ otherwise | βοΈ null |
| π’ | 004 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/google/storage/bucket-logging/policy.yaml | D484949888CB2F4C2B7627292D440320 |
| Open | /ce/ca/google/storage/bucket-logging/prod.logic.yaml | 360D52C61131ABBFCAE85C0E26B37E84 |
| Open | /ce/ca/google/storage/bucket-logging/test-data.json | 96451FA1BCABF2B718CB5C49F9E54B45 |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/google/storage/bucket-logging/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/google/storage/bucket-logging/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/google/storage/bucket-logging/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/google/storage/bucket-logging/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/google/storage/bucket-logging/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaGoogleStorageBucket__c"
testData:
- file: "test-data.json"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "This is a log destination bucket."
check:
RELATED_LIST_HAS:
status: "COMPLIANT"
relationshipName: "CA10__Google_Storage_Buckets__r"
- status: "INCOMPLIANT"
currentStateMessage: "The storage bucket logging is not enabled."
remediationMessage: "Enable logging for the Storage bucket."
check:
IS_EMPTY_LOOKUP: "CA10__loggingBucket__r"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The Storage bucket logging is enabled"
relatedLists:
- relationshipName: "CA10__Google_Storage_Buckets__r"
conditions: []
otherwise:
status: "COMPLIANT"
currentStateMessage: "This is a log source bucket."