Draft: Make pathGoPkg Configurable by the User instead of being fixed
What does this MR do?
This MR is mainly for the GoSec analyzer, it will give the user to pass the value of the pathGoPkg in a file (pathGoPkg.txt) from his repository, the code will check if this file exists, then it will read its content and assign it to the pathGoPkg variable, and use it instead of the current fixed path specified here
Sample usage for this code can be found in this branch, sample pathGoPkg.txt is under the govwa-gorepo1 folder
What are the relevant issue numbers?
#330678
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer