Semgrep + servasec
Lightweight static analysis for finding bugs and enforcing coding standards. Supports 30+ languages with pattern-based rules.
What is Semgrep?
Semgrep is a fast, open source static analysis tool that finds bugs and enforces code standards across 30+ languages. It uses pattern-based rules that are easy to write and understand, making it accessible for developers who want to catch security issues early in the development cycle. Semgrep supports custom rules, registry-shared rules, and integrates natively into CI/CD pipelines.
Integrate Semgrep with servasec
Install Semgrep
Install Semgrep via pip or use the official Docker image.
pip install semgrep
Run a scan
Run Semgrep on your codebase and output SARIF format.
semgrep scan --config auto --sarif -o results.sarif .
Push to servasec
Send the results to servasec via API.
curl -X POST "$SSC_PUBLIC_URL/api/ingest" \ -H "X-Api-Token: $API_TOKEN" \ -F "[email protected]"
What servasec adds to Semgrep
Trend analysis
Track how Semgrep findings evolve over time across releases.
Cross-scanner correlation
Correlate SAST findings with SCA and DAST results for a complete risk picture.
Team assignments
Assign findings to developers with due dates and track remediation progress.