> For AI agents: the complete documentation index is at [llms.txt](https://reflex.dev/docs/llms.txt). For a Markdown version, remove the trailing slash from the page URL and append `.md`. The docs home is available at [index.md](http://localhost:3000/docs/index.md).

# Scan · Reflex Cloud CLI

## 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

```console
$ 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 &#x27;none&#x27; 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.
