MCPcopy
hub / github.com/getsops/sops / Auditor

Interface Auditor

audit/audit.go:86–91  ·  view source on GitHub ↗

Auditor is notified when noteworthy events happen, for example when a file is encrypted or decrypted.

Source from the content-addressed store, hash-verified

84// Auditor is notified when noteworthy events happen,
85// for example when a file is encrypted or decrypted.
86type Auditor interface {
87 // Handle() takes an audit event and attempts to persists it;
88 // how it is persisted and how errors are handled is up to the
89 // implementation of this interface.
90 Handle(event interface{})
91}
92
93// DecryptEvent contains fields relevant to a decryption event
94type DecryptEvent struct {

Callers 1

SubmitEventFunction · 0.65

Implementers 1

PostgresAuditoraudit/audit.go

Calls

no outgoing calls

Tested by

no test coverage detected