MCPcopy Index your code
hub / github.com/coder/coder / InsertAuditLog

Method InsertAuditLog

coderd/database/querier.go:933–933  ·  view source on GitHub ↗
(ctx context.Context, arg InsertAuditLogParams)

Source from the content-addressed store, hash-verified

931 // every member of the org.
932 InsertAllUsersGroup(ctx context.Context, organizationID uuid.UUID) (Group, error)
933 InsertAuditLog(ctx context.Context, arg InsertAuditLogParams) (AuditLog, error)
934 InsertBoundaryLog(ctx context.Context, arg InsertBoundaryLogParams) (BoundaryLog, error)
935 InsertBoundarySession(ctx context.Context, arg InsertBoundarySessionParams) (BoundarySession, error)
936 InsertChat(ctx context.Context, arg InsertChatParams) (Chat, error)

Callers 5

generateFakeAuditLogMethod · 0.65
InsertAuditLogMethod · 0.65
TestAuditLogsMethod · 0.65
AuditLogFunction · 0.65
ExportMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 1

TestAuditLogsMethod · 0.52