Tracks is the centralized audit system for the Fluid Attacks platform. It provides a unified way to track user actions, system changes, and security-related activities across all components.
Overview
Tracks serve as the backbone for:
- Audit logging across all platform components.
- Compliance reporting and security monitoring.
- Analytics and insights from user interactions.
- Event correlation and filtering capabilities.
Architecture
Tracks consist of:
- SDKs for multiple programming languages (Python, TypeScript, Kotlin).
- Lambda functions for event processing and storage.
- Database for event persistence and querying.
- API endpoints for event retrieval and analytics.
Key Documentation
Implementation Guide
- Audit Events - Comprehensive guide for implementing audit events.
API Documentation
- Swagger UI - Complete API reference and interactive testing.
SDK Documentation
- Python SDK - Python client library.
- TypeScript SDK - TypeScript client library.
- Kotlin SDK - Kotlin client library.
Development
Database Connection
For development purposes, you can connect directly to the Aurora database using AWS RDS authentication:
aws rds generate-db-auth-token \
--hostname <aurora-endpoint> \
--port 5432 \
--username <username>
Note
Replace <aurora-endpoint>
and <username>
with your development environment values. The generated token is valid for 15 minutes and can be used with any PostgreSQL client.
More about Tracks
- Audit events
Tip
Have an idea to simplify our architecture or noticed docs that could use some love? Don't hesitate to
open an issue or submit improvements.