Instance streaming - add headers functionality
What does this MR do and why?
This is a follow up to MR that added streaming destination at the instance level (!119891 (merged) & !119008 (merged)). THis MR enables the custom headers functionality which allows users to add, edit and delete custom headers from streaming destinations. This functionality is already available at Group level https://docs.gitlab.com/ee/administration/audit_event_streaming/index.html#top-level-group-streaming-destinations
Screenshots or screen recordings
How to set up and validate locally
-
Enable the both FE and BE feature flag
Feature.enable(:instance_streaming_audit_events) Feature.enable(:ff_external_audit_events) -
Navigate to Admin menu and go to Monitoring -> Audit Events
-
Ensure that the
Streamstab is visible. -
Click on the
Streamstab -
Add a streaming destination with headers
-
Ensure that the headers are added correctly and show
-
Add, edit and delete headers in the destination
-
Ensure that the headers are updated correctly and show
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #415012 (closed)
