forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdmarcReportData.js
More file actions
126 lines (126 loc) · 3.97 KB
/
dmarcReportData.js
File metadata and controls
126 lines (126 loc) · 3.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
export const rawDmarcReportData = {
data: {
findDomainByDomain: {
id: 'testid=',
__typename: 'Domain',
dmarcSummaryByPeriod: {
__typename: 'Period',
domain: { domain: 'test.domain.ca' },
month: 'LAST30DAYS',
year: '2020',
detailTables: {
fullPass: {
edges: [
{
cursor: 'testid==',
node: {
sourceIpAddress: '123.123.123.123',
envelopeFrom: null,
dkimDomains: 'test.dkim.ca',
dkimSelectors: 'selectortest',
dnsHost: 'test.dns',
headerFrom: 'test.header.ca',
spfDomains: 'test.spf.ca',
totalMessages: 536,
__typename: 'FullPassTable',
},
__typename: 'FullPassTableEdge',
},
],
pageInfo: {
hasNextPage: false,
endCursor: 'endcursor=',
hasPreviousPage: false,
startCursor: 'startcursor==',
__typename: 'PageInfo',
},
__typename: 'FullPassTableConnection',
},
dkimFailure: {
edges: [
{
node: {
dkimAligned: false,
dkimDomains: '',
dkimResults: '',
dkimSelectors: '',
dnsHost: 'testhost',
envelopeFrom: null,
guidance: 'testguidance',
headerFrom: 'test.domain.ca',
sourceIpAddress: '123.123.123.123',
totalMessages: 112,
__typename: 'DkimFailureTable',
},
__typename: 'DkimFailureTableEdge',
},
],
pageInfo: {
hasNextPage: false,
endCursor: 'endcursor=',
hasPreviousPage: false,
startCursor: 'startcursor=',
__typename: 'PageInfo',
},
__typename: 'DkimFailureTableConnection',
},
spfFailure: {
edges: [
{
node: {
dnsHost: 'test.dns',
envelopeFrom: null,
guidance: 'test.guidance',
headerFrom: 'test.header',
sourceIpAddress: '123.123.123.123',
spfAligned: false,
spfDomains: 'test.spf.ca',
spfResults: 'pass',
totalMessages: 112,
__typename: 'SpfFailureTable',
},
__typename: 'SpfFailureTableEdge',
},
],
pageInfo: {
hasNextPage: false,
endCursor: 'endcursor==',
hasPreviousPage: false,
startCursor: 'startcursor',
__typename: 'PageInfo',
},
__typename: 'SpfFailureTableConnection',
},
dmarcFailure: {
edges: [
{
node: {
dkimDomains: '',
dkimSelectors: '',
disposition: 'none',
dnsHost: 'test.dns.ca',
envelopeFrom: null,
headerFrom: 'test.header.ca',
sourceIpAddress: '123.123.123.123',
spfDomains: 'test.spf.ca',
totalMessages: 112,
__typename: 'DmarcFailureTable',
},
__typename: 'DmarcFailureTableEdge',
},
],
pageInfo: {
hasNextPage: false,
endCursor: 'endcursor',
hasPreviousPage: false,
startCursor: 'startcursor=',
__typename: 'PageInfo',
},
__typename: 'DmarcFailureTableConnection',
},
__typename: 'DetailTables',
},
},
},
},
}