28 lines
816 B
Mako
28 lines
816 B
Mako
<%inherit file="base.mako"/>
|
|
|
|
<%def name="subject()" filter="n,trim,whitespace_filter">
|
|
Security Audit Completed: ${repo_name}
|
|
</%def>
|
|
|
|
<%def name="body_plaintext()" filter="n,trim">
|
|
Security Audit Results for ${repo_name}
|
|
|
|
${body}
|
|
|
|
Files Scanned: ${scan_summary.get('files_scanned', 0)}
|
|
Secrets Found: ${scan_summary.get('secrets_found', 0)}
|
|
|
|
---
|
|
${self.plaintext_footer()}
|
|
</%def>
|
|
|
|
<table style="text-align:left;vertical-align:top;">
|
|
<tr>
|
|
<td style="padding:20px;">
|
|
<h3>Security Audit Results for ${repo_name}</h3>
|
|
<div style="white-space:pre-wrap">${body}</div>
|
|
<p><strong>Files Scanned:</strong> ${scan_summary.get('files_scanned', 0)}</p>
|
|
<p><strong>Secrets Found:</strong> ${scan_summary.get('secrets_found', 0)}</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|