Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Support disabling autoscanning for sonarcloud projects #131

Open
steinheber opened this issue Feb 8, 2023 · 0 comments
Open

Support disabling autoscanning for sonarcloud projects #131

steinheber opened this issue Feb 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@steinheber
Copy link

Description

If applicable, sonarcloud does have an autoscanning flag enabled by default.
This contradicts the functionality of kicking off analysis via e.g. a jenkins pipeline.

As a consequence, when bootstrapping new repositories, it would be desirable to be able to turn off the flag for automatic analysis as is being done via the endpoint https://sonarcloud.io/api/autoscan/activation .

New or Affected Resource(s)

Not 100% sure which resource this would fit best.

  • sonarcloud_XXXXX

Potential Terraform Configuration

resource "sonarcloud_project" "test_service" {
  key        = "com.steinheber:test-service"
  name       = "test-service"
  visibility = "private"
  autoscan_enabled = false
}

References

  • #0000
@steinheber steinheber added the enhancement New feature or request label Feb 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant