Docs
Git Hooks Setup
Install a pre-commit security scanner and Git hook security scanner that runs Radar before risky code reaches a commit.
Summary
Git Hooks Setup
Install a pre-commit security scanner and Git hook security scanner that runs Radar before risky code reaches a commit.
Pre-commit hook
The managed hook runs a fast scan and blocks high-risk findings before commit. Existing non-Radar hooks are not overwritten unless you pass `--force`.
radar hook install
radar hook status
radar hook uninstallThresholds
Use a stricter threshold for sensitive repositories. The hook writes no license secrets and calls the installed `radar` binary from PATH.
radar hook install --fail-on critical
radar hook install --force --fail-on high