Skip to content

Commit

Permalink
Add dmarc policy to SES event
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoney authored and bmoffatt committed Aug 13, 2018
1 parent bb78af3 commit 815b09c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions events/ses.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ type SimpleEmailReceipt struct {
SpamVerdict SimpleEmailVerdict `json:"spamVerdict"`
DKIMVerdict SimpleEmailVerdict `json:"dkimVerdict"`
DMARCVerdict SimpleEmailVerdict `json:"dmarcVerdict"`
DMARCPolicy SimpleEmailVerdict `json:"dmarcPolicy"`
SPFVerdict SimpleEmailVerdict `json:"spfVerdict"`
VirusVerdict SimpleEmailVerdict `json:"virusVerdict"`
Action SimpleEmailReceiptAction `json:"action"`
Expand Down
3 changes: 3 additions & 0 deletions events/testdata/ses-event.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
"dmarcVerdict": {
"status": "PASS"
},
"dmarcPolicy": {
"status": "REJECT"
},
"processingTimeMillis": 574,
"action": {
"type": "Lambda",
Expand Down

0 comments on commit 815b09c

Please sign in to comment.