diff options
Diffstat (limited to 'internal/manager/manager.go')
-rw-r--r-- | internal/manager/manager.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/manager/manager.go b/internal/manager/manager.go index 90f6507..d63d52d 100644 --- a/internal/manager/manager.go +++ b/internal/manager/manager.go @@ -5,6 +5,7 @@ import ( "errors" "fmt" "os" + "strings" "time" "gitlab.torproject.org/rgdd/ct/pkg/metadata" @@ -222,9 +223,9 @@ func (mgr *Manager) alertJob() error { return err } for _, alert := range alerts { - mgr.Logger.Noticef("certificate mis-issuance? No allowlisting for %s\n", alert.StoredAt) + mgr.Logger.Noticef("unexpected certificate: no allowlisting for crt_sans=\"%s\", see log_id=\"%x\" log_index=\"%d\"\n", strings.Join(alert.SANs, " "), alert.LogID, alert.LogIndex) } - mgr.Metrics.CertificateAlert(mgr.Storage.Index.Alerting()) + mgr.Metrics.UnexpectedCertificateCount(mgr.Storage.Index.Alerting()) return nil } |