WIP: Do not search projects when AnalyzeAll is set
What does this MR do?
The current behaviour of the Run
command is to search a given path for a match, however, some analyzers set the AnalyzeAll
flag which means this search is ignored. We can make this process more efficient by only searching for a matching path when AnalyzeAll
is false, which is the purpose of this MR.
What are the relevant issue numbers?
N/A
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