This commit is contained in:
2026-07-28 22:09:19 -05:00
parent 64ee9da494
commit 5c4268524b
6 changed files with 707 additions and 2 deletions
+3 -1
View File
@@ -47,10 +47,12 @@
<label>Details contain <input name="audit_details" value="{{.AuditFilters.Details}}" placeholder="customer or action"></label>
<div class="audit-filter-actions">
<button class="button secondary" type="submit">Apply filters</button>
<button class="button secondary" type="submit" formaction="/portal/audit/export">Download matching Excel</button>
<a class="text-button" href="/portal/audit/export?audit_range=all">Download complete Excel</a>
<a class="text-button" href="/portal/audit?audit_range=30d&amp;audit_event=code_exchange_failed">Failed code attempts</a>
<a class="text-button" href="/portal/audit?audit_range=30d">Clear filters</a>
</div>
<p class="form-help audit-filter-note">Failed code attempts show a reason, hostname, source IP, code length, and only the five-character code hint. Full submitted codes are never retained. Up to the newest 250 matching events are shown.</p>
<p class="form-help audit-filter-note">Failed code attempts show a reason, hostname, source IP, code length, and only the five-character code hint. Full submitted codes are never retained. Up to the newest 250 matching events are shown; Excel exports include every matching retained event.</p>
</form>
{{template "audit-rows" .}}
</section>