GitLab Issues Tracker gets {"message":"404 Project Not Found"} #779
Unanswered
kayvonkhosrowpour
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I'm slightly confused by the error and output. Are you saying that Checkmarx can't find the GitLab project? And what variable did you have to override? Thanks! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
I'm getting a 404 Project Not Found error in the GitLab job logs when running the checkmarx scan job on my feature branch. When I set
--logging.level.org.springframework.web.client=TRACE
and--logging.level.com.checkmarx.flow.custom=TRACE
, I find that the gitlab project Id is set to 0.For my company's security, I redacted the match results and other information.
MYPROJECT
.<some project name #>
are actual project namesDetails
GitLab Tier: GitLab Enterprise Edition 13.12.4-ee
Checkmarx job and variables:
Further Investigation
When I call the below endpoint that was logged, MYPROJECT does appear in the response from the below endpoint, and I get far more than 20 results:
GET https://gitlab-master.company.com/api/v4/projects?search=MYPROJECT&per_page=100
I'm not sure why only the first 20 results are being logged. Perhaps only the first 20 are being processed and that is why MYPROJECT is not being found, and thus the GitLab project ID for MYPROJECT is not being found.
Questions
CI_PROJECT_ID
is availableBeta Was this translation helpful? Give feedback.
All reactions