Documentation ¶
Overview ¶
Package audit contains the password-strength auditing implementation. It reads all decrypted passwords and applies different heuristics and external password strength checks to determine the quality of the password (i.e. the first line of the secret - only!).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultExpiration = time.Hour * 24 * 365
DefaultExpiration is the default expiration time for secrets.
Functions ¶
Types ¶
type Report ¶ added in v1.15.3
type Report struct { Secrets map[string]SecretReport Template string Duration time.Duration }
func (*Report) PrintResults ¶ added in v1.15.3
type ReportBuilder ¶ added in v1.15.3
func (*ReportBuilder) AddFinding ¶ added in v1.15.3
func (r *ReportBuilder) AddFinding(secret, finding, message, severity string)
func (*ReportBuilder) AddPassword ¶ added in v1.15.3
func (r *ReportBuilder) AddPassword(name, pw string)
func (*ReportBuilder) Finalize ¶ added in v1.15.3
func (r *ReportBuilder) Finalize() *Report
Finalize computes the duplicates.
Click to show internal directories.
Click to hide internal directories.