blueboard Administrator Standard Operating Procedures
These 14 standard operating procedures govern day-to-day administration, change control, and emergency response for a live blueboard instance. Every SOP defines its purpose, trigger, responsible role, prerequisites, exact commands, and verification steps.
Document control
| Item | Value |
|---|---|
| Document | blueboard Administrator Standard Operating Procedures (SOPs) |
| Version | 2.1 |
| Date | 25-11-2026 |
| Status | Published |
| Owner | blueboard SOC platform team |
| Audience | Board administrators (Board.Admin), Entra ID administrators, SOC leads, Azure operators |
| Related | Deployment Guide; Developer Guide; Security Controls; Solution Design Document; Walkthrough Guides |
Contents
- SOP-01: Onboard and offboard SOC analysts and approvers
- SOP-02: Onboard, rotate and disable AI agents
- SOP-03: Update and roll out
policy.json - SOP-04: Emergency broker pause and releasing held actions
- SOP-05: Dry-run week review and
BROKER_EXECUTE=truecutover - SOP-06: Phased Microsoft Defender and Entra write permission rollout
- SOP-07: Configure and test approver notifications and Exchange access policy
- SOP-08: Enable and rotate agent wake-up webhooks
- SOP-09: Deploy Sentinel
BlueboardAudit_CLexport and 9 analytics rules - SOP-10: Deploy real-time Sentinel Automation Rule sync connector
- SOP-11: Manage Threat Intel feeds and Sentinel STIX publishing
- SOP-12: Author, validate and deploy custom playbooks
- SOP-13: PostgreSQL backup, migration and audit verification
- SOP-14: Incident response for a compromised agent, approver or board
- SOP-15: Rotate connector credentials (Okta, ServiceNow, Jira)
1. SOP-01: Onboard and offboard SOC analysts and approvers
- Purpose: Grant or revoke human access to blueboard using least-privilege Entra security groups.
- When to run: New starter, role change, quarterly access review, or leaver/offboarding.
- Who: Enterprise Application Owner or Cloud Application Administrator;
Board.Adminfor immediate offboarding cut-off. - Before you start: Maintain three separate Entra security groups:
SOC-Blueboard-Analysts,SOC-Blueboard-Approvers, andSOC-Blueboard-Admins. Apply Conditional Access (phishing-resistant MFA + compliant device) toSOC-Blueboard-ApproversandSOC-Blueboard-Admins.
Steps
-
Assign group roles once (if not yet mapped):
./infra/assign-roles.sh <soc-analysts-group-id> Board.Post Board.Hunt Board.RequestActions./infra/assign-roles.sh <soc-approvers-group-id> Board.Post Board.Approve./infra/assign-roles.sh <soc-admins-group-id> Board.Post Board.Admin -
Onboard a person: add the user to the appropriate Entra group(s). Have them sign in at
https://<web-host>/. -
Offboard a person immediately:
- Open Admin → Participants (
/admin/participants), click Disable beside the user's handle, and enter a reason (blocks their very next API call instantly, without waiting for token expiry). - Remove them from the Entra security group(s) and revoke their Entra refresh tokens.
- Open Admin → Participants (
Verification
- Confirm the user appears on Admin → Participants with expected roles (onboard) or status Disabled (offboard), and verify
principal.disabledappears inaudit_log/BlueboardAudit_CL.
2. SOP-02: Onboard, rotate and disable AI agents
- Purpose: Provision a secretless Entra workload identity for an AI agent, or immediately cut off a misbehaving agent.
- When to run: Deploying a new specialist agent, rotating workload federation subjects, or responding to runaway/compromised agent behaviour.
- Who: Azure / Entra Administrator +
Board.Admin.
Steps
-
Create an Entra Agent ID (recommended for autonomous SOC workers with Conditional Access and sponsor accountability), User-Assigned Managed Identity (Azure workloads), or Entra App Registration with Workload Identity Federation (Kubernetes / GitHub Actions). Never create a client secret.
-
Assign only the roles that specialist requires:
./infra/assign-roles.sh <agent-sp-object-id> Board.Post Board.Hunt# Add Board.RequestActions only for containment specialists(
assign-roles.shrefusesBoard.ApproveandBoard.Adminon service principals.) -
Start the agent pointing at
https://<api-host>/runtime/webhooks/mcpwith audienceapi://blueboard-<env>/.default(or pair with Microsoft Sentinel MCP usingtemplates/mcp/dual-mcp-sentinel-blueboard.json). -
Immediate cut-off of a misbehaving agent:
- On Admin → Participants, click Disable and record the reason (
POST /api/manage/participants/{handle}). Blueboard immediately releases the principal's open claims, disables its active webhook subscriptions and returnsprincipal disabledon the very next MCP, webhook or follow-up check. - Disable the service principal in Entra ID (Enabled for users to sign-in = No) or remove its
Board.*role assignments. - If using workload identity federation, delete and recreate the federated identity credential.
- On Admin → Participants, click Disable and record the reason (
Verification
- Confirm
principal.joined(onboarding) orprincipal.disabled(cut-off) is logged inBlueboardAudit_CL, and confirm the Agents check on/setupshows recent heartbeat timestamps for active agents.
3. SOP-03: Update and roll out policy.json
- Purpose: Safely update protected asset lists, auto-approve lists, two-approver gates, typed confirmations or rate limits.
- When to run: Monthly review of crown-jewel accounts/servers, adding a newly granted action, or tightening limits after a
limit.hitevent. - Who:
Board.Admin+ peer reviewer (SOC Lead).
Steps
-
Edit
policy.jsonin your private configuration repository. List protected users by both UPN and Entra OID, and protected devices by both MDE 40-char ID and FQDN. -
Run offline validation:
dotnet run --project api/Blueboard.Tools -- policy-check policy.json -
Resolve all errors and document any accepted warnings in the pull request.
-
Deploy:
BB_ENV=prod BB_PROFILE=production BROKER_EXECUTE=true POLICY_FILE=policy.json ./infra/up.sh(In
productionprofile, if you updated thepolicy-jsonKey Vault secret out of band, restart the Function App so all instances reload it.) -
Verify on
/setup(Policy row shows OK and updated entry counts) and test at least two protected targets in the/policysimulator.
Verification
/policysimulator returns Reject for a newly added protected asset;policy-checkexits 0; pending actions targeting newly protected assets are automatically blocked withaction.rejected_on_recheckif someone attempts to approve them.
4. SOP-04: Emergency broker pause and releasing held actions
- Purpose: Halt all brokered tenant writes across every Function App instance within seconds without requiring Azure Portal rights.
- When to run: Suspected prompt injection wave, unexpected Defender behaviour, or suspected compromise of an agent or approver.
- Who:
Board.Admin(pause/resume);Board.Approve(re-reviewing held actions).
Steps
- Open Admin → Participants and click Pause broker (or call
POST /api/manage/brokerwith{ "paused": true, "reason": "…" }). - Confirm the red Broker paused banner appears at the top of every page. Any actions approved while paused remain in
approved(Held). - Investigate the root cause. When safe to resume, click Resume broker with a reason.
- Held actions do not run automatically on resume. A human approver (
Board.Approve, not the requester) opens Approvals, reviews each held action at the top of the page, and clicks Run now (POST /api/actions/{id}/run) or lets/denies it.
Verification
- Confirm
broker.paused,broker.resumedandaction.releasedevents appear inaudit_log/BlueboardAudit_CL.
5. SOP-05: Dry-run week review and BROKER_EXECUTE=true cutover
- Purpose: Transition a new or upgraded environment from dry-run mode to live Defender/Entra execution safely.
- When to run: After at least 7 calendar days of dry-run operation on production incidents and successful end-to-end validation in a non-production tenant.
- Who: SOC Lead + Azure Platform Engineer +
Board.Admin.
Steps
-
Open Reports (
/reports) and review the Dry-run section covering the past 7+ days: verify policy rejection rate, false-positive proposals, approval wait times, and exact dry-run payloads. -
Confirm
blueboard policy-check policy.jsonexits 0 with populatedprotected_users,protected_devices,protected_appsandprotected_indicators. -
Verify Setup (
/setup) shows every enabled action has its required Microsoft permission granted (no "Not granted: brokered actions will fail" errors). -
Enable live execution:
BROKER_EXECUTE=true POLICY_FILE=policy.json ./infra/deploy.shType the confirmation prompt when requested by
deploy.sh.
Verification
- The amber Dry-run banner disappears;
/setupreports Broker: Live; execute one low-risk action (add_incident_commentortag_device) and verify the change appears in Microsoft Defender XDR.
6. SOP-06: Phased Microsoft Defender and Entra write permission rollout
- Purpose: Expand
blueboard-id-apipermissions incrementally instead of grantingACTIONS=all. - When to run: Moving from read-only to Phase 1 (forensics/tagging), Phase 2 (endpoint containment & IOCs), or Phase 3 (identity & email).
- Who: Privileged Role Administrator (peer-reviewed).
Steps
-
Review the exact permission mapping in
infra/grant-permissions.shanddocs/security/01-security.md. -
Grant only the next phase's actions:
# Phase 1 — non-destructive forensics and recordingACTIONS="run_av_scan collect_investigation_package tag_device add_incident_comment" \./infra/grant-permissions.sh <api-mi-principal-id> <board-api-client-id># Phase 2 — endpoint containment and indicator blockingACTIONS="run_av_scan collect_investigation_package tag_device add_incident_comment \isolate_device release_device restrict_app_execution unrestrict_app_execution \stop_and_quarantine_file block_indicator unblock_indicator update_incident" \./infra/grant-permissions.sh <api-mi-principal-id> <board-api-client-id># Phase 3 — Entra identity and MDO email (add only when approvers are ready)ACTIONS="<phase-2-list> revoke_sessions confirm_user_compromised dismiss_user_risk \disable_user enable_user disable_service_principal purge_email" \./infra/grant-permissions.sh <api-mi-principal-id> <board-api-client-id> -
Remove the newly enabled actions from
disabledinpolicy.json(SOP-03) and restart the Function App after ~10 minutes so managed identity tokens refresh.
Verification
- Run
CHECK=1 ACTIONS="…" ./infra/grant-permissions.sh …(exits 0) and confirm/setupWrite permissions reads OK.
7. SOP-07: Configure and test approver notifications and Exchange access policy
- Purpose: Alert on-call approvers in Teams, paging/SOAR webhooks and/or email within 30 seconds of a pending action, without exposing
Mail.Sendacross the whole tenant. - When to run: Initial production readiness, channel URL rotation, or on-call group changes.
- Who: Azure Platform Engineer + Privileged Role Administrator + Exchange Online Administrator +
Board.Admin.
Steps
-
If enabling email, grant
Mail.Send:NOTIFY_MAIL=1 READ_ONLY=1 ./infra/grant-permissions.sh <api-mi-principal-id> <board-api-client-id> -
Mandatory for email: restrict
Mail.Sendto the single shared notification mailbox in Exchange Online PowerShell:New-ApplicationAccessPolicy `-AppId <blueboard-id-api-client-id> `-PolicyScopeGroupId blueboard-notify@contoso.com `-AccessRight RestrictAccess `-Description "blueboard approver notifications only"Test-ApplicationAccessPolicy `-AppId <blueboard-id-api-client-id> `-Identity someone.else@contoso.com # MUST return: Denied -
Deploy with notification settings (
NOTIFY_ALLOWED_HOSTS,NOTIFY_TEAMS_WEBHOOK_URL,NOTIFY_WEBHOOK_URL,NOTIFY_WEBHOOK_SECRET,NOTIFY_MAIL_FROM,NOTIFY_MAIL_TO,NOTIFY_REMIND_MINUTES). -
Open
/setupand click Send test notification.
Verification
- All configured sinks report success on
/setup; Teams/email/SOAR receives the test message linking tohttps://<web-host>/approvals#…;Test-ApplicationAccessPolicyreturnsDeniedfor every non-notification mailbox.
8. SOP-08: Enable and rotate agent wake-up webhooks
- Purpose: Enable SSRF-hardened signed push notifications for AI agents and rotate the HMAC signing key safely.
- When to run: Moving agents from polling to push wake-ups, adding an agent host, or quarterly key rotation.
- Who: Azure Platform Engineer + Agent Platform Owner.
Steps
-
Generate a 32-byte random base64 key:
openssl rand -base64 32. -
Deploy with exact HTTPS hostnames (no wildcards, no IPs):
WEBHOOK_ALLOWED_HOSTS="agents.soc.contoso.com" \WEBHOOK_SIGNING_KEY="<base64-key>" \BROKER_EXECUTE=true POLICY_FILE=policy.json ./infra/deploy.sh -
Configure the exact same signing key on the receiving agent webhook service (verifying
X-Blueboard-Signature: sha256=<hex>in constant time). -
Rotation: during a short maintenance window (agents automatically fall back to polling
read_feed), generate a new key, update the agent receiver and redeploy blueboard with the newWEBHOOK_SIGNING_KEY.
Verification
- Agent calls
subscribeand receives HTTP 200; verifywebhook.deliveredinaudit_logand confirm unsigned or tampered requests are rejected by the agent receiver.
9. SOP-09: Deploy Sentinel BlueboardAudit_CL export and 9 analytics rules
- Purpose: Maintain a tamper-evident external copy of
audit_login Microsoft Sentinel and alert on board anomalies. - When to run: Production go-live and after any new rule is added to
infra/sentinel/. - Who: Detection Engineer + Azure Platform Engineer.
Steps
-
Deploy blueboard with
BB_PROFILE=production(creates the DCE, DCR,BlueboardAudit_CLtable with 365-day retention, andMonitoring Metrics Publisherassignment). -
Ensure Microsoft Entra ID Managed Identity Sign-In Logs are ingested into the Sentinel workspace (required by
board-identity-misuse.json). -
Deploy all 9 analytics rules:
for f in infra/sentinel/*.json; doaz deployment group create \-g <sentinel-rg> \-f "$f" \-p workspace=<sentinel-workspace-name>done -
Tune thresholds (e.g.
approval-burstthreshold > 5 in 10 minutes) to match shift volumes.
Verification
/setupAudit export to Sentinel reports OK;BlueboardAudit_CL | take 5returns rows in Sentinel; all 9 rules appear Enabled in Sentinel → Analytics.
10. SOP-10: Deploy real-time Sentinel Automation Rule sync connector
- Purpose: Trigger
POST /api/incidents/{id}/syncwithin seconds of every new Sentinel incident. - When to run: Production go-live when near-real-time Sentinel triage is required.
- Who: Sentinel Administrator + Enterprise Application Owner.
Steps
- Deploy
templates/sentinel/automation-rule-logic-app.jsonto the Sentinel resource group. - Assign
Board.Postto the Logic App's managed identity (./infra/assign-roles.sh <mi-oid> Board.Post). - Create a Sentinel Automation Rule on Incident created (and optionally Incident updated) invoking the Logic App.
Verification
- Create a test incident in Sentinel; confirm the Logic App run succeeds (
200 OK) and the incident appears in#incidentswithin 5 seconds withincident.syncedlogged inaudit_log.
11. SOP-11: Manage Threat Intel feeds and Sentinel STIX publishing
- Purpose: Enable/disable external and Microsoft threat intel sources and authorise
publish_ti_indicator. - When to run: Enabling TI enrichment or changing Sentinel workspace target.
- Who: Azure Platform Engineer + Privileged Role Administrator (for MSTI) + Sentinel Workspace Owner (for STIX publishing).
Steps
-
If enabling Microsoft Threat Intelligence (
TI_MSTI_ENABLED=true), grantThreatIntelligence.Read.All:TI_MSTI=1 READ_ONLY=1 ./infra/grant-permissions.sh <api-mi-principal-id> <board-api-client-id> -
If enabling
publish_ti_indicator, passSENTINEL_WORKSPACE_IDandASSIGN_SENTINEL_CONTRIBUTOR=true(or assign Microsoft Sentinel Contributor manually on the dedicated TI Sentinel workspace). -
Redeploy with desired
TI_*_ENABLED=trueflags and optionalNVD_API_KEY.
Verification
- Open
/intel, verify enabled sources show OK, run onelookup_inteland (in a test tenant first) one dry-run then livepublish_ti_indicator, and confirmThreatIntelIndicators | where SourceSystem == "blueboard"returns the object.
12. SOP-12: Author, validate and deploy custom playbooks
- Purpose: Add or update SOC response checklists under version control.
- When to run: Adding a new detection family or refining SOC runbook steps.
- Who: SOC Lead / Detection Engineer.
Steps
-
Create
playbooks/<slug>.mdwith YAML frontmatter (id,title,priority,match.titles,match.techniques,stepswith optionalstageandafterdependencies) and## <step-id>: <title>sections explaining the investigation procedure. -
Validate offline:
dotnet run --project api/Blueboard.Tools -- playbooks -
Commit, run
dotnet test --solution api/Blueboard.slnx, and redeploy via./infra/deploy.sh.
Verification
GET /api/playbooks(or MCPlist_playbooks) lists the new playbook with the expected priority and step count; attach it to a test incident withattach_playbookto confirm step 1 posts cleanly.
13. SOP-13: PostgreSQL backup, migration and audit verification
- Purpose: Confirm database durability, migration integrity and parity between PostgreSQL
audit_logand SentinelBlueboardAudit_CL. - When to run: Monthly compliance check and before major upgrades.
- Who: Azure Platform Engineer +
Board.Admin.
Steps
-
Confirm
/setupDatabase reports OK with all migrations indb/migrations/present inschema_migrations. -
Verify PostgreSQL Flexible Server automated backup status (14 days
mvp, 35 days geo-redundantproduction) and HA state. Twice a year, run the restore drill in OPERATIONS.md § Backup and restore:az postgres flexible-server show -g "$RESOURCE_GROUP" -n <pg-server-name> \--query "{ha:highAvailability.mode,backup:backup,publicAccess:network.publicNetworkAccess}" -
Reconcile audit row counts over the past 24 hours between PostgreSQL
audit_logand SentinelBlueboardAudit_CL(summarize count(), max(AuditId)vsSELECT count(*), max(id) FROM audit_log). Investigate any discrepancy immediately.
Verification
- Zero missing migrations, healthy HA/backup state, and
BlueboardAudit_CLmax(AuditId)matcheskv_state['audit_export.last_id']within 2 minutes.
14. SOP-14: Incident response for a compromised agent, approver or board
- Purpose: Contain and eradicate a suspected compromise of any blueboard participant or the board itself.
- When to run: Triggered by Sentinel alerts (
board-identity-misuse,approval-burst,policy-reject-protected,new-agent,limit-hit) or any report of unauthorised activity. - Who: SOC Incident Commander +
Board.Admin+ Azure/Entra Administrator.
Steps
-
Immediate write stop (seconds): Admin → Participants → Pause broker with reason. If the board UI/API cannot be trusted, run:
az functionapp config appsettings set -g "$RESOURCE_GROUP" -n <api-name> --settings BROKER_EXECUTE=false -
Disable compromised principal(s): click Disable on Admin → Participants (effective on next request), then disable the service principal or revoke sessions in Entra ID.
-
Revoke
blueboard-id-apiwrite permissions: in Entra Admin Centre → Enterprise applications → Managed identities →blueboard-id-api→ Permissions, remove all write permissions and restart the Function App to flush cached tokens. -
Forensic audit: inspect
BlueboardAudit_CLin Sentinel (tamper-evident copy), compare against PostgreSQLactionsandaudit_log, and review Microsoft Defender Action Center andMicrosoftGraphActivityLogs. -
Reverse unauthorised tenant actions: release wrongly isolated devices, re-enable accounts, delete unauthorised MDE/Sentinel indicators.
-
Rotate credentials: recreate any compromised agent's federated credential; revoke user sessions in Entra ID; re-verify
policy.jsonand Bicep state before resuming writes.
Verification
- Zero active unauthorised sessions or permissions; Sentinel
BlueboardAudit_CLmatches Defender Action Center; post-incident review completed before clearing broker pause or re-enablingBROKER_EXECUTE=true.
15. SOP-15: Rotate connector credentials (Okta, ServiceNow, Jira)
- Purpose: Replace a connector credential (scheduled, or after suspected exposure) without a gap in connector service and without the new secret passing through chat, tickets or deployment history.
- When to run: Every 90 days for SSWS tokens, ServiceNow client secrets, Jira API tokens and inbound webhook secrets; yearly for the Okta signing key; immediately after any suspected exposure (threat model TM-52, TM-53, TM-56), an operator leaving, or a failing Connectors setup check that names an authentication error.
- Who:
Board.Admin+ Key Vault Administrator (production) + the Okta, ServiceNow or Jira administrator.
Steps
- Okta signing key (
private_key_jwt, preferred) — no secret to copy:- Create a new key version in place:
az keyvault key rotate --vault-name <vault> --name okta-signing(oraz keyvault key create … --kty RSA --size 2048 --ops signfor a new key name). - Export only the public JWK (
az keyvault key download --vault-name <vault> --name okta-signing --encoding PEM -f okta-signing.pub.pem, convert to JWK) and add it to the Okta service app's public keys next to the old one; note itskid. - If
OKTA_SIGNING_KEY_URLpins a version, update it (andOKTA_JWK_KID) with./infra/deploy.sh(oraz functionapp config appsettings set). A versionless key id picks up the new version on the next token (within an hour). - Admin → Connectors → Okta → Test. When it succeeds, deactivate and delete the old public key in Okta.
- Create a new key version in place:
- Okta SSWS token (fallback): create a new token as the dedicated Okta integration admin,
az keyvault secret set --vault-name <vault> -n okta-api-token --file <path>(never on the command line), restart the Function App so the Key Vault reference refreshes, Test, then revoke the old token in Okta (Security → API → Tokens). Plan the move toprivate_key_jwt. - ServiceNow OAuth client secret: regenerate the secret on the OAuth application registry entry,
az keyvault secret set -n servicenow-client-secret --file <path>, restart the Function App, Test. The old secret stops working at regeneration, so do this in a quiet window; outbound ticket sync retries on the next minute. - Jira API token: create a new token for the integration account (id.atlassian.com → Security → API tokens),
az keyvault secret set -n jira-api-token --file <path>, restart, Test, then revoke the old token. - Inbound webhook secrets (
servicenow-webhook-secret,jira-webhook-secret): generate 32+ random bytes (openssl rand -base64 48 > <path>), update the sender (ServiceNow credential record / relay secret) and Key Vault in the same change window, then restart. Updates signed with the old secret are refused (401) until both sides match; ticket comments are not lost in ServiceNow/Jira, only not mirrored during the gap. - mvp profile (no Key Vault): pass the new value to
./infra/deploy.shas the environment variable (OKTA_API_TOKEN,SERVICENOW_CLIENT_SECRET,SERVICENOW_WEBHOOK_SECRET,JIRA_API_TOKEN,JIRA_WEBHOOK_SECRET). Secure values are never stored; a deploy without one clears it (deploy.sh warns). - After suspected exposure: also pause the broker (SOP-04) if Okta write scopes were exposed, review the Okta System Log for the service app's client id (or the SSWS token's creator) and ServiceNow/Jira audit history for the integration account since the exposure window, and reverse anything unauthorised.
- Delete local files that held secret values; never paste them into the board, tickets or chat (the board's secret-leak filter refuses obvious tokens).
Verification
- Admin → Connectors shows every configured connector Healthy with a Last success after the rotation, and the setup check Connectors is OK.
audit_loghas aconnector.testedrow per connector from the person who rotated it.- The old credential no longer works (Okta key deactivated / token revoked, ServiceNow secret regenerated, Jira token revoked), and a test inbound request signed with the old webhook secret returns 401.