Analysis recipes & packs
CCE ships an embedded recipe catalog (cce catalog) and optional packs (cce run -pack). Recipes map to use cases below; extend pkg/recipes/catalog.json to register more.
Published examples use HTTPS lens URLs on releases.stackgen.com only (no repo-relative -mapper-file paths).
Recipes
| Id | Title | Filter | Lens | Example |
|---|---|---|---|---|
cloud-entitlements |
Cloud SDK entitlements | cloud |
Built-in | cce -folder . -language AUTO -filter cloud -format json -output entitlements.json |
sdk-uplift |
SDK / framework uplift inventory | cloud |
URL | cce -folder . -language AUTO -mapper-file https://releases.stackgen.com/cce/lenses/sdk-uplift/latest/sdk-uplift_lenses.yaml -filter cloud -format json -output sdk-uplift.json |
tech-debt-inventory |
Deprecated API & tech-debt inventory | all |
URL | cce -folder . -language AUTO -mapper-file https://releases.stackgen.com/cce/lenses/tech-debt-inventory/latest/tech-debt-inventory_lenses.yaml -filter all -format json -output tech-debt.json |
pre-deploy-iam-review |
Pre-deploy IAM review | cloud |
Built-in | cce -folder . -language AUTO -filter cloud -format json -output pr-entitlements.json |
change-control |
Change control / new cloud usage | cloud |
Built-in | cce diff baseline.json pr-entitlements.json --fail-new |
cve-reachability |
CVE reachability (template lens) | all |
URL | cce -folder . -mapper-file https://releases.stackgen.com/cce/lenses/cve-reachability/latest/cve-reachability_lenses.yaml -filter all -format json |
microservice-decomposition |
Outbound HTTP / microservice boundaries | all |
URL | cce -folder . -mapper-file https://releases.stackgen.com/cce/lenses/microservice-decomposition/latest/microservice-decomposition_lenses.yaml -filter all -format json |
llm-code-context |
LLM / agent code context | all |
URL | cce -folder . -language AUTO -filter all -format json |
platform-adoption |
Platform SDK adoption | all |
URL | cce -folder . -language AUTO -mapper-file https://releases.stackgen.com/cce/lenses/platform-adoption/latest/platform-adoption_lenses.yaml -filter all -format json -output platform.json |
regression-gates |
Regression gates (forbidden APIs) | all |
URL | cce -folder . -language AUTO -mapper-file https://releases.stackgen.com/cce/lenses/regression-gates/latest/regression-gates_lenses.yaml -filter all -format json -output gates.json |
secrets-hygiene |
Secrets & credential hygiene | all |
URL | cce -folder . -language AUTO -mapper-file https://releases.stackgen.com/cce/lenses/secrets-hygiene/latest/secrets-hygiene_lenses.yaml -filter all -format json -output secrets.json |
regulatory-scope |
Regulatory scope (PCI / HIPAA / SOC) | all |
URL | cce -folder . -language AUTO -mapper-file https://releases.stackgen.com/cce/lenses/regulatory-scope/latest/regulatory-scope_lenses.yaml -filter all -format json -output scope.json |
Packs
modernization-pack
SDK uplift, tech-debt inventory, and cloud entitlements in one merged report.
Recipes: cloud-entitlements, sdk-uplift, tech-debt-inventory
cce run -folder . -language AUTO -pack modernization-pack -output modernization-pack.json
security-governance-pack
Cloud entitlements plus change-control oriented scans for PR gates.
Recipes: cloud-entitlements, pre-deploy-iam-review
cce run -folder . -language AUTO -pack security-governance-pack -output security-governance-pack.json
platform-governance-pack
Cloud entitlements, platform adoption, and regression gates in one report.
Recipes: cloud-entitlements, platform-adoption, regression-gates
cce run -folder . -language AUTO -pack platform-governance-pack -output platform-governance-pack.json
Remote catalog
cce catalog --remote
cce run -folder . -language AUTO -pack modernization-pack -remote -output pack.json
Published: catalog.json · packs.json
Register a new recipe
- Add lens YAML under
docs/use-cases/guides/<id>/. - Add an entry to
pkg/recipes/catalog.jsonwithlens_urlpointing at releases.stackgen.com. - Run
./scripts/sync-recipe-catalog.shandmake docs-generate.