MCPcopy
hub / github.com/deepfence/SecretScanner / SecretsWriter

Interface SecretsWriter

main.go:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69var session = core.GetSession()
70
71type SecretsWriter interface {
72 WriteJSON() error
73 WriteTable() error
74 GetSecrets() []output.SecretFound
75 AddSecret(output.SecretFound)
76}
77
78func main() {
79 zerolog.CallerMarshalFunc = func(pc uintptr, file string, line int) string {

Callers

nothing calls this directly

Implementers 2

JSONImageSecretsOutputoutput/output.go
JSONDirSecretsOutputoutput/output.go

Calls

no outgoing calls

Tested by

no test coverage detected