blueboard trust centre
This is the starting point for a security, risk or procurement review of blueboard. It covers how blueboard is deployed, where your data lives, who can reach it and how the software is built. Each section links to the detailed evidence.
blueboard is open-source software (MIT licence) that you deploy and run in your own Azure subscription and Microsoft Entra tenant. It isn't a hosted service. There is no vendor cloud, no telemetry back to the authors and no vendor access to your deployment.
Who can isolate a device?
Example using the default deployment policy, an unprotected device in the incident evidence and the default dry-run broker:
| Step | What the reviewer can see |
|---|---|
An agent requests isolate_device for the affected workstation. | The request enters Approvals with the target, reason and requester. The audit event is action.requested. Agents cannot hold the approver role. |
A different human with Board.Approve reviews and approves the request. | The action.approved event records the approver against the same action ID. The broker checks the current policy again before execution. |
| The broker completes the dry run. | The action result contains dry_run: true. The audit event is action.succeeded even in a rehearsal, so read the result alongside the event. Defender receives no isolation command. |
For live isolation the operator must grant the broker the Defender permission and enable BROKER_EXECUTE. The default policy enables no unattended destructive actions. Other policies can differ at deployment: the balanced SOC starter includes a conditional isolation rule. Within the deployed policy, loosening automation through the board requires two different admins. Review the effective rules on Policy and the actual permissions and broker mode on Setup. Approval and automation rules.
Live Defender pilot
On 26 November 2026 the maintainers recorded the first deployment against a live Defender tenant using the mvp profile, read permissions and dry-run containment. It uncovered two deployment faults: Entra rejected the initial app registration, and the web client constructed an API address that returned 404. Both fixes are in the deployment record.
| Environment | Recorded result | What it demonstrates |
|---|---|---|
| Live Defender tenant, November 2026 | Maintainers reported 15 of 15 smoke checks passed with dry run enabled for the test window. | An agent signed in with its own Entra identity. Checks covered reading the board, the incident timeline and graph, and denial of access to admin operations. Run report · Test at that revision |
| Mock staging tenant, same change | Maintainers reported 85 of 85 end-to-end checks passed. | Staging exercised policy and broker behaviour with simulated providers. Staging results |
Mock tenant, tagged release v1.0.0 | CI recorded 3 incidents and 3 actions awaiting approval. | Each fixture incident produced a finding, an indicator, a verdict and a request. Tagged demo run |
A trace you can inspect publicly comes from the tagged mock run. Fixture incident 1002 concerns a PowerShell download. The scripted agent posted its finding and verdict, then requested selective device isolation. The smoke test finished with that request awaiting a human decision. Fixture and requested action · Recorded CI result.
The live report gives no release tag, incident volume, counts of proposed or blocked actions, independently observed Microsoft write count, or redacted incident trace. It does not establish production-profile readiness. For a measured deployment, record the tag or commit and UTC window, count distinct incident and action IDs, separate policy rejections from human denials, and reconcile completed actions with the provider's own activity records. Retain one redacted timeline linking request, decision and result by action ID. Evidence sources.
Assessor snapshot
| Dimension | What blueboard enforces | Verification evidence |
|---|---|---|
| Hosting & residency | Customer-owned single-tenant resource group locked to australiaeast or australiasoutheast (@allowed in infra/main.bicep) | Bicep template + infra/tests/up-test.sh |
| Credentials & auth | Secretless core: Entra JWT per call (PKCE for humans, app-only for agents), Entra-only PostgreSQL, managed identities (blueboard-id-api / blueboard-id-db) | SecurityTests, RuntimeRoleTests, /setup |
| Separation of duties | Agents never hold Board.Approve or Board.Admin (stripped in code & refused by scripts); SQL enforces decided_by <> requested_by; optional 2-approver + typed confirm_target | ApprovalTests, BoardTests, AutomationTests |
| Execution safety | Read-only permissions (READ_ONLY=1) and dry-run (BROKER_EXECUTE=false) by default; alias-aware protected_* lists re-checked at request, approval, Run now and execution | PolicyTests, AdversarialAndIntegrationsTests |
| Audit & tamper-evidence | Append-only audit_log (triggers block UPDATE/DELETE/TRUNCATE for all roles including owner); pgaudit DDL logging; 1-min export to BlueboardAudit_CL (365 d) in production | RuntimeRoleTests, OpsTests, 9 Sentinel rules |
| Supply chain | SHA-pinned GitHub Actions, CodeQL and dependency checks. The packaging workflow produces an SPDX SBOM, checksums and build provenance. | Evidence by release |
What blueboard does not claim (read before risk acceptance):
- No formal certification or third-party penetration test has been published; assessors should run the self-collected evidence checks in Assurance evidence and scope an independent test before
BROKER_EXECUTE=true.- Consumer-owned controls still matter: Conditional Access policies are created in report-only mode until you enforce them (
CA_STATE=on),policy.jsonprotected lists must be populated for your estate, and any AI agent's LLM provider data residency is controlled by where you host that agent.- Deployment maturity: The
mvpprofile has been deployed against a live Defender tenant in read-only dry-run mode; preview theproductionprofile withaz deployment group what-ifand test write actions in a non-production tenant first.
Visual trust-boundary & threat map (TM-01–TM-60)
All 60 threats mapped across Trust Zones TZ-0 to TZ-7 using official Microsoft Azure icons. Click for full-size SVG, or inspect the full register in Threat model.
Assurance pack
| Assurance document | What it answers |
|---|---|
| Shared responsibility | What the code does for you, what Microsoft does, and what you must do |
| Data flows and inventory | What data is stored, where it lives, how long it's kept and every outbound connection |
| Assurance evidence and pen testing | Evidence you can collect yourself and a suggested scope for an independent test |
| Security guide | Trust boundaries, controls in the code, staged Microsoft permissions & blast radius, hardening checklist, incident runbook |
| Threat model | 60 threats (TM-01–TM-60; TM-22 closed) with Azure visual map, inherent/residual ratings, control ownership, test evidence and risk acceptance |
| Operational assurance review | Readiness checks, configuration posture, access review, audit evidence and deployment verification |
| ISM statement of applicability | Optional ISM-specific mapping for organisations that require it |
Deployment model
- Single tenant, customer hosted.
infra/up.shcreates every resource in one resource group in your subscription, and a single-tenant app registration (AzureADMyOrg) in your Entra tenant. Nothing is shared with other customers. - No vendor access. The authors hold no identity, credential, network path or support channel into your deployment. Support happens through public GitHub issues, or private vulnerability reports for security problems.
- No stored secrets in the core path. People sign in with Entra and agents use workload identities. The API reaches Microsoft Graph, Defender, PostgreSQL, Storage and Key Vault through managed identities. The web app is a public client (auth code + PKCE) with no client secret. Optional notification webhooks and API keys are the only secrets, and in the production profile they're kept in Key Vault.
- Dry run by default.
BROKER_EXECUTE=falseunless you set it explicitly: approved containment actions are recorded but never sent to Microsoft. A firstup.shgrants read permissions only.
Data residency
- You choose Australia East or Australia Southeast for the regional board resources. Optional Front Door terminates incoming HTTPS at Microsoft's edge. Data map for reviewers.
- The database, host storage, Key Vault, Log Analytics, Application Insights and the audit table are all in that region. The production profile replicates geo-redundant PostgreSQL backups to the Azure paired Australian region.
- Data that can leave the region is listed in Data flows. It covers calls to Microsoft security APIs (global Microsoft endpoints), any optional public threat intel feeds you turn on, any notification sinks you configure, and any model provider your agents use. Agents run outside blueboard, so where they run and which model they call is your choice.
What is stored and where
| Store | Holds |
|---|---|
| Azure Database for PostgreSQL Flexible Server 16 | Incidents (the Defender/Sentinel incident payload including alerts and evidence), board messages, actions and approvals, the audit log, participants (Entra object id, display name, sign-in name for people), threat intel cache, notification settings and delivery records |
| Application Insights / Log Analytics | Function and web host telemetry: requests, traces and exceptions (90-day workspace retention by default) |
BlueboardAudit_CL (production profile) | A copy of every audit_log row (365-day retention) |
| Key Vault (production profile) | policy.json and the optional notification and webhook secrets |
| Storage account | Function host state and deployment packages only. No board data |
The web app serves static files and public sign-in settings only. It stores no data. Full inventory: Data flows.
Identity and access
-
SSO with Microsoft Entra ID. Every request carries an Entra access token, which is checked for signature, issuer, audience, tenant, lifetime and (for people) the
Board.Accessscope. The board has no local accounts and no passwords. Database access is by Entra token only (passwordAuth: 'Disabled'). -
Assignment required. Only users, groups and agents you assign to a board role can get a token for the app at all (
appRoleAssignmentRequired=true). -
Role-based access through Entra groups. There are five app roles:
Board.Post,Board.Hunt,Board.RequestActions,Board.ApproveandBoard.Admin.infra/entra-groups.shcreates or adopts three security groups and assigns the roles:blueboard-<env>-analysts: Board.Post, Board.Hunt, Board.RequestActionsblueboard-<env>-approvers: Board.Post, Board.Hunt, Board.Approveblueboard-<env>-admins: Board.Post, Board.Admin
Agents get roles directly as service principals, never through groups. Roles are read from the token on every request, so a group membership change applies at the next token.
-
Approval is human only.
Board.ApproveandBoard.Adminare removed from app-only tokens in code (TokenValidator.MapRoles), andassign-roles.shrefuses to give them to service principals. The approver can't be the requester (decided_by <> requested_by, enforced in SQL). Two approvers can be required per action kind. -
Conditional Access baseline.
infra/conditional-access.shrenders a baseline intoinfra/out/<env>/conditional-access/. WithCA_APPLY=1it creates the policies in report-only mode: phishing-resistant MFA for the board app, a compliant device for approvers and admins, and a 4-hour sign-in frequency for approvers and admins. You decide when to switch them on. -
Separation-of-duties check. The Setup page and
blueboard doctorshow "Access (separation of duties)" as a warning while there are fewer than two enabled human approvers.
Encryption
| In transit | At rest | |
|---|---|---|
| Browser ↔ web app, browser and agents ↔ API | HTTPS only (httpsOnly: true), TLS 1.3 minimum in production and 1.2 in mvp (TLS_MIN_VERSION), FTP disabled, HSTS on the web app | n/a |
| API ↔ PostgreSQL | TLS with certificate and host name verification (VerifyFull for PGHOST; DATABASE_URL is for local development) | Azure-managed encryption at rest (service-managed keys) |
| API ↔ Storage | TLS 1.2 minimum, shared keys disabled (identity only) | Azure Storage encryption (service-managed keys) |
| API ↔ Microsoft APIs, feeds, sinks | HTTPS only. Microsoft tokens are sent only to exact Microsoft origins (MsClient) | n/a |
| Key Vault (production) | Private endpoint | RBAC mode, soft delete (90 days) and purge protection |
Customer-managed keys (CMK) aren't configured by the templates. If you need CMK for PostgreSQL or Storage, add it to your deployment. See Shared responsibility.
Network isolation
mvpprofile: the API and web app are public endpoints that need an Entra token for every request. PostgreSQL is public with theAllowAzureServicesfirewall rule and Entra-only authentication.productionprofile (BB_PROFILE=production):- The Function App has VNet integration, with outbound traffic through a NAT gateway with one static IP.
- PostgreSQL, Storage (blob, queue and table) and Key Vault are reachable only through private endpoints, with public access disabled.
- The PostgreSQL firewall rule is removed. PostgreSQL runs with zone-redundant HA (same-zone HA in Australia Southeast, which has no availability zones).
- Optional edge (
FRONT_DOOR=true, either profile): Azure Front Door Premium with a WAF in front of both apps (DEPLOYMENT.md § Front Door and WAF).- The WAF runs the Microsoft default rule set 2.1 (OWASP) and the bot manager rule set, a per-IP rate limit, and an optional country allow-list.
- Both apps then refuse any traffic that doesn't come from this Front Door profile (service tag plus the
X-Azure-FDIDheader), so the WAF can't be bypassed. - TLS ends at Microsoft's global edge, which is outside Australia. Nothing is cached there.
Logging and audit
- Append-only
audit_log. Security-relevant events are written to the database: action requests, approvals, holds, executions, failures, expiries and policy re-check rejects; hunting queries and entity lookups; claims; principals joining, being disabled or changing profile; broker pause and resume; rate-limit hits; webhook subscriptions; notification failures; and Purview guard results. Ordinary reads and chat posts are kept in their own tables, not in the audit log. HTTP requests are in Application Insights. The runtime database role can onlySELECTandINSERTon it, and triggers refuseUPDATE,DELETEandTRUNCATEfor every role, including the owner (db/migrations/009). - Export to Sentinel. In the production profile, audit rows are shipped every minute to
BlueboardAudit_CL(365-day retention). This copy is the tamper-evident record. Nine analytics rule templates are ininfra/sentinel/. - Operational alerts.
infra/alerts.bicepalerts on job heartbeat and failures, API 5xx errors, migration failure, failed brokered actions, and PostgreSQL availability, storage and CPU.
Secure development
The repository's own release process covers:
- Code scanning and dependencies: CodeQL code scanning (
.github/workflows/codeql.yml) and weekly grouped Dependabot updates for NuGet, npm, pip and GitHub Actions. - Pinned CI: GitHub Actions are pinned to full commit SHAs.
- CI gates: CI fails on high-severity production npm advisories (
pnpm audit --prod --audit-level high) and on vulnerable NuGet packages (scripts/check-nuget-vulns.sh). .NET builds treat warnings as errors. - Every push: unit and integration test suites, a policy-check, Bicep build and lint, shellcheck, and a local end-to-end demo smoke test.
- Release evidence: The packaging workflow publishes build provenance, checksums and an SPDX component inventory. The release evidence guide links the recorded CI result for v1.0.0 and explains how to verify packaged releases.
Outbound connections and third parties
blueboard has no sub-processors of its own. Every outbound connection is either to Microsoft for the security APIs you deploy it for, or to something you switch on and control:
| Category | Default | Examples |
|---|---|---|
| Microsoft security and platform APIs | On | Microsoft Graph, Defender for Endpoint API, Log Analytics query API, Azure Monitor ingestion |
| Public threat intel feeds | Off (each one opt-in) | pwn.watch, CISA KEV, FIRST EPSS, NVD, OSV.dev |
| Notification sinks | Off until configured | Teams workflow, signed webhook, Graph sendMail, ntfy |
| Agent webhooks | Off until WEBHOOK_ALLOWED_HOSTS and WEBHOOK_SIGNING_KEY are set | Hosts you allowlist |
| Identity and ticket connectors | Off until configured | Okta identity context and actions, Jira and ServiceNow ticket sync |
| Model providers | Not part of the board | Reference agents call Claude on Microsoft Foundry (Entra auth) or, if configured, the Anthropic API. These run outside the board and you deploy them |
Each connection is listed with its host and the setting that controls it in Data flows.
Vulnerability disclosure
Report vulnerabilities privately through GitHub private vulnerability reporting. Don't open a public issue. You'll get an acknowledgement within five working days. Only the latest release and main receive fixes. See SECURITY.md.
Known limitations
These are stated plainly so they can go in your risk register. Each maps to a threat in the threat model, which has the full list with ratings and treatments.
- Conditional Access is report-only until you enforce it (TM-08, TM-28, TM-29).
- No continuous access evaluation or token binding; disabling a participant on the board is the immediate cut-off. Idle sign-out (default 15 minutes) is browser-side only (TM-28, TM-29).
- The migration identity owns the schema and holds the Microsoft permissions, so whoever controls it could drop the audit triggers. pgaudit logs that DDL, and the Sentinel copy (production profile) is the tamper-evident record (TM-31, TM-32).
- The board audits changes and exports, not reads. Role changes are recorded at first use; who made them is in Entra's audit log (TM-40, TM-42).
- Inactivity disable is off until you set
INACTIVE_DISABLE_DAYS(TM-41). - Retention is off until you set it. With
RETENTION_DAYSunset, incidents, messages and actions are kept forever. Once set, a daily job removes older resolved records.audit_logis never removed, by design (Data flows § Retention). - The
mvpprofile is for evaluation only: public PostgreSQL, secrets in app settings, no audit export, no VNet or NSGs, TLS 1.2 (TM-35). - No TLS 1.2 cipher list is pinned, and Storage stays at TLS 1.2. The production profile defaults to TLS 1.3 elsewhere (TM-34).
- No customer-managed keys in the templates.
- Release provenance is verified only when the GitHub CLI is signed in (TM-27).
- The WAF is optional and doesn't inspect API request bodies by default. With it on, the scm endpoints are limited to
DEPLOYER_IP_RANGES. SOC content such as command lines, KQL and URLs trips the OWASP rules.API_WAF_BODY_CHECK=trueturns body inspection on, but expect to tune it (TM-36). - The production profile hasn't been deployed to a live subscription by the authors. Run
az deployment group what-iffirst. Themvpprofile has been deployed against a live Defender tenant in read-only, dry-run mode. - Brokered write actions haven't all been exercised end to end against a live tenant. Test each one in a non-production tenant before setting
BROKER_EXECUTE=true. - No independent penetration test has been published. See Assurance evidence for a suggested scope.
