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

Method Export

enterprise/audit/audit.go:30–30  ·  view source on GitHub ↗

Export sends an audit log to the backend.

(ctx context.Context, alog database.AuditLog, details BackendDetails)

Source from the content-addressed store, hash-verified

28 Decision() FilterDecision
29 // Export sends an audit log to the backend.
30 Export(ctx context.Context, alog database.AuditLog, details BackendDetails) error
31}
32
33func NewAuditor(db database.Store, filter Filter, backends ...Backend) audit.Auditor {

Callers 3

TestAuditorFunction · 0.65
ExportMethod · 0.65
TestPostgresBackendFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestAuditorFunction · 0.52
TestPostgresBackendFunction · 0.52