Open source · Cross-language static analysis
Understand the cloud APIs inside your code.
CCE turns Go, Python, Java, and JavaScript call sites into clear evidence for Cloud API inventories, IAM reviews, modernization, and CI.
- No account required
- Read-only analysis
- Local and CI-friendly
brew tap stackgenhq/homebrew-stackgen
brew install stackgenhq/homebrew-stackgen/cce
cd my-service
cce quickstart .
✓ Languages detected
✓ Cloud API BOM created
✓ HTML + SARIF reports ready
✓ GitHub Actions workflow suggested
One source tree, many useful answers
Start with the question you need to answer.
CCE gives developers, platform teams, and reviewers a shared view of the APIs and libraries used in code.
What cloud APIs do we use?
Build an inventory with provider, resource, operation, and source-location evidence.
Cloud API inventory → 02What access does this service need?
Prepare a concise, code-evidenced access request for an IAM reviewer.
IAM access review → 03What changed in this pull request?
Compare revisions and publish added or removed Cloud API calls as a readable diff.
PR review → 04Where should we modernize?
Locate legacy libraries, outbound dependencies, SDK uplift targets, and other call-site patterns.
Modernization evidence → 05Can CCE recognize our SDK?
Use a YAML lens to classify internal libraries and organization-specific patterns.
Custom lenses → 06How do we use the results?
Feed JSON, SARIF, E-SBOM, or Backstage YAML into the tools your team already uses.
Integrations and exports →Copy, run, review
A useful result in a few lines.
Use the CLI locally or let the GitHub Action package the same evidence in CI.
cce quickstart .
Produces a Cloud API BOM, self-contained HTML report, SARIF, lens lockfile, and suggested CI workflow. Add --policy iam.json for heuristic AWS IAM drift evidence.
cce -folder . -language AUTO -filter cloud \
-format json -output cloud-api.json
Query unique AWS operations with jq:
jq -r '.entitlements[]
| select(.provider == "AWS")
| [.resource, .operation] | @tsv' cloud-api.json | sort -u
See the inventory guide · Scan a real public repo and read the output
name: CCE
on: [push, pull_request]
permissions:
contents: read
packages: read
jobs:
scan:
uses: stackgenhq/cce-action/.github/workflows/scan.yml@v1
with:
language: AUTO
Explore native PR review, access-request, and lens workflows
cce -folder . -language AUTO -filter all \
-mapper-file ./my-lens.yaml \
-mapper-sha256 "$APPROVED_LENS_SHA256" \
-format json -output findings.json
Local lenses can be pinned explicitly; remote HTTPS lenses require a SHA-256. Use filter: all for custom providers such as TECH_DEBT.
Evidence that travels
Share the result, not another screenshot of a terminal.
CCE produces portable artifacts with source evidence and mapping provenance. Open the HTML report with a teammate, upload SARIF to GitHub, or process JSON in your own workflow.
See all output options →CCE finds recognizable call sites. Dynamic or hidden calls may be missed.
IAM output is review input. Resource scope and final policy remain human decisions.
Lenses add matching rules while CCE keeps the same parser and report formats.
Start with one repository