Swiss federal authorities
Schweizerische Eidgenossenschaft, Confédération suisse, Confederazione Svizzera, Confederaziun svizra Kommando Cyber OSS@CEA — Open Source. Enabling Advantage.

Cyber Command is part of the Swiss Armed Forces. This site publishes the foundations, processes and supporting material used to prepare and release open source software in that context. The material is maintained within CEA, which forms part of Cyber Command.

As part of its mission, Cyber Command develops its own data products, tools and applications. Under the Federal Act on the Use of Electronic Means for the Fulfilment of Government Tasks (EMBAG), federal authorities are required to disclose the source code of software they develop, or commission others to develop, for the fulfillment of their official duties.

As a professional basis for this work, the Federal Chancellery provides guidance documents for federal authorities: BK OSS Hilfsmittel.

In this context, Cyber Command publishes selected software as open source. The OSS guidance issued by the Federal Chancellery serves as the baseline. Due to additional security and confidentiality requirements within the Swiss Armed Forces, this baseline has been supplemented by specific internal guidance.

Contribute

Everything on this site is maintained in the open. The repository holds the AsciiDoc sources of the documents below, the scripts that manage the anonymized accounts used for open source work, and the pipeline that builds this page.

Read the sources, point out a gap, or propose a change. The most valuable contribution is usually not new code but clearer and more accurate documentation. Small corrections — wording, a broken link — can go straight into a merge request; for anything larger, open an issue first. The contributing guidelines describe the workflow.

Documents

The material falls into three groups: the internal framework that governs a CEA release, the technical documentation behind it, and the federal reference documents both build on.

Note
Except where noted, the documents listed below are written in German.

Process and governance

The internal framework: how a CEA release is decided, who is accountable, and what a new contributor receives.

CEA Open Source Process Description

Supplements the Federal Chancellery guidance with the CEA release process, from pre-clarification to publication.

CEA Open Source Roles and Responsibilities

Form recording the named role holders for a release; completed at the start of a project and kept on the project’s internal intranet page, not in its repository.

CEA Onboarding Template

Handed to new contributors, in English: anonymized Google account, 2FA enrollment and GitLab sign-in via SSO.

Technical documentation

How the anonymized accounts behind these publications are created, expired and used, and how the supporting infrastructure is maintained. The user-management policies are written in German, the IAM and CI/CD documents in English.

User management

The policies implemented by the scripts in this repository.

Generate Seasonings

Generation of the salt and pepper sets the identifier hashing relies on (salts checked for collisions).

Anonymize Identifier

Derives an anonymized identifier from a clear one — U, VBS, AHV or UL number.

Deanon Identifier

Resolves an anonymized identifier back to its clear form for administrative and audit purposes.

Deanon All Users

Resolves every anonymized user of the GitLab group in one run, skipping bots and admin accounts.

Create Google Workspace User

Creation of an anonymized account, issued through an encrypted credentials document.

Expire Google Workspace Users

Suspension and deletion of accounts after an identifier-specific period of inactivity.

Expire GitLab Users

Time-limited memberships: an expiry per access level, scaled by identifier type.

Maintain Policy Files

How these policy documents are kept in line with the scripts that implement them.

Third-Party Usage

Rules for using an anonymized account on external platforms such as GitHub or DockerHub.

IAM

The Google Workspace side of the setup.

Google Service Account Setup

Walkthrough for the service account and delegation the automation runs under.

Pricing Notes

Cost comparison of Azure P1/P2 and Google Workspace for identity and mail at 30 users.

CI/CD maintenance

Recurring operational tasks on the pipeline.

Token Rotation

Rotating the GitLab group access token used by the pipelines without disrupting Renovate.

Additional documents

Federal reference material, mirrored here for convenience only. The issuing offices remain the authoritative source:

Federal Chancellery OSS guidance

The baseline the CEA process extends.

OSS-Hilfsmittel

Overview of the toolkit and of the disclosure obligation under Article 9 EMBAG.

Em002 Strategischer Leitfaden OSS

The strategic guideline for open source software in the Federal Administration.

Em002-1 Praxis Leitfaden OSS

Practical companion to Em002: using, operating and supporting OSS day to day.

Em002-2 Anleitung zur Veröffentlichung von OSS

The publication procedure itself, and the document the CEA process is built on.

Em002-3 Leitfaden OSS-Lizenzen

Choosing an OSS license and applying it correctly.

Em002-4 Leitfaden OSS Community

Building and governing the community around a published project.

Em002-5 Merkblatt OSS Hilfsmittel

Two-page fact sheet on applying Article 9 EMBAG when software is bought or built.

Em002-6 FAQ-OSS

Frequently asked questions on publishing open source software.

Em002-7 Strategische Aspekte zu Beschaffung und OSS

Procurement and OSS; complements the BBL and KBB procurement guidance.

Federal Chancellery checklists

The forms the procedure requires, as editable ODT documents.

Em002-2.1 Checkliste OSS Vorabklärung

Completed first: whether the software must be published, and whether development is open from the start.

Em002-2.2 Checkliste OSS Analyse und Aufbereitung

For ICT specialists: reviews documentation, source and third-party components for legal and security risk.

Em002-2.3 Checkliste OSS Freigabe und Publikation

Closes the procedure and releases the software under an OSS license.

Em002-4.1 Checkliste OSS Community

Records the community and support model chosen for a project.

SEPOS protection needs assessment

The security procedure applied before a system goes live.

P041-Leitfaden-Schutzbedarfsanalyse

BACS guide to the protection needs assessment required by Article 16 ISG.

P041-Hi01-Schutzbedarfsanalyse_V5-1-1-d (XLSX)

The accompanying assessment workbook, version 5.1.1.