SonarQube Server
Policy enginesonarqube
Self-hosted code analysis server whose built-in Sonar way quality gate passes or fails each project on its new code.
- Provider
- default
- Kind
- Policy engine
- Category
- Operations
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| defaultQualityGate | string | — | no | Sonar way | inherited |
| effect | enum | audit | deny | modify | deploy-if-not-exists | no | — | ▸ audit |
| enforcementMode | enum | enforced | disabled | no | — | ▸ enforced |
| managed | boolean | — | no | false | ▸ false |
| newCodeCoveragePercent | integer | — | no | 80 | inherited |
| newCodeDuplicationPercent | integer | — | no | 3 | inherited |
| policyCount | integer | — | no | — | inherited |
| remediation | boolean | — | no | false | ▸ false |
| scope | enum | resource | group | account | organization | no | — | ▸ resource |
| securityHotspotsReviewedPercent | integer | — | no | 100 | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "sonarqube", component: "sonarqube" }Cloud Configalibaba-cloud-configData Security Centeralibaba-data-security-centerAmazon CodeGuru Revieweraws-codeguru-reviewerAWS Configaws-configAWS Control Toweraws-control-towerIAM Access Analyzeraws-iam-access-analyzerAWS Lake Formationaws-lake-formationAWS License Manageraws-license-managerAWS Organizationsaws-organizationsAWS Resource Access Manageraws-ramAmazon Verified Permissionsaws-verified-permissionsMicrosoft Entra Conditional Accessazure-conditional-accessAzure Policyazure-policyMicrosoft Entra Privileged Identity Managementazure-privileged-identity-managementCloudflare Data Loss Preventioncloudflare-dlpCalypsoAIcalypsoaiCerboscerbosOPA GatekeepergatekeeperGuardrails AIguardrails-aiHiddenLayer AI Security PlatformhiddenlayerKubeArmorkubearmorKubewardenkubewardenKyvernokyvernoLakera Guardlakera-guardLLM Guardllm-guardNeMo Guardrailsnemo-guardrailsOpen Policy AgentopaPermit.iopermit-ioGeneric policy enginepolicy-enginePrompt Securityprompt-securityProtect AIprotect-aiRebuffrebuffRobust Intelligencerobust-intelligenceDigitalOcean CSPMdigitalocean-cspmAccess Context Managergoogle-access-context-managerAssured Workloadsgoogle-assured-workloadsBinary Authorizationgoogle-binary-authorizationIdentity and Access Managementgoogle-cloud-iamFirebase App Checkgoogle-firebase-app-checkModel Armorgoogle-model-armor
and 16 more → Policy engine page# yaml-language-server: $schema=../../schema/component.schema.json # SonarQube Server: self-hosted code quality and security analysis server whose quality gate # decides whether an analysed project passes. "Managing quality gates" states the built-in Sonar # way gate is provided by Sonar, activated by default and read-only, and that every project not # explicitly assigned to another gate uses the instance default gate. The same page gives the # Sonar way conditions on new code: no new issues, no reliability, security or maintainability # rating worse than A, security hotspots reviewed at 100%, coverage at or above 80% and # duplicated lines at or below 3%. The gate reports a pass or fail status; blocking a pipeline on # it is the CI system's choice, so the effect is audit. schemaVersion: "1" type: "component" id: "sonarqube" kind: "policy-engine" provider: "default" docs: "https://docs.sonarsource.com/sonarqube-server/latest/" defaults: managed: false effect: "audit" enforcementMode: "enforced" scope: "resource" remediation: false properties: defaultQualityGate: type: "string" default: "Sonar way" newCodeCoveragePercent: type: "integer" default: 80 newCodeDuplicationPercent: type: "integer" default: 3 securityHotspotsReviewedPercent: type: "integer" default: 100