Skip to content

Commit 01b7858

Browse files
robgrameCopilot
andcommitted
docs(web.azure): replace scaffold pages with deployment-status landing
The web app deployed at app-blkmon-*.azurewebsites.net was serving the default Blazor template (Hello world / Counter / Weather), which made it look like the deploy was broken or the portal was missing. It's neither - Web.Azure is intentionally a placeholder because the interactive portal (DeviceList, Audit, KeyValueVault, Settings) has not been ported from BitLockerKeyMonitor.Web on-prem to the Azure project. This commit replaces the scaffold content so the homepage explains: - the Azure deployment is the infrastructure layer (Functions, KV, SB, App Config, SQL, Log Analytics audit mirror) - the operational portal still runs on-prem - Phase 3 sealed-batch protocol status Pages removed: Counter.razor, Weather.razor (template artifacts). NavMenu updated to drop their nav links and rebrand to \"🔐 BitLockerKeyMonitor (Azure)\". The future port (or removal) of the Web.Azure project is a separate strategic decision tracked in the session plan. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 52684fe commit 01b7858

4 files changed

Lines changed: 60 additions & 101 deletions

File tree

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div class="top-row ps-3 navbar navbar-dark">
1+
<div class="top-row ps-3 navbar navbar-dark">
22
<div class="container-fluid">
3-
<a class="navbar-brand" href="">BitLockerKeyMonitor.Web.Azure</a>
3+
<a class="navbar-brand" href="">🔐 BitLockerKeyMonitor (Azure)</a>
44
</div>
55
</div>
66

@@ -13,18 +13,6 @@
1313
<span class="bi bi-house-door-fill-nav-menu" aria-hidden="true"></span> Home
1414
</NavLink>
1515
</div>
16-
17-
<div class="nav-item px-3">
18-
<NavLink class="nav-link" href="counter">
19-
<span class="bi bi-plus-square-fill-nav-menu" aria-hidden="true"></span> Counter
20-
</NavLink>
21-
</div>
22-
23-
<div class="nav-item px-3">
24-
<NavLink class="nav-link" href="weather">
25-
<span class="bi bi-list-nested-nav-menu" aria-hidden="true"></span> Weather
26-
</NavLink>
27-
</div>
2816
</nav>
2917
</div>
3018

src/BitLockerKeyMonitor.Web.Azure/Components/Pages/Counter.razor

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 58 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,61 @@
1-
@page "/"
1+
@page "/"
2+
@using System.Reflection
23

3-
<PageTitle>Home</PageTitle>
4+
<PageTitle>BitLocker Key Monitor - Azure Deployment</PageTitle>
45

5-
<h1>Hello, world!</h1>
6+
<h1>🔐 BitLocker Key Monitor</h1>
7+
<p class="lead text-muted">Azure-native deployment</p>
68

7-
Welcome to your new app.
9+
<div class="alert alert-info" role="alert">
10+
<h4 class="alert-heading">Operational portal is on-premises</h4>
11+
<p class="mb-1">
12+
This site is the <strong>Azure-native deployment</strong> placeholder for BitLocker Key Monitor.
13+
The interactive portal (device list, recovery keys, audit log, settings) currently runs
14+
<strong>on-premises</strong> on the dedicated Windows Server &mdash; the Blazor UI has not
15+
been ported to Azure yet.
16+
</p>
17+
<hr />
18+
<p class="mb-0">
19+
This deployment exists to verify that the Azure-side infrastructure provisioned by
20+
<code>infra/main.bicep</code> (Functions producer, Key Vault, App Configuration, Service Bus,
21+
SQL Database, Log Analytics audit mirror) is reachable end-to-end. Cloud-only dashboards
22+
(Log Analytics queries, Phase 3 sealed-batch telemetry) can be added here in the future.
23+
</p>
24+
</div>
25+
26+
<h2 class="mt-4">Deployed Azure components</h2>
27+
<ul>
28+
<li><strong>Azure Functions</strong> &mdash; scan triggers + Phase 3 DEK sealing producer (Flex Consumption)</li>
29+
<li><strong>Azure Key Vault</strong> &mdash; <code>blkmon-kek</code> (operational KEK, RSA-OAEP wrap/unwrap)
30+
+ <code>blkmon-agent-seal</code> (Phase 3 envelope sealing, RSA-OAEP encrypt/decrypt)</li>
31+
<li><strong>Azure App Configuration</strong> &mdash; environment-labelled keys consumed by Functions</li>
32+
<li><strong>Service Bus</strong> &mdash; queues <code>scan-triggers</code>, <code>ad-events</code>,
33+
<code>dek-sealed-batches</code> (Phase 3 sealed envelopes to on-prem HybridAgent)</li>
34+
<li><strong>Azure SQL Database</strong> &mdash; Entra ID authentication via Managed Identity</li>
35+
<li><strong>Log Analytics</strong> &mdash; <code>BitLockerKeyMonitorAudit_CL</code> custom table fed via DCR</li>
36+
</ul>
37+
38+
<h2 class="mt-4">Phase 3 status</h2>
39+
<p>
40+
The sealed-DEK batch protocol (Functions → on-prem HybridAgent via Key Vault envelope + Service Bus
41+
queue) is implemented and the Azure-side infrastructure is live. The consumer (HybridAgent)
42+
needs an Entra ID identity provisioned and its on-prem deployment wired before sealed batches
43+
can flow end-to-end. See <code>docs/ENCRYPTION-BRIEFING.md</code> for the full security model.
44+
</p>
45+
46+
<hr class="mt-4" />
47+
<small class="text-muted">
48+
Build: @AssemblyVersion &middot; Environment: @EnvironmentName
49+
</small>
50+
51+
@code {
52+
private static readonly string AssemblyVersion =
53+
typeof(Home).Assembly
54+
.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion
55+
?? typeof(Home).Assembly.GetName().Version?.ToString()
56+
?? "unknown";
57+
58+
[Inject] public required IWebHostEnvironment Environment { get; set; }
59+
60+
private string EnvironmentName => Environment.EnvironmentName;
61+
}

src/BitLockerKeyMonitor.Web.Azure/Components/Pages/Weather.razor

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)