-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Summary
Create a new aggregated apiserver that lets a user search for audit logs that have been generated from the platform. This apiserver will serve as the foundation that will let us develop activity logs as a human readable versions of audit logs.
This will also let us adjust the backend storage system for the audit logs over time without having to update API client. We'll also use this opportunity to move to Clickhouse for audit log storage as it's a better storage backend for structured audit logs.
Motivation
The portals are retrieving audit logs directly from Loki. Loki was intended to be a short-term option for storing audit logs while we developed a hardened backend for audit log storage. Introducing an API in front of the portals and backend will allow us to adjust the backend over time without impacting client integrations. This also will allow us to expose an API to end-users to retrieve audit logs for their projects or organizations.
Goals
- Introduce an API that lets users search audit logs stored in the system
- Move to Clickhouse for audit log storage
- Design such that we can easily bolt on activity log descriptors in the future