Spaces:
Running
Running
Produce a one-page landing section that targets seed-stage founders. Headline: From config chaos to investor confidence in forty-eight hours. Sections: pain points, how the audit works, deliverables, pricing tiers (Audit, Pulse, Sprint), social proof placeholder. Suggest a minimal visual layout with call-to-action buttons. Return as Markdown with HTML-class hints for easy styling. - Initial Deployment
Browse files- README.md +7 -5
- index.html +727 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: clear-path-it
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,727 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Rapid IT Health Audit - ER Diagram</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
| 9 |
+
<style>
|
| 10 |
+
.mermaid {
|
| 11 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 12 |
+
}
|
| 13 |
+
.entity-card {
|
| 14 |
+
transition: all 0.3s ease;
|
| 15 |
+
}
|
| 16 |
+
.entity-card:hover {
|
| 17 |
+
transform: translateY(-5px);
|
| 18 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
| 19 |
+
}
|
| 20 |
+
.prose ol {
|
| 21 |
+
counter-reset: list-counter;
|
| 22 |
+
}
|
| 23 |
+
.prose ol li {
|
| 24 |
+
position: relative;
|
| 25 |
+
padding-left: 1.75em;
|
| 26 |
+
}
|
| 27 |
+
.prose ol li:before {
|
| 28 |
+
content: counter(list-counter) ".";
|
| 29 |
+
counter-increment: list-counter;
|
| 30 |
+
position: absolute;
|
| 31 |
+
left: 0;
|
| 32 |
+
font-weight: 600;
|
| 33 |
+
color: #4f46e5;
|
| 34 |
+
}
|
| 35 |
+
@media (max-width: 768px) {
|
| 36 |
+
.mermaid {
|
| 37 |
+
zoom: 0.7;
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
</style>
|
| 41 |
+
</head>
|
| 42 |
+
<body class="bg-gray-50 min-h-screen">
|
| 43 |
+
<div class="container mx-auto px-4 py-8">
|
| 44 |
+
<header class="mb-12 text-center">
|
| 45 |
+
<h1 class="text-4xl font-bold text-indigo-800 mb-2">Rapid IT Health Audit</h1>
|
| 46 |
+
<p class="text-xl text-gray-600">Data Pipeline Entity Relationship Diagram</p>
|
| 47 |
+
<div class="mt-6">
|
| 48 |
+
<span class="inline-block bg-indigo-100 text-indigo-800 px-4 py-2 rounded-full text-sm font-medium">
|
| 49 |
+
SaaS Architecture
|
| 50 |
+
</span>
|
| 51 |
+
</div>
|
| 52 |
+
</header>
|
| 53 |
+
|
| 54 |
+
<div class="bg-white rounded-xl shadow-lg overflow-hidden mb-12">
|
| 55 |
+
<div class="p-6 border-b border-gray-200">
|
| 56 |
+
<h2 class="text-2xl font-semibold text-gray-800">Entity Relationship Diagram</h2>
|
| 57 |
+
<p class="text-gray-600 mt-2">Visual representation of the core data model</p>
|
| 58 |
+
</div>
|
| 59 |
+
<div class="p-6 bg-gray-50">
|
| 60 |
+
<div class="mermaid">
|
| 61 |
+
erDiagram
|
| 62 |
+
ASSET ||--o{ CONTROL : "has"
|
| 63 |
+
CONTROL ||--o{ EVIDENCE : "requires"
|
| 64 |
+
CONTROL ||--o{ COST_ITEM : "incurs"
|
| 65 |
+
CONTROL ||--o{ RISK : "mitigates"
|
| 66 |
+
|
| 67 |
+
ASSET {
|
| 68 |
+
string asset_id PK
|
| 69 |
+
string name
|
| 70 |
+
string type
|
| 71 |
+
string location
|
| 72 |
+
string owner
|
| 73 |
+
date purchase_date
|
| 74 |
+
boolean is_critical
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
CONTROL {
|
| 78 |
+
string control_id PK
|
| 79 |
+
string name
|
| 80 |
+
string description
|
| 81 |
+
string standard
|
| 82 |
+
string implementation_status
|
| 83 |
+
date last_review_date
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
EVIDENCE {
|
| 87 |
+
string evidence_id PK
|
| 88 |
+
string control_id FK
|
| 89 |
+
string type
|
| 90 |
+
string file_path
|
| 91 |
+
date collection_date
|
| 92 |
+
string collected_by
|
| 93 |
+
boolean is_valid
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
COST_ITEM {
|
| 97 |
+
string cost_id PK
|
| 98 |
+
string control_id FK
|
| 99 |
+
decimal amount
|
| 100 |
+
string currency
|
| 101 |
+
string category
|
| 102 |
+
date incurred_date
|
| 103 |
+
string justification
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
RISK {
|
| 107 |
+
string risk_id PK
|
| 108 |
+
string control_id FK
|
| 109 |
+
string description
|
| 110 |
+
string impact
|
| 111 |
+
string likelihood
|
| 112 |
+
string mitigation_strategy
|
| 113 |
+
date identified_date
|
| 114 |
+
}
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
|
| 119 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-12">
|
| 120 |
+
<div class="entity-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg">
|
| 121 |
+
<div class="bg-indigo-600 p-4">
|
| 122 |
+
<h3 class="text-white text-lg font-semibold">Asset</h3>
|
| 123 |
+
</div>
|
| 124 |
+
<div class="p-4">
|
| 125 |
+
<p class="text-gray-700 mb-4">Represents IT infrastructure components (hardware, software, network devices) that need to be audited.</p>
|
| 126 |
+
<div class="bg-gray-100 p-3 rounded">
|
| 127 |
+
<p class="text-sm font-medium text-gray-800">Fields:</p>
|
| 128 |
+
<ul class="text-xs text-gray-600 mt-1 space-y-1">
|
| 129 |
+
<li>asset_id (PK): string</li>
|
| 130 |
+
<li>name: string</li>
|
| 131 |
+
<li>type: string</li>
|
| 132 |
+
<li>location: string</li>
|
| 133 |
+
<li>owner: string</li>
|
| 134 |
+
<li>purchase_date: date</li>
|
| 135 |
+
<li>is_critical: boolean</li>
|
| 136 |
+
</ul>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
|
| 141 |
+
<div class="entity-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg">
|
| 142 |
+
<div class="bg-green-600 p-4">
|
| 143 |
+
<h3 class="text-white text-lg font-semibold">Control</h3>
|
| 144 |
+
</div>
|
| 145 |
+
<div class="p-4">
|
| 146 |
+
<p class="text-gray-700 mb-4">Security controls or compliance measures applied to assets to mitigate risks and meet standards.</p>
|
| 147 |
+
<div class="bg-gray-100 p-3 rounded">
|
| 148 |
+
<p class="text-sm font-medium text-gray-800">Fields:</p>
|
| 149 |
+
<ul class="text-xs text-gray-600 mt-1 space-y-1">
|
| 150 |
+
<li>control_id (PK): string</li>
|
| 151 |
+
<li>name: string</li>
|
| 152 |
+
<li>description: string</li>
|
| 153 |
+
<li>standard: string</li>
|
| 154 |
+
<li>implementation_status: string</li>
|
| 155 |
+
<li>last_review_date: date</li>
|
| 156 |
+
</ul>
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
|
| 161 |
+
<div class="entity-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg">
|
| 162 |
+
<div class="bg-purple-600 p-4">
|
| 163 |
+
<h3 class="text-white text-lg font-semibold">Evidence</h3>
|
| 164 |
+
</div>
|
| 165 |
+
<div class="p-4">
|
| 166 |
+
<p class="text-gray-700 mb-4">Documentation proving that controls are properly implemented (screenshots, logs, config files).</p>
|
| 167 |
+
<div class="bg-gray-100 p-3 rounded">
|
| 168 |
+
<p class="text-sm font-medium text-gray-800">Fields:</p>
|
| 169 |
+
<ul class="text-xs text-gray-600 mt-1 space-y-1">
|
| 170 |
+
<li>evidence_id (PK): string</li>
|
| 171 |
+
<li>control_id (FK): string</li>
|
| 172 |
+
<li>type: string</li>
|
| 173 |
+
<li>file_path: string</li>
|
| 174 |
+
<li>collection_date: date</li>
|
| 175 |
+
<li>collected_by: string</li>
|
| 176 |
+
<li>is_valid: boolean</li>
|
| 177 |
+
</ul>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
|
| 182 |
+
<div class="entity-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg">
|
| 183 |
+
<div class="bg-yellow-600 p-4">
|
| 184 |
+
<h3 class="text-white text-lg font-semibold">CostItem</h3>
|
| 185 |
+
</div>
|
| 186 |
+
<div class="p-4">
|
| 187 |
+
<p class="text-gray-700 mb-4">Financial aspects associated with implementing and maintaining controls.</p>
|
| 188 |
+
<div class="bg-gray-100 p-3 rounded">
|
| 189 |
+
<p class="text-sm font-medium text-gray-800">Fields:</p>
|
| 190 |
+
<ul class="text-xs text-gray-600 mt-1 space-y-1">
|
| 191 |
+
<li>cost_id (PK): string</li>
|
| 192 |
+
<li>control_id (FK): string</li>
|
| 193 |
+
<li>amount: decimal</li>
|
| 194 |
+
<li>currency: string</li>
|
| 195 |
+
<li>category: string</li>
|
| 196 |
+
<li>incurred_date: date</li>
|
| 197 |
+
<li>justification: string</li>
|
| 198 |
+
</ul>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
</div>
|
| 202 |
+
|
| 203 |
+
<div class="entity-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg">
|
| 204 |
+
<div class="bg-red-600 p-4">
|
| 205 |
+
<h3 class="text-white text-lg font-semibold">Risk</h3>
|
| 206 |
+
</div>
|
| 207 |
+
<div class="p-4">
|
| 208 |
+
<p class="text-gray-700 mb-4">Potential threats or vulnerabilities that controls aim to mitigate.</p>
|
| 209 |
+
<div class="bg-gray-100 p-3 rounded">
|
| 210 |
+
<p class="text-sm font-medium text-gray-800">Fields:</p>
|
| 211 |
+
<ul class="text-xs text-gray-600 mt-1 space-y-1">
|
| 212 |
+
<li>risk_id (PK): string</li>
|
| 213 |
+
<li>control_id (FK): string</li>
|
| 214 |
+
<li>description: string</li>
|
| 215 |
+
<li>impact: string</li>
|
| 216 |
+
<li>likelihood: string</li>
|
| 217 |
+
<li>mitigation_strategy: string</li>
|
| 218 |
+
<li>identified_date: date</li>
|
| 219 |
+
</ul>
|
| 220 |
+
</div>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
|
| 225 |
+
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
|
| 226 |
+
<div class="p-6 border-b border-gray-200">
|
| 227 |
+
<h2 class="text-2xl font-semibold text-gray-800">Relationship Summary</h2>
|
| 228 |
+
</div>
|
| 229 |
+
<div class="p-6">
|
| 230 |
+
<div class="space-y-4">
|
| 231 |
+
<div class="flex items-start">
|
| 232 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center">
|
| 233 |
+
<span class="text-indigo-600 font-bold">1</span>
|
| 234 |
+
</div>
|
| 235 |
+
<div class="ml-4">
|
| 236 |
+
<h3 class="text-lg font-medium text-gray-900">Asset to Control</h3>
|
| 237 |
+
<p class="text-gray-600 mt-1">One-to-many relationship where each asset can have multiple controls applied to it (e.g., a server might have access controls, patch management, and monitoring controls).</p>
|
| 238 |
+
</div>
|
| 239 |
+
</div>
|
| 240 |
+
|
| 241 |
+
<div class="flex items-start">
|
| 242 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center">
|
| 243 |
+
<span class="text-green-600 font-bold">2</span>
|
| 244 |
+
</div>
|
| 245 |
+
<div class="ml-4">
|
| 246 |
+
<h3 class="text-lg font-medium text-gray-900">Control to Evidence</h3>
|
| 247 |
+
<p class="text-gray-600 mt-1">One-to-many relationship where each control requires multiple pieces of evidence to demonstrate its proper implementation (e.g., firewall rules, access logs).</p>
|
| 248 |
+
</div>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<div class="flex items-start">
|
| 252 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center">
|
| 253 |
+
<span class="text-purple-600 font-bold">3</span>
|
| 254 |
+
</div>
|
| 255 |
+
<div class="ml-4">
|
| 256 |
+
<h3 class="text-lg font-medium text-gray-900">Control to CostItem</h3>
|
| 257 |
+
<p class="text-gray-600 mt-1">One-to-many relationship tracking the financial investment in each control (e.g., license costs, implementation hours, maintenance expenses).</p>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
|
| 261 |
+
<div class="flex items-start">
|
| 262 |
+
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-red-100 flex items-center justify-center">
|
| 263 |
+
<span class="text-red-600 font-bold">4</span>
|
| 264 |
+
</div>
|
| 265 |
+
<div class="ml-4">
|
| 266 |
+
<h3 class="text-lg font-medium text-gray-900">Control to Risk</h3>
|
| 267 |
+
<p class="text-gray-600 mt-1">One-to-many relationship showing which risks each control mitigates, allowing for risk-based prioritization of control implementation.</p>
|
| 268 |
+
</div>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
</div>
|
| 272 |
+
</div>
|
| 273 |
+
|
| 274 |
+
<div class="bg-white rounded-xl shadow-lg overflow-hidden mt-12">
|
| 275 |
+
<div class="p-6 border-b border-gray-200">
|
| 276 |
+
<h2 class="text-2xl font-semibold text-gray-800">Automated Workflow</h2>
|
| 277 |
+
<p class="text-gray-600 mt-2">Containerized data pipeline execution flow</p>
|
| 278 |
+
</div>
|
| 279 |
+
<div class="p-6">
|
| 280 |
+
<div class="prose max-w-none">
|
| 281 |
+
<ol class="list-decimal pl-5 space-y-3">
|
| 282 |
+
<li><strong>Container Initialization</strong>: Docker container starts with temporary read-only credentials passed as environment variables</li>
|
| 283 |
+
<li><strong>Credential Validation</strong>: Verify all supplied credentials can establish basic API connections</li>
|
| 284 |
+
<li><strong>Parallel API Harvesting</strong>: Simultaneously collect data from all connected systems using their respective APIs</li>
|
| 285 |
+
<li><strong>JSON Normalization</strong>: Transform all collected data into standardized JSON format matching our data model</li>
|
| 286 |
+
<li><strong>Database Population</strong>: Upsert normalized data into Postgres tables (Asset, Control, Evidence, CostItem, Risk)</li>
|
| 287 |
+
<li><strong>Evidence Manifest Generation</strong>: Create CSV mapping each JSON evidence file to its associated Control record</li>
|
| 288 |
+
<li><strong>Log Finalization</strong>: Write execution summary and any errors to timestamped log file</li>
|
| 289 |
+
</ol>
|
| 290 |
+
</div>
|
| 291 |
+
|
| 292 |
+
<div class="mt-8 mermaid">
|
| 293 |
+
sequenceDiagram
|
| 294 |
+
participant Docker as Docker Container
|
| 295 |
+
participant Cloud as Cloud/SaaS APIs
|
| 296 |
+
participant Postgres as Postgres DB
|
| 297 |
+
|
| 298 |
+
Docker->>Docker: Initialize with ENV credentials
|
| 299 |
+
Docker->>Cloud: Validate credentials
|
| 300 |
+
par Parallel Execution
|
| 301 |
+
Docker->>Cloud: Harvest API Data (Asset)
|
| 302 |
+
Docker->>Cloud: Harvest API Data (Control)
|
| 303 |
+
Docker->>Cloud: Harvest API Data (Evidence)
|
| 304 |
+
end
|
| 305 |
+
Docker->>Docker: Normalize JSON data
|
| 306 |
+
Docker->>Postgres: Upsert Asset records
|
| 307 |
+
Docker->>Postgres: Upsert Control records
|
| 308 |
+
Docker->>Postgres: Upsert related entities
|
| 309 |
+
Docker->>Docker: Generate evidence manifest (CSV)
|
| 310 |
+
Docker->>Docker: Write execution logs
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
</div>
|
| 314 |
+
|
| 315 |
+
<div class="bg-white rounded-xl shadow-lg overflow-hidden mt-12">
|
| 316 |
+
<div class="p-6 border-b border-gray-200">
|
| 317 |
+
<h2 class="text-2xl font-semibold text-gray-800">Compliance Data Serializers</h2>
|
| 318 |
+
<p class="text-gray-600 mt-2">Transformations for standards and tool integrations</p>
|
| 319 |
+
</div>
|
| 320 |
+
<div class="p-6">
|
| 321 |
+
<div class="prose max-w-none">
|
| 322 |
+
<h3 class="text-lg font-medium text-gray-900">OSCAL SSP JSON</h3>
|
| 323 |
+
<p>Mappings from core tables to NIST SP 800-53 controls:</p>
|
| 324 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>{
|
| 325 |
+
"mappings": {
|
| 326 |
+
"Control": {
|
| 327 |
+
"control_id → implemented-requirements/uuid",
|
| 328 |
+
"name → implemented-requirements/description",
|
| 329 |
+
"standard → implemented-requirements/control-id"
|
| 330 |
+
},
|
| 331 |
+
"Evidence": {
|
| 332 |
+
"file_path → implemented-requirements/links/href",
|
| 333 |
+
"collection_date → implemented-requirements/props/value"
|
| 334 |
+
}
|
| 335 |
+
},
|
| 336 |
+
"required_namespaces": [
|
| 337 |
+
"http://csrc.nist.gov/ns/oscal/1.0",
|
| 338 |
+
"http://csrc.nist.gov/ns/oscal/metaschema/1.0"
|
| 339 |
+
],
|
| 340 |
+
"example": {
|
| 341 |
+
"system-security-plan": {
|
| 342 |
+
"uuid": "a0e48328-...",
|
| 343 |
+
"implemented-requirements": [{
|
| 344 |
+
"uuid": "CTL-2024-001",
|
| 345 |
+
"control-id": "AC-2",
|
| 346 |
+
"description": "Server Access Control"
|
| 347 |
+
}]
|
| 348 |
+
}
|
| 349 |
+
}
|
| 350 |
+
}</code></pre>
|
| 351 |
+
|
| 352 |
+
<h3 class="mt-6 text-lg font-medium text-gray-900">OpenControl YAML</h3>
|
| 353 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>mappings:
|
| 354 |
+
Control:
|
| 355 |
+
control_id: id
|
| 356 |
+
name: name
|
| 357 |
+
description: narrative
|
| 358 |
+
Evidence:
|
| 359 |
+
file_path: documentation
|
| 360 |
+
collected_by: referenced_by
|
| 361 |
+
collection_date: date
|
| 362 |
+
|
| 363 |
+
namespaces:
|
| 364 |
+
- opencontrol/schemas/1.0.0
|
| 365 |
+
|
| 366 |
+
example: |
|
| 367 |
+
standards:
|
| 368 |
+
- name: NIST-800-53
|
| 369 |
+
controls:
|
| 370 |
+
- id: CTL-2024-001
|
| 371 |
+
name: Patch Management
|
| 372 |
+
narrative: "Ensures timely..."</code></pre>
|
| 373 |
+
|
| 374 |
+
<h3 class="mt-6 text-lg font-medium text-gray-900">CSV Bundles</h3>
|
| 375 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>Vanta/Drata CSV Mappings:
|
| 376 |
+
Asset:
|
| 377 |
+
asset_id → Device ID
|
| 378 |
+
name → Asset Name
|
| 379 |
+
is_critical → Critical (true/false)
|
| 380 |
+
|
| 381 |
+
Control:
|
| 382 |
+
control_id → Control ID
|
| 383 |
+
implementation_status → Status
|
| 384 |
+
last_review_date → Last Tested
|
| 385 |
+
|
| 386 |
+
Example:
|
| 387 |
+
Device ID,Asset Name,Critical
|
| 388 |
+
ASSET-001,Web Server,true</code></pre>
|
| 389 |
+
|
| 390 |
+
<h3 class="mt-6 text-lg font-medium text-gray-900">XBRL Cost Data</h3>
|
| 391 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>Mappings:
|
| 392 |
+
CostItem:
|
| 393 |
+
amount → xbrli:monetaryItemType
|
| 394 |
+
currency → iso4217:currency
|
| 395 |
+
category → audit:costCategory
|
| 396 |
+
|
| 397 |
+
Namespaces:
|
| 398 |
+
- http://www.xbrl.org/2003/instance
|
| 399 |
+
- http://www.xbrl.org/dtr/type/numeric
|
| 400 |
+
|
| 401 |
+
Example:
|
| 402 |
+
<xbrl>
|
| 403 |
+
<cost:cybersecurityCost
|
| 404 |
+
contextRef="current"
|
| 405 |
+
unitRef="USD"
|
| 406 |
+
decimals="2">45000</cost:cybersecurityCost>
|
| 407 |
+
</xbrl></code></pre>
|
| 408 |
+
</div>
|
| 409 |
+
</div>
|
| 410 |
+
</div>
|
| 411 |
+
|
| 412 |
+
<div class="bg-white rounded-xl shadow-lg overflow-hidden mt-12">
|
| 413 |
+
<div class="p-6 border-b border-gray-200">
|
| 414 |
+
<h2 class="text-2xl font-semibold text-gray-800">Evidence Storage Automation</h2>
|
| 415 |
+
<p class="text-gray-600 mt-2">Secure S3 bucket configuration with presigned URLs for auditor access</p>
|
| 416 |
+
</div>
|
| 417 |
+
<div class="p-6">
|
| 418 |
+
<div class="prose max-w-none">
|
| 419 |
+
<h3 class="text-lg font-medium text-gray-900">Terraform S3 Configuration</h3>
|
| 420 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>resource "aws_s3_bucket" "evidence_store" {
|
| 421 |
+
bucket = "audit-evidence-${var.account_id}"
|
| 422 |
+
|
| 423 |
+
object_lock_configuration {
|
| 424 |
+
object_lock_enabled = "Enabled"
|
| 425 |
+
}
|
| 426 |
+
|
| 427 |
+
lifecycle_rule {
|
| 428 |
+
id = "auto-expire"
|
| 429 |
+
enabled = true
|
| 430 |
+
expiration {
|
| 431 |
+
days = 90
|
| 432 |
+
}
|
| 433 |
+
}
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
resource "aws_s3_bucket_policy" "read_only" {
|
| 437 |
+
bucket = aws_s3_bucket.evidence_store.id
|
| 438 |
+
policy = jsonencode({
|
| 439 |
+
Version = "2012-10-17"
|
| 440 |
+
Statement = [{
|
| 441 |
+
Effect = "Allow"
|
| 442 |
+
Principal = {"AWS": "arn:aws:iam::${var.auditor_account_id}:root"}
|
| 443 |
+
Action = ["s3:GetObject"]
|
| 444 |
+
Resource = "${aws_s3_bucket.evidence_store.arn}/*"
|
| 445 |
+
}]
|
| 446 |
+
})
|
| 447 |
+
}</code></pre>
|
| 448 |
+
|
| 449 |
+
<h3 class="mt-6 text-lg font-medium text-gray-900">Python Upload Script</h3>
|
| 450 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>import boto3
|
| 451 |
+
from datetime import datetime, timedelta
|
| 452 |
+
|
| 453 |
+
def upload_evidence(file_path, control_id):
|
| 454 |
+
s3 = boto3.client('s3')
|
| 455 |
+
bucket = 'audit-evidence-123456789012'
|
| 456 |
+
key = f"{control_id}/{datetime.now().isoformat()}_{file_path.split('/')[-1]}"
|
| 457 |
+
|
| 458 |
+
# Upload file with object lock retention
|
| 459 |
+
s3.upload_file(file_path, bucket, key, ExtraArgs={
|
| 460 |
+
'ObjectLockMode': 'GOVERNANCE',
|
| 461 |
+
'ObjectLockRetainUntilDate': datetime.now() + timedelta(days=90)
|
| 462 |
+
})
|
| 463 |
+
|
| 464 |
+
# Generate presigned URL
|
| 465 |
+
url = s3.generate_presigned_url(
|
| 466 |
+
'get_object',
|
| 467 |
+
Params={'Bucket': bucket, 'Key': key},
|
| 468 |
+
ExpiresIn=432000 # 5 days in seconds
|
| 469 |
+
)
|
| 470 |
+
return url</code></pre>
|
| 471 |
+
|
| 472 |
+
<h3 class="mt-6 text-lg font-medium text-gray-900">Auditor Access Process</h3>
|
| 473 |
+
<p>Auditors receive time-limited presigned URLs that:</p>
|
| 474 |
+
<ol class="list-decimal pl-5 space-y-2">
|
| 475 |
+
<li>Provide read-only access to specific evidence files</li>
|
| 476 |
+
<li>Automatically expire after 5 days to limit exposure</li>
|
| 477 |
+
<li>Don't require AWS credentials (works through URL signature)</li>
|
| 478 |
+
<li>Track which evidence was accessed via CloudTrail logs</li>
|
| 479 |
+
</ol>
|
| 480 |
+
<p class="mt-4 font-medium">Workflow:</p>
|
| 481 |
+
<ol class="list-decimal pl-5 space-y-2">
|
| 482 |
+
<li>System generates URL during evidence collection</li>
|
| 483 |
+
<li>URL gets embedded in compliance reports</li>
|
| 484 |
+
<li>Auditor clicks link to verify evidence directly</li>
|
| 485 |
+
<li>Access automatically revoked after expiration</li>
|
| 486 |
+
</ol>
|
| 487 |
+
</div>
|
| 488 |
+
</div>
|
| 489 |
+
</div>
|
| 490 |
+
|
| 491 |
+
<div class="bg-white rounded-xl shadow-lg overflow-hidden mt-12">
|
| 492 |
+
<div class="p-6 border-b border-gray-200">
|
| 493 |
+
<h2 class="text-2xl font-semibold text-gray-800">Serverless Data Collection Scheduler</h2>
|
| 494 |
+
<p class="text-gray-600 mt-2">Automated 90-day refresh cycle with observability</p>
|
| 495 |
+
</div>
|
| 496 |
+
<div class="p-6">
|
| 497 |
+
<div class="prose max-w-none">
|
| 498 |
+
<h3 class="text-lg font-medium text-gray-900">Terraform Configuration</h3>
|
| 499 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>resource "aws_cloudwatch_event_rule" "quarterly_audit" {
|
| 500 |
+
name = "quarterly-audit-data-collection"
|
| 501 |
+
description = "Triggers audit data collection every 90 days"
|
| 502 |
+
schedule_expression = "rate(90 days)"
|
| 503 |
+
}
|
| 504 |
+
|
| 505 |
+
resource "aws_iam_role" "lambda_exec" {
|
| 506 |
+
name = "audit-data-collector-lambda"
|
| 507 |
+
|
| 508 |
+
assume_role_policy = jsonencode({
|
| 509 |
+
Version = "2012-10-17"
|
| 510 |
+
Statement = [{
|
| 511 |
+
Action = "sts:AssumeRole"
|
| 512 |
+
Effect = "Allow"
|
| 513 |
+
Principal = {
|
| 514 |
+
Service = "lambda.amazonaws.com"
|
| 515 |
+
}
|
| 516 |
+
}]
|
| 517 |
+
})
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
resource "aws_iam_role_policy" "lambda_policy" {
|
| 521 |
+
name = "least-privilege-audit-collector"
|
| 522 |
+
role = aws_iam_role.lambda_exec.id
|
| 523 |
+
|
| 524 |
+
policy = jsonencode({
|
| 525 |
+
Version = "2012-10-17"
|
| 526 |
+
Statement = [
|
| 527 |
+
{
|
| 528 |
+
Effect = "Allow"
|
| 529 |
+
Action = [
|
| 530 |
+
"logs:CreateLogGroup",
|
| 531 |
+
"logs:CreateLogStream",
|
| 532 |
+
"logs:PutLogEvents"
|
| 533 |
+
]
|
| 534 |
+
Resource = "arn:aws:logs:*:*:*"
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
Effect = "Allow"
|
| 538 |
+
Action = [
|
| 539 |
+
"cloudwatch:PutMetricData"
|
| 540 |
+
]
|
| 541 |
+
Resource = "*"
|
| 542 |
+
}
|
| 543 |
+
]
|
| 544 |
+
})
|
| 545 |
+
}
|
| 546 |
+
|
| 547 |
+
resource "aws_lambda_function" "data_collector" {
|
| 548 |
+
filename = "data-collector.zip"
|
| 549 |
+
function_name = "audit-data-collector"
|
| 550 |
+
role = aws_iam_role.lambda_exec.arn
|
| 551 |
+
handler = "lambda_function.lambda_handler"
|
| 552 |
+
runtime = "python3.9"
|
| 553 |
+
timeout = 900 # 15 minutes
|
| 554 |
+
|
| 555 |
+
environment {
|
| 556 |
+
variables = {
|
| 557 |
+
DB_HOST = var.database_host
|
| 558 |
+
DB_PASSWORD = var.database_password
|
| 559 |
+
OPENAI_KEY = var.openai_key
|
| 560 |
+
}
|
| 561 |
+
}
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
resource "aws_cloudwatch_event_target" "trigger_lambda" {
|
| 565 |
+
rule = aws_cloudwatch_event_rule.quarterly_audit.name
|
| 566 |
+
target_id = "TriggerLambda"
|
| 567 |
+
arn = aws_lambda_function.data_collector.arn
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
resource "aws_lambda_permission" "allow_cloudwatch" {
|
| 571 |
+
statement_id = "AllowExecutionFromCloudWatch"
|
| 572 |
+
action = "lambda:InvokeFunction"
|
| 573 |
+
function_name = aws_lambda_function.data_collector.function_name
|
| 574 |
+
principal = "events.amazonaws.com"
|
| 575 |
+
source_arn = aws_cloudwatch_event_rule.quarterly_audit.arn
|
| 576 |
+
}</code></pre>
|
| 577 |
+
|
| 578 |
+
<h3 class="mt-6 text-lg font-medium text-gray-900">Python Lambda Function</h3>
|
| 579 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>import os
|
| 580 |
+
import boto3
|
| 581 |
+
from datetime import datetime
|
| 582 |
+
import psycopg2
|
| 583 |
+
import openai
|
| 584 |
+
|
| 585 |
+
cloudwatch = boto3.client('cloudwatch')
|
| 586 |
+
|
| 587 |
+
def lambda_handler(event, context):
|
| 588 |
+
# Connect to database using env vars
|
| 589 |
+
conn = psycopg2.connect(
|
| 590 |
+
host=os.environ['DB_HOST'],
|
| 591 |
+
database="audit",
|
| 592 |
+
user="collector",
|
| 593 |
+
password=os.environ['DB_PASSWORD']
|
| 594 |
+
)
|
| 595 |
+
|
| 596 |
+
try:
|
| 597 |
+
start_time = datetime.now()
|
| 598 |
+
|
| 599 |
+
# 1. Collect data from APIs
|
| 600 |
+
collect_assets()
|
| 601 |
+
collect_controls()
|
| 602 |
+
|
| 603 |
+
# 2. Process with OpenAI for risk analysis
|
| 604 |
+
analyze_risks()
|
| 605 |
+
|
| 606 |
+
# 3. Publish metrics
|
| 607 |
+
publish_metrics(
|
| 608 |
+
duration=(datetime.now() - start_time).total_seconds(),
|
| 609 |
+
assets_collected=100, # example value
|
| 610 |
+
controls_processed=50 # example value
|
| 611 |
+
)
|
| 612 |
+
|
| 613 |
+
return {"status": "success"}
|
| 614 |
+
except Exception as e:
|
| 615 |
+
publish_error_metric()
|
| 616 |
+
raise e
|
| 617 |
+
|
| 618 |
+
def publish_metrics(duration, assets_collected, controls_processed):
|
| 619 |
+
cloudwatch.put_metric_data(
|
| 620 |
+
Namespace='AuditDataCollection',
|
| 621 |
+
MetricData=[
|
| 622 |
+
{
|
| 623 |
+
'MetricName': 'ExecutionTime',
|
| 624 |
+
'Value': duration,
|
| 625 |
+
'Unit': 'Seconds'
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
'MetricName': 'AssetsCollected',
|
| 629 |
+
'Value': assets_collected,
|
| 630 |
+
'Unit': 'Count'
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
'MetricName': 'ControlsProcessed',
|
| 634 |
+
'Value': controls_processed,
|
| 635 |
+
'Unit': 'Count'
|
| 636 |
+
}
|
| 637 |
+
]
|
| 638 |
+
)
|
| 639 |
+
|
| 640 |
+
def publish_error_metric():
|
| 641 |
+
cloudwatch.put_metric_data(
|
| 642 |
+
Namespace='AuditDataCollection',
|
| 643 |
+
MetricData=[{
|
| 644 |
+
'MetricName': 'CollectionErrors',
|
| 645 |
+
'Value': 1,
|
| 646 |
+
'Unit': 'Count'
|
| 647 |
+
}]
|
| 648 |
+
)</code></pre>
|
| 649 |
+
|
| 650 |
+
<h3 class="mt-6 text-lg font-medium text-gray-900">Key CloudWatch Metrics</h3>
|
| 651 |
+
<ol class="list-decimal pl-5 space-y-2">
|
| 652 |
+
<li><strong>ExecutionTime</strong>: Duration of data collection in seconds</li>
|
| 653 |
+
<li><strong>AssetsCollected</strong>: Count of IT assets inventoried</li>
|
| 654 |
+
<li><strong>ControlsProcessed</strong>: Number of security controls evaluated</li>
|
| 655 |
+
<li><strong>CollectionErrors</strong>: Count of failed executions (alarm when >0)</li>
|
| 656 |
+
<li><strong>APICallLatency</strong>: Response times from external APIs</li>
|
| 657 |
+
<li><strong>RecordsProcessed</strong>: Total database records created/updated</li>
|
| 658 |
+
</ol>
|
| 659 |
+
</div>
|
| 660 |
+
</div>
|
| 661 |
+
</div>
|
| 662 |
+
|
| 663 |
+
<div class="bg-white rounded-xl shadow-lg overflow-hidden mt-12">
|
| 664 |
+
<div class="p-6 border-b border-gray-200">
|
| 665 |
+
<h2 class="text-2xl font-semibold text-gray-800">Control Failure Narrative Generator</h2>
|
| 666 |
+
<p class="text-gray-600 mt-2">Template for converting failed controls into actionable insights</p>
|
| 667 |
+
</div>
|
| 668 |
+
<div class="p-6">
|
| 669 |
+
<div class="prose max-w-none mb-6">
|
| 670 |
+
<h3 class="text-lg font-medium text-gray-900">Prompt Template:</h3>
|
| 671 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>Transform this failed control data into a concise risk narrative in JSON format:
|
| 672 |
+
|
| 673 |
+
1. Business Risk Summary: One sentence describing the business impact
|
| 674 |
+
2. Control Reference: Include the control_id
|
| 675 |
+
3. Actionable Fix: One practical recommendation (≤40 words)
|
| 676 |
+
4. Format: Strict JSON with keys summary, control_id, recommendation
|
| 677 |
+
|
| 678 |
+
Example Input:
|
| 679 |
+
{
|
| 680 |
+
"control_name": "Server Patch Management",
|
| 681 |
+
"control_id": "CTL-2024-001",
|
| 682 |
+
"failure_details": "30% of servers missing critical security patches"
|
| 683 |
+
}
|
| 684 |
+
|
| 685 |
+
Required Output Format:
|
| 686 |
+
{
|
| 687 |
+
"summary": "[business risk statement]",
|
| 688 |
+
"control_id": "[control identifier]",
|
| 689 |
+
"recommendation": "[concrete action item]"
|
| 690 |
+
}</code></pre>
|
| 691 |
+
</div>
|
| 692 |
+
|
| 693 |
+
<div class="prose max-w-none">
|
| 694 |
+
<h3 class="text-lg font-medium text-gray-900">Example Output:</h3>
|
| 695 |
+
<pre class="bg-gray-100 p-4 rounded-md"><code>{
|
| 696 |
+
"summary": "Unpatched servers create vulnerabilities for ransomware attacks and data breaches",
|
| 697 |
+
"control_id": "CTL-2024-001",
|
| 698 |
+
"recommendation": "Deploy automated patching system with 72-hour SLA for critical updates"
|
| 699 |
+
}</code></pre>
|
| 700 |
+
</div>
|
| 701 |
+
</div>
|
| 702 |
+
</div>
|
| 703 |
+
|
| 704 |
+
<footer class="mt-12 text-center text-gray-500 text-sm">
|
| 705 |
+
<p>Rapid IT Health Audit - Data Pipeline Model v1.0</p>
|
| 706 |
+
<p class="mt-1">© 2023 SaaS Audit Solutions. All rights reserved.</p>
|
| 707 |
+
</footer>
|
| 708 |
+
</div>
|
| 709 |
+
|
| 710 |
+
<script>
|
| 711 |
+
mermaid.initialize({
|
| 712 |
+
startOnLoad: true,
|
| 713 |
+
theme: 'default',
|
| 714 |
+
flowchart: {
|
| 715 |
+
useMaxWidth: true,
|
| 716 |
+
htmlLabels: true,
|
| 717 |
+
curve: 'basis'
|
| 718 |
+
},
|
| 719 |
+
er: {
|
| 720 |
+
diagramPadding: 20,
|
| 721 |
+
layoutDirection: 'TB',
|
| 722 |
+
useMaxWidth: true
|
| 723 |
+
}
|
| 724 |
+
});
|
| 725 |
+
</script>
|
| 726 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=clearpathit/clear-path-it" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 727 |
+
</html>
|