Set up database tables and models for Google Cloud Logging
Problem Statement
Create a database table and corresponding models to store the Google Cloud configurations for streaming audit events to Google Cloud Logging.
Implementation plan
- Create a new table called audit_events_google_cloud_logging_configurations
- The table should include columns for group_id, google_project_id, client_email, log_name, and encrypted_private_key. default value for log_name should be
audit_events
- Create a new model called AuditEvents::GoogleCloudLoggingConfiguration to interact with the table and set up the association with the Group model.
Edited by Harsimar Sandhu