For AI agents: the complete documentation index is at llms.txt. Markdown versions are available by appending .md or sending Accept: text/markdown.
Reflex Logo
Docs Logo

Scan

reflex cloud scan

Run a Reflex-aware security review over your app source.

Uploads the app source under DIRECTORY (the current directory by default) and reports security and logic flaws specific to Reflex apps.

Usage

$ reflex cloud scan [OPTIONS] DIRECTORY

Options

  • --token TEXT: The authentication token.
  • --fail-on [critical|high|medium|low|none]: Exit non-zero if a violation at or above this severity is found. Use 'none' to always exit 0.
  • --loglevel [debug|default|info|warning|error|critical]: The log level to use.
  • --json, -j / --no-json: Output the result as a single JSON document on stdout. Human-readable messages go to stderr instead, so stdout stays parseable.
  • --interactive, -i / --no-interactive: Whether to prompt for confirmations and choices. Defaults to on when stdout is a terminal and off otherwise, so a pipe, a CI job or an agent is never left waiting at a prompt.
  • --help: Show this message and exit.