Skip to main content

Data flows and data inventory

Data map for reviewers​

You run blueboard in your Azure subscription. The authors have no account or support access to your board. The primary board stores sit in Australia East or Australia Southeast. Processing locations also depend on which services you connect.

DestinationWhat crosses the boundaryWhen
Your Azure resource groupPostgreSQL holds incident evidence, messages, approvals and audit events. Application Insights and Log Analytics receive operational telemetry.Core deployment. Production also exports audit events to Log Analytics and uses geo-redundant database backups in the paired Australian region.
Microsoft identity and security servicesEntra handles sign-in. The board calls global Graph and Defender endpoints for incident data and lookups. A live containment command includes the target and action parameters.Read permissions on initial deployment. A containment write needs the corresponding grant and live broker execution.
Your agent's model providerThe agent can put incident evidence, messages and tool results into a prompt.When you connect an agent that uses a model. You choose its host, provider and processing region.
Your notification and ticket systemsNotification sinks can receive IDs and optional summaries. Agent webhooks get event IDs. Linked Jira or ServiceNow tickets can receive verdicts and action outcomes. Okta can receive identity lookups and configured actions.When you configure the relevant integration. Connector data and settings.
Public threat feedsFeed hosts receive HTTPS requests for threat data.When you enable a feed.
Azure Front DoorThe edge terminates TLS and forwards incoming board traffic to the regional origin.When you deploy the optional Front Door.

Data inventory​

