Skip to Content

The DmarcReport type of the TypeScript SDK, which dmarc.listReports take or answer.

type DmarcReport = {
  domain: string
  id: string
  messages: number
  orgEmail: string | null
  orgName: string
  passing: number
  policyDomain: string | null
  policyP: string | null
  policyPct: number | null
  policySp: string | null
  rangeBegin: number
  rangeEnd: number
  receivedAt: number
  reportId: string
  truncated: boolean
}

Fields

FieldTypeDescription
domainstringReported domain name
idstringReport ULID
messagesnumberTotal message count in this report
orgEmailstring | nullReporting organization contact email, or null
orgNamestringReporting organization name (e.g. 'google.com', 'yahoo.com')
passingnumberPassing message count in this report
policyDomainstring | nullPublished policy domain, or null
policyPstring | nullPublished domain policy (p=none, quarantine, reject)
policyPctnumber | nullPublished policy percentage (pct=...), or null
policySpstring | nullPublished subdomain policy (sp=...), or null
rangeBeginnumberReport window start timestamp in epoch seconds
rangeEndnumberReport window end timestamp in epoch seconds
receivedAtnumberIngestion timestamp in epoch seconds
reportIdstringOriginal report ID from sender XML
truncatedbooleanTrue if report records exceeded storage limit and were truncated

Used by

MethodWhat it does
dmarc.listReportsList ingested DMARC reports

Used in

DomainDmarcReports.