BSI IT-Grundschutz
This page maps the hardening measures of the OCM CLI image, the OCM controller
image, and the controller Helm chart to the BSI
IT-Grundschutz Compendium
(German: IT-Grundschutz-Kompendium, Edition 2023, February 2023). BSI
publishes the compendium in German; the requirement IDs below are BSI’s, the
English requirement titles are this page’s own renderings of the German titles
and not BSI’s official English wording — the
IT-Grundschutz Compendium Edition 2022,
the latest English edition, translates SYS.1.6.A24 as “Host-Based Attack
Detection”, for example. Two modules are relevant:
- SYS.1.6
Containerisierung(Containerization, Edition 2022) — requirements for container images, runtimes, and host systems. - APP.4.4 Kubernetes (Edition 2023) — requirements for Kubernetes clusters, pods, and their infrastructure.
Most IT-Grundschutz requirements address the platform operator, not the software vendor. OCM can influence a subset of them — image contents, pod security settings, RBAC scope, and build-time signing. The tables below note what OCM provides out of the box, what the operator must do, and where gaps exist. OCM does not give compliance guarantees; whether a deployment satisfies IT-Grundschutz depends on the cluster, the node operating system, the network infrastructure, and the operator’s own security concept.
For how the images are built and hardened, and how they are scanned against the DISA GPOS SRG, see DISA STIG. For the FIPS 140-3 cryptographic module, see FIPS 140-3.
Automated Checks
Like the ComplianceAsCode BSI
profiles, OCM maps each requirement to the checks that cover it. The mapping
lives in .github/benchmarks/bsi/ and the tables below are rendered from it.
After every build, the Image scan / BSI IT-Grundschutz job evaluates the
mapping against the reports of the image and chart scans (OCM’s DISA GPOS SRG
supplement, the CIS Docker Benchmark with dockle, the OCI metadata and
provenance of each image, Trivy’s Kubernetes and Dockerfile checks plus OCM’s
own Trivy checks, and Kubescape’s NSA/CISA and MITRE controls; see
DISA STIG
and Security Benchmarks).
It writes the result per requirement to the job summary and to the
bsi-it-grundschutz workflow artifact. It fails when a mapped check fails, or
when no scan evaluated it, so the mapping cannot drift from what the scanners
check. Accepted findings are listed on the Security Benchmarks page.
The status in the Checked by column describes the part OCM can influence:
- automated: every measure OCM provides for the requirement is checked.
- partial: some of OCM’s measures are checked; the rest is described in the table.
- manual: OCM provides a measure that no image or chart scan can observe, such as a property of the release process or the repository; the table says why.
- operator: entirely the operator’s responsibility; OCM’s artifacts do not influence it.
Where the BSI maps a requirement to Grundschutz++,
the successor of the IT-Grundschutz Compendium, the Grundschutz++ controls are
listed with it (mapping ITGS-to-GS++ of the BSI Stand-der-Technik-Bibliothek).
The BSI has not yet published machine-readable assessment content for
Grundschutz++, so OCM checks against the Compendium requirements.
SYS.1.6 Containerization
SYS.1.6 covers container images, the container runtime, and the host system. It applies whenever containerized services are operated. The requirement IDs below are those of the SYS.1.6 PDF (Edition 2022, February 2022). (B) = basic, (S) = standard, (H) = increased protection needs.
| Requirement | OCM provides | Operator responsibility / gap | Checked by |
|---|---|---|---|
| SYS.1.6.A1 Planning the use of containers (B) | — | Entirely the operator’s planning task. | operator |
| SYS.1.6.A2 Planning the management of containers (B) | — | Operator plans lifecycle, management tooling, and admin processes. | operator |
| SYS.1.6.A3 Secure deployment of containerized IT systems (B) | The chart sets liveness and readiness probes with configurable intervals (values.yaml) on the controller container. | Operator verifies isolation, virtual networking, and monitors performance. | partial: OCM-KSV-0002 |
| SYS.1.6.A4 Planning the deployment and distribution of images (B) | OCM images are published to ghcr.io, and the chart references the controller image by digest. The release pipeline builds, scans, and signs every image before publishing. | Operator documents their image distribution process and controls access to the registry. | partial: OCM-KSV-0001 |
| SYS.1.6.A5 Separation of the administration and access networks for containers (B) Grundschutz++: ARCH.2.2.7, ARCH.2.3 | The chart includes an opt-in NetworkPolicy (manager.networkPolicy.enabled, default false). When enabled, it allows ingress to the health-probe port (and the metrics port when metrics are enabled), and defaults egress to DNS (UDP/TCP 53) and HTTPS/Kubernetes API (TCP 443, 6443). Egress rules are replaceable via manager.networkPolicy.egress; extra ingress rules can be added via manager.networkPolicy.ingress. The scan renders the chart with the policy enabled. | Operator must enable the policy, tighten the rules for their environment, and use a CNI plugin that enforces NetworkPolicy. | partial: C-0030, KSV-0038 |
| SYS.1.6.A6 Use of secure images (B) | All images are built FROM scratch with only static binaries and a CA bundle from a digest-pinned Garden Linux FIPS base image. The default CLI image and the controller image add cosign from the digest-pinned OCM cosign image. No shell, no package manager, no setuid binaries. The chart pins the image by digest. Images are scanned for vulnerabilities (Trivy with govulncheck’s OpenVEX) on every build; findings are reported but do not block. | Operator must track OCM releases and apply updates. | partial: ocm_rule_minimal_rootfs, ocm_rule_no_shared_libraries, ocm_rule_ca_bundle, CIS-DI-0008, KSV-0013, KSV-0125, OCM-DS-0001, DS-0001 |
| SYS.1.6.A7 Persistence of container logging data (B) | The controller logs to stdout/stderr (JSON by default). No log files are written inside the container. | Operator collects logs externally (e.g. a cluster-level log aggregator). | automated: ocm_rule_no_local_logs |
| SYS.1.6.A8 Secure storage of access data for containers (B) | The controller reads registry credentials and signing keys from Kubernetes Secrets referenced in custom resources. No credentials are baked into images. | Operator manages Secret lifecycle, encryption at rest (etcd encryption), and RBAC. The controller’s ClusterRole has cluster-wide get/list/watch on Secrets, see RBAC scope. | partial: CIS-DI-0010, C-0012, C-0015, KSV-0041, KSV-0113, DS-0031 |
| SYS.1.6.A9 Suitability for container operation (S) | All binaries are statically linked, require no shared libraries, and handle SIGTERM gracefully. The chart sets terminationGracePeriodSeconds to 10. | Operator documents suitability assessment. | partial: ocm_rule_no_shared_libraries |
| SYS.1.6.A10 Policy for images and container operations (S) | — | Operator creates and enforces the image policy. | operator |
| SYS.1.6.A11 Only one service per container (S) Grundschutz++: ARCH.7.1 | Each image has one entrypoint (/ocm or /manager). ocm and the manager start cosign only as a subprocess for Sigstore signing and verification; the scan fails on any other executable. | — | automated: ocm_rule_minimal_rootfs |
| SYS.1.6.A12 Distribution of secure images (S) | Every image manifest carries the OCI annotations title, description, version, revision, source, created, vendor and licenses, and a SLSA provenance attestation, so its function and history are traceable. The Helm chart pins the image by digest in values.yaml. Images are signed (Sigstore cosign keyless) and their SLSA provenance is verified in the release workflow before promotion; signatures exist only for released images, so the per-build scan does not check them. | Operator verifies signatures before deployment and documents trusted sources. | partial: oci:annotations, oci:provenance, OCM-KSV-0001 |
| SYS.1.6.A13 Release of images (S) | The release pipeline runs unit tests, integration tests, and the image scan, which gates publishing, and signs before publishing. This is a property of the release process, which no image or chart scan can observe. | Operator integrates OCM image releases into their own approval workflow. | manual |
| SYS.1.6.A14 Updating images (S) | All base images are pinned by digest, so updates arrive as reviewed digest changes; Renovate proposes them and each produces a new release. | Operator plans patch and change management for OCM updates. | partial: OCM-DS-0001 |
| SYS.1.6.A15 Limitation of resources per container (S) | The chart sets default CPU and memory requests and limits (100m / 256Mi request, 500m / 512Mi limit). | Operator tunes limits and defines behavior on exceeded quotas. | automated: KSV-0011, KSV-0015, KSV-0016, KSV-0018, C-0270, C-0271 |
| SYS.1.6.A16 Remote administrative access to containers (S) | No shell, no SSH, no remote admin port in any image. The chart grants no exec or attach on pods. | Operator ensures no kubectl exec access beyond break-glass. | automated: ocm_rule_minimal_rootfs, C-0042, KSV-0053, KSV-0054, DS-0004 |
| SYS.1.6.A17 Execution of containers without privileges (S) | All images run as non-root user 65532. The chart sets runAsNonRoot, allowPrivilegeEscalation to false, and drops all capabilities. | Operator secures the container runtime and node. | automated: CIS-DI-0001, CIS-DI-0008, KSV-0001, KSV-0003, KSV-0004, KSV-0005, KSV-0012, KSV-0017, KSV-0022, KSV-0106, KSV-0118, C-0013, C-0016, C-0046, C-0057, DS-0002 |
| SYS.1.6.A18 Application services accounts (S) | User and group 65532 have no host-level privileges. | Operator maps UIDs if host integration is needed. | automated: KSV-0020, KSV-0021, KSV-0105, KSV-0116 |
| SYS.1.6.A19 Integrating data stores into containers (S) | The chart mounts two emptyDir volumes (/data, /tmp) and, when the webhook is enabled, a read-only Secret volume for TLS certificates. No hostPath volumes. | Operator controls persistent volumes and network storage. | automated: KSV-0006, KSV-0023, KSV-0028, KSV-0121, C-0045, C-0048 |
| SYS.1.6.A20 Securing configuration data (S) Grundschutz++: TEST.2.1 | The Helm chart and all Kubernetes manifests are version-controlled in the OCM repository. Version control is a property of the repository, not of the scanned artifacts. | Operator versions and audits their own values overrides. | manual |
| SYS.1.6.A21 Advanced security policies (H) | The chart sets seccompProfile to RuntimeDefault and no custom SELinux options, sysctls, or /proc masks. | Operator adds AppArmor/SELinux profiles and network-level MAC if required. | partial: KSV-0025, KSV-0026, KSV-0027, KSV-0030, KSV-0104, C-0055 |
| SYS.1.6.A22 Provision for examinations (H) | — | Entirely the operator’s responsibility. | operator |
| SYS.1.6.A23 Container immutability (H) | The root filesystem is read-only; only emptyDir mounts are writable. | — | automated: KSV-0014, C-0017 |
| SYS.1.6.A24 Host-based intrusion detection (H) Grundschutz++: DET.4.6 | — | Entirely the operator’s responsibility. | operator |
| SYS.1.6.A25 High availability of containerised applications (H) | — | Entirely the operator’s responsibility. | operator |
| SYS.1.6.A26 Further isolation and encapsulation of containers (H) | — | Entirely the operator’s responsibility. | operator |
APP.4.4 Kubernetes
APP.4.4 covers Kubernetes cluster operation, pod orchestration, and supporting infrastructure. It must always be applied together with SYS.1.6. The requirement IDs below are those of the APP.4.4 PDF (Edition 2023, February 2023).
| Requirement | OCM provides | Operator responsibility / gap | Checked by |
|---|---|---|---|
| APP.4.4.A1 Planning the separation of applications (B) Grundschutz++: ARCH.7.3 | — | Operator plans namespace layout, network zones, and cluster separation. | operator |
| APP.4.4.A2 Planning automation with CI/CD (B) Grundschutz++: TEST.3.1.5 | — | Operator plans CI/CD lifecycle and secrets handling for their own pipelines. | operator |
| APP.4.4.A3 Identity and permission management in Kubernetes (B) Grundschutz++: TEST.1.3 | The chart creates a dedicated ServiceAccount for the controller and binds it to a ClusterRole with least-privilege verbs on OCM custom resources. It grants no wildcards, no escalate/bind, and no write access to RBAC, workloads, webhooks, or Secrets. Read access to Secrets, and create on serviceaccounts/token, which no controller code uses today and which amounts to impersonation, are accepted, see RBAC scope. The NamespacedDeployer adds a role that lets the controller impersonate service accounts cluster-wide, so that it applies and prunes resources as the service account named in the NamespacedDeployer spec; it is the chart’s widest explicit grant and is accepted for that purpose (OCM-KSV-0004, which fails any other role granting impersonation). It can be switched off with manager.namespacedDeployer.enabled=false. | Operator manages cluster-wide RBAC, authentication, and restricts who can modify the OCM ClusterRole. Where the NamespacedDeployer is used, the operator controls which service accounts it may act as, by restricting who can create NamespacedDeployer resources and by scoping the permissions of the service accounts it impersonates; otherwise the deployer is disabled. | partial: KSV-0041, KSV-0043, KSV-0044, KSV-0045, KSV-0046, KSV-0047, KSV-0048, KSV-0050, KSV-0051, KSV-0052, KSV-0055, KSV-0056, KSV-0111, KSV-0112, KSV-0114, KSV-0122, KSV-0123, OCM-KSV-0004, C-0007, C-0015, C-0031, C-0035 |
| APP.4.4.A4 Separation of pods (B) | The pod spec meets the Kubernetes restricted Pod Security Standard (runAsNonRoot, all capabilities dropped, seccomp RuntimeDefault) and uses no host namespaces or host ports. It is deployed to its own namespace. | Operator enforces Pod Security Admission or an equivalent policy engine and ensures kernel namespace isolation on nodes. | automated: KSV-0008, KSV-0009, KSV-0010, KSV-0024, KSV-0037, KSV-0103, KSV-0110, C-0038, C-0041, C-0044 |
| APP.4.4.A5 Data backup in the cluster (B) | — | Operator backs up etcd, persistent volumes, and cluster configuration. | operator |
| APP.4.4.A6 Initialization of pods (S) | The controller uses no init containers; initialization happens inside the manager binary. The requirement asks for init containers where initialization is needed, so there is nothing to check. | Operator ensures initialization of their own pods follows this requirement. | manual |
| APP.4.4.A7 Separation of networks in Kubernetes (S) Grundschutz++: ARCH.2.1 | The chart includes an opt-in NetworkPolicy (manager.networkPolicy.enabled). When enabled, it restricts ingress to the health-probe port (and the metrics port when metrics are enabled) and limits egress to DNS and HTTPS/Kubernetes API by default. Rules are configurable via manager.networkPolicy.egress and manager.networkPolicy.ingress. | Operator must enable the policy, adjust rules as needed, and ensure the cluster’s CNI enforces NetworkPolicy. | partial: C-0030, C-0054, KSV-0038 |
| APP.4.4.A8 Securing configuration files in Kubernetes (S) | Chart templates, CRDs, and RBAC manifests are version-controlled and annotated with Helm metadata. Version control is a property of the repository, not of the scanned artifacts. | Operator controls access to the Helm release secrets and the Git repository. | manual |
| APP.4.4.A9 Use of Kubernetes service accounts (S) | The chart creates a named ServiceAccount bound to the controller’s ClusterRole and, while the NamespacedDeployer is enabled (the default), to the impersonation ClusterRole described in APP.4.4.A3. The controller does not use the default ServiceAccount. The token is mounted because the controller needs API access; this is accepted. | Operator restricts token projection for pods that do not need API access. | partial: KSV-0036, C-0034, C-0053 |
| APP.4.4.A10 Securing automation processes (S) | — | Operator secures CI/CD tooling used to deploy OCM. | operator |
| APP.4.4.A11 Monitoring of containers (S) | The chart defines liveness (/healthz) and readiness (/readyz) probes with configurable timing. | Operator monitors pod health and integrates alerts. | partial: OCM-KSV-0002 |
| APP.4.4.A12 Securing infrastructure applications (S) | OCM images are stored in ghcr.io, referenced by digest in the chart, and carry a SLSA provenance attestation; released images are signed. | Operator secures registry access, enables encrypted communication, and audits changes. | partial: OCM-KSV-0001, oci:provenance |
| APP.4.4.A13 Automated configuration auditing (H) | Every build scans the images (DISA GPOS SRG, CIS Docker Benchmark, OCI metadata) and the rendered chart and build files (CIS Kubernetes Benchmark, NSA/CISA, MITRE, Trivy Dockerfile checks) and reports the results per BSI requirement; publishing is gated on the scans. The requirement is about auditing the operator’s cluster, which OCM’s scans do not reach. | Operator runs CIS Kubernetes Benchmark, kube-bench, or equivalent tools against the cluster. | manual |
| APP.4.4.A14 Use of dedicated nodes (H) | — | Entirely the operator’s responsibility. | operator |
| APP.4.4.A15 Separation of applications at node and cluster levels (H) Grundschutz++: ARCH.7.1, KONF.6.1.2 | — | Entirely the operator’s responsibility. | operator |
| APP.4.4.A16 Use of operators (H) | — | Entirely the operator’s responsibility. | operator |
| APP.4.4.A17 Attestation of nodes (H) | — | Entirely the operator’s responsibility. | operator |
| APP.4.4.A18 Use of micro-segmentation (H) Grundschutz++: ARCH.2.2 | The chart includes an opt-in NetworkPolicy that implements pod-level micro-segmentation when enabled (manager.networkPolicy.enabled). | Operator enables the policy and tightens the default rules for their namespace layout and registry topology. Requires a CNI that enforces NetworkPolicy. | partial: C-0030, KSV-0038 |
| APP.4.4.A19 Kubernetes high availability (H) | — | Entirely the operator’s responsibility. | operator |
| APP.4.4.A20 Encrypted data storage for pods (H) | — | Entirely the operator’s responsibility. | operator |
| APP.4.4.A21 Regular restart of pods (H) | — | Entirely the operator’s responsibility. | operator |
RBAC Scope
The controller’s ClusterRole grants cluster-wide get, list, and watch
on secrets, configmaps, and serviceaccounts in the core API group, and
create on events. The read access is needed because the controller resolves
OCI registry credentials and signing keys referenced by custom resources in any
namespace.
The same ClusterRole also grants create on serviceaccounts/token, from a
kubebuilder:rbac marker on the Component controller. No controller code
requests service account tokens today, and the grant is equivalent to
impersonation — it mints tokens for any service account in the cluster — so
treat it as such when you review the chart. Unlike the NamespacedDeployer role
below, it is not switchable; it is a candidate for removal.
The controller’s ServiceAccount is bound to a second ClusterRole when the
NamespacedDeployer is enabled, which it is by default
(manager.namespacedDeployer.enabled). That role grants impersonate on
serviceaccounts cluster-wide, so that the NamespacedDeployer applies and
prunes resources as the service account named in its spec. It is the chart’s
widest explicit grant; disable the NamespacedDeployer if you do not need it.
Cluster-wide secret read access is a broad permission. SYS.1.6.A8 and APP.4.4.A3 require that only authorized entities access credentials. Operators should:
- Restrict who can edit the OCM
ClusterRoles andClusterRoleBindings. - Enable etcd encryption at rest so that Secrets stored in etcd are encrypted.
- Audit Secret access through the Kubernetes audit log.
- Consider namespace-scoped installations if the controller only needs to watch a subset of namespaces (not currently supported by the chart).
- Where the NamespacedDeployer is used, restrict who can create
NamespacedDeployerresources and scope the permissions of the service accounts it impersonates.
BSI C5
The BSI Cloud Computing Compliance Criteria Catalogue (C5:2026) defines 168 criteria for secure cloud services. C5 is an audit framework for cloud service providers, not for individual workloads. If you operate OCM inside a C5-audited cloud environment, the IT-Grundschutz measures described above contribute to meeting several C5 criteria in the areas of asset management, identity management, and operations security, but C5 compliance is a property of the cloud service as a whole, not of a single component.