Skip to content

How SWAO Works ​

SWAO analyses a cloud application and produces an auditor-grade assessment report in a single command - or through the guided terminal interface. No external services, no data uploads, no call-home.

SWAO process flow: the workspace and its input files feed the SWAO engine, which runs the analysis passes and produces results, a 7R decision and the onboarding into a landing zone, with a continuous improvement loop back to the workspaceFrom workspace to onboarding: one engine, 13 default passes and one evidence chain from input to migration decision.

What is SWAO? Full Product Overview


The guided interface (TUI) ​

When you run swao without arguments, the terminal user interface opens. It walks you through every step without needing to remember commands.

SWAO -- Sovereign Workload Assessment and Onboarding
Community  v0.11.2

  1  Workspace Setup       init + LLM + credentials wizard
  2  Health Check          swao health-check
  3  Run Assessment        Application / Landing Zone / LLM + more
  4  Generate Report       swao report (text / PDF)
  5  Publish HTML          swao publish -- self-contained HTML file
  6  Export BI             star schema / PowerBI / Tableau
  7  Portfolio Operations  multi-app aggregate (Enterprise)
  8  Generate TF Modules   swao generate-tf
  9  Tools                 lenses / licence / credentials / help
  0  Exit

Use the arrow keys or type the number to navigate.

See also: Sample Gallery - TUI Main Menu

Setup Wizard ​

If this is your first time, start here. The wizard asks:

  1. Workspace - engagement name, client code, owner, and the workspace directory.
  2. LLM provider - Anthropic Claude, OpenAI, Amazon Bedrock Gateway, a local Ollama model, or a deterministic stub for offline use.
  3. Credentials - the API key for the chosen provider, stored in the SWAO credential store.
  4. Health check - a first run of the pre-flight checks.
  5. Claude Desktop and 6. Playwright - optional integrations (MCP server, browser for dynamic analysis).
  6. Ready - a summary of the next steps.

The wizard creates a ready-to-use workspace folder on disk. New workspaces contain the four demo frameworks (GDPR_DEMO, AI_10_PILLARS_DEMO, NIST_SP_800_66R2_DEMO, BSI_GRUNDSCHUTZ_2023_DEMO). Copy more into the workspace at any time with swao framework install <ID>; swao framework list shows the IDs. You choose the frameworks for each app when you run the assessment.

Health Check ​

Before running an assessment, select Health Check (item 2) to verify that the workspace is healthy. Each probe reports ok or a specific action to take:

ProbeWhat it checks
LicenceEdition detected and valid
PlaywrightDynamic analysis readiness
MCPModel Context Protocol server configuration
Compliance cataloguesFramework files present and consistent
Import templatesIngestion folder structure
TraceabilityAudit-grade signal fields enabled
BI export bundlePrevious export integrity

See also: Sample Gallery - Health Check

Run Assessment ​

Select 3. Run Assessment from the main menu. SWAO asks which assessment type to run:

OptionWhat it does
Application AssessmentAnalyses your application source code
Service Portfolio AssessmentAssesses third-party, COTS, and SaaS applications from a spreadsheet intake, without source code
Landing Zone Catalog AssessmentChecks a cloud provider's service catalogue and region against your sovereignty requirements
LLM AssessmentBenchmarks LLM providers against sovereignty criteria

Select an assessment type, confirm, and SWAO runs automatically. A live progress bar shows each pass as it completes.


The assessment pipeline ​

An Application Assessment runs 13 analysis passes by default. Each pass is independent and auditable; the numbering follows the passes overview.

PassWhat it does (business view)
01 InventoryMaps the languages, frameworks, and dependencies in your codebase
02 State analysisIdentifies stateful components: databases, session storage, caches
03 Data classificationFinds personal data fields, PII columns, residency markers
04 Context ingestionReads your CMDB, workshop transcripts, and architecture docs
05 SBOMChecks dependencies for known vulnerabilities, maintenance, and end-of-life runtimes
06 Twelve-factorChecks cloud-readiness against the 12-factor application standard
07 Egress analysisMaps outbound calls and third-party data transfers
08 CryptographyReviews hashing, token signing, and encryption at rest
09 Migration synthesisSynthesises a 7R verdict (Retire, Retain, Rehost, Replatform, Refactor, Re-architect, Repurchase)
10 Dynamic analysisBrowser crawl of the running application (needs a crawl target)
11 Compliance evaluationRates the controls of the active compliance frameworks
12 Operational blocksRates the maturity of eight blocks, from observability to disaster recovery
13 ScopeChecks which known blind spots the evidence covers

Pass 00 (INGEST) prepares the supplied documents before the first pass. Pass 14 (malware and secret scanning) and Pass 23 (landing zone readiness, --lzr) run only on request. The run order differs slightly from the numbering: compliance, synthesis, and the block ratings run last so that they see the results of all other passes.

Passes 01 and 02 are deterministic, no LLM required. Passes 03, 04, 09, 11, and 12 call the LLM to classify data and to produce human-readable rationale on signals, compliance verdicts, and block ratings.


