SonarCloud API for monorepo project import

Template for a good new topic, formatted with Markdown:

  • ALM used (GitHub, Bitbucket Cloud, Azure DevOps) - GitHub
  • CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI - GitHub actions
  • Scanner command used when applicable (private details masked) - NA
  • Languages of the repository - NA
  • Only if the SonarCloud project is public, the URL - NA
    • And if you need help with pull request decoration, then the URL to the PR too - NA
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting) - NA
  • Problem statement - In reference to the below old post, I would like to understand if any API or terraform provider available for the monorepo project import

As I didn’t get any response for my comment in the above post, I have raised a new topic for the same issue and this is what advised by the Sonarsource contact as well.

Hey there.

Today, there is no public API for importing monorepos.

And, you may be interested in this community guide: How to reverse engineer the Sonar Web API

Thanks for the response Colin.

Hi Team, Just checking if there is any public API available for importing monorepo in SonarCloud?