cbom-builder / integrations.html
gpetrizey's picture
Add CBOM and Integrations management pages with responsive design and interactive elements
e241f1f
Raw
History Blame Contribute Delete
27.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Integrations Management - EY 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://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f9fafb;
}
.sidebar {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.tab-active {
border-bottom: 3px solid #F59E0B;
color: #111827;
}
.status-connected {
border-left: 4px solid #10B981;
}
.status-disconnected {
border-left: 4px solid #EF4444;
}
.status-pending {
border-left: 4px solid #F59E0B;
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
</style>
</head>
<body class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="sidebar bg-gray-900 text-white w-64 flex-shrink-0 flex flex-col">
<div class="p-4 border-b border-gray-700">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 rounded-full bg-yellow-400 flex items-center justify-center">
<i data-feather="shield" class="text-gray-900"></i>
</div>
<h1 class="text-xl font-bold">EY Quantum Safe</h1>
</div>
</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-gray-800 text-gray-300 hover:text-white">
<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-gray-800 text-gray-300 hover:text-white">
<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-gray-800 text-gray-300 hover:text-white">
<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-gray-800 text-yellow-400">
<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-gray-800 text-gray-300 hover:text-white">
<i data-feather="bar-chart-2" class="w-5 h-5"></i>
<span>Analytics</span>
</a>
</nav>
<div class="p-4 border-t border-gray-700">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center">
<i data-feather="user" class="text-gray-300"></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">
<!-- Top Navigation -->
<header class="bg-white border-b border-gray-200 flex items-center justify-between p-4">
<div class="flex items-center space-x-4">
<button class="md:hidden text-gray-500">
<i data-feather="menu"></i>
</button>
<h2 class="text-xl font-semibold text-gray-800">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 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-yellow-400 focus:border-transparent">
</div>
<button
class="px-4 py-2 bg-yellow-400 text-gray-900 rounded-lg font-medium hover:bg-yellow-500 transition-colors">
<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 bg-gray-50">
<!-- Tabs Navigation -->
<div class="bg-white rounded-xl shadow-sm mb-6">
<div class="flex border-b border-gray-200">
<button class="px-6 py-4 font-medium tab-active">Active Integrations</button>
<button class="px-6 py-4 font-medium text-gray-500 hover:text-gray-700">Available</button>
<button class="px-6 py-4 font-medium text-gray-500 hover:text-gray-700">Configuration</button>
<button class="px-6 py-4 font-medium text-gray-500 hover:text-gray-700">Logs</button>
</div>
</div>
<!-- Integration Statistics -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-6">
<div class="bg-white rounded-xl shadow-sm p-4 text-center">
<div
class="w-12 h-12 bg-green-100 text-green-600 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-gray-800">3</p>
<p class="text-sm text-gray-600">Active Integrations</p>
</div>
<div class="bg-white rounded-xl shadow-sm p-4 text-center">
<div
class="w-12 h-12 bg-red-100 text-red-600 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-gray-800">1</p>
<p class="text-sm text-gray-600">Failed Connections</p>
</div>
<div class="bg-white rounded-xl shadow-sm p-4 text-center">
<div
class="w-12 h-12 bg-yellow-100 text-yellow-600 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-gray-800">2</p>
<p class="text-sm text-gray-600">Pending Setup</p>
</div>
<div class="bg-white rounded-xl shadow-sm p-4 text-center">
<div
class="w-12 h-12 bg-blue-100 text-blue-600 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-gray-800">15.2k</p>
<p class="text-sm text-gray-600">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-gray-800">Active Integrations</h3>
<!-- Venafi Integration -->
<div class="bg-white rounded-xl shadow-sm p-6 status-connected">
<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-100 text-purple-600 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">Venafi</h4>
<p class="text-sm text-gray-500">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-100 text-green-800">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-gray-50 rounded-lg">
<p class="text-xl font-bold text-gray-800">247</p>
<p class="text-xs text-gray-600">Certificates Synced</p>
</div>
<div class="text-center p-3 bg-gray-50 rounded-lg">
<p class="text-xl font-bold text-gray-800">99.8%</p>
<p class="text-xs text-gray-600">Uptime</p>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500 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-gray-100 text-gray-700 rounded-lg hover:bg-gray-200 transition-colors">
<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-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors">
<i data-feather="activity" class="w-4 h-4 inline mr-2"></i>
View Logs
</button>
</div>
</div>
<!-- Tanium Integration -->
<div class="bg-white rounded-xl shadow-sm p-6 status-connected">
<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-100 text-blue-600 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">Tanium</h4>
<p class="text-sm text-gray-500">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-100 text-green-800">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-gray-50 rounded-lg">
<p class="text-xl font-bold text-gray-800">1,842</p>
<p class="text-xs text-gray-600">Assets Discovered</p>
</div>
<div class="text-center p-3 bg-gray-50 rounded-lg">
<p class="text-xl font-bold text-gray-800">97.2%</p>
<p class="text-xs text-gray-600">Uptime</p>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500 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-gray-100 text-gray-700 rounded-lg hover:bg-gray-200 transition-colors">
<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-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 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-gray-800">Pending & Failed Integrations</h3>
<!-- SandboxAQ Integration - Failed -->
<div class="bg-white rounded-xl shadow-sm p-6 status-disconnected">
<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-100 text-yellow-600 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">SandboxAQ</h4>
<p class="text-sm text-gray-500">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-100 text-red-800">Failed</span>
<div class="w-3 h-3 bg-red-500 rounded-full"></div>
</div>
</div>
<div class="bg-red-50 border border-red-200 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-600 mt-0.5"></i>
<div>
<p class="text-sm font-medium text-red-800">Connection Failed</p>
<p class="text-xs text-red-600 mt-1">Authentication credentials expired. Please
update API key.</p>
</div>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500 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-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 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="bg-white rounded-xl shadow-sm p-6 status-pending">
<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-100 text-gray-600 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">AWS KMS</h4>
<p class="text-sm text-gray-500">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-100 text-yellow-800">Pending</span>
<div class="w-3 h-3 bg-yellow-500 rounded-full pulse-animation"></div>
</div>
</div>
<div class="bg-yellow-50 border border-yellow-200 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-600 mt-0.5"></i>
<div>
<p class="text-sm font-medium text-yellow-800">Setup Required</p>
<p class="text-xs text-yellow-600 mt-1">Complete configuration to activate this
integration.</p>
</div>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500 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 bg-yellow-400 text-gray-900 rounded-lg hover:bg-yellow-500 transition-colors">
<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-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 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="bg-white rounded-xl shadow-sm p-6 status-pending">
<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-100 text-indigo-600 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">HashiCorp Vault</h4>
<p class="text-sm text-gray-500">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-100 text-yellow-800">Pending</span>
<div class="w-3 h-3 bg-yellow-500 rounded-full pulse-animation"></div>
</div>
</div>
<div class="bg-blue-50 border border-blue-200 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-600 mt-0.5"></i>
<div>
<p class="text-sm font-medium text-blue-800">Ready to Configure</p>
<p class="text-xs text-blue-600 mt-1">Integration template is ready. Configure
connection settings.</p>
</div>
</div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500 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-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 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="bg-white rounded-xl shadow-sm p-6 mt-6">
<div class="flex items-center justify-between mb-4">
<h3 class="font-semibold text-lg">Recent Integration Activity</h3>
<button class="text-sm text-yellow-600 hover:text-yellow-700">View All</button>
</div>
<div class="space-y-4">
<div class="flex items-start space-x-3 p-4 bg-green-50 rounded-lg">
<div class="p-2 rounded-full bg-green-100 text-green-600 mt-1">
<i data-feather="check-circle" class="w-4 h-4"></i>
</div>
<div class="flex-1">
<p class="font-medium">Venafi sync completed successfully</p>
<p class="text-sm text-gray-500">247 certificates updated, 3 new certificates added</p>
<p class="text-xs text-gray-400 mt-1">5 minutes ago</p>
</div>
</div>
<div class="flex items-start space-x-3 p-4 bg-blue-50 rounded-lg">
<div class="p-2 rounded-full bg-blue-100 text-blue-600 mt-1">
<i data-feather="server" class="w-4 h-4"></i>
</div>
<div class="flex-1">
<p class="font-medium">Tanium asset discovery completed</p>
<p class="text-sm text-gray-500">1,842 assets scanned, 15 new cryptographic assets found</p>
<p class="text-xs text-gray-400 mt-1">2 hours ago</p>
</div>
</div>
<div class="flex items-start space-x-3 p-4 bg-red-50 rounded-lg">
<div class="p-2 rounded-full bg-red-100 text-red-600 mt-1">
<i data-feather="alert-circle" class="w-4 h-4"></i>
</div>
<div class="flex-1">
<p class="font-medium">SandboxAQ connection failed</p>
<p class="text-sm text-gray-500">Authentication error: API key expired</p>
<p class="text-xs text-gray-400 mt-1">1 hour ago</p>
</div>
</div>
</div>
</div>
</main>
</div>
<script>
AOS.init();
feather.replace();
// Tab switching functionality
document.querySelectorAll('.flex button').forEach(button => {
button.addEventListener('click', function () {
document.querySelectorAll('.flex button').forEach(btn => {
btn.classList.remove('tab-active');
btn.classList.add('text-gray-500', 'hover:text-gray-700');
});
this.classList.add('tab-active');
this.classList.remove('text-gray-500', 'hover:text-gray-700');
});
});
// 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);
});
});
</script>
</body>
</html>