Bring Your Own Container App Validator
Language-agnostic application validation that runs your own container image and command in the zero-egress sandbox.
- Kind
- Validator
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:37dd521f
Contract facts
- Variant
- byo
- Network
- none
- no egress and no Secrets
- Mode
- image
- Languages
- 7
- Java, C/C++, Rust, Go, Python, Node, NET
Install
Inspect the contract and RBAC delta
$ faberctl catalog inspect validators/app-container-byo \ --source oci://ghcr.io/faberops/catalog:v2Render into your GitOps repository
$ faberctl catalog install validators/app-container-byo \ --source oci://ghcr.io/faberops/catalog:v2 \ --out-dir ./kubernetes/apps/faber/configOr apply straight to the cluster
$ faberctl catalog install validators/app-container-byo \ --source oci://ghcr.io/faberops/catalog:v2 \ --applyHow it works
- Variant:
byo - Image:
registry.example.com/acme/app-validator:1.0.0 - Profiles: none, the command carries the check
- Tools:
user-supplied
Use it
Bind the validator on a Repository. Playbooks that open pull requests declare the variant they need under spec.requires.validator, and Faber refuses to open a pull request until the sandbox verdict passes.
Notes
Faber never installs toolchains. Build an image that already holds your compilers, dependencies and test runner, push it to a registry your cluster can pull from, and Faber runs your command with no secrets and no egress. Every validator runs in an ephemeral gVisor sandbox with no Secrets, no service account token and no egress.
Example images per language
The validator does not care which language you use. Point spec.validator.image at any image that holds your toolchain and set command to your usual check.
| Language | Example image | Example command |
|---|---|---|
| Java | maven:3-eclipse-temurin-21 | mvn -o -q verify |
| C/C++ | gcc:14 with CMake | cmake -S . -B build && cmake --build build && ctest --test-dir build |
| Rust | rust:1 | cargo test --offline |
| Go | golang:1 | go test ./... |
| Python | python:3.13 | pytest -q |
| Node | node:22 | npm test |
| .NET | mcr.microsoft.com/dotnet/sdk:9.0 | dotnet test --no-restore |
Bake dependencies into the image (for example mvn dependency:go-offline, cargo fetch, npm ci) because the sandbox has no network access.
Manifest, ready to apply
apiVersion: faberops.dev/v1beta1
kind: Repository
metadata:
name: example-app
namespace: faber
spec:
kind: app
url: https://github.com/example-org/example-app
forge:
provider: github
owner: example-org
repo: example-app
githubApp:
secretRef:
name: faber-github-app
key: privateKey
validator:
mode: image
image: registry.example.com/acme/app-validator:1.0.0
command:
- 'make verify'
timeout: 5m
guardrails:
maxChangedFiles: 10
maxChangedLines: 250
secretScan: true
requireValidation: true
# Catalog metadata for validators/app-container-byo. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: app-container-byo
category: validators
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:37dd521f92b8e9ea0a6583e9baca28d7a52a796c5b1f9c5d7566321338f2ec2e
Copy it into kubectl apply -f -, or let faberctl catalog install render it with provenance annotations into your GitOps path.
Related packs
All 176 packsApplication Dependency Manifest and Lockfile Upgrader
playbooks/app-dependency-lockfile-upgraderUpgrades stale minor and patch dependencies across package.json, go.mod, pyproject.toml, and Cargo.toml in small, test-validated HITL pull requests respecting soak windows.Default HITLCeiling HITLPyPI Python Package Releases Datasource
connectors/datasource-pypi-releasesRead-only Python Package Index (PyPI) JSON release metadata datasource with conditional caching for zero-cost Python dependency tracking.Can readDockerfile Multi-Stage and Non-Root Hardener
playbooks/dockerfile-multistage-hardeningAudits application Dockerfiles for root runtime users, mutable latest base images, and missing multi-stage runtime separation, opening small HITL pull requests.Default HITLCeiling HITL