π§ Oracle IAM DB Credentials are not rotated every 90 days - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π Oracle IAM DB Credential
- π Oracle IAM DB Credential - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-09-22T15:07:57.249824665Z 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 | βοΈ 101 | βοΈ CA10O1__timeCreated__c.isEmpty() | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/policy.yaml | 134056BE354D68116B64D2E9C9C070AE |
| Open | /ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/prod.logic.yaml | C1625B93AAC926096D13C64930B5D45B |
| Open | /ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/test-data.json | DB63AEB9904A62F5700522C838DB0607 |
| Open | /types/CA10O1__CaOracleIamDbCredential2__c/object.extracts.yaml | 0A813C655F99C3A67A8427CE5AB7411B |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/oracle/iam/db-credentials-are-not-rotated-every-90-days/prod.logic.yaml
Contentβ
---
inputType: "CA10O1__CaOracleIamDbCredential2__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10O1__CaOracleIamDbCredential2__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "This Oracle IAM database password is older than 90 days."
remediationMessage: "Rotate this Oracle IAM database password and delete the stale password after dependent database clients are updated."
check:
IS_BEYOND_LAST_DAYS:
arg:
EXTRACT: "CA10O1__timeCreated__c"
offsetDays: 90
otherwise:
status: "COMPLIANT"
currentStateMessage: "This Oracle IAM database password was created within the last 90 days."