Start Free
10.7 | Project administration | Project settings

Project settings

On this page

Project and application PDF reports

As a project or application administrator, you can change the PDF report subscription frequency of the project or application:

  • Project-level: To change the frequency setting for a specific project, navigate to the project's home page then Project Settings > General Settings > Governance. Under Project and Application PDF Reports, select an option from the PDF Reports Frequency drop-down menu.
  • Application-level: To change the frequency setting for a specific application, navigate to the application's home page then Application Settings > Application Report Settings, and select an option from the Application Reports Frequency drop-down menu.

You have the following options for subscription frequency:

  • Daily 
  • Weekly 
  • Monthly (default)

Tags

Project tags allow you to categorize and group projects for easier selection on the Projects page. Project tags can be administered from the project home page. Administrators will see a dropdown menu indicator next to the project's list of current tags (or next to the No tags indicator). If the tag you want isn't visible in the dropdown, use the built-in search input to find what you're looking for, or create it on the fly.

Administration items

Project administration is accessible through the Project Settings menu of each project.

Only project administrators can access project's settings (see Authorization).

Adding a project

A project is automatically added at its first analysis. You can also create and import projects before the first analysis and automate the creation and import of projects using the Web API. See Creating and importing projects for more information.

Analysis report processing

A project-level background tasks page is available at Project Settings > Background Tasks to allow project administrators to check their projects' processing. It offers analysis report details and logs.

Deleting a project

Deleting a single project

You can delete a project through Project Settings > Deletion.

Deleting multiple projects

You can also delete multiple projects simultaneously from the global Project Settings > Projects > Management.

Updating the project key

The project key can be updated (without losing the history on the project) at Project Settings > Update Key.

The new key must contain at least one non-digit character. Allowed characters are: a through z, A through Z, - (dash), _ (underscore), . (dot), : (colon) and the digits 0 through 9. This value is case-sensitive.

Default issue assignee

When new issues are created during analysis, they are assigned to the last committer where the issue was raised. When it is not possible to identify the last committer, issues can be assigned to a default assignee, at Administration > General Settings > Issues.

Setting quality gate and quality profiles

Project administrators can select which of the following to use on their project:

  • Quality profiles (go to Project Settings > Quality Profiles)
  • Quality gate (go to Project Settings > Quality Gate)

Setting exclusions

See the Analysis scope page.

On top of standard links which may only be set as Analysis parameters, additional custom links can be added through the web interface (under Project Settings > Links). Those links will then be displayed in the Project Information page.

Marking a project as containing AI-generated code

You can mark a project to indicate that it contains AI-generated code. To do this go to Project settings > AI-generated code and activate the Contains AI-generated code setting.

When you activate this setting:

  • the Sonar way quality gate is enforced on the project:
    • If the project already uses the Sonar way quality gate, activating the setting will lock the project’s quality gate.
    • If the project does not use the Sonar way quality gate, activating this setting will change the project’s quality gate to Sonar way and lock it.

      Locking the Sonar way quality gate ensures that the AI-generated code is clean by enforcing high quality standards.
  • The project will have the AI code assurance label:
    • an AI Code label is displayed next to the project in the UI
    • you can use the AI code assurance badge to promote your project’s health

Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License