Skip to content

Client LZ Policy Baseline (CLIENT_LZ_POLICY_BASELINE) ​

This page describes the community framework CLIENT_LZ_POLICY_BASELINE as shipped with SWAO: what it is, which policies it ships with which defaults, and how a client turns it into its own landing zone rules. The workflow (copy, edit, health check, assess, evidence references, publish, reading the comparison) is in the Landing Zone Live Assessment guide.

Summary ​

PropertyValue
Framework IDCLIENT_LZ_POLICY_BASELINE
Display nameClient LZ Policy Baseline (German public agency default)
Authority / publisherSWAO default for a German public agency; not an official publication
SWAO catalogue version1.0.0
Policies and controls20 policies, one control each, in 11 categories
Assessment typesapp (Application Assessment) and lz (Landing Zone Live Assessment)
Decided byRules on landing zone evidence; never sent to an LLM
TierCommunity (copy, edit, validate); evaluation tiers in the guide
Folderclient-lz-policy-baseline

What it is ​

A client organisation has its own landing zone rules, for example "data may only be stored in German data centres" or "managed PostgreSQL is not allowed". The baseline writes such rules down once, as normalised policies that apply to every provider (T Cloud Public, AWS, Azure, STACKIT). SWAO measures each landing zone against the same rules and shows where each provider fits and where it does not. SWAO only reads; it never enforces a policy in a tenant.

The shipped default is a standard ruleset for a German public agency: data residency in Germany, BSI C5 and IT-Grundschutz oriented controls, customer-managed keys, no public exposure by default, logging and retention, and a restricted service list where sovereignty requires it. It is fully populated, so it works as delivered. No agency is named and the values are generic. Every default either cites the SWAO control it derives from or is marked as an assumption.

Files ​

What sets this framework apart is policy-baseline.yaml, the file of policies the client edits. The folder holds:

FileContent
framework-meta.yamlFramework identity and scope
controls.yamlOne control per policy: text, severity, maps_to to the source controls, remediation
policy-baseline.yamlThe policies: kind, category, control, state, params, default_source. The client edits this file in its workspace copy
service-controls.yamlCapability tags to CPB-* controls, for the per-service light column
policy-guidance.yamlPer policy the deciding question and the options with pros, cons and a source, for the guided consultation (read from the copy SWAO ships, never from the client copy)
README.mdCopy, edit and validate; every assumption default

Policy kinds ​

Each policy has a kind with its own parameters. A client adds policies of these kinds only; a new kind needs a SWAO release.

CategoryKindParameters
data_residencyregion_residencyallowed_countries (ISO 3166-1 alpha-2 or EU), allowed_operator_jurisdictions, forbid_exposure, required_certifications
service_controlservice_deny, service_allow_listcapabilities (SWAO capability tags)
encryptionencryption_at_restmin_key_custody (provider-managed, customer-managed, byok, hyok), applies_to
encryptionencryption_in_transitmin_tls_version ("1.2" or "1.3", quoted), applies_to
network_exposureno_public_exposureallow_capabilities
network_exposureno_open_admin_ingressports, forbidden_sources (CIDR)
identityprivileged_mfanone
identitycredential_agemax_age_days
loggingaudit_trailall_regions
logginglog_retentionmin_days
taggingrequired_tagskeys
availabilitymin_availability_zonesmin
resiliencebackup_configuredapplies_to
costbudget_alertsrequired
portabilitydocumented_exitnone

Shipped policies ​

PolicyKindDefault stateDefault parametersDefault source
CPB-RES-01region_residencyenabledallowed_countries: [DE]BSI_C5_DAT-02, BSI_OPS22_A3; assumption in part
CPB-RES-02region_residencyenabledallowed_operator_jurisdictions: [EU-entity], forbid_exposure: [us_cloud_act, fisa_702]SWAO BSI C5 sovereignty gate; assumption in part
CPB-RES-03region_residencyenabledrequired_certifications: [BSI_C5]BSI_C5_COM-03; assumption in part
CPB-SVC-01service_denydisabledcapabilities: [managed_llm, ml_inference, ml_training, ml_speech, ml_translation, ml_vision, ml_nlp]assumption
CPB-SVC-02service_allow_listdisabledexample allow-list of 26 capabilities (listed in the README)assumption
CPB-SVC-03service_denydisabledcapabilities: [postgresql]assumption
CPB-ENC-01encryption_at_restenabledmin_key_custody: customer-managed, applies_to: [object_storage, block_storage, file_storage, postgresql, mysql, nosql_database]BSI_C5_CRY-01, BSI_C5_CRY-02, BSI_CON1_A2, BSI_CON1_A4; assumption in part
CPB-ENC-02encryption_in_transitenabledmin_tls_version: "1.2", applies_to: [load_balancer, api_gateway, cdn]BSI_C5_PI-03; assumption in part
CPB-NET-01no_public_exposureenabledallow_capabilities: [load_balancer, waf, api_gateway]BSI_C5_COS-01, BSI_NET11_A2
CPB-NET-02no_open_admin_ingressenabledports: [22, 3389], forbidden_sources: ["0.0.0.0/0", "::/0"]BSI_C5_COS-02, BSI_C5_COS-03, BSI_NET32_A1; assumption in part
CPB-NET-03no_open_admin_ingressenabledports: [1433, 3306, 5432, 6379, 27017], forbidden_sources: ["0.0.0.0/0", "::/0"]sources of CPB-NET-02, BSI_APP43_A1; assumption in part
CPB-IAM-01privileged_mfaenablednoneBSI_C5_IDM-02
CPB-IAM-02credential_ageenabledmax_age_days: 90BSI_C5_IDM-05, BSI_C5_CRY-03; assumption in part
CPB-LOG-01audit_trailenabledall_regions: trueBSI_C5_OPS-06, BSI_C5_SIM-01, BSI_DER1_A2
CPB-LOG-02log_retentionenabledmin_days: 180sources of CPB-LOG-01; assumption in part
CPB-TAG-01required_tagsenabledkeys: [owner, data-classification]BSI_C5_OPS-04, BSI_C5_DAT-01; assumption in part
CPB-AVL-01min_availability_zonesenabledmin: 2BSI_C5_AVL-03; assumption in part
CPB-BCK-01backup_configuredenabledapplies_to: [block_storage, postgresql, mysql, nosql_database, file_storage]BSI_C5_AVL-04, BSI_CON3_A2
CPB-COST-01budget_alertsenabledrequired: trueassumption
CPB-PRT-01documented_exitenablednone (always a manual evidence item)BSI_C5_PSS-01, BSI_C5_BCP-02

