Add instance namespace filters for streaming audit events
What does this MR do and why?
Add instance namespace filters for streaming audit events, feature parity with group audit event streaming (/admin/audit_logs?tab=streams)
Changelog: added EE: true
Relies on backend changes: !198000 (merged)
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
[Pre-requisites]: GitLab Ultimate / EE, feature flags enabled: use_consolidated_audit_event_stream_dest_api and audit_events_external_destination_streamer_consolidation_refactor and audit_events_fix_streaming_filters
- Navigate to http://localhost:3000/admin/audit_logs?tab=streams
- Create a new audit event streaming destination for any of: http, aws, gcp
- Use the
Filter by groups or projectsfilter option - It should display groups and projects available through the Instance
- Setup a https://webhook.site/ HTTP destination to get audit events sent to (or GCP, AWS S3)
- Note that it only receives audit events from this namespace
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Andrew Jung


