> For the complete documentation index, see [llms.txt](https://docs.whitespots.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whitespots.io/appsec-portal/features/deduplicator/basic-deduplicator-rules.md).

# Basic deduplicator rules

Basic deduplication works during report import, scanner report post-processing and Auditor execution, within the specified scope and using configurable matching criteria.

To set up a rule for Basic Deduplicator, follow the steps below

1. Navigate to **Settings** -> **Maintenance** -> **Basic Dedublication**
2. Select the **Deduplication Criteria**

<figure><img src="/files/r2WMO4z7AjgU2Bn4h1vm" alt=""><figcaption></figcaption></figure>

When criteria are chosen, new findings are compared only with those having equal values in selected criteria; otherwise, without selected criteria, new findings are compared with all existing findings in specified scope.

You can select one or more criteria:

* Same branch
* Same Docker Image
* Same Domain
* Same Host
* Same Repository
* Same Cloud account
* Same Scanner
* Same custom field

<figure><img src="/files/OjtxlDMlL9OVwUm1AkJV" alt=""><figcaption></figcaption></figure>

3. Select the **Scope** within which the basic deduplication will take place

* **Product scope**: the results are compared with findings from the specified product to identify possible duplicates. The deduplication process is limited to detections from the specified product only.
* **Product type scope**: new inspection results are compared to the detections of all products with the same product type as the current product. The duplicate search focuses on results from all products with the corresponding product type.
* **Portal scope**: the results are analysed against existing detections in the AppSec Portal to identify duplicates. Results from all products and product types in the system are used to search for duplicates.

<figure><img src="/files/wmfsWSHMQbXeBag9DX0h" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.whitespots.io/appsec-portal/features/deduplicator/basic-deduplicator-rules.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
