mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix: audit log broken build links (#5895)
* pushing for guidance * added test * PR feedback * fixed tests * Update coderd/audit.go Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com> * runnig make gen --------- Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
This commit is contained in:
@ -12,6 +12,13 @@ type Auditor interface {
|
||||
diff(old, new any) Map
|
||||
}
|
||||
|
||||
type AdditionalFields struct {
|
||||
WorkspaceName string `json:"workspace_name"`
|
||||
BuildNumber string `json:"build_number"`
|
||||
BuildReason database.BuildReason `json:"build_reason"`
|
||||
WorkspaceOwner string `json:"workspace_owner"`
|
||||
}
|
||||
|
||||
func NewNop() Auditor {
|
||||
return nop{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user