# DmarcReport

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

```ts
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

| Field | Type | Description |
| --- | --- | --- |
| `domain` | `string` | Reported domain name |
| `id` | `string` | Report ULID |
| `messages` | `number` | Total message count in this report |
| `orgEmail` | `string` \| `null` | Reporting organization contact email, or null |
| `orgName` | `string` | Reporting organization name (e.g. 'google.com', 'yahoo.com') |
| `passing` | `number` | Passing message count in this report |
| `policyDomain` | `string` \| `null` | Published policy domain, or null |
| `policyP` | `string` \| `null` | Published domain policy (p=none, quarantine, reject) |
| `policyPct` | `number` \| `null` | Published policy percentage (pct=...), or null |
| `policySp` | `string` \| `null` | Published subdomain policy (sp=...), or null |
| `rangeBegin` | `number` | Report window start timestamp in epoch seconds |
| `rangeEnd` | `number` | Report window end timestamp in epoch seconds |
| `receivedAt` | `number` | Ingestion timestamp in epoch seconds |
| `reportId` | `string` | Original report ID from sender XML |
| `truncated` | `boolean` | True if report records exceeded storage limit and were truncated |

## Used by

| Method | What it does |
| --- | --- |
| [`dmarc.listReports`](/docs/sdks/typescript/dmarc/list-reports) | List ingested DMARC reports |

## Used in

[`DomainDmarcReports`](/docs/sdks/typescript/types/domain-dmarc-reports).