DataSourceWhere storedClassification guidanceRetentionWho can read it
Incidents: title, severity, status, classification, assignee, alert count, and the full Defender XDR/Sentinel incident payload (alerts and evidence: user names, UPNs, device names, IPs, file hashes, URLs, email subjects, command lines, Purview DLP and Insider Risk evidence)Microsoft Graph security API, ingested every minute (INGEST_ENABLED)PostgreSQL incidentsAs sensitive as your Defender incidents. Typically OFFICIAL: Sensitive or your equivalent. It can contain personal informationKept until deleted, or resolved incidents removed after RETENTION_DAYS (off by default; see Retention)Any principal with Board.Post
Board messages: findings, IOCs, questions, verdicts, chat, reactions, threads and claimsPeople and agentsPostgreSQL messages, message_reactionsAs for incidents. Agent text is untrustedKept until deleted, or threads removed after RETENTION_DAYSBoard.Post
Actions and approvals: action kind, target, parameters, justification, policy notes, requester, approver(s), outcomePeople and agents through request_action; approversPostgreSQL actions, action_approvalsSensitive: shows your response posture and targetsKept until deleted, or finished actions removed after RETENTION_DAYSBoard.Post (the approvals page needs Board.Approve to decide)
Audit log: event, actor, subject, detail (JSON)The board itselfPostgreSQL audit_log (append-only); BlueboardAudit_CL in Log Analytics (production profile)Sensitive security logPostgreSQL: kept forever (append-only, can't be deleted by the app). BlueboardAudit_CL: 365 daysDatabase owner and runtime role. Log Analytics readers on the workspace. Not exposed through the board UI as a raw table
Participants: Entra object id, app id (agents), display name, handle, roles, enabled flag, last seen, and sign-in name (people only, used for notification routing)Entra tokens on first sign-inPostgreSQL principalsPersonal information (staff names and UPNs)Kept until deleted. Disable rather than delete, to keep attributionBoard.Post (handles and names). Admins see the full list
Notification settings and delivery recordsPeople and adminsPostgreSQL notification_settings, notificationsLowSettings kept; delivery records removed after RETENTION_DAYSThe person concerned. Admins for board defaults
Agent subscriptions, webhook deliveries, follow-upsAgentsPostgreSQL agent_subscriptions, webhook_deliveries, followupsLow (ids and timing, no message content)Kept until deletedThe owning agent. Admins
Threat intel cache and recordsOptional public feeds and Microsoft TI; your Defender software inventory and board incidentsPostgreSQL ti_* tablesMixed. ti_records and ti_fetch_cache: public or Microsoft TLP data. ti_watches: product names from your software inventory (origin = 'inventory'), so they describe your estate. ti_posts: incident-linked rows name your incidents (see Tables RETENTION_DAYS doesn't cover). Classify these two with your incident dataThe fetch cache is replaced on refetch. Retention removes incident-linked ti_posts rows with their incident; other records are kept until deletedBoard.Post
Playbook progressPeople and agentsPostgreSQL incident_playbooksLowKept until deletedBoard.Post
Action policy (policy.json)YouApp setting (mvp) or Key Vault secret policy-json (production)Sensitive: lists your crown-jewel users, devices, apps and domainsUntil you change it. Key Vault soft delete is 90 daysEveryone on the board can view the effective policy at /policy. Key Vault: the board identity (Key Vault Secrets User)
Application telemetry: requests, traces, exceptionsFunction App and web hostApplication Insights, Log Analytics workspaceInternal. Can include URLs and error text90 days (workspace default in main.bicep)Azure RBAC readers on the resource group
Deployment state (infra/out/<env>/state.json)Deployment scriptsThe deploying machine (git-ignored)Internal. Resource names and ids, never secrets (the scripts refuse to store secret-like keys)Until you delete itWhoever runs the scripts
Function host filesFunction runtime and deploymentStorage account (identity-only access, shared keys disabled)Internal. Packages and host locks, no board dataPlatform managedBoard managed identity

The web app holds no data. It serves static files and /config.json, which has only public sign-in settings (tenant id, client id, API URL and scope).

Browser tokens are kept in localStorage (shared across tabs and deep links) and cleared on sign-out and idle sign-out.

Data-flow diagram​

Interactive diagram · scroll or zoom

Important: agents read board data (incident evidence and messages) and send it to whichever model they use. That flow is outside blueboard's control. Assess each agent's model provider and hosting region separately. The reference enrichment agent defaults to Claude on Microsoft Foundry with Entra auth (ANTHROPIC_FOUNDRY_RESOURCE). Setting CLAUDE_PROVIDER=anthropic uses the Anthropic API instead.

Outbound connections​

Connections the board's Function App makes. In the production profile, outbound traffic leaves through the NAT gateway's static IP.

HostPurposeDefaultControlled by
login.microsoftonline.comOIDC metadata and signing keys for token validation; managed identity tokensOnAlways on (required)
graph.microsoft.comIncident ingest, alerts, entity lookups, advanced hunting, Entra write actions, Purview, Microsoft TI, sendMailOn (read). Writes only for granted actions with BROKER_EXECUTE=trueINGEST_ENABLED, grant-permissions.sh (ACTIONS), BROKER_EXECUTE, TI_MSTI_ENABLED, PURVIEW_CONTENT_GUARD, NOTIFY_MAIL_FROM
api.security.microsoft.comDefender for Endpoint lookups and device actionsOn (read)As above
api.loganalytics.ioSentinel KQL queries (run_sentinel_query)Only when a Sentinel workspace is configuredSENTINEL_WORKSPACE_ID
api.ti.sentinel.azure.com, management.azure.compublish_ti_indicator (Sentinel upload API, preview)OffassignSentinelContributor, policy, BROKER_EXECUTE
*.ingest.monitor.azure.comAudit export to BlueboardAudit_CLOn in productionBB_PROFILE=production
PostgreSQL, Storage, Key Vault, Application InsightsPlatform services in your resource groupOnBicep
pwn.watchExploit activity feedOffTI_PWNWATCH_ENABLED
www.cisa.govCISA Known Exploited VulnerabilitiesOffTI_KEV_ENABLED
api.first.orgFIRST EPSS scoresOffTI_EPSS_ENABLED
services.nvd.nist.govNVD CVE recordsOffTI_NVD_ENABLED, optional NVD_API_KEY
api.osv.devOSV.dev and GitHub advisoriesOffTI_OSV_ENABLED
Teams workflow URLApproval and message noticesOff until setNOTIFY_TEAMS_WEBHOOK_URL, NOTIFY_ALLOWED_HOSTS
Your webhook receiverSigned (HMAC-SHA256) noticesOff until setNOTIFY_WEBHOOK_URL, NOTIFY_WEBHOOK_SECRET, NOTIFY_ALLOWED_HOSTS
Your ntfy serverPhone push noticesOff until setNOTIFY_NTFY_URL, NOTIFY_NTFY_TOKEN, NOTIFY_ALLOWED_HOSTS
Agent webhook receiversEvent ids for agents (no message content)OffWEBHOOK_ALLOWED_HOSTS, WEBHOOK_SIGNING_KEY
Your Okta organisationIdentity lookups and brokered identity actionsOffOKTA_ORG_URL
Your ServiceNow or Jira instanceLinked tickets, verdicts, action results and resolution updatesOffSERVICENOW_INSTANCE_URL, JIRA_BASE_URL, TICKET_SYNC_EVENTS

Rules that apply to these connections:

  • Microsoft tokens are sent only to exact Microsoft origins (MsClient.BuildUri).

  • Threat intel fetches carry no token. They allow https only, an exact host allowlist per source, same-host redirects only, a 30-second timeout and a 25 MB size cap.

  • Notification and webhook URLs must:

    • use https;
    • be in an exact host allowlist;
    • carry no credentials and no IP literals;
    • resolve to public addresses, checked at connect time as well;
    • be called without following redirects or reading the response.

    Only single-label ntfy hosts that you explicitly allowlist may use http or a private address.

What leaves the tenant in a notification. Approval notices carry the action kind, target, incident title, requester and a deep link. They never carry the justification. Message notices also carry a summary of up to 280 characters with formatting stripped, unless include_summary is off in the board defaults. Turn it off if message text must stay on the board. See OPERATIONS.md § The summary trade-off.

Inbound edge (optional Front Door)​

With FRONT_DOOR=true, browsers and agents connect to Azure Front Door Premium, not to the apps directly (DEPLOYMENT.md § Front Door and WAF):

  • Where TLS ends. TLS terminates at the nearest Microsoft edge location, which for users abroad is outside Australia. Requests are then re-encrypted to the Australian origins over Microsoft's network.
  • No caching. Nothing is cached at the edge, and no board data is stored there.
  • Logs. Front Door access logs and WAF logs (client IP, URL, user agent, rule matches; no request bodies) go to the board's Log Analytics workspace in your region.

Without Front Door, TLS terminates at App Service in your Australian region.

Retention​

StoreRetention todayHow to change it
PostgreSQL board tablesIndefinite by default. With RETENTION_DAYS (30 or more), a daily job removes what's older than that (below)RETENTION_DAYS=365 ./infra/deploy.sh. Preview first with blueboard retention --days 365
PostgreSQL audit_logIndefinite and append-only. Triggers refuse deletes for every roleKeep it, or archive and recreate it as part of a planned, audited maintenance change by the schema owner
PostgreSQL backups14 days (mvp); 35 days geo-redundant (production)pgBackupRetentionDays, pgGeoRedundantBackup
BlueboardAudit_CL365 daysTable retention in Log Analytics (infra/audit-export.bicep)
Log Analytics workspace (telemetry)90 daysWorkspace retention (infra/main.bicep)
Key Vault deleted secrets90 days soft delete, purge protection onFixed by the template

Automated retention (RETENTION_DAYS)​

Off by default (0, keep everything). Set it to 30 days or more and the retention timer runs daily at 02:00 Sydney standard time (Ops/Retention.cs). Each run removes, in batches of 500, one transaction per batch:

  • resolved or redirected incidents not updated in Defender, not synced and not posted about since the cutoff, with every message, reaction, playbook record, action and delivery record that belongs to them;
  • channel threads with no incident whose newest post is older than the cutoff (the whole thread goes together);
  • finished actions (denied, succeeded, failed, rejected, expired) with no incident, last changed before the cutoff;
  • delivery bookkeeping: sent, failed or skipped notifications and webhook deliveries, and fired follow-ups, older than the cutoff.

It never removes:

  • open incidents, or anything posted to recently;
  • a thread that a pending, approved or running action, or a follow-up that is still due, points at;
  • participants, channels, settings, policy, or threat intel other than the incident-linked ti_posts rows (which go with their incident);
  • audit_log, which stays append-only.

Tables RETENTION_DAYS doesn't cover, and how to handle each if your retention period applies to them:

TableHoldsWhy it staysTo remove
principalsPeople and agents: object id, name, sign-in name, rolesEvery message, action and audit row points at its author. Removing one would break attributionDisable leavers (Admin → Participants) and keep the row. Pseudonymisation (schema owner): overwrite display_name, handle and username, keeping id. This is not erasure while entra_oid remains, because it links the row to the directory account (and Entra keeps its own records). Erasure additionally nulls entra_oid and entra_app_id (the person can then never sign in as that row again; a new sign-in creates a new principal). Rows can't be deleted while messages, actions, approvals or audit_log reference them. audit_log also records handles in subject (for example principal.joined, limit.hit), and it is append-only, so handles there persist: account for this in any erasure decision
notification_settingsEach person's notification preferencesSmall, and needed while the person has accessDelete the person's row when they leave (no other table references it)
ti_postsOne row per threat-intel post the board made: a hash of the change, a thread key and (until purged) the message id. Feed rows are keyed by public CVE or indicator changes. Sentinel auto-enrichment rows are keyed by a board incident (sentinel-auto:<incident uuid>, thread incident:<incident uuid>), so they link to your tenant's incidentsIt is the de-duplication record: while a key is present, the same change is never posted twice. Retention removes the incident-linked rows together with their incident, and clears message_id on the restFeed rows outlive retention: delete those older than your period as the schema owner (delete from ti_posts where created_at < … and thread_key not like 'incident:%'). Effect: a change still present in a feed may be posted once more. Classify the table with your incident data, not as public
ti_records, ti_record_keys, ti_watches, ti_fetch_cachePublic threat intel (CVEs, KEV, EPSS, indicators) and its cachePublic data about vulnerabilities and indicators, not about your people. The cache refreshes itselfTurn the source off (TI_*_ENABLED=false). The schema owner can then truncate these tables
agent_subscriptions, channels, kv_state, rate_buckets, typingConfiguration and short-lived countersNo content of note (typing expires in seconds)Not needed
audit_logWho did what, with idsAppend-only for every role, by designA planned, audited maintenance change by the schema owner: archive it (for example to BlueboardAudit_CL or storage), then disable the trigger, delete, and re-enable it under change control

Deleting only incidents and messages doesn't, by itself, meet a retention period that covers personal information about staff. Decide on principals as well.

Every run that removes something writes one retention.purged audit row with the cutoff and counts, so the deletion itself is on record. The Setup page shows the last run (Data retention).

Before you switch it on:

  • Preview. blueboard retention --days 365 counts what would go (one batch) and rolls back. --apply removes it. It runs with the board's own settings, as blueboard doctor does.
  • Backups. Removed rows stay in PostgreSQL backups until those expire (14 or 35 days), so the effective deletion time is RETENTION_DAYS plus the backup window.
  • Defender and Sentinel. Their own copies of the incident are unaffected: retention there is set in those products.
  • The audit trail keeps ids and handles, not message content. After a purge, audit_log still says who requested and approved which action kind against which target, and when. It no longer has the incident or message text.

If you need a specific retention period (for example under a records authority or a privacy obligation), choose RETENTION_DAYS to match it and record the decision.

Classification guidance​

  • Treat the board database as holding the same classification as your Defender and Sentinel incidents. It holds raw evidence, including personal information about staff and external parties.
  • policy.json lists your most critical assets. Store it privately and don't commit it to a public repository.
  • Message text written by agents is attacker-influenced. Treat it as untrusted wherever it's shown, including in notifications.
  • If your incidents include data that can't leave Australia, check each agent's model provider and region, and each notification receiver.