-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecurity.html
More file actions
388 lines (387 loc) · 20 KB
/
Copy pathsecurity.html
File metadata and controls
388 lines (387 loc) · 20 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<!DOCTYPE html>
<html class="dark" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Cloud Arsenal | Security Dashboard</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;500;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,[email protected],0..1&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,[email protected],0..1&display=swap" rel="stylesheet"/>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
"tertiary-fixed-dim": "#ffba44",
"on-secondary": "#0e334d",
"on-tertiary": "#442c00",
"surface-dim": "#131317",
"on-secondary-container": "#9bbcdb",
"primary-container": "#52b6ff",
"on-primary": "#003351",
"on-background": "#e4e1e7",
"on-tertiary-fixed": "#281800",
"on-primary-fixed": "#001d31",
"primary-fixed-dim": "#93ccff",
"surface-container-low": "#1b1b1f",
"surface-bright": "#39393d",
"primary": "#9acfff",
"on-primary-fixed-variant": "#004b73",
"error": "#ffb4ab",
"primary-fixed": "#cce5ff",
"surface-container-lowest": "#0e0e12",
"on-tertiary-container": "#5a3c00",
"secondary-container": "#2b4c67",
"outline-variant": "#3f4850",
"surface-container-highest": "#353439",
"on-tertiary-fixed-variant": "#614000",
"tertiary-fixed": "#ffddaf",
"surface-container": "#1f1f23",
"on-secondary-fixed-variant": "#294a64",
"inverse-surface": "#e4e1e7",
"inverse-on-surface": "#303034",
"background": "#131317",
"surface-container-high": "#2a292e",
"secondary": "#a9caea",
"on-surface": "#e4e1e7",
"tertiary": "#ffbe54",
"surface": "#131317",
"surface-tint": "#93ccff",
"secondary-fixed": "#cce5ff",
"on-error-container": "#ffdad6",
"error-container": "#93000a",
"inverse-primary": "#006397",
"outline": "#89929c",
"tertiary-container": "#e6a11e",
"on-secondary-fixed": "#001d31",
"on-error": "#690005",
"secondary-fixed-dim": "#a9caea",
"on-surface-variant": "#bfc7d2",
"on-primary-container": "#00466c",
"surface-variant": "#353439"
},
fontFamily: {
"headline": ["Space Grotesk"],
"body": ["Inter"],
"label": ["Inter"],
"mono": ["JetBrains Mono"]
},
borderRadius: {"DEFAULT": "1rem", "lg": "2rem", "xl": "3rem", "full": "9999px"},
},
},
}
</script>
<style>
body {
background-color: #0e0e12;
color: #e4e1e7;
font-family: 'Inter', sans-serif;
overflow-x: hidden;
}
.dot-grid {
background-image: radial-gradient(rgba(191, 199, 210, 0.04) 1px, transparent 0);
background-size: 28px 28px;
}
.glass-card {
background: rgba(255, 255, 255, 0.02);
backdrop-filter: blur(12px);
}
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
</style>
</head>
<body class="dot-grid min-h-screen">
<!-- Top Navigation Bar -->
<header class="fixed top-0 w-full z-50 bg-[#0E0E12]/80 backdrop-blur-xl shadow-[0_0_40px_rgba(82,182,255,0.08)]">
<div class="flex justify-between items-center px-8 py-4 w-full">
<div class="flex items-center gap-12">
<span class="text-xl font-black text-[#52B6FF] tracking-tighter font-['Space_Grotesk']">CLOUD ARSENAL</span>
<div class="hidden md:flex items-center gap-8 font-['Space_Grotesk'] tracking-tight text-sm uppercase">
<a class="text-white/60 hover:text-white transition-colors" href="#">DEPLOYMENTS</a>
<a class="text-white/60 hover:text-white transition-colors" href="#">REGIONS</a>
<a class="text-white/60 hover:text-white transition-colors" href="#">NETWORK</a>
<a class="text-[#52B6FF] border-b-2 border-[#52B6FF] pb-1" href="#">SECURITY</a>
</div>
</div>
<div class="flex items-center gap-6">
<!-- AI Command Bar -->
<div class="relative group hidden lg:block">
<div class="absolute inset-0 bg-[#52B6FF]/10 blur-xl rounded-full opacity-0 group-focus-within:opacity-100 transition-opacity"></div>
<div class="relative flex items-center bg-white/[0.03] border border-white/5 rounded-full px-4 py-1.5 w-80">
<span class="material-symbols-outlined text-white/40 text-sm mr-2">terminal</span>
<input class="bg-transparent border-none focus:ring-0 text-xs font-mono w-full text-white placeholder-white/20" placeholder="AI Command: Scan S3 buckets..." type="text"/>
</div>
</div>
<div class="flex items-center gap-4">
<button class="material-symbols-outlined text-white/60 hover:text-white transition-colors">notifications</button>
<button class="material-symbols-outlined text-white/60 hover:text-white transition-colors">settings</button>
<div class="w-8 h-8 rounded-full overflow-hidden border border-[#52B6FF]/30">
<img alt="User profile" class="w-full h-full object-cover" data-alt="Close up portrait of a professional male tech lead with short hair and serious expression in high-key cinematic lighting" src="https://lh3.googleusercontent.com/aida-public/AB6AXuA_gycpMM2bA8rrVmLgLYuJKuKREX3I22SRD5odUdFB2sZeFCKxh5gnBFu0mWVPJRZCQNd-7T9VwPJ6gp7XSikXJRMkNxAodZu2u5Fvw8mrKNJNqKOYit7aQhtiYSvgORcI6NgpWIBVZ4h4CN9wyvAJt61Y4OHsxYtcb0o1A9S7-PahX1PwZ3y1bbUm4WxkOhlySJvxZc9oLB9UE1hY0m9Z4aW4KKb5jVD3vkCRHaLrkAiHdVOtdT6hISQZKHfF3iqghC3eHRbP1hGK"/>
</div>
</div>
</div>
</div>
<div class="bg-gradient-to-b from-[#52B6FF]/10 to-transparent h-[1px] w-full absolute bottom-0"></div>
</header>
<!-- Side Navigation Bar (Provider Rail) -->
<aside class="fixed left-0 top-0 h-full w-20 z-40 flex flex-col items-center pt-24 pb-8 bg-white/[0.02] backdrop-blur-md">
<div class="flex flex-col gap-6 items-center">
<!-- Provider Icons -->
<div class="group relative flex flex-col items-center">
<div class="w-10 h-10 rounded-full bg-[#52B6FF]/20 flex items-center justify-center border border-[#52B6FF]/40 text-[#52B6FF] cursor-pointer hover:scale-110 transition-transform">
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">cloud</span>
</div>
<span class="absolute left-16 bg-surface-container px-2 py-1 rounded text-[10px] font-mono opacity-0 group-hover:opacity-100 transition-opacity">AWS</span>
</div>
<div class="group relative flex flex-col items-center">
<div class="w-10 h-10 rounded-full bg-white/[0.05] flex items-center justify-center border border-white/10 text-white/60 cursor-pointer hover:text-white hover:border-white/30 transition-all">
<span class="material-symbols-outlined">filter_drama</span>
</div>
<span class="absolute left-16 bg-surface-container px-2 py-1 rounded text-[10px] font-mono opacity-0 group-hover:opacity-100 transition-opacity">AZURE</span>
</div>
<div class="group relative flex flex-col items-center">
<div class="w-10 h-10 rounded-full bg-error-container/20 flex items-center justify-center border border-error/40 text-error cursor-pointer animate-pulse">
<span class="material-symbols-outlined">warning</span>
</div>
<span class="absolute left-16 bg-surface-container px-2 py-1 rounded text-[10px] font-mono opacity-0 group-hover:opacity-100 transition-opacity">GCP (ALERT)</span>
</div>
<div class="group relative flex flex-col items-center">
<div class="w-10 h-10 rounded-full bg-white/[0.02] flex items-center justify-center border border-white/5 text-white/20 cursor-pointer hover:text-white/40 transition-all">
<span class="material-symbols-outlined">database</span>
</div>
<span class="absolute left-16 bg-surface-container px-2 py-1 rounded text-[10px] font-mono opacity-0 group-hover:opacity-100 transition-opacity">ORACLE</span>
</div>
<button class="w-10 h-10 rounded-full border border-dashed border-white/20 flex items-center justify-center text-white/20 hover:text-[#52B6FF] hover:border-[#52B6FF] transition-all">
<span class="material-symbols-outlined">add</span>
</button>
</div>
<div class="mt-auto flex flex-col gap-6 items-center">
<button class="material-symbols-outlined text-white/20 hover:text-white transition-colors">help</button>
<button class="material-symbols-outlined text-white/20 hover:text-white transition-colors">description</button>
</div>
</aside>
<!-- Main Content Area -->
<main class="pl-20 pt-20 pb-12 pr-4 min-h-screen">
<div class="max-w-[1600px] mx-auto p-8 space-y-8">
<!-- Metric Strip -->
<section class="grid grid-cols-2 md:grid-cols-5 gap-4">
<div class="glass-card rounded-xl p-4 border-l-4 border-[#52B6FF]">
<div class="text-[10px] font-label uppercase tracking-widest text-white/40 mb-1">SECURITY SCORE</div>
<div class="flex items-end gap-2">
<span class="text-3xl font-mono font-bold text-[#52B6FF]">74</span>
<span class="text-white/20 font-mono text-sm mb-1">/100</span>
</div>
</div>
<div class="glass-card rounded-xl p-4 border-l-4 border-error">
<div class="text-[10px] font-label uppercase tracking-widest text-white/40 mb-1">CRITICAL ISSUES</div>
<div class="text-3xl font-mono font-bold text-error">3</div>
</div>
<div class="glass-card rounded-xl p-4 border-l-4 border-tertiary">
<div class="text-[10px] font-label uppercase tracking-widest text-white/40 mb-1">WARNINGS</div>
<div class="text-3xl font-mono font-bold text-tertiary">7</div>
</div>
<div class="glass-card rounded-xl p-4 border-l-4 border-emerald-400">
<div class="text-[10px] font-label uppercase tracking-widest text-white/40 mb-1">CHECKS PASSED</div>
<div class="text-3xl font-mono font-bold text-emerald-400">84</div>
</div>
<div class="glass-card rounded-xl p-4">
<div class="text-[10px] font-label uppercase tracking-widest text-white/40 mb-1">LAST SCAN</div>
<div class="text-xl font-mono text-white/80 mt-1 uppercase">3m ago</div>
<div class="text-[10px] font-mono text-emerald-400">SYSTEM NOMINAL</div>
</div>
</section>
<!-- Main Dashboard Layout -->
<div class="grid grid-cols-1 lg:grid-cols-12 gap-8 items-start">
<!-- Left Panel: Security Issues -->
<div class="lg:col-span-7 space-y-6">
<div class="flex justify-between items-center">
<h2 class="text-lg font-headline font-medium tracking-tight">ACTIVE VULNERABILITIES</h2>
<span class="text-[10px] font-mono text-white/40 px-3 py-1 bg-white/5 rounded-full uppercase">Updated Live</span>
</div>
<div class="space-y-3">
<!-- Issue Item -->
<div class="glass-card rounded-xl p-4 hover:bg-white/[0.04] transition-all cursor-pointer group border-l border-error/20">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<span class="w-2 h-2 rounded-full bg-error shadow-[0_0_8px_rgba(255,180,171,0.6)]"></span>
<span class="text-sm font-medium">S3 bucket allows public read access</span>
</div>
<span class="text-[10px] font-mono text-error uppercase px-2 py-0.5 border border-error/20 rounded">Critical</span>
</div>
<div class="flex justify-between items-center pl-5">
<span class="text-xs font-mono text-white/40">Resource: prod-finance-ledger-01</span>
<span class="material-symbols-outlined text-white/20 group-hover:text-[#52B6FF] transition-colors text-lg">arrow_forward</span>
</div>
</div>
<div class="glass-card rounded-xl p-4 hover:bg-white/[0.04] transition-all cursor-pointer group border-l border-error/20">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<span class="w-2 h-2 rounded-full bg-error shadow-[0_0_8px_rgba(255,180,171,0.6)]"></span>
<span class="text-sm font-medium">Root user has active access keys</span>
</div>
<span class="text-[10px] font-mono text-error uppercase px-2 py-0.5 border border-error/20 rounded">Critical</span>
</div>
<div class="flex justify-between items-center pl-5">
<span class="text-xs font-mono text-white/40">Resource: aws-root-account</span>
<span class="material-symbols-outlined text-white/20 group-hover:text-[#52B6FF] transition-colors text-lg">arrow_forward</span>
</div>
</div>
<div class="glass-card rounded-xl p-4 hover:bg-white/[0.04] transition-all cursor-pointer group border-l border-tertiary/20">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<span class="w-2 h-2 rounded-full bg-tertiary"></span>
<span class="text-sm font-medium">NSG inbound rule allows 0.0.0.0/0 on port 22</span>
</div>
<span class="text-[10px] font-mono text-tertiary uppercase px-2 py-0.5 border border-tertiary/20 rounded">Warning</span>
</div>
<div class="flex justify-between items-center pl-5">
<span class="text-xs font-mono text-white/40">Resource: azure-vm-bastion-nsg</span>
<span class="material-symbols-outlined text-white/20 group-hover:text-[#52B6FF] transition-colors text-lg">arrow_forward</span>
</div>
</div>
<div class="glass-card rounded-xl p-4 hover:bg-white/[0.04] transition-all cursor-pointer group">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<span class="w-2 h-2 rounded-full bg-white/20"></span>
<span class="text-sm font-medium">MFA not enabled for IAM users (3)</span>
</div>
<span class="text-[10px] font-mono text-white/40 uppercase px-2 py-0.5 border border-white/10 rounded">Low</span>
</div>
<div class="flex justify-between items-center pl-5">
<span class="text-xs font-mono text-white/40">Resource: identity-access-mgmt</span>
<span class="material-symbols-outlined text-white/20 group-hover:text-[#52B6FF] transition-colors text-lg">arrow_forward</span>
</div>
</div>
<div class="glass-card rounded-xl p-4 hover:bg-white/[0.04] transition-all cursor-pointer group">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<span class="w-2 h-2 rounded-full bg-white/20"></span>
<span class="text-sm font-medium">CloudTrail logging disabled in ap-southeast-1</span>
</div>
<span class="text-[10px] font-mono text-white/40 uppercase px-2 py-0.5 border border-white/10 rounded">Low</span>
</div>
<div class="flex justify-between items-center pl-5">
<span class="text-xs font-mono text-white/40">Resource: trail-regional-logger</span>
<span class="material-symbols-outlined text-white/20 group-hover:text-[#52B6FF] transition-colors text-lg">arrow_forward</span>
</div>
</div>
<div class="glass-card rounded-xl p-4 hover:bg-white/[0.04] transition-all cursor-pointer group">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<span class="w-2 h-2 rounded-full bg-white/20"></span>
<span class="text-sm font-medium">Key Vault 'sec-vault-04' lacks purge protection</span>
</div>
<span class="text-[10px] font-mono text-white/40 uppercase px-2 py-0.5 border border-white/10 rounded">Low</span>
</div>
<div class="flex justify-between items-center pl-5">
<span class="text-xs font-mono text-white/40">Resource: azure-key-vault</span>
<span class="material-symbols-outlined text-white/20 group-hover:text-[#52B6FF] transition-colors text-lg">arrow_forward</span>
</div>
</div>
</div>
</div>
<!-- Right Panel: Compliance Progress -->
<div class="lg:col-span-5 space-y-6">
<div class="flex justify-between items-center">
<h2 class="text-lg font-headline font-medium tracking-tight">COMPLIANCE STATS</h2>
<span class="material-symbols-outlined text-white/40">bar_chart</span>
</div>
<div class="glass-card rounded-2xl p-6 space-y-8">
<!-- Progress Items -->
<div class="space-y-2">
<div class="flex justify-between items-end">
<span class="text-xs font-label text-white/60 uppercase tracking-wider">CIS AWS Benchmark</span>
<span class="text-sm font-mono text-[#52B6FF]">78%</span>
</div>
<div class="h-1.5 w-full bg-white/5 rounded-full overflow-hidden">
<div class="h-full bg-[#52B6FF] rounded-full shadow-[0_0_10px_rgba(82,182,255,0.4)]" style="width: 78%"></div>
</div>
</div>
<div class="space-y-2">
<div class="flex justify-between items-end">
<span class="text-xs font-label text-white/60 uppercase tracking-wider">CIS Azure Benchmark</span>
<span class="text-sm font-mono text-[#52B6FF]">65%</span>
</div>
<div class="h-1.5 w-full bg-white/5 rounded-full overflow-hidden">
<div class="h-full bg-[#52B6FF] rounded-full shadow-[0_0_10px_rgba(82,182,255,0.4)]" style="width: 65%"></div>
</div>
</div>
<div class="space-y-2">
<div class="flex justify-between items-end">
<span class="text-xs font-label text-white/60 uppercase tracking-wider">IAM Hygiene</span>
<span class="text-sm font-mono text-emerald-400">90%</span>
</div>
<div class="h-1.5 w-full bg-white/5 rounded-full overflow-hidden">
<div class="h-full bg-emerald-400 rounded-full" style="width: 90%"></div>
</div>
</div>
<div class="space-y-2">
<div class="flex justify-between items-end">
<span class="text-xs font-label text-white/60 uppercase tracking-wider">Network Hardening</span>
<span class="text-sm font-mono text-error">55%</span>
</div>
<div class="h-1.5 w-full bg-white/5 rounded-full overflow-hidden">
<div class="h-full bg-error rounded-full" style="width: 55%"></div>
</div>
</div>
<div class="space-y-2">
<div class="flex justify-between items-end">
<span class="text-xs font-label text-white/60 uppercase tracking-wider">Data Encryption</span>
<span class="text-sm font-mono text-emerald-400">95%</span>
</div>
<div class="h-1.5 w-full bg-white/5 rounded-full overflow-hidden">
<div class="h-full bg-emerald-400 rounded-full" style="width: 95%"></div>
</div>
</div>
<div class="space-y-2">
<div class="flex justify-between items-end">
<span class="text-xs font-label text-white/60 uppercase tracking-wider">Logging & Monitoring</span>
<span class="text-sm font-mono text-tertiary">72%</span>
</div>
<div class="h-1.5 w-full bg-white/5 rounded-full overflow-hidden">
<div class="h-full bg-tertiary rounded-full" style="width: 72%"></div>
</div>
</div>
</div>
<!-- Asymmetric CTA Card -->
<div class="bg-gradient-to-br from-[#52B6FF]/20 to-transparent p-6 rounded-2xl border border-[#52B6FF]/10 relative overflow-hidden group">
<div class="relative z-10">
<h3 class="font-headline font-bold text-white mb-2">GENERATE AUDIT REPORT</h3>
<p class="text-xs text-white/60 mb-4 max-w-[200px]">Create a SOC2-ready security posture report for all providers.</p>
<button class="bg-[#52B6FF] text-[#003351] px-6 py-2 rounded-full text-xs font-bold uppercase tracking-wider hover:bg-white hover:scale-105 transition-all">
DOWNLOAD PDF
</button>
</div>
<span class="material-symbols-outlined absolute -right-4 -bottom-4 text-8xl text-[#52B6FF]/5 group-hover:text-[#52B6FF]/10 transition-colors">description</span>
</div>
</div>
</div>
</div>
</main>
<!-- Bottom Status Bar -->
<footer class="fixed bottom-0 w-full z-50 bg-[#0E0E12] border-t border-white/5">
<div class="flex justify-between items-center px-8 py-2 w-full font-['JetBrains_Mono'] text-[10px] tracking-widest uppercase">
<div class="flex items-center gap-4">
<span class="text-[#52B6FF]">SYSTEM STATUS: NOMINAL</span>
<span class="text-white/30">|</span>
<span class="text-white/30">VERSION: 2.4.0-STABLE</span>
</div>
<div class="flex items-center gap-6">
<div class="flex items-center gap-2">
<span class="w-1.5 h-1.5 rounded-full bg-emerald-400"></span>
<span class="text-white/60 hover:text-white transition-colors cursor-default">LATENCY: 14MS</span>
</div>
<div class="flex items-center gap-2">
<span class="w-1.5 h-1.5 rounded-full bg-emerald-400"></span>
<span class="text-white/60 hover:text-white transition-colors cursor-default">UPTIME: 99.99%</span>
</div>
</div>
</div>
</footer>
<!-- FAB for New Action -->
<button class="fixed right-8 bottom-12 w-14 h-14 bg-[#52B6FF] text-[#003351] rounded-full shadow-[0_0_30px_rgba(82,182,255,0.4)] flex items-center justify-center z-50 hover:scale-110 active:scale-90 transition-transform">
<span class="material-symbols-outlined font-bold">add</span>
</button>
</body></html>