The HTML publication ​

After an assessment, SWAO generates a self-contained HTML file you can open in any browser, email to a client, or use offline in an air-gapped environment.

The publication includes:

  • Executive view - 7R verdict, coverage score, top risks in plain language.
  • Technical view - all signals with derivation, evidence links, and pass breakdowns.
  • Compliance view - per-framework control table with outcome and rationale.
  • Auditor view - per-control audit record: outcome, rationale, evidence, assessor, timestamp. Filterable by framework and verdict.
  • Evidence gallery - screenshots and artefacts from the assessment, embedded for offline delivery.
  • Run history - duration, LLM cost, files assessed, per-pass breakdown.

The HTML file contains everything. No server, no internet connection, no account needed to open it.

To generate the publication:

bash
swao publish --app my-app
# opens: wsp/publications/latest/index.html

See also: Sample Gallery - Publish HTML TUI and PowerBI dashboard screenshots


MCP integration ​

SWAO can connect to Claude AI via the Model Context Protocol (MCP). Once connected, you can ask Claude questions about your assessment findings in natural language - without leaving your conversation.

Example questions you can ask Claude after connecting:

  • "What are the top compliance gaps for this application?"
  • "Summarise the landing zone fit/gap findings."
  • "Show me all signals assessed by the rule engine."
  • "What is the 7R migration verdict and why?"

How to connect ​

  1. Run swao health-check (or select 2. Health Check in the TUI) - the MCP probe shows the server path.
  2. In Claude Desktop: Settings > Developer > MCP Servers > Add. Paste the path.
  3. Restart Claude Desktop.

See also: Sample Gallery - MCP connector setup and MCP challenge in Claude

SWAO starts the MCP server automatically when Claude connects. All assessment data stays on your machine. MCP exposes query tools, not the raw files; a few tools also run SWAO actions in the workspace (swao_assess and the service tools swao_service_init, swao_service_research_run and swao_service_export).

Available tools via MCP:

ToolWhat it does
swao_assessTrigger a new assessment from within Claude
swao_reportGet a structured summary of the latest assessment
swao_signal_detailLook up a specific signal by ID
swao_signalsList the signals of the latest assessment
swao_lz_fitGet the landing zone fit/gap summary
swao_frameworks_listList the community frameworks available in the workspace

For a workspace scaffolded with swao service init (Service Portfolio Assessment), 11 further tools expose the service results. The first eight only read; the last three run the matching swao service command and write to the workspace.

ToolWhat it does
swao_service_portfolioOne row per application or service app from wsp/portfolio-summary.json (combined view: assessment_type, TIME, risk, evidence, wave, end of life, CVE counts), with filters and sorting
swao_service_appEverything about one service app: intake fields, classification, cost estimate, integrations, scores, runs, research and binary summary
swao_service_researchResearch stubs of one app (CVE, end of life, VirusTotal and the LLM topics)
swao_service_wavesMigration waves and integration hubs of both app types, each app with assessment_type and the not-assessed mark
swao_service_vendorsVendor consolidation groups with opportunity score and tier
swao_service_deltaLatest delta report against the previous snapshot
swao_service_scaffoldScaffold summary: rows read, apps, clusters, unclassified apps, recognised columns
swao_service_runsService runs per app with their status and the latest usable run
swao_service_initRuns swao service init (writes to the workspace)
swao_service_research_runRuns swao service research (writes to the workspace)
swao_service_exportEnterprise: runs swao service export (portfolio workbook and star schema)

Intake contact, phone and e-mail are reported as presence flags only. Full reference: MCP Integration, section 4.1.


PowerBI dashboards ​

The BI export bundle produced by every assessment is a set of 17 CSV tables in a star-schema layout. Any BI tool can load it.

For Power BI Desktop users, SWAO ships pre-built templates in your workspace at wsp/templates/powerbi/:

TemplateTierPages
swao-report.pbit (single app)EnterpriseOverview, Compliance, Signals, Risks, Auditor, Run Stats
swao-portfolio.pbit (multi-app)EnterprisePortfolio Overview, App Heatmap, Compliance, Risk & 7R, Wave Sequencing, Auditor Roll-up

To open a template:

  1. Open the .pbit file in Power BI Desktop.
  2. When prompted for SWAOExportPath, paste the path to the star/ folder inside your latest assessment export.
  3. Click Load. The dashboard refreshes with your data.

For step-by-step instructions on customising the template, see the Export BI runbook.


What stays on your machine ​

SWAO is file-only by design:

  • No telemetry. No usage data sent anywhere.
  • No hosted endpoint. The assessment engine runs entirely on your machine.
  • No call-home. The binary does not check for updates or send error reports.
  • LLM calls go directly from your machine to the provider you configured (Anthropic, OpenAI, Amazon Bedrock Gateway, or Ollama). SWAO does not proxy or store them.
  • The HTML publication, BI export, and PowerBI dashboard are local files. Share them only when and how you choose.