Repository navigation
Expand file tree
/
Copy pathreport.html
More file actions
49 lines (44 loc) · 1.63 KB
/
Copy pathreport.html
File metadata and controls
49 lines (44 loc) · 1.63 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
<!DOCTYPE html>
<html>
<head>
<title>Comp-LEO Audit Report</title>
<style>
body { font-family: Arial, sans-serif; margin: 40px; }
.header { background: #1e3a8a; color: white; padding: 20px; border-radius: 8px; }
.summary { display: flex; gap: 20px; margin: 20px 0; }
.metric { background: #f3f4f6; padding: 15px; border-radius: 8px; flex: 1; }
.violation { border-left: 4px solid #ef4444; padding: 15px; margin: 10px 0; background: #fef2f2; }
.critical { border-color: #dc2626; background: #fee2e2; }
.high { border-color: #f59e0b; background: #fef3c7; }
.medium { border-color: #3b82f6; background: #dbeafe; }
.low { border-color: #10b981; background: #d1fae5; }
</style>
</head>
<body>
<div class="header">
<h1>Compliance Audit Report</h1>
<p>Policy: aleo-baseline | Score: 90/100</p>
</div>
<div class="summary">
<div class="metric">
<h3>Total Checks</h3>
<p style="font-size: 2em;">10</p>
</div>
<div class="metric">
<h3>Violations</h3>
<p style="font-size: 2em;">1</p>
</div>
<div class="metric">
<h3>Pass Rate</h3>
<p style="font-size: 2em;">90%</p>
</div>
</div>
<h2>Violations</h2>
<div class="violation high">
<h3>Missing Input Validation</h3>
<p><strong>Severity:</strong> HIGH</p>
<p><strong>File:</strong> ../compliedger-aleo/programs/compliance_oracle/src/main.leo:7</p>
<p>Transition 'attest_public' accepts inputs but lacks validation</p>
</div>
</body>
</html>