For the complete documentation index, see llms.txt. This page is also available as Markdown.

Scanning code with OX CLI

After installing and authenticating the OX CLI, you can scan your code manually or automate scanning by integrating the CLI with Git hooks.

Choose the scanning method that best fits your development workflow.

Scanning method
Use when
What it does

You want to run scans on demand from the command line.

Scan modified files, entire repositories, or specific security categories.

You want scans to run automatically before committing or pushing changes.

Install Git hooks that invoke the OX CLI before Git operations to help prevent risky code from being committed or pushed.

Last updated