confighub-patterns is the shared data and bundle repo used by
confighub-scan and ConfigHub-connected scanning flows.
If confighub-scan is the engine, this repo is the data it runs on.
This repo holds the reusable assets behind scanning and validation:
- pattern definitions
- promoted controls
- framework views
- third-party mapping tables
- external evidence schemas
- operator recipe schemas and examples
- bundle manifests and release artifacts
It exists so the scanner and ConfigHub integrations can share one pattern and bundle source instead of copying data logic into multiple places.
This is not a second scanner.
It does not own:
- executable Go rules
- CLI behavior
- worker processes
- scan orchestration
- ConfigHub integration code
Those stay in confighub-scan.
cub-scan uses bundle assets from this repo for:
- risk and pattern metadata
- promoted controls
- imported-evidence mappings
- external evidence schema contracts
ConfigHub function workers use confighub-scan for execution and this repo for:
- pattern and CCVE data
- controls and framework views
- mapping tables
- released bundle artifacts
The canonical external evidence schema also lives here, so advisory evidence export can stay consistent across tools.
The intended layout is:
patterns/Canonical pattern definitions.controls/Operator-facing promoted controls.frameworks/Grouped views for standards, platforms, and workflows.mappings/Kyverno, Trivy, Kubescape, and other external mappings.schema/Bundle and evidence schemas.recipes/Short machine-usable operator workflow recipes.scripts/Bundle and release builders.dist/Generated bundle artifacts.docs/Authoring and release guidance.
As of 2026-04-11:
- this repo is active and used as the shared bundle home
- the release manifest exists at
dist/bundle-manifest-v1.json - the promoted taxonomy includes 25 controls, 7 frameworks, and 214 covered pattern IDs
- Kyverno, Trivy, and Kubescape mappings are published as bundle assets
- the external evidence schema is published here
- the first operator-recipe schema and an 8-workflow ConfigHub recipe pack now live here
- the control/framework projection contract is now explicit via
dist/control-framework-bundle-v1.json,dist/framework-coverage-report-v1.json, anddocs/BUNDLE-PROJECTIONS.md - local validation is wired through
make validate
confighub-scan remains the engine and integration repo.
Validate the repo locally with:
make validateIf your sibling confighub-scan checkout is not at ../confighub-scan, point
the copy-manifest check at it explicitly:
make validate FIRST_WAVE_SOURCE_REPO=/path/to/confighub-scanTagged releases in this repo publish a bundle tarball and checksum to GitHub
Releases. For the release process, prerelease rules, and the required decision
packet, see docs/RELEASING.md.
Use this simple split:
| Concern | Repo |
|---|---|
| Scan engine and Go rules | confighub-scan |
| ConfigHub workers and SDK integration | confighub-scan |
| Local CLI behavior | confighub-scan |
| Pattern, control, mapping, and schema data | confighub-patterns |
| Bundle artifacts | confighub-patterns |
If you are looking for "how do I scan something?" go to confighub-scan.
If you are looking for "where does the shared pattern and bundle data live?" you
are in the right repo.
../confighub-scan/README.md../confighub-scan/docs/START-HERE.mddocs/MIGRATION-STATUS.mddocs/REMEDIES-DECISION.mddocs/TAXONOMY.mddocs/EXTERNAL-REGO-LIBRARY-REVIEW.mdrecipes/README.mddocs/BUNDLE-PROJECTIONS.mddocs/RELEASING.mddist/bundle-manifest-v1.json