-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathemail.html
46 lines (46 loc) · 1022 Bytes
/
email.html
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
<body>
<h1>Found AWS Keys That Require Action</h1>
<p>An <strong>Inactive</strong> key means that it needs to be deleted. An <strong>Expired</strong> key means it needs to rotated as soon as possible. A key that is <strong>Expires Soon</strong> needs to be rotated before the maximum key age of {{daysError}} days.</p>
<table
style="width: 100%;"
>
<tr
style="text-align: left;"
>
<th>Status</th>
<th>
User
</th>
<th>
KeyID
</th>
<th>
Days Old
</th>
</tr>
{{#each expiredKeys}}
<tr>
<td style="background: #EB5757; color: white;" >Expired</td>
<td>{{user}}</td>
<td>{{keyId}}</td>
<td>{{daysOld}}</td>
</tr>
{{/each}}
{{#each inactiveKeys}}
<tr>
<td style="background: #F2994A; color: white;" >Inactive</td>
<td>{{user}}</td>
<td>{{keyId}}</td>
<td>{{daysOld}}</td>
</tr>
{{/each}}
{{#each expireSoonKeys}}
<tr>
<td style="background: #F2C94C; color: black;">Expires Soon</td>
<td>{{user}}</td>
<td>{{keyId}}</td>
<td>{{daysOld}}</td>
</tr>
{{/each}}
</table>
</body>