Mail deliverability dashboard: findings with fixes, DMARC report ingestion, alerts on regressions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
39659f0144
commit
6d912ddd22
11 files changed
+890
-18
No files matched your search
@@ -149,6 +149,7 @@ type mailEgressView struct {
|
||||
Status string `json:"status"`
|
||||
StatusKnown bool `json:"statusKnown"`
|
||||
Check *model.MailCheck `json:"check,omitempty"`
|
||||
Findings []Finding `json:"findings"` // the deliverability checklist, with fixes
|
||||
}
|
||||
|
||||
// mailEgressViewsLocked lists an org's mail egress without secrets. Caller holds s.mu.
|
||||
@@ -164,6 +165,10 @@ func (s *Server) mailEgressViewsLocked(orgID string) []mailEgressView {
|
||||
if chk, ok := s.mailChecks[e.ID]; ok {
|
||||
c := chk
|
||||
v.Check = &c
|
||||
v.Findings = s.mailEgressFindingsLocked(e, chk)
|
||||
}
|
||||
if v.Findings == nil {
|
||||
v.Findings = []Finding{}
|
||||
}
|
||||
out = append(out, v)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user