@@ -337,6 +345,93 @@ Event type filters are removed if:
- The returned `errors` object is empty.
- The API responds with `200 OK`.
#### Namespace filters
> - Namespace filters API [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/344845) in GitLab 16.7.
When you apply a namespace filter to a group, users can filter streamed audit events per destination for a specific subgroup or project of the group. Otherwise, the
destination receives all audit events.
A streaming destination that has a namespace filter set has a **filtered** (**{filter}**) label.
##### Use the API to add a namespace filter
Prerequisites:
- You must have the Owner role for the group.
You can add a namespace filter by using the `auditEventsStreamingHttpNamespaceFiltersAdd` mutation type for both subgroups and projects.