# Advance Deduplicator rules

1. Select the **Deduplicator**, followed by clicking on the **Rule** button

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FALQHwtySBP0UYbAXrtVg%2Fimage.png?alt=media&#x26;token=c0f2f26a-e739-4ab8-ade6-6fc0cf2f1adb" alt=""><figcaption></figcaption></figure>

1. Define the products to which the rule will apply or leave All as default

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FAUabLqxb5XnQ1eAiBTsH%2Fdedublic%20rule%201.png?alt=media&#x26;token=51d97ba2-ebdc-407f-bc43-c6f8805d122b" alt=""><figcaption></figcaption></figure>

3. Select one or more **identity criteria** of original and duplicate finding&#x73;*:*

* **same product**
* **same title**
* **same file path**
* **same line number**
* **same dependency**
* **same vulnerable URL**&#x20;

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2F45WUrtHCAbUOafrETIRu%2Fdedubl%20rule%202.png?alt=media&#x26;token=8aa5aa84-ea50-46ee-96df-7724f192978a" alt=""><figcaption></figcaption></figure>

4. Create indications for findings designated for the **original scope** within the Original section:

Select a **parameter** and specify its **value** (presence or absence of a value) to be used in the running of the deduplication rules.\
Available parameters:

* **title**
* **description**
* **file path**
* **branch**
* **scanner**
* **dependency**
* **vulnerable url**
* &#x20;**import source** (internal or external at your option)

You can combine terms via join, just click on the plus button

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FaalhdOi0ffKPllECyBoq%2Fdedubl%20rule3.png?alt=media&#x26;token=8f45e56b-8cbe-4863-8224-52e0c6aefec6" alt=""><figcaption></figcaption></figure>

5. Create indications for findings designated for the **dublicate scope** within the Dublicate section. These conditions must be defined with the **same parameters** as for the original scope, but with **other values**

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FQZyzxRSAxc3xwJmte6dX%2Fdedublic%20rule%204.png?alt=media&#x26;token=43d698c0-b2a9-432a-b41b-478146cda856" alt=""><figcaption></figcaption></figure>

6. Click the **Active** slider to activate the rule
7. Click the **Submit** button to apply the deduplication rule to your scan results

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2F8ufskiQgV6y9w6xn7J6B%2Fdedubl%20rule%206.png?alt=media&#x26;token=334debc3-1cfc-443a-aaa9-559152079e7a" alt=""><figcaption></figcaption></figure>

Deduplicator will **automatically** identify and remove any duplicate findings based on the rule you have created

<figure><img src="https://3069717380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M81VrXQrfSaYjNIFOtt%2Fuploads%2FJ4PcPjPUzG3h8Q1Syg60%2Fimage.png?alt=media&#x26;token=a53f4368-93ae-4d0b-94a2-73d403654e29" alt=""><figcaption></figcaption></figure>