The control ids in the source column are SWAO's paraphrases of BSI C5:2020 and BSI IT-Grundschutz 2023; reviewers check the official text. "Assumption in part" means that a value of the row has no source in the repository (for example the port list, 90 days, 180 days or the TLS floor 1.2). The README of the framework lists every assumed value; the baseline summary of the publication lists every policy whose default is an assumption. Assumptions are accepted defaults, not official requirements: review them for your organisation.

CPB-SVC-01 to CPB-SVC-03 ship disabled. They are demonstration sets: enable CPB-SVC-03 for the example "managed PostgreSQL is not allowed".

Generic examples ​

Data only in German data centres. This is the shipped default of CPB-RES-01 (allowed_countries: [DE]). In a Landing Zone Live Assessment, a region outside Germany that the landing zone uses fails the policy, and every service offered in a non-German region is red in the baseline light column. Changing the value to [EU] accepts the 27 EU member states.

Managed PostgreSQL forbidden. Set state: enabled on CPB-SVC-03 (capabilities: [postgresql]). The offering verdict is READY when PostgreSQL is restricted or not offered in the landing zone and READY_WITH_CHANGES when it is enabled; the estate check fails when a PostgreSQL instance is deployed. An application that needs PostgreSQL gets BLOCKED_BY_POLICY with the evidence baseline:CPB-SVC-03 and a GAP on the control.

Your own rule. A policy of an existing kind with an id of the form X-<PREFIX>-<CAT>-NN, every parameter of its kind and a matching control in controls.yaml:

yaml
  - id: X-ORG-TAG-01
    kind: required_tags
    category: tagging
    control: X-ORG-TAG-01
    state: enabled
    params:
      keys: [cost-centre]
    default_source: "Internal tagging standard"

How SWAO decides the controls ​

The controls of this framework are never sent to an LLM. In a Landing Zone Live Assessment each enabled policy gets an offering verdict and an estate status per scope. In an Application Assessment, Pass 11 (compliance evaluation) decides each control by rule from the landing zone evidence the user chose (static catalogue or live results): SATISFIED, PARTIAL, GAP, UNKNOWN or N_A, worst-of over the targets or scopes, with the ranked contributions kept. The guide explains both.

How to enable it ​

Copy the folder client-lz-policy-baseline from the GitHub repository into wsp/inputs/catalogs/community/client-lz-policy-baseline/ in the workspace. Edit policy-baseline.yaml in that copy with a text editor, or with an AI chat or agent (for example SWAO Chat). For a second baseline, copy the folder under another name and give it its own id (framework.id in framework-meta.yaml, regime_meta.id in controls.yaml, framework: in policy-baseline.yaml and service-controls.yaml), keeping baseline_of. Then:

bash
swao framework list
swao health-check
# Landing Zone Live Assessment
swao assess --type landing-zone-live --lz otc-prod --frameworks client-lz-policy-baseline
# Application Assessment
swao regime-select --app app-crm-01 --regimes CLIENT_LZ_POLICY_BASELINE
swao assess --app app-crm-01 --lz-cat-targets otc:eu-de

Guided consultation over MCP (Enterprise) ​

An MCP client (SWAO Chat, Claude Desktop, Claude Code, Kilo, Cursor or VS Code) can walk the client and its stakeholders through the baseline with the prompt swao_baseline_consult (optionally per category, for example logging). Per policy it explains what the policy means, asks the deciding question, shows the options with their pros, cons and sources, and, on request, the effect of a candidate value on the stored Landing Zone Live results (counts per landing zone, re-evaluated from the last run, not a new live read). It then proposes the edit as a diff of policy-baseline.yaml.

Nothing is written until the user confirms. The client asks for the confirmation in its own dialog where it supports MCP elicitation; a client without it writes only when the workspace opts in with mcp.baseline_write: client-approval in .swao.yml (disabled turns writing off). SWAO keeps a backup of the previous file under wsp/backups/policy-baseline/, validates the result with the health-check rules and logs the write with counts only. An optional short rationale per value is stored in the file as a decision record (policy-baseline.yaml schema 0.2). The guidance text is a draft pending review; it is not legal or official advice.

Important notes ​

  • The shipped baseline is a generic default, not an official publication of any authority. It does not replace an audit or legal advice.
  • A client baseline is workspace data: it lives in the client's workspace copy and is never bundled or published.
  • SWAO never updates the client's copy (owner decision 2026-11-08): there is no automatic and no command-driven upgrade. The health check reports a stale copy; a newer version is taken from the GitHub repository by hand.
  • Policy results carry counts, pseudonymised labels and evidence references; native resource ids and tag values never reach a publication.
  • When several frameworks are selected, their residency requirements are merged as a union, so a framework that accepts EU widens a Germany-only rule. The requirement provenance block of the publication shows which framework contributed which value.