TABLE OF CONTENTS

Overview

You can create a suppression rule on any check to skip results for the specific check. A suppression rule allows code builds in the repositories, even when misconfigurations are detected, after applying that check. A developer may create a suppression rule for many reasons. One of them may be to acknowledge all the misconfigurations that were detected after applying a specific check and fix all the under-development codes to create safe artifacts.


To create suppression rules, navigate to the Suppression Rules page from the left menu. From this page, you can create suppression rules on the checks, which can be applied to:

  • All the repositories
  • A specific repository
  • A specific branch in a repository

Whereas from the Code Repositories page > a specific Code Repository > Misconfigurations tab > a specific misconfiguration detailed view, you can suppress a misconfiguration detected after applying a check, on the specific repository and branch.


Create a new suppression rule

  1. From the left menu, navigate to the Suppression Rules page.
  2. Click New Suppression Rule at the top right of the page. Create New Suppression dialog appears.
  3. From the Check Name dropdown, select a check on which you want to create a suppression rule.
  4. From the Suppressed Object dropdown, select one of the following:
    • All the repositories
    • Repository: after selecting this, from the Repository Name dropdown, select a repository
    • Branch: after selecting this, select a repository and enter a specific branch in the repository
  5. Enter a reason to suppress the check.
  6. Select the delete rule checkbox and define the number of days after which the suppression rule should be deleted automatically.
  7. Click Create.