Golden path enforcement
Full workflow
Complete guide (limitations, CI, published lens): golden-path-enforcement
Why use CCE
Platform teams publish internal SDKs and golden paths, but direct cloud SDK usage persists in new PRs. Lint rules catch imports inconsistently; adoption metrics from dependency files don't reflect actual call sites.
CCE measures direct cloud SDK vs platform wrapper usage so CI can block or warn when code bypasses the golden path.
Example command
cce -folder . -language AUTO -mapper-file https://releases.stackgen.com/cce/lenses/golden-path-enforcement/latest/golden-path-enforcement_lenses.yaml -filter all -format json -output golden-path-enforcement.json
Published lens
https://releases.stackgen.com/cce/lenses/golden-path-enforcement/latest/golden-path-enforcement_lenses.yaml