Skip to content
Snippets Groups Projects

Show list of stream audit event types in UI

Merged Lorenz van Herwaarden requested to merge render-audit-events-backend into master
1 file
+ 15
2
Compare changes
  • Side-by-side
  • Inline
@@ -288,13 +288,26 @@ Users with the Owner role for a group can list streaming destinations and see th
@@ -288,13 +288,26 @@ Users with the Owner role for a group can list streaming destinations and see th
## Event type filters
## Event type filters
> Event type filters API [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/344845) in GitLab 15.7.
> - Event type filters API [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/344845) in GitLab 15.7.
 
> - Event type filtering in the UI with a defined list of audit event types [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/413581) in GitLab 16.1.
When this feature is enabled for a group, you can use an API to permit users to filter streamed audit events per destination.
When this feature is enabled for a group, you can use the GitLab UI or an API to permit users to filter streamed audit events per destination.
If the feature is enabled with no filters, the destination receives all audit events.
If the feature is enabled with no filters, the destination receives all audit events.
A streaming destination that has an event type filter set has a **filtered** (**{filter}**) label.
A streaming destination that has an event type filter set has a **filtered** (**{filter}**) label.
 
### Use the GitLab UI
 
 
To update a streaming destination's event filters:
 
 
1. On the top bar, select **Main menu > Groups** and find your group.
 
1. On the left sidebar, select **Security and Compliance > Audit events**.
 
1. On the main area, select the **Streams** tab.
 
1. To the right of the item, select **Edit** (**{pencil}**).
 
1. Click on **Filter by stream event**.
 
1. Click on the dropdown and select/unselect the desired event types.
 
1. Select **Save** to update the event filters.
 
### Use the API to add an event type filter
### Use the API to add an event type filter
Prerequisites:
Prerequisites:
Loading