Ability to select multiple groups/projects for audit event streaming namespace filter was removed
Summary
The ability to select multiple groups or projects for the audit event streaming namespace filter, which was introduced in GitLab 16.7 via !137477 (merged), appears to have been inadvertently removed in a subsequent change.
Current behavior
Users can only select a single namespace (group or project) when configuring namespace filters for audit event streaming destinations.
Expected behavior
Users should be able to select multiple groups and/or projects when configuring namespace filters for audit event streaming destinations, as originally implemented in !137477 (merged).
Original implementation
The feature was introduced in GitLab 16.7 through merge request !137477 (merged), which added:
- A namespace filter dropdown in the group-level audit event streaming UI
- The ability to filter streamed audit events by specific subgroups or projects
- GraphQL mutations for adding/removing namespace filters (
addExternalDestinationNamespaceFilters,deleteExternalDestinationNamespaceFilters)
Key implementation details from !137477 (merged):
- Component:
ee/app/assets/javascripts/audit_events/components/stream/stream_namespace_filters.vue - The
GlCollapsibleListboxcomponent was used with searchable and filterable options - Backend provided lists of all subgroups and projects via
@all_groupsand@all_projects
Evidence of regression
The original MR !137477 (merged) implemented multi-select functionality for namespace filtering, but this capability is no longer available in the current UI.
Impact
- Users cannot filter audit event streams by multiple namespaces simultaneously
- Reduced flexibility in audit event streaming configuration
- Users may need to create multiple streaming destinations to achieve the same filtering that was previously possible with a single destination
Related
- Original feature MR: !137477 (merged)
- Original issue: #390133 (closed)
Possible causes
The feature may have been affected by:
- UI component refactoring
- Changes to the
GlCollapsibleListboxcomponent or its usage - Backend changes to namespace filtering logic
- Unintended changes during merge conflict resolution