π§ Oracle IAM Customer Secret Keys are not rotated every 90 days - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π Oracle IAM Customer Secret
- π Oracle IAM Customer Secret - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-09-22T15:07:57.319371960Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10O1__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('CA10O1__timeCreated__c').beyondLastDays(90) | βοΈ null |
| π’ | test3 | βοΈ 200 | βοΈ otherwise | βοΈ null |
| π’ | test4 | βοΈ 200 | βοΈ otherwise | βοΈ null |
| π’ | test5 | βοΈ 101 | βοΈ CA10O1__timeCreated__c.isEmpty() | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/policy.yaml | DF75CDA66FF630A85906FFB787AC74CE |
| Open | /ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/prod.logic.yaml | 66F209385F54AAC14A0DA9FE0071EEA3 |
| Open | /ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/test-data.json | 2D65C9B0D5DFBC29EA93778093E34DCA |
| Open | /types/CA10O1__CaOracleIamCustomerSecretKey2__c/object.extracts.yaml | 25AFAF2CD60F68FEB27D2B922ABE5975 |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/oracle/iam/customer-secrets-are-not-rotated-every-90-days/prod.logic.yaml
Contentβ
---
inputType: "CA10O1__CaOracleIamCustomerSecretKey2__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10O1__CaOracleIamCustomerSecretKey2__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "This Oracle IAM customer secret key was created more than 90 days ago."
remediationMessage: "Create a replacement customer secret key, update dependent workloads, and delete this stale key."
check:
IS_BEYOND_LAST_DAYS:
arg:
EXTRACT: "CA10O1__timeCreated__c"
offsetDays: 90
otherwise:
status: "COMPLIANT"
currentStateMessage: "This Oracle IAM customer secret key is not more than 90 days old."