Skip to main content
Version: 1.7

Link a quality gate to a security check

You can use a quality gate in multiple projects.

You can add a quality gate to a specific project or from the shared template list in the Quality gates section.

Add a quality gate to a project​

To add a Quality gate to a project, follow these steps:

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

When you select Create a new quality gate, you'll go to the quality gate creation page. For more information about creating a quality gate, see Quality gate templates.

Add a quality gate

  1. Select Save.

View detailed quality gate metrics​

You can view the actual quality gate metric values in the sidebar. When you select the quality gate status, the system displays a list of all metrics with the results of the latest scan.

To view detailed quality gate metrics, follow these steps:

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

The sidebar opens and displays the following data:

  • 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 the metric's issues in the Result column.

Failed quality gate metrics

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

Issues by metric