Skip to content

Add SAST scan API endpoint

Jason Leasure requested to merge 479210-add-sast-scan-api-endpoint into master

What does this MR do and why?

This branch adds an experimental new REST endpoint, /projects/:id/security_scans/sast. Posts to gitlab.com only, by developers in projects from a namespace subscribed to an ultimate plan will be forwarded to the sast cloud connector backend with a JWT containing the security_scans scope.

This endpoint will be used by the remote security scans feature in the Gitlab Language Server and Gitlab Workflow Extension to implement SAST in the IDE.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #479210 (closed)

Merge request reports

Loading