Skip to content

[minor] added db2_audit_retention_days for all apps in db2 gitops function - #2644

Merged
whitfiea merged 3 commits into
masterfrom
mascore-19560
Oct 13, 2026
Merged

whitfiea merged 3 commits into
masterfrom
mascore-19560

Conversation

@sumitjain-1901

@sumitjain-1901 sumitjain-1901 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Issue:

https://jsw.ibm.com/browse/MASCORE-19560

Fix:

Added db2_audit_retention_days which will be used to control the behaviour of object lock.
If db2_audit_retention_days is 0, the logs will be uploaded without Object Lock.

If db2_audit_retention_days is a positive value, the logs will be uploaded with S3 Object Lock in COMPLIANCE mode for the specified number of days.
If db2_audit_retention_days is missing or null, it will default to 365 days, with COMPLIANCE mode retention for 365 days.
This would provide flexibility while keeping the current 365-day retention as the default behavior.

Test Results:

  1. db2_audit_retention_days to 2 days
image

Uploaded on 5th and retain till 7th
image

  1. Retention period : 0
image

No Object Lock
image

  1. if not present then default to 365
image

Related PRs:

Gitops: ibm-mas/gitops#632
tekton: https://github.ibm.com/maximoappsuite/saas-tekton/pull/290
saas-deploy: https://github.ibm.com/maximoappsuite/saas-deploy-py/pull/314

@sumitjain-1901
sumitjain-1901 requested a review from a team as a code owner October 12, 2026 10:58
@whitfiea whitfiea changed the title [patch] added db2_audit_retention_days for all apps in db2 [patch] added db2_audit_retention_days for all apps in db2 gitops function Oct 13, 2026
@whitfiea whitfiea changed the title [patch] added db2_audit_retention_days for all apps in db2 gitops function [minor] added db2_audit_retention_days for all apps in db2 gitops function Oct 13, 2026
@whitfiea
whitfiea merged commit edc9519 into master Oct 13, 2026
12 checks passed
@whitfiea
whitfiea deleted the mascore-19560 branch October 13, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants