Add advanced_sast_partial_scan input to sast components
Why are we doing this work
Diff-based scanning was introduced in &16790 (closed) but currently only works with CI templates.
We should add advanced_sast_partial_scan as an input in the SAST component to support components as well.
Relevant links
Non-functional requirements
- Documentation:
- Feature flag:
- Performance:
- Testing:
Implementation plan
- Add the
advanced_sast_partial_scaninput to the SAST component that supportsdifferentialstring for now. - Define the
ADVANCED_SAST_PARTIAL_SCANvariable in the gitlab-advanced-sast job and set it with theadvanced_sast_partial_scaninput if configured.- For context, reference this issue that uses the
ADVANCED_SAST_PARTIAL_SCANvariable to configure the advanced sast scan.
- For context, reference this issue that uses the
- Verify that the input configuration successfully triggers a differential scan