# Active Exception

### Exceptions

The Exceptions page displays the list of exceptions that have been created at the application, service and team level. Whenever a vulnerability or alert needs to be ignored, as it is not required to be addressed or it doesn't impact the workflow or simply it need not be considered, then that vulnerability or alert can be marked as an exception.&#x20;

{% hint style="info" %}
The users should have admin access at team level to add exceptions.&#x20;
{% endhint %}

The Active Exceptions page displays the list of all the exceptions that are currently active.&#x20;

### To View Active Exceptions

* Navigate to **Audit -> Active Exceptions**. The Active Exceptions page is displayed as shown below:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FrawIMkEuw2RhiBfcW2dI%2Factive%20exception%20navi.png?alt=media&#x26;token=e4b09a08-8212-42bc-b930-36e7dd2e2052" alt=""><figcaption></figcaption></figure>

The the following details related to the active exceptions are displayed.&#x20;

* **Name** - Displays the name of the vulnerability that is marked as an exception.&#x20;
* **Type** - Displays the type of the vulnerability.&#x20;
* **Application** - Displays the name of the application that has the specified vulnerability.   &#x20;
* **Service** - Displays the name of the service that has the specified vulnerability. &#x20;
* **Approved By** - Displays the name of the person by whom the exception was approved.&#x20;
* **Description** - Displays the reason added by the user to mark the vulnerability as an exception.&#x20;
* **Valid Till** - Displays the date and time until when the exceptions will be active.&#x20;
* **Action** - Click the three dots displayed in the **Action column > Revoke**, to revoke the created exception.&#x20;

### Upload CVE Suppression List

When the user is migrating from another system with an existing suppressed exceptions list, users can bulk upload their suppression list using this option.

You can upload a file in code format containing the list of vulnerabilities to be added as exceptions. Include the CVE IDs to be marked as exceptions in the code before uploading the file.

{% hint style="info" %}
Uploading the suppression list is team specific. The exception is applied for all the applications and services for the selected team. It cannot be applied to an application or service specifically.&#x20;
{% endhint %}

### To Add a CVE Suppression List

1. In the **Active Exceptions** page, click **Upload CVE Suppression List**.  &#x20;

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F7aggkbnbhcuseDedg6Ze%2Factive%20exception.png?alt=media&#x26;token=2c9c5b18-1284-4a14-a5ef-64273ff17b6a" alt=""><figcaption></figcaption></figure>

2. Click **Upload File** and select the file to be uploaded.
3. Click **Save**.&#x20;

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F9TLM5DB6L7arzIW1X0Kc%2Fupload%20cve%20file.png?alt=media&#x26;token=a1d74c38-5c45-44fd-9847-cd89f79ab46e" alt=""><figcaption></figcaption></figure>

### To Add a CVE Suppression List in Code Format

An example code format is shown below:

```
{
  "bomFormat": "CycloneDX",
  "specVersion": "1.5",
  "version": 1,
  "vulnerabilities": [
    {
      "id": "CVE-2023-46589",
      "analysis": {
        "state": "not_affected",
        "justification": "code_not_reachable",
        "response": ["will_not_fix", "update"],
        "detail": "The vulnerable function is not called"
      },
      "affects": [
        {
          "ref": "pkg:npm/minimatch@0.3.0?file_path=app%2Fnode_modules%2Fmocha%2Fnode_modules%2Fminimatch%2Fpackage.json"
        }
      ]
    }
  ]
}
```

### To Add a Vulnerability as an Exception (For Service / Application)

