T.J. Maher·
How to add Static Application Security Testing (SAST) with SonarQube Cloud Free Tier to a GitLab CI/ CD pipeline
TL;DR
Linters and type checkers do not cover all security flaws, so this walkthrough adds source-code security scanning to a GitLab CI/CD pipeline using SonarQube Cloud’s free tier. It connects the GitLab project, configures CI credentials and project settings, disables automatic analysis, and adds a Docker-based SonarScanner job. The setup brings security and code-quality checks into CI, although the sample allows scan failures without blocking the pipeline and does not report any vulnerabilities found.