Create GLAS diff-based scanning user facing documentation
Summary
Create GLAS diff-based scanning user docs
Please read gitlab-com/content-sites/handbook!13575 (merged) for full details of how this feature is intended to work.
References
Main diff-based scanning epic: Faster Advanced SAST: Diff-based scanning in MRs (&16790 - closed)
MVC implementation epic: MVC: Enable Diff-Based Scanning in MRs for Fast... (&17758 - closed)
Implementation Plan
- Explain how GLAS diff-based scans work
- Scans only files that were added or updated, excludes removed files
- Scans dependent neighborhood files (see this document for detailed explanation)
- Provide steps to configure the scan
- using the
SAST_PARTIAL_SCANCI variable in the gitlab-advanced-sast job - Ensure that the
AST_ENABLE_MR_PIPELINESCI variable is enabled as well. See context
- using the
- Explain that it does not report fixed vulns as there's a possibility of false negatives. See context
- If users need to trigger a full scan, they must set
SAST_PARTIAL_SCAN=false. However, this cannot be done using pipeline variables, as this feature requires a MR pipeline, which does not support manual pipeline variables.
Edited by Shao Ming Tan