Navigate to the **Vulnerabilities** tab. In the vulnerabilities details panel, click on the vulnerability that you want to mark as an exception.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe7IvxMrRTK-YkPTesf8SKIXtVgjio_1hq6VMpNNX98pYosYuYtg6D6Wdo_ydZ1pCe70Z6jF87reZVE7lqxQ9InpbxJyPM_Oo6RTr-Arln-gOYKpzNDqbxkaYkU32Rgs-F_TC_OeUUD_26SP1np6GOwKZOe?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* A popup is displayed with the details as shown below:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd9lfzGvnlAMgUI7sJsu68DAKNahLGhf9DoWtf8edk8sN3exiTiZv-gM1yFmMBzvo4FCEV3PKjoh5ftnAN4I9imsKNt5Uoi7cCX33m1Ix8YR9QnsJ-L67HdP8yV_w91RJq47ZqJ8RGUOztKl2pCiOCp55Pt?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* Expand the **Show Impacted Components** section. The application and services that are impacted by this vulnerability and their details are displayed.&#x20;
* Click the **three dots** and select **Provide Exception**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcELYKF4jDT9A0z6P8Qr7iy4r7NFh4VW0p6eXFuWFdhxon7iltQpSjnvlbXQ7ILL1fuy4GtFDiCdpf70GXuYYVh8Fv0Bo_1dK4jQDtthMzzBcVyMNp_Um8rEzXmAuyWbrjAN0CEQph0ExManttPPT03Wjh_?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* The **Provide Exception** dialog box is displayed as shown below:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeywxYnLl_Vg6Z0-3aAvCT8mYpxOmHUUjTDSyj4a-Y_IXcHmvyIwbu3NC-oU92C4ztiWPpdnT70AAF9wBj26CuEb2GXzClWJzhXGI40_w-SHR4FgHRPpm261ZnoS2Cqm7hwrOTW02RxtSuUiKIFycmbS-I?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* Enter your reason for marking this as an exception in the **Please provide your comments to approve exception** box.&#x20;
* Select the time range up to what date and time you want the exception to be active in the **Exception Valid Upto** drop down. The time range can be One Day, 7 Days, One Month, 6 Months or you can customize the date range by electing the Custom range option.&#x20;
* You can select if the exception needs to be applied for the entire application or only the particular service from the Exception Applicable to drop down.&#x20;
  * Select **Impacted Application** if the exception needs to be applied for all the services in the application.
  * Select **Impacted Service** if the exception needs to be applied for the particular service in an application.&#x20;
* Click **Approve**.&#x20;

The Vulnerability gets added as an exception.&#x20;

### To Add an Alert as an Exception  (For Service / Application)

Navigate to the **Security Issues** tab. In the alert details panel, click on the alert that you want to mark as an exception.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXduUAsu0ZXB0TDwfPdfMNvefoSABDwKuVGhjzoZYr1GM0r5q7b8B0bskFH1cLwJ74FuRghv5DjDIytZMNNvcnq7vlI7Cb3p6VGtEprgCnEebpzsQTGLsoVO7rpbJn4QKOa58jEAz667qwh82DyVuPEcNqlX?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* A popup is displayed with the details of the alert as shown below:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcG1pCdItsFZ_C0YzdnmYCz1VOla3N49Haq4RvMPjvsvGutRmML6wh8dAX7jnKLdzdgAZ-2eAj1iMpjrrDoZrubKDOnRCcH1pJbQVqWNzKD9B5i7Ii1bk6CS66r7SGEz3553r8RwubQmAPasIfehSL5X4LN?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* Expand the **Show Impacted Components** section. The application and service that are impacted by this alert and the details are displayed.&#x20;
* Click the **three dots** and select **Provide Exception**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeNhitlDDir6cf--qgr92BR49tfqUaqqF9ZuK6syIpQ7Z1v234duWU8rFemhUu3UUA2DU9onRz1AhXmiajp68wwwNOR6v8sobvDQgwyqzuBfMzFf-dhWLvBzdX4o3DYM7p_OvvC7UbxeEbkq63tp_ymfUs?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* The **Provide Exception** dialog box is displayed as shown below:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdVaGK0WVX_q3bC1U1Rtt21fT1HRNm79ym9hU7xzAbX9kkNUCyd0pOLXjmmup867Ib4bDFhH2og6CYmetG_iNAyx7yJEeXzytiiscF5Xl3lYvrsqh2AJQGFW2cjh36V3SSeBUluCknU9CPcwpTIRHfNTxmE?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* Enter your reason for marking this as an exception in the **Please provide your comments to approve exception** box.&#x20;
* Select the time range up to what date and time you want the exception to be active in the **Exception Valid Upto** drop down. The time range can be One Day, 7 Days, One Month, 6 Months or you can customize the date range by electing the Custom range option.&#x20;
* You can select if the exception needs to be applied for the entire application or only the particular service from the Exception Applicable to drop down.&#x20;
  * Select **Impacted Application** if the exception needs to be applied for the entire application.
  * Select **Impacted Service** if the exception needs to be applied for the particular service only.&#x20;
