Custom Quality Profile written from Terraform

Hi everyone,

I was wondering if it is possible to write custom sonarqube quality profiles using infrastructure as code? My team would like to be able to write terraform to set custom quality profiles that are specific to the pipeline being scanned. It would be convenient to avoid going into the sonarqube UI to create a custom quality profile for every pipeline.
I looked around in the sonarqube docs and online for information about this but couldn’t find anything. Thanks in advance!

There is an unofficial provider : Terraform Registry

Or you can use directly the API to perform thoses tasks.

I already ask if Sonar will provider an official provider (like many company do), but it’s not in their plan.

Regards,

1 Like

Thanks Valentin,
I appreciate the response and thanks for pointing at that resource. I’m still on the lookout for other options that leverage the API