BCDevOps / developer-experience

This repository is used to track all work for the BCGov Platform Services Team (This includes work for: 1. Platform Experience, 2. Developer Experience 3. Platform Operations/OCP 3)
Apache License 2.0
8 stars 17 forks source link

Vault - Copy logs to an external system #5067

Open IanKWatts opened 1 month ago

IanKWatts commented 1 month ago

Describe the issue In the interest of security and reliability, configure Vault to copy log files to an external system.

What is the Value/Impact?

What is the plan? How will this get completed?

Identify any dependencies n/a

Definition of done

StevenBarre commented 1 month ago

All pod logs are being sent to the SIEM already, maybe just need to get a view setup in there to ensure they are easy to access and have sufficient retention? cc @NickCorcoran

IanKWatts commented 3 weeks ago

We're keeping the server log and the audit log separate, because the first is a fixed format normal log message, while the audit log messages are JSON objects. The lab cluster has been configured to send audit log messages to the SIEM; we're waiting to get confirmation that they're being received and will be useful to us for monitoring and alerts. We currently keep 30 days worth of audit logs and they are copied to an S3 bucket.