Skip to content

Add filtering for instance-level streaming UI

What does this MR do and why?

Add event type filtering to the UI for instance level streaming audit events. Filtering is already available at the group level and through the API for instance level.

Screenshots or screen recordings

Audit-Events--Admin-Area--GitLab

How to set up and validate locally

Make sure you have an EE license and administration access

  1. Go to any Admin Area
  2. Go to "Monitoring" > "Audit events"
  3. Click "Streams" tab
  4. Create a new streaming destination by clicking "Add streaming destination"
  5. Provide a "Destination URL"
  6. Validate you see the "Filter by stream event" accordion and click it
  7. Validate you see a dropdown with a placeholder "Select events", click it
  8. Validate you can see a long list of event types and these are selectable
  9. Validate that if you select some it updates the text of the dropdown button with a comma-separated list of the event type names
  10. Validate that clicking "Select all" selects all event types (button is only shown if no event types are selected)
  11. Select some event types and click "Add"
  12. Validate that the editor is closed and a new streaming destination is added
  13. Validate that if you edit that new destination and go to event type dropdown the same events are selected from before.

MR acceptance checklist

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

Related to #415013 (closed)

Edited by Lukas 'ai-pi' Eipert

Merge request reports