> For the complete documentation index, see [llms.txt](https://docs.opsmx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opsmx.com/remediation-agents/code-agent/user-interface-overview/scanning-codes/single-file-scan.md).

# Single File Scan

In addition to full repository scans, AI Guardian also allows you to scan a single source file.

* Select **Single File Scan**.
* Upload or choose a file.
* Start the scan.

The file is analyzed for SAST, SCA issues. Results are displayed with severity levels and AI-generated recommendations. This option is useful for quick validation, reviewing changes before committing, or scanning standalone files.
