cbom-builder / integrations.html
gpetrizey's picture
Adjust layout and spacing for consistency in navigation and sidebar components.
61e0718
Raw
History Blame Contribute Delete
33 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Integrations - Quantum Safe</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
min-height: 100vh;
}
/* Ensure content is visible by default */
[data-aos] {
opacity: 1 !important;
transform: none !important;
}
[data-aos].aos-animate {
opacity: 1 !important;
}
.gradient-text {
background: linear-gradient(135deg, #F59E0B, #FBBF24, #FCD34D);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.sidebar {
backdrop-filter: blur(20px);
background: rgba(15, 23, 42, 0.8);
border-right: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.card-hover {
backdrop-filter: blur(15px);
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-2px);
background: rgba(255, 255, 255, 0.08);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
border-color: rgba(245, 158, 11, 0.3);
}
.tab-active {
border-bottom: 3px solid #F59E0B;
color: #F59E0B;
}
.status-connected {
border-left: 4px solid #10B981;
}
.status-disconnected {
border-left: 4px solid #EF4444;
}
.status-pending {
border-left: 4px solid #F59E0B;
}
.action-button {
background: linear-gradient(135deg, #F59E0B, #FBBF24);
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.action-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
.particle {
position: absolute;
width: 2px;
height: 2px;
background: #F59E0B;
border-radius: 50%;
animation: particle-float 8s linear infinite;
opacity: 0.7;
}
@keyframes particle-float {
0% {
transform: translateY(100vh) translateX(0px);
opacity: 0;
}
10% {
opacity: 0.7;
}
90% {
opacity: 0.7;
}
100% {
transform: translateY(-100px) translateX(100px);
opacity: 0;
}
}
/* Fix select dropdown styling */
select option {
background-color: #1e293b;
color: #ffffff;
padding: 8px;
}
select option:hover {
background-color: #334155;
}
select option:checked {
background-color: #475569;
}
/* Ensure select has proper background */
select {
background-color: rgba(255, 255, 255, 0.1);
color: #ffffff;
}
select:focus {
background-color: rgba(255, 255, 255, 0.15);
}
</style>
</head>
<body class="flex h-screen overflow-hidden">
<!-- Animated Background Particles -->
<div class="fixed inset-0 pointer-events-none z-0">
<div class="particle" style="left: 10%; animation-delay: 0s;"></div>
<div class="particle" style="left: 30%; animation-delay: 2s;"></div>
<div class="particle" style="left: 50%; animation-delay: 4s;"></div>
<div class="particle" style="left: 70%; animation-delay: 6s;"></div>
<div class="particle" style="left: 90%; animation-delay: 8s;"></div>
</div>
<!-- Sidebar -->
<div class="sidebar text-white w-64 flex-shrink-0 flex flex-col relative z-10">
<div class="p-4 border-b border-white/10">
<a href="index.html" class="flex items-center space-x-3 hover:opacity-80 transition-opacity">
<div
class="w-10 h-10 rounded-full bg-gradient-to-r from-yellow-400 to-yellow-500 flex items-center justify-center">
<i data-feather="shield" class="text-gray-900 w-5 h-5"></i>
</div>
<h1 class="text-xl font-bold"><span class="gradient-text">Quantum Safe</span></h1>
</a>
</div>
<nav class="flex-1 overflow-y-auto p-4 space-y-1">
<a href="index.html"
class="flex items-center space-x-3 p-3 rounded-lg hover:bg-white/10 text-gray-300 hover:text-white transition-all">
<i data-feather="home" class="w-5 h-5"></i>
<span>Home</span>
</a>
<a href="dashboard.html"
class="flex items-center space-x-3 p-3 rounded-lg hover:bg-white/10 text-gray-300 hover:text-white transition-all">
<i data-feather="layout" class="w-5 h-5"></i>
<span>Dashboard</span>
</a>
<a href="cboms.html"
class="flex items-center space-x-3 p-3 rounded-lg hover:bg-white/10 text-gray-300 hover:text-white transition-all">
<i data-feather="file-text" class="w-5 h-5"></i>
<span>CBOMs</span>
</a>
<a href="assets.html"
class="flex items-center space-x-3 p-3 rounded-lg hover:bg-white/10 text-gray-300 hover:text-white transition-all">
<i data-feather="lock" class="w-5 h-5"></i>
<span>Assets</span>
</a>
<a href="integrations.html"
class="flex items-center space-x-3 p-3 rounded-lg bg-yellow-400/20 text-yellow-400 border border-yellow-400/30">
<i data-feather="link" class="w-5 h-5"></i>
<span>Integrations</span>
</a>
<a href="analytics.html"
class="flex items-center space-x-3 p-3 rounded-lg hover:bg-white/10 text-gray-300 hover:text-white transition-all">
<i data-feather="bar-chart-2" class="w-5 h-5"></i>
<span>Analytics</span>
</a>
</nav>
<div class="p-4 border-t border-white/10">
<div class="flex items-center space-x-3">
<div
class="w-10 h-10 rounded-full bg-gradient-to-r from-gray-600 to-gray-700 flex items-center justify-center">
<i data-feather="user" class="text-gray-300 w-5 h-5"></i>
</div>
<div>
<p class="text-sm font-medium">Josep Mateu</p>
<p class="text-xs text-gray-400">Administrator</p>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 flex flex-col overflow-hidden relative z-10">
<!-- Top Navigation -->
<header
class="backdrop-filter backdrop-blur-lg bg-white/5 border-b border-white/10 flex items-center justify-between p-4">
<div class="flex items-center space-x-4">
<button class="md:hidden text-white">
<i data-feather="menu"></i>
</button>
<h2 class="text-xl font-semibold text-white">Integrations Management</h2>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<i data-feather="search"
class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
<input type="text" placeholder="Search integrations..."
class="pl-10 pr-4 py-2 bg-white/10 border border-white/20 text-white placeholder-gray-400 rounded-lg focus:outline-none focus:ring-2 focus:ring-yellow-400 focus:border-transparent">
</div>
<button class="px-4 py-2 action-button text-gray-900 rounded-lg font-semibold">
<i data-feather="plus" class="w-4 h-4 inline mr-2"></i>
Add Integration
</button>
</div>
</header>
<!-- Main Content Area -->
<main class="flex-1 overflow-y-auto p-6">
<!-- Tabs Navigation -->
<div class="card-hover rounded-xl mb-6">
<div class="flex border-b border-white/10 overflow-x-auto">
<button class="px-6 py-4 font-medium tab-active">Active Integrations</button>
<button class="px-6 py-4 font-medium text-gray-400 hover:text-gray-200">Available</button>
<button class="px-6 py-4 font-medium text-gray-400 hover:text-gray-200">Configuration</button>
<button class="px-6 py-4 font-medium text-gray-400 hover:text-gray-200">Logs</button>
</div>
</div>
<!-- Integration Statistics -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-6">
<div class="card-hover rounded-xl p-4 text-center" data-aos="fade-up">
<div
class="w-12 h-12 bg-green-400/20 text-green-400 rounded-full flex items-center justify-center mx-auto mb-3">
<i data-feather="check-circle" class="w-6 h-6"></i>
</div>
<p class="text-2xl font-bold text-white">3</p>
<p class="text-sm text-gray-400">Active Integrations</p>
</div>
<div class="card-hover rounded-xl p-4 text-center" data-aos="fade-up" data-aos-delay="100">
<div
class="w-12 h-12 bg-red-400/20 text-red-400 rounded-full flex items-center justify-center mx-auto mb-3">
<i data-feather="x-circle" class="w-6 h-6"></i>
</div>
<p class="text-2xl font-bold text-white">1</p>
<p class="text-sm text-gray-400">Failed Connections</p>
</div>
<div class="card-hover rounded-xl p-4 text-center" data-aos="fade-up" data-aos-delay="200">
<div
class="w-12 h-12 bg-yellow-400/20 text-yellow-400 rounded-full flex items-center justify-center mx-auto mb-3">
<i data-feather="clock" class="w-6 h-6"></i>
</div>
<p class="text-2xl font-bold text-white">2</p>
<p class="text-sm text-gray-400">Pending Setup</p>
</div>
<div class="card-hover rounded-xl p-4 text-center" data-aos="fade-up" data-aos-delay="300">
<div
class="w-12 h-12 bg-blue-400/20 text-blue-400 rounded-full flex items-center justify-center mx-auto mb-3">
<i data-feather="activity" class="w-6 h-6"></i>
</div>
<p class="text-2xl font-bold text-white">15.2k</p>
<p class="text-sm text-gray-400">Events Today</p>
</div>
</div>
<!-- Integration Cards Grid -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Active Integrations -->
<div class="space-y-6">
<h3 class="font-semibold text-lg text-white">Active Integrations</h3>
<!-- Venafi Integration -->
<div class="card-hover rounded-xl p-6 status-connected" data-aos="fade-up" data-aos-delay="100">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-4">
<div
class="w-12 h-12 bg-purple-400/20 text-purple-400 rounded-lg flex items-center justify-center">
<i data-feather="cpu" class="w-6 h-6"></i>
</div>
<div>
<h4 class="font-semibold text-lg text-white">Venafi</h4>
<p class="text-sm text-gray-400">Certificate Management Platform</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span
class="px-2 py-1 text-xs rounded-full bg-green-400/20 text-green-400">Connected</span>
<div class="w-3 h-3 bg-green-500 rounded-full pulse-animation"></div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="text-center p-3 bg-white/5 rounded-lg border border-white/10">
<p class="text-xl font-bold text-white">247</p>
<p class="text-xs text-gray-400">Certificates Synced</p>
</div>
<div class="text-center p-3 bg-white/5 rounded-lg border border-white/10">
<p class="text-xl font-bold text-white">99.8%</p>
<p class="text-xs text-gray-400">Uptime</p>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-400 mb-4">
<span>Last sync: 5 minutes ago</span>
<span>Next sync: 1 hour</span>
</div>
<div class="flex space-x-2">
<button
class="flex-1 px-4 py-2 bg-white/10 text-gray-300 rounded-lg hover:bg-white/20 transition-colors border border-white/20">
<i data-feather="settings" class="w-4 h-4 inline mr-2"></i>
Configure
</button>
<button
class="flex-1 px-4 py-2 border border-white/20 text-gray-300 rounded-lg hover:bg-white/10 transition-colors">
<i data-feather="activity" class="w-4 h-4 inline mr-2"></i>
View Logs
</button>
</div>
</div>
<!-- Tanium Integration -->
<div class="card-hover rounded-xl p-6 status-connected" data-aos="fade-up" data-aos-delay="200">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-4">
<div
class="w-12 h-12 bg-blue-400/20 text-blue-400 rounded-lg flex items-center justify-center">
<i data-feather="server" class="w-6 h-6"></i>
</div>
<div>
<h4 class="font-semibold text-lg text-white">Tanium</h4>
<p class="text-sm text-gray-400">Endpoint Management Platform</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span
class="px-2 py-1 text-xs rounded-full bg-green-400/20 text-green-400">Connected</span>
<div class="w-3 h-3 bg-green-500 rounded-full pulse-animation"></div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div class="text-center p-3 bg-white/5 rounded-lg border border-white/10">
<p class="text-xl font-bold text-white">1,842</p>
<p class="text-xs text-gray-400">Assets Discovered</p>
</div>
<div class="text-center p-3 bg-white/5 rounded-lg border border-white/10">
<p class="text-xl font-bold text-white">97.2%</p>
<p class="text-xs text-gray-400">Uptime</p>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-400 mb-4">
<span>Last scan: 2 hours ago</span>
<span>Next scan: 6 hours</span>
</div>
<div class="flex space-x-2">
<button
class="flex-1 px-4 py-2 bg-white/10 text-gray-300 rounded-lg hover:bg-white/20 transition-colors border border-white/20">
<i data-feather="settings" class="w-4 h-4 inline mr-2"></i>
Configure
</button>
<button
class="flex-1 px-4 py-2 border border-white/20 text-gray-300 rounded-lg hover:bg-white/10 transition-colors">
<i data-feather="activity" class="w-4 h-4 inline mr-2"></i>
View Logs
</button>
</div>
</div>
</div>
<!-- Pending/Failed Integrations -->
<div class="space-y-6">
<h3 class="font-semibold text-lg text-white">Pending & Failed Integrations</h3>
<!-- SandboxAQ Integration - Failed -->
<div class="card-hover rounded-xl p-6 status-disconnected" data-aos="fade-up" data-aos-delay="300">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-4">
<div
class="w-12 h-12 bg-yellow-400/20 text-yellow-400 rounded-lg flex items-center justify-center">
<i data-feather="shield" class="w-6 h-6"></i>
</div>
<div>
<h4 class="font-semibold text-lg text-white">SandboxAQ</h4>
<p class="text-sm text-gray-400">Quantum Security Assessment</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span class="px-2 py-1 text-xs rounded-full bg-red-400/20 text-red-400">Failed</span>
<div class="w-3 h-3 bg-red-500 rounded-full"></div>
</div>
</div>
<div class="bg-red-400/10 border border-red-400/30 rounded-lg p-4 mb-4">
<div class="flex items-start space-x-3">
<i data-feather="alert-circle" class="w-5 h-5 text-red-400 mt-0.5"></i>
<div>
<p class="text-sm font-medium text-red-400">Connection Failed</p>
<p class="text-xs text-red-300 mt-1">Authentication credentials expired. Please
update API key.</p>
</div>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-400 mb-4">
<span>Last attempt: 1 hour ago</span>
<span>Failed attempts: 3</span>
</div>
<div class="flex space-x-2">
<button
class="flex-1 px-4 py-2 bg-red-600 text-white rounded-lg hover:bg-red-700 transition-colors">
<i data-feather="refresh-cw" class="w-4 h-4 inline mr-2"></i>
Retry Connection
</button>
<button
class="flex-1 px-4 py-2 border border-white/20 text-gray-300 rounded-lg hover:bg-white/10 transition-colors">
<i data-feather="settings" class="w-4 h-4 inline mr-2"></i>
Configure
</button>
</div>
</div>
<!-- AWS KMS Integration - Pending -->
<div class="card-hover rounded-xl p-6 status-pending" data-aos="fade-up" data-aos-delay="400">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-4">
<div
class="w-12 h-12 bg-gray-400/20 text-gray-400 rounded-lg flex items-center justify-center">
<i data-feather="cloud" class="w-6 h-6"></i>
</div>
<div>
<h4 class="font-semibold text-lg text-white">AWS KMS</h4>
<p class="text-sm text-gray-400">Key Management Service</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span
class="px-2 py-1 text-xs rounded-full bg-yellow-400/20 text-yellow-400">Pending</span>
<div class="w-3 h-3 bg-yellow-500 rounded-full pulse-animation"></div>
</div>
</div>
<div class="bg-yellow-400/10 border border-yellow-400/30 rounded-lg p-4 mb-4">
<div class="flex items-start space-x-3">
<i data-feather="clock" class="w-5 h-5 text-yellow-400 mt-0.5"></i>
<div>
<p class="text-sm font-medium text-yellow-400">Setup Required</p>
<p class="text-xs text-yellow-300 mt-1">Complete configuration to activate this
integration.</p>
</div>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-400 mb-4">
<span>Added: 2 days ago</span>
<span>Progress: 60%</span>
</div>
<div class="flex space-x-2">
<button class="flex-1 px-4 py-2 action-button text-gray-900 rounded-lg font-semibold">
<i data-feather="play" class="w-4 h-4 inline mr-2"></i>
Complete Setup
</button>
<button
class="flex-1 px-4 py-2 border border-white/20 text-gray-300 rounded-lg hover:bg-white/10 transition-colors">
<i data-feather="trash-2" class="w-4 h-4 inline mr-2"></i>
Remove
</button>
</div>
</div>
<!-- HashiCorp Vault Integration - Pending -->
<div class="card-hover rounded-xl p-6 status-pending" data-aos="fade-up" data-aos-delay="500">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center space-x-4">
<div
class="w-12 h-12 bg-indigo-400/20 text-indigo-400 rounded-lg flex items-center justify-center">
<i data-feather="key" class="w-6 h-6"></i>
</div>
<div>
<h4 class="font-semibold text-lg text-white">HashiCorp Vault</h4>
<p class="text-sm text-gray-400">Secrets Management</p>
</div>
</div>
<div class="flex items-center space-x-2">
<span
class="px-2 py-1 text-xs rounded-full bg-yellow-400/20 text-yellow-400">Pending</span>
<div class="w-3 h-3 bg-yellow-500 rounded-full pulse-animation"></div>
</div>
</div>
<div class="bg-blue-400/10 border border-blue-400/30 rounded-lg p-4 mb-4">
<div class="flex items-start space-x-3">
<i data-feather="info" class="w-5 h-5 text-blue-400 mt-0.5"></i>
<div>
<p class="text-sm font-medium text-blue-400">Ready to Configure</p>
<p class="text-xs text-blue-300 mt-1">Integration template is ready. Configure
connection settings.</p>
</div>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-400 mb-4">
<span>Added: 3 hours ago</span>
<span>Progress: 25%</span>
</div>
<div class="flex space-x-2">
<button
class="flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors">
<i data-feather="settings" class="w-4 h-4 inline mr-2"></i>
Configure Now
</button>
<button
class="flex-1 px-4 py-2 border border-white/20 text-gray-300 rounded-lg hover:bg-white/10 transition-colors">
<i data-feather="trash-2" class="w-4 h-4 inline mr-2"></i>
Remove
</button>
</div>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="card-hover rounded-xl p-6 mt-6" data-aos="fade-up" data-aos-delay="600">
<div class="flex items-center justify-between mb-4">
<h3 class="font-semibold text-lg text-white">Recent Integration Activity</h3>
<button class="text-sm text-yellow-400 hover:text-yellow-300">View All</button>
</div>
<div class="space-y-4">
<div class="flex items-start space-x-3 p-4 bg-green-400/10 rounded-lg border border-green-400/30">
<div class="p-2 rounded-full bg-green-400/20 text-green-400 mt-1">
<i data-feather="check-circle" class="w-4 h-4"></i>
</div>
<div class="flex-1">
<p class="font-medium text-white">Venafi sync completed successfully</p>
<p class="text-sm text-gray-400">247 certificates updated, 3 new certificates added</p>
<p class="text-xs text-gray-500 mt-1">5 minutes ago</p>
</div>
</div>
<div class="flex items-start space-x-3 p-4 bg-blue-400/10 rounded-lg border border-blue-400/30">
<div class="p-2 rounded-full bg-blue-400/20 text-blue-400 mt-1">
<i data-feather="server" class="w-4 h-4"></i>
</div>
<div class="flex-1">
<p class="font-medium text-white">Tanium asset discovery completed</p>
<p class="text-sm text-gray-400">1,842 assets scanned, 15 new cryptographic assets found</p>
<p class="text-xs text-gray-500 mt-1">2 hours ago</p>
</div>
</div>
<div class="flex items-start space-x-3 p-4 bg-red-400/10 rounded-lg border border-red-400/30">
<div class="p-2 rounded-full bg-red-400/20 text-red-400 mt-1">
<i data-feather="alert-circle" class="w-4 h-4"></i>
</div>
<div class="flex-1">
<p class="font-medium text-white">SandboxAQ connection failed</p>
<p class="text-sm text-gray-400">Authentication error: API key expired</p>
<p class="text-xs text-gray-500 mt-1">1 hour ago</p>
</div>
</div>
</div>
</div>
</main>
</div>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
// Initialize feather icons immediately
document.addEventListener('DOMContentLoaded', function () {
// Replace feather icons
feather.replace();
// Initialize AOS with better settings
AOS.init({
duration: 400,
once: true,
offset: 0,
easing: 'ease-out',
delay: 0,
anchorPlacement: 'top-bottom',
disable: function () {
// Disable AOS on mobile devices to prevent issues
return window.innerWidth < 768;
}
});
// Force AOS refresh after a short delay
setTimeout(() => {
AOS.refresh();
}, 100);
});
// Tab switching functionality
document.querySelectorAll('.flex button').forEach(button => {
button.addEventListener('click', function () {
// Only apply to tab buttons
if (this.parentElement.classList.contains('flex') && this.parentElement.parentElement.classList.contains('card-hover')) {
document.querySelectorAll('.flex button').forEach(btn => {
if (btn.parentElement === this.parentElement) {
btn.classList.remove('tab-active');
btn.classList.add('text-gray-400', 'hover:text-gray-200');
}
});
this.classList.add('tab-active');
this.classList.remove('text-gray-400', 'hover:text-gray-200');
}
});
});
// Pulse animation control
document.addEventListener('DOMContentLoaded', function () {
const pulseElements = document.querySelectorAll('.pulse-animation');
pulseElements.forEach(element => {
setInterval(() => {
element.style.opacity = element.style.opacity === '0.7' ? '1' : '0.7';
}, 1000);
});
});
// Ensure all content is visible on load
window.addEventListener('load', function () {
// Force all AOS elements to animate
document.querySelectorAll('[data-aos]').forEach(el => {
el.classList.add('aos-animate');
});
});
</script>
</body>
</html>