Security & Compliance
This page describes the security posture of the Scaleout Helm chart (charts/scaleout) and
its reference GKE deployment: the controls it implements and enforces, their secure defaults,
and how to verify them.
The chart is secure by default — workload hardening, secret management, resource governance and input validation are enabled out of the box, and the chart runs under the Kubernetes Pod Security Standards restricted profile. TLS is required by default, and network segmentation is a single flag.
Architecture & trust boundaries
(TLS, cert-manager) ┌──────── Kubernetes namespace ────────┐
Edge clients ─────────────► │ Ingress (nginx) │
Browsers / CLI / FL clients │ /api / /kratos /hydra (public) │
│ │ │
Edge FL clients ── gRPC ──► │ combiner ◄─► controller ◄─► hooks │
(JWT-authenticated) │ api-server │
│ │ (NetworkPolicy: default-deny) │
│ ▼ │
│ postgres / object-store (data tier) │
└───────────────────────────────────────┘
Cluster entry — all external HTTP enters via the Ingress over TLS. The Kratos/Hydra public APIs are exposed; their admin APIs are reachable only in-cluster.
Authentication — browser/API auth is enforced by Ory Kratos (identities / sessions) and Hydra (OAuth2/OIDC); gRPC endpoints enforce JWT.
External FL clients → combiner — gRPC entering from outside the cluster, authenticated by JWT. It enters through a combiner Ingress on 443, where TLS is terminated.
Intra-cluster / data tier — segmented by NetworkPolicies (default-deny ingress).
Controls
Framework references: Pod Security Standards (PSS), the CIS Kubernetes Benchmark (CIS K8s), SOC 2 Trust Services Criteria, and ISO/IEC 27001:2022 Annex A.
Control (as implemented) |
Default |
Framework mapping |
|---|---|---|
Run as non-root ( |
on |
PSS Restricted; CIS K8s 5.2.6; SOC 2 CC6.1/CC6.3; ISO A.8.2/A.8.3 |
No privilege escalation ( |
on |
PSS Restricted; CIS K8s 5.2.5; SOC 2 CC6.1; ISO A.8.2 |
Drop ALL Linux capabilities |
on |
PSS Restricted; CIS K8s 5.2.8/5.2.9; SOC 2 CC6.1; ISO A.8.2 |
Seccomp |
on |
PSS Restricted; SOC 2 CC6.1/CC6.8; ISO A.8.2/A.8.31 |
Read-only root filesystem — app containers (writable scratch via emptyDir) |
on |
PSS Restricted (rec.); SOC 2 CC6.1/CC6.8; ISO A.8.2 |
No service-account token automount |
on |
CIS K8s 5.1.5/5.1.6; SOC 2 CC6.1/CC6.3; ISO A.8.2/A.8.3 |
Network segmentation — default-deny ingress + least-privilege allows |
opt-in [1] |
CIS K8s 5.3.2; SOC 2 CC6.1/CC6.6; ISO A.8.20/A.8.22 |
TLS in transit — certificate on the Ingress, from |
on |
SOC 2 CC6.7; ISO A.8.24 |
Authentication & authorization — Ory Kratos + Hydra (OIDC/OAuth2), gRPC JWT |
on |
SOC 2 CC6.1/CC6.2/CC6.3; ISO A.5.15/A.5.17/A.8.5 |
Secrets management — |
on |
CIS K8s 5.4.1; SOC 2 CC6.1/CC6.3; ISO A.8.24/A.5.10 |
Resource requests/limits — every container |
on |
SOC 2 A1.1 (Availability); ISO A.8.6 |
Supply-chain integrity — signed images with signed SLSA provenance and SBOM (keyless cosign, see Image signatures). Optional image digest pinning. CI SAST (CodeQL), image scanning (Trivy), SBOM (Syft) + vulnerability report (Grype) |
on [2] |
SOC 2 CC7.1/CC8.1; ISO A.8.8/A.8.28/A.8.30 |
Input validation — |
on |
SOC 2 CC8.1; ISO A.8.25 |
Least-exposure ingress — only the public Kratos/Hydra APIs are routed; their admin APIs stay in-cluster |
on |
SOC 2 CC6.6; ISO A.8.20/A.8.21 |
Secure defaults & configuration
Concern |
Default |
How to harden / enable |
|---|---|---|
Pod hardening |
enforced |
n/a (on for all workloads) |
NetworkPolicies |
off |
|
Ingress TLS |
on |
|
Authentication |
on |
Kratos/Hydra; set |
Secrets |
auto-generated + retained |
|
Image pinning |
tags |
|
Data backends |
bundled in-cluster Postgres and object store |
CloudNativePG (see Database with CloudNativePG) or a managed Postgres and object store
( |
Data protection
In transit (incoming): TLS terminates at the Ingress, or at a load balancer in front of it.
In transit (intra-cluster): NetworkPolicies restrict who can reach each service. A service mesh can add encryption of pod-to-pod traffic.
In transit (external object storage): the services verify the certificate of an
httpsobject storage endpoint (objectStorage.verifySSL, defaulttrue). For a store with a private CA, put its CA certificate in a Secret and name it inobjectStorage.caSecret. WithverifySSL=falsethe services log a warning at start.In transit (external Postgres): every service connects to an external Postgres with TLS and verifies the server’s certificate (
statestore.postgresql.sslMode, defaultverify-full). For a server with a private CA, such as CloudNativePG, put its CA certificate in a Secret and name it instatestore.postgresql.caSecret.sslMode=requireskips the verification andsslMode=disableturns TLS off. The bundled Postgres serves no TLS, and Docker Compose always runs its own Postgres, so those connections stay plaintext inside the cluster or host.At rest: persistent data (Postgres/object store) is on PersistentVolumes — encryption at rest is provided by the cluster/cloud storage class (e.g. GKE encrypts persistent disks by default). Enable etcd encryption at rest / CMEK at the cluster level for Secrets, or keep secrets in an external secret store.
Secrets exposure: credentials are referenced via
secretKeyRef/envFrom, never baked into manifests or images. Generated values are retained across upgrades. To rotate one, update the Secret or usesecrets.existingSecretwith an external secret manager.
Verification
# Restricted securityContext on every workload
kubectl -n <ns> get pods -o jsonpath='{range .items[*]}{.metadata.name}{": runAsNonRoot="}{.spec.securityContext.runAsNonRoot}{"\n"}{end}'
# No service-account token mounted
kubectl -n <ns> get pod <pod> -o jsonpath='{.spec.automountServiceAccountToken}' # false
# NetworkPolicy enforcement — a pod in another namespace is blocked from the data tier
kubectl -n other run probe --image=busybox --restart=Never --command -- \
sh -c 'nc -w5 -z <release>-postgres.<ns> 5432 && echo OPEN || echo BLOCKED' # BLOCKED
# TLS certificate issued for the host
kubectl -n <ns> get certificate
# Automated end-to-end (auth off + on, helm test, cross-namespace block)
charts/scaleout/test/e2e.sh --mode both
The chart’s helm test hook and test/e2e.sh are run during release validation and are
reproducible on any cluster (validated on GKE with Dataplane V2).
Supply chain & vulnerability management
Images can be pinned by digest for immutability.
CI pipelines run CodeQL (SAST), Trivy (container image scanning), and Syft (SBOM) + Grype (vulnerability report) published per release.
The chart consumes images from a private registry; restrict pulls with
imagePullSecrets.
Image signatures
Our images are signed with cosign when they are released. Signing is keyless. Sigstore issues a short-lived certificate to the GitHub Actions workflow that signs, and records each signature in its public transparency log. Thus there is no Scaleout key to distribute. A verifier trusts a signature by the workflow identity in its certificate:
Issuer:
https://token.actions.githubusercontent.comIdentity:
https://github.com/scaleoutsystems/scaleout/.github/workflows/publish-docker.yml@refs/tags/v<version>
Each platform image also has two signed attestations: its SLSA provenance, which names the source repository and commit, and its SBOM.
The signatures and attestations are stored in the registry next to the image, and linked to it through the OCI referrers API. Each one holds its transparency log receipt, thus verifying needs no access to the log.
Verify an image:
cosign verify \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp '^https://github\.com/scaleoutsystems/scaleout/\.github/workflows/publish-docker\.yml@refs/tags/v' \
artifacts.scaleoutsystems.com/scaleout/<image>:<version>
Read the provenance of the amd64 image:
IMAGE=artifacts.scaleoutsystems.com/scaleout/<image>
DIGEST=$(docker buildx imagetools inspect --raw "$IMAGE:<version>" \
| jq -r '.manifests[] | select(.platform.architecture == "amd64") | .digest')
cosign verify-attestation --type slsaprovenance1 \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity-regexp '^https://github\.com/scaleoutsystems/scaleout/' \
"$IMAGE@$DIGEST" | jq -r .payload | base64 -d | jq .predicate
The same content is maintained in the chart repository as charts/scaleout/SECURITY.md for
engineers working in the codebase. The chart includes that file, which also describes how to
enforce the image signatures in Kubernetes.