Skip to main content
Version: 1.6.1

Linking quality gates to security checks

You can use a quality gate in multiple projects. Add it to a specific project or from the shared template list in the Quality gates section.

Adding a quality gate to a project​

To add a Quality gate to a project:

  1. Go to Projects → Project name → Quality gates.
  2. Select Add quality gate.
  3. In the list that opens, select the required quality gate or select Create new quality gate.
note

When you select Create new quality gate, you'll start creating a new quality gate. For more information, see Quality gate templates.

Adding a quality gate

  1. Select Save.

Viewing detailed quality gate metrics​

The actual quality gate metric values are available in the side panel. When you select the quality gate status, the system displays all metrics and the results of the latest scan.

To view detailed quality gate metrics:

  1. Open the required project in the Projects section.
  2. Go to the Security layers tab.
  3. Select the project layer with the Quality gate passed or Failed status.

A side panel opens with the following information:

  • quality gate name;
  • quality gate metric names;
  • target metric values;
  • actual metric values (for example, Passed or Failed).

Failed quality gate

  1. Select the button to go to metric issues in the Result column.

Failed quality gate metrics

The Issues page opens with a list of vulnerabilities filtered by the selected metric.

Issues by metric