Skip to content

Commit b18a50a

Browse files
committed
Ignore organization ID in audit logs
1 parent a8e6e89 commit b18a50a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enterprise/audit/table.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var auditableResourcesTypes = map[any]map[string]Action{
5353
&database.AuditableOrganizationMember{}: {
5454
"username": ActionTrack,
5555
"user_id": ActionTrack,
56-
"organization_id": ActionTrack,
56+
"organization_id": ActionIgnore, // Never changes.
5757
"created_at": ActionTrack,
5858
"updated_at": ActionTrack,
5959
"roles": ActionTrack,
@@ -64,7 +64,7 @@ var auditableResourcesTypes = map[any]map[string]Action{
6464
"site_permissions": ActionTrack,
6565
"org_permissions": ActionTrack,
6666
"user_permissions": ActionTrack,
67-
"organization_id": ActionTrack,
67+
"organization_id": ActionIgnore, // Never changes.
6868

6969
"id": ActionIgnore,
7070
"created_at": ActionIgnore,

0 commit comments

Comments
 (0)