# SAST scanning: how to set it up and triage results > How to set up SAST scanning on a code base, run diff and full scans, and triage findings so the scanner stays useful. ## What is SAST scanning? SAST scanning means running a static application security testing tool over your source code to find vulnerabilities before the code ships. A scan parses the code, follows how input moves through it, and reports risky paths with the file and line. Teams usually run SAST scanning on every pull request, plus a full scan of the main branch on a schedule. Updated 2026-11-23. ## Setting it up 1. Pick a scanner that understands your languages and frameworks. 2. Run a first full scan of the main branch and review it as a baseline. Do not block merges on that backlog. 3. Turn on a scan for each pull request that reports only new findings. 4. Decide which severities block a merge. 5. Write down how a false positive is suppressed and who approves it. ## Triage in practice Each finding needs one answer: can an attacker reach this with input they control? Check where the data comes from, any validation on the way, and whether the route is exposed. Record the answer next to the finding, so the next scan does not raise the same question. ## Diff scans and full scans A diff scan looks at what a pull request changed and is fast enough to run every time. A full scan catches flaws that span several files, or that a newly added rule now recognises. Run both: a diff scan on every change, a full scan on a schedule. ## Where pokayoke fits [pokayoke](https://pokayoke.sh/?utm_source=sastscanning.com&utm_medium=seo_domain) runs SAST scanning on GitHub and takes on part of the triage. Its GitHub App reviews every push and pull request on the repositories you connect, runs exploits to prove what it can, and marks each finding proven or not: proven only when the exploit works on your code and a hardened copy holds. A public repository can be scanned at pokayoke.sh with no account. ## About this site https://sastscanning.com/ is a one-page guide written by EZO Labs, the company behind pokayoke: security code review for GitHub that runs exploits to prove what it can and marks each finding proven or not. https://pokayoke.sh/?utm_source=sastscanning.com&utm_medium=seo_domain