CloudEval CLI lets you run fast checks without opening the web app.
Why it matters
CLI workflows are repeatable, scriptable, and easier to embed in pull-request gates.
Quick example
cloudeval login
cloudeval ask "Summarize high-risk resources" --project <project_id> --json
Expected output:
Structured JSON with findings you can pass to other tools.
Step-by-step instructions
- Install CLI from Installation.
- Authenticate with
cloudeval login.
- Run
ask for non-interactive checks.
- Use
chat for interactive exploration.
Code examples
# Interactive
cloudeval chat --project <project_id>
# Script-friendly
cloudeval ask "List compliance gaps" --project <project_id> --json > findings.json
Expected output
- Login succeeds through device flow.
ask returns one-shot answers.
chat opens a continuous terminal session.
Common mistakes
- Running CI without non-interactive auth configured.
- Expecting global answers without
--project context.
Tips / best practices
- Use
--json in pipelines and PR checks.
- Keep one smoke-test question in CI.
Related pages
Last modified on March 5, 2026