Skip to content

Allow management of streamed audit event filtering

What does this MR do and why?

This change adds the ability for users to manage the event filters that exist on an external stream destination.

The event filters are displayed in a checkbox list and hidden by an accordion

Upon unselecting an event filter and clicking 'save' the filter will be removed from the destination.

Screenshots or screen recordings

Audit-Events--Gitlab-Org--GitLab

Empty state

Audit-Events--Flightjs--GitLab

How to set up and validate locally

From !103268 (merged)

  1. Navigate to the group where the event type filter was created
  2. Navigate to Menu -> audit_events -> streams (tab)
  3. Ensure that the stream is showing with the filter badge
  4. Edit the stream
  5. Ensure that the previously added filter show as checkboxes
  6. Select / Unselect filter checkboxes
  7. Click 'Save'
  8. Reopen the edit stream page
  9. Ensure that the selected filters are still showing

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 #344846 (closed)

Edited by Nate Rosandich

Merge request reports