* Click **Approve**.&#x20;

The Alert gets added as an exception.&#x20;

{% hint style="info" %}
After adding exceptions at Service/Application/Team level, exceptions will be considered from the next deployment of the services at respective levels.
{% endhint %}

### To Add a Vulnerability as a Global Exception

Navigate to the **Vulnerabilities** tab. In the vulnerabilities details panel, click on the vulnerability that you want to mark as an exception.&#x20;

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fpc4OxAVGlqhgmmLsUcKx%2Fvulnerability%20global%20exception.png?alt=media&#x26;token=d2996490-0650-4489-9209-43cd40a544fd" alt=""><figcaption></figcaption></figure>

* A popup is displayed. Click **Provide Exception**.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fed5suV58bVwTaLBOkAnX%2Fprovide%20exception.png?alt=media&#x26;token=ed3aff0c-2c9c-4262-be9c-3e098c9c19a7" alt=""><figcaption></figcaption></figure>

* &#x20;An expanded view is displayed as shown:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FG4dDj4HVhz4Qx9L729yY%2Fimage.png?alt=media&#x26;token=26334b12-f17d-4e8f-9575-3593a8893a0c" alt=""><figcaption></figcaption></figure>

* Enter your reason for marking this as a global exception in the **Please provide your comments to approve exception** box.&#x20;
* Select the time range up to what date and time you want the exception to be active in the **Exception Valid Upto** drop down. The time range can be One Day, 7 Days, One Month, 6 Months or you can customize the date range by electing the Custom range option.&#x20;
* Click **Approve**.&#x20;

The vulnerability is added as a global exception, and all applications and services containing this vulnerability are automatically marked as exceptions.

### To Add an Alert as a Global Exception

Navigate to the **Security Issues** tab. In the alerts details panel, click on the alert that you want to mark as an exception.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe7IvxMrRTK-YkPTesf8SKIXtVgjio_1hq6VMpNNX98pYosYuYtg6D6Wdo_ydZ1pCe70Z6jF87reZVE7lqxQ9InpbxJyPM_Oo6RTr-Arln-gOYKpzNDqbxkaYkU32Rgs-F_TC_OeUUD_26SP1np6GOwKZOe?key=_nWURPhIZSHxEbOeST89Ng" alt=""><figcaption></figcaption></figure>

* A popup is displayed as shown below:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FjHYJAni5Fr1drgEnN1bF%2Fimage.png?alt=media&#x26;token=7d94eda6-3f65-4572-9b12-737b1eb50ddd" alt=""><figcaption></figcaption></figure>

* Click **Provide Exception**. A dialog box is displayed as shown below:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fk2HwMVltpWhrICSKl6oH%2Fimage.png?alt=media&#x26;token=e38a5b41-1c57-4afa-8d6c-0879255a9add" alt=""><figcaption></figcaption></figure>

* Enter your reason for marking this as a global exception in the **Please provide your comments to approve exception** box.&#x20;
* Select the time range up to what date and time you want the exception to be active in the **Exception Valid Upto** drop down. The time range can be One Day, 7 Days, One Month, 6 Months or you can customize the date range by electing the Custom range option.&#x20;
* Click **Approve**.&#x20;

The alert is added as a global exception, and all applications and services containing this alert are automatically marked as exceptions.
