Some folders missing in sonarqube analysis

We are using community edition of sonarqube for code quality testing. We have integrated some repositories of gitlab. After the analysis was done some files were missing from the analysis, bt no exclusions were written from our side.

other go files and cron folder were there in the analysis, but vendor folder is missing. the same issue is there with multiple repositories.

Can you help us in this issue, as we need the analysis to be performed on those missing folders aswell.

Hey there.

As documented:

By default, all the vendor directories are excluded from the analysis. However, you can change the property sonar.go.exclusions to a different pattern if you want to force their analysis (not recommended).

Hi @Colin, Based on my understanding of the documentation, I can enable analysis of the vendor folder by adjusting the Go language settings at the global level( Administration > General Settings > Languages > Go).

However, is there a way to enable the analysis of the vendor directory for just one specific repository?

You go to the same setting but under Project Settings.

Thankyou @Colin .