doc/editor_extensions/visual_studio_code/security_scanning.md
Use the GitLab for VS Code extension to check your application for security vulnerabilities. Review security findings and run static application security testing (SAST) for files directly in your IDE.
{{< details >}}
{{< /details >}}
Prerequisites:
To view security findings:
{{< details >}}
{{< /details >}}
{{< history >}}
{{< /history >}}
Static application security testing (SAST) in VS Code detects vulnerabilities in the active file. With early detection, you can remediate vulnerabilities before you merge your changes into the default branch.
When you trigger a SAST scan, the content of the active file is passed to GitLab and checked against SAST vulnerability rules. GitLab shows scan results in the GitLab ({{< icon name="tanuki" >}}) extension panel.
<i class="fa-youtube-play" aria-hidden="true"></i> To learn about setting up SAST scanning, see SAST scanning in VS Code on GitLab Unfiltered.
<!-- Video published on 2025-02-10 -->To enable real-time SAST scanning:
Prerequisites:
To perform SAST scanning of a file in VS Code: