Implement export of audit and execution logs to configurable S3 bucket - #98
Closed
kael-developer[bot] wants to merge 1 commit into
Closed
Implement export of audit and execution logs to configurable S3 bucket#98kael-developer[bot] wants to merge 1 commit into
kael-developer[bot] wants to merge 1 commit into
Conversation
Implemented by Kael AI Agent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Problem
Audit logs and stage execution logs are kept only in local storage/database, which can be lost on container restarts and does not satisfy long‑term retention or compliance requirements.
Solution
Add a background worker that periodically batches logs and uploads them to an S3 bucket (or any S3‑compatible storage) defined in configuration. Provide CLI command to trigger manual export and configuration options for bucket name, prefix, and retention policy.
Value
Ensures durable, off‑site storage of critical logs for forensic analysis, compliance audits, and disaster recovery, while keeping the primary service lightweight.
What changed
Observations: go.mod now duplicated require sections. Need to clean up. Should combine into single require block. Let's edit go.mod to have a single require block with all dependencies. We'll replace the whole file content.
Closes #94
🤖 Implemented automatically by Kael AI Agent