From 06a1ff9cdf5f1d64803385f598658fb533f801df Mon Sep 17 00:00:00 2001
From: Hinam Mehra <hmehra@gitlab.com>
Date: Mon, 6 May 2024 11:27:45 +0000
Subject: [PATCH] Update docs for custom roles audit events

---
 doc/administration/audit_event_types.md              | 6 +++---
 ee/config/audit_events/types/member_role_created.yml | 2 +-
 ee/config/audit_events/types/member_role_deleted.yml | 2 +-
 ee/config/audit_events/types/member_role_updated.yml | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/administration/audit_event_types.md b/doc/administration/audit_event_types.md
index 6d3c74d0d32b5..07ccf5186ba8a 100644
--- a/doc/administration/audit_event_types.md
+++ b/doc/administration/audit_event_types.md
@@ -357,9 +357,9 @@ Audit event types belong to the following product categories.
 
 | Name | Description | Saved to database | Streamed | Introduced in | Scope |
 |:------------|:------------|:------------------|:---------|:--------------|:--------------|
-| [`member_role_created`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137087) | Event triggered when a custom role is created.| **{check-circle}** Yes | **{check-circle}** Yes | GitLab [16.7](https://gitlab.com/gitlab-org/gitlab/-/issues/388934) | Group |
-| [`member_role_deleted`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/141630) | Event triggered when a custom role is deleted.| **{check-circle}** Yes | **{check-circle}** Yes | GitLab [16.9](https://gitlab.com/gitlab-org/gitlab/-/issues/437672) | Group |
-| [`member_role_updated`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/141630) | Event triggered when a custom role is updated.| **{check-circle}** Yes | **{check-circle}** Yes | GitLab [16.9](https://gitlab.com/gitlab-org/gitlab/-/issues/437672) | Group |
+| [`member_role_created`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137087) | Event triggered when a custom role is created.| **{check-circle}** Yes | **{check-circle}** Yes | GitLab [16.7](https://gitlab.com/gitlab-org/gitlab/-/issues/388934) | Group, Instance |
+| [`member_role_deleted`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/141630) | Event triggered when a custom role is deleted.| **{check-circle}** Yes | **{check-circle}** Yes | GitLab [16.9](https://gitlab.com/gitlab-org/gitlab/-/issues/437672) | Group, Instance |
+| [`member_role_updated`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/141630) | Event triggered when a custom role is updated.| **{check-circle}** Yes | **{check-circle}** Yes | GitLab [16.9](https://gitlab.com/gitlab-org/gitlab/-/issues/437672) | Group, Instance |
 
 ### Portfolio management
 
diff --git a/ee/config/audit_events/types/member_role_created.yml b/ee/config/audit_events/types/member_role_created.yml
index 357a8c0176339..312233e0cb40f 100644
--- a/ee/config/audit_events/types/member_role_created.yml
+++ b/ee/config/audit_events/types/member_role_created.yml
@@ -7,4 +7,4 @@ feature_category: permissions
 milestone: '16.7'
 saved_to_database: true
 streamed: true
-scope: [Group]
+scope: [Group, Instance]
diff --git a/ee/config/audit_events/types/member_role_deleted.yml b/ee/config/audit_events/types/member_role_deleted.yml
index 3df49c80d8782..ca3aa0d4e5270 100644
--- a/ee/config/audit_events/types/member_role_deleted.yml
+++ b/ee/config/audit_events/types/member_role_deleted.yml
@@ -7,4 +7,4 @@ feature_category: permissions
 milestone: "16.9"
 saved_to_database: true
 streamed: true
-scope: [Group]
+scope: [Group, Instance]
diff --git a/ee/config/audit_events/types/member_role_updated.yml b/ee/config/audit_events/types/member_role_updated.yml
index 53ffdc9771f30..99f91c1b1270b 100644
--- a/ee/config/audit_events/types/member_role_updated.yml
+++ b/ee/config/audit_events/types/member_role_updated.yml
@@ -7,4 +7,4 @@ feature_category: permissions
 milestone: '16.9'
 saved_to_database: true
 streamed: true
-scope: [Group]
+scope: [Group, Instance]
-- 
GitLab