Use cases
CCE supports dozens of workflows beyond a single cloud entitlement scan. Each use case has:
- A guide under
use-cases/guides/<name>/on this site (why, what, CLI, CI, limitations) - An optional lens (
*_lenses.yaml) published to releases.stackgen.com/cce/lenses/ - An optional analysis recipe in
pkg/recipes/catalog.jsonforcce catalogandcce run -recipes
Popular starting points
Cloud API inventoryBuild a provider, resource, and operation map
Pre-deploy IAM reviewReview code-evidenced operations before rollout
Tech-debt inventoryFind deprecated APIs and legacy client calls
SDK and framework upliftLocate candidate call sites for modernization
Change controlDetect new Cloud API usage in CI
LLM code contextGive agents structured call-site evidence
Open the capabilities and examples guide for complete commands, or browse the full use-case catalog.
Browse
| Resource | What you get |
|---|---|
| Use case catalog | All workflows by category — examples and full guides on this site |
| Analysis recipes & packs | Machine-readable recipe catalog aligned with cce catalog |
| Get Started | Install and common one-liners |
| Known limitations | Platform-wide and per-use-case bounds |
Recipe vs lens vs pack
| Concept | Purpose |
|---|---|
| Lens | YAML Grok rules (-mapper-file or recipe lens_url) |
| Recipe | Named scan in catalog.json — discoverable via cce catalog |
| Pack | Several recipes, one parse — cce run -pack modernization-pack |
Not every use case is a registered recipe yet. The catalog shows which rows support cce run -recipes <id> today; add entries in pkg/recipes/catalog.json to register more.
Custom workflows
- Enterprise lenses & catalogs — internal platform SDKs
- Custom lens YAML — author your own mapper rules
- Cloud entitlements — built-in PoLP scan
- Platform adoption — platform SDK vs direct cloud SDK