diff --git a/sonar-project.properties b/sonar-project.properties index b1334c80e22..d9486a3cd52 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,9 +1,11 @@ -sonar.organization=elastic-1 -sonar.projectKey=elastic_elastic-agent -sonar.host.url=https://sonarcloud.io +sonar.projectKey=elastic_elastic-agent_AYluowg0xMq8P7b4moiZ +sonar.host.url=https://sonar.elastic.dev sonar.sources=. -sonar.exclusions=**/*_test.go, .git/**, dev-tools/**, /magefile.go, changelog/**, _meta/**, deploy/**, docs/**, img/**, specs/**, pkg/testing/**, pkg/component/fake/**, testing/**, **/mocks/*.go +sonar.exclusions=.git/**, dev-tools/**, /magefile.go, changelog/**, \ + _meta/**, deploy/**, docs/**, img/**, specs/**, \ + */*_test.go, pkg/testing/**, pkg/component/fake/**, testing/**, **/mocks/*.go, \ + pkg/control/v1/proto/*.pb.go, pkg/control/v2/cproto/*.pb.go sonar.tests=. sonar.test.inclusions=**/*_test.go @@ -13,7 +15,7 @@ sonar.go.exclusions=**/vendor/**,**/*_mock.go sonar.sourceEncoding=UTF-8 -#Prevent C analysis +# Prevent C analysis sonar.c.file.suffixes=- sonar.cpp.file.suffixes=- sonar.objc.file.suffixes=-