Added branch support in Checkmarx within a GitLab pipeline template. This enhancement enables branch support from Cx-Flow by utilizing GitLab environment variables to automatically detect whether we are on the master branch or a feature branch. Consequently, it creates a corresponding branch project or a basic project accordingly.
References
N/A
Testing
I verified that when we are on the default branch, it correctly creates a "normal" project.
I tested the branch creation.
I tested branch names with special characters, which are correctly supported.
Checklist
[x] I have added documentation for new/changed functionality in this PR (if applicable). If documentation is a Wiki Update, please indicate desired changes within PR MD Comment
[x] All active GitHub checks for tests, formatting, and security are passing
[x] The correct base branch is being used
[x] Verified that SCA and SAST scan results are as expected
Description
References
Testing
Checklist