SourceClear Error: Unable to collect Git metadata
If this error is appearing, it means SourceClear wasn't able to find a piece of information it was looking for.
Here are a few things to check:
1) Are you using a Git-based repository system? (Github, Bitbucket, etc)
If No, then set the SRCCLR_SCM_* variables so that SourceClear can still retrieve specific information. This information doesn't have to be valid, but it's recommended that the values used are memorable because if they scan the project again, with different variables, it will appear as a separate project within SourceClear.
For more information on these variables, refer to the documentation here: https://www.sourceclear.com/docs/agent-other-scm/
2) Is the .git folder leading to where SourceClear is being run from? (i.e., it may be in a parent folder or the current folder, but not in a child folder)
If No, then the git metadata has been removed from the project before SourceClear was run. To fix this issues, either do not remove the git metadata, ensure that you pull the git metadata into the docker container that you are using, or use the same advice from check 1.
3) Is the git remote URL set? (To check this, run git remote -v)
If nothing shows when you run this command, it is likely that the git project was just created locally. While still a valid git project, SourceClear requires a URL to be set so that we can de-duplicate projects. Have your customer add a remote URL, or follow the advice from check 1
Topics (1)
Related Articles
Is there a place I can go online to monitor my support tickets? 581Number of Views How to check the status of your Veracode Verified application 598Number of Views How to fix CWE 829 – Add CSP header correctly ? 745Number of Views Is there a way to schedule a dynamic scan of an application to run on a regular basis? For example if we wanted to automat… 984Number of Views How to download only Dynamic scan result report only. 1.85KNumber of Views
This topic isn't available in this community.
Related Topics
Ask the Community
Get answers, share a use case, discuss your favorite features, or get input from the Community.
.png)