Issues such as coding standard violations, compiler warnings, and code security violations found by checkers and other tools can sometimes be false positives or can be ignored for some other reason. In those cases you might want to suppress those violations so that they do not affect the TQI score negatively, or make your quality gates fail.
There are several ways in which you can suppress violations:
Suppressed violations are still stored in the database. They will not be visible by default, but you can make them visible by using the 'Suppressions' filter in the annotated source, or by using the Suppressed Violation Count metrics on the dashboard. When using a tool-specific suppression mechanism, it depends on our tool integration whether suppressions are stored in the database.
For more details on creating suppressions, see the Violation Suppression usage documentation.
Once a triage has been requested, a designated user will have to review this request and either "Approve" or "Reject" the request or ask for more information. A notification email is sent to the designated users holding the "Manage Suppression" permission for the applicable project(s). This email provides a link to the triage request. Pending triages can also be found on the insets in the Annotated Source. To perform the review:
Click "Edit Triage".
Select the appropiate action and provide a comment justifying your action. If needed, the classification can be adjusted.
Approving the triage request will suppress the violation. Rejection will close the triage request, leaving the violation untouched. "None" (no action) will only log your comment in the triage history.
The triage functionality can only be used by an authorized user having the: