Skip to content

Create audit_events_amazon_s3_configurations table

Huzaifa Iftikhar requested to merge 333371_create_aws_s3_audit_events_table into master

What does this MR do and why?

  1. Create database table for storing S3 configurations for sending streaming audit events to Amazon S3.
  2. This MR is the backbone for the feature work being done in !131372 (merged).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a new row by running the following in rails console.
AuditEvents::AmazonS3Configuration.create({namespace_id: 31, access_key_id: "YOUR_ACCESS_KEY", secret_access_key: "YOUR_SECRET_ACCESS", name: "AWS S3 Sandbox", bucket_name: "audit-logs-gitlab", aws_region: "ap-southeast-2"})

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #333371 (closed)

Edited by Huzaifa Iftikhar

Merge request reports