mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: insert audit log entries for organization CRUD (#13660)
* chore: insert audit log entries for organization CRUD
This commit is contained in:
@@ -254,6 +254,16 @@ var auditableResourcesTypes = map[any]map[string]Action{
|
||||
"app_id": ActionIgnore,
|
||||
"secret_prefix": ActionIgnore,
|
||||
},
|
||||
&database.Organization{}: {
|
||||
"id": ActionIgnore,
|
||||
"name": ActionTrack,
|
||||
"description": ActionTrack,
|
||||
"created_at": ActionIgnore,
|
||||
"updated_at": ActionTrack,
|
||||
"is_default": ActionTrack,
|
||||
"display_name": ActionTrack,
|
||||
"icon": ActionTrack,
|
||||
},
|
||||
}
|
||||
|
||||
// auditMap converts a map of struct pointers to a map of struct names as
|
||||
|
||||
Reference in New Issue
Block a user