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

Method InsertAuditLog

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

Source from the content-addressed store, hash-verified

5455}
5456
5457func (q *querier) InsertAuditLog(ctx context.Context, arg database.InsertAuditLogParams) (database.AuditLog, error) {
5458 return insert(q.log, q.auth, rbac.ResourceAuditLog, q.db.InsertAuditLog)(ctx, arg)
5459}
5460
5461// TODO (PR #24810): Replace rbac.ResourceAuditLog with dedicated boundary_log resource type.
5462func (q *querier) InsertBoundaryLog(ctx context.Context, arg database.InsertBoundaryLogParams) (database.BoundaryLog, error) {

Callers

nothing calls this directly

Calls 1

insertFunction · 0.85

Tested by

no test coverage detected