Scan a file for SAST vulnerabilities
One step with GitLab. We can help you get access.
Get something done
Scan a file for SAST vulnerabilities
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Security scans API lets you scan a file for SAST vulnerabilities in a single step (POST /api/v4/projects/{id}/security_scans/sast/{sast_endpoint}). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I check a file for security flaws with SAST?
- Can I scan a specific file's content for vulnerabilities?
Say it to your AI assistant
- Scan {file_path} in project {id} with SAST endpoint {sast_endpoint}.
- Run {sast_endpoint} on {file_path} in project {id} with content {content}.
For your developer
POST /api/v4/projects/{id}/security_scans/sast/{sast_endpoint} in GitLab REST Security scans API. Full spec on APIs.io.