> For the complete documentation index, see [llms.txt](https://help.glpi-project.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.glpi-project.org/tutorials/fr/inventory/advanced-usage/using-blacklist.md).

# Utilisation de la liste noire

{% hint style="danger" %}
**Ceci est réservé à un usage avancé uniquement**
{% endhint %}

La liste noire identifie les informations qui ne seront pas récupérées lorsqu'un PC est inventorié ou lorsque les utilisateurs sont synchronisés.

Il est possible d'interdire une certaine quantité d'informations, comme les adresses IP en 0.0.0.0 ou un utilisateur avec une adresse email @yopmail.com.

{% hint style="success" %}
Vous pouvez mettre en liste noire les éléments suivants :

* IP
* MAC
* Numéro de série
* UUID
* Email (pour les utilisateurs)
* Modèle
* Fabricant
* Fabricant
  {% endhint %}

## Ajouter une nouvelle liste noire

Pour notre exemple, nous bloquerons le transfert IPv6

* Pour configurer une liste noire, allez dans **`Configuration`** > **`Listes déroulantes`** > **`Listes noires`**
* Cliquez sur **`+AJOUTER`**
* Nommez votre nouvelle liste noire
* Indiquez la valeur (**`::1`** pour IPv6)
* Sélectionnez la valeur attendue (IP pour notre exemple)

<figure><img src="https://1227510999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqmRzI15ndDbFHGd5BnM4%2Fuploads%2Fgit-blob-14be51a7dbc1f34c371d7d61fe5b81dac7ee46de%2Fimage%20(9).png?alt=media" alt=""><figcaption><p>Vue de la liste noire</p></figcaption></figure>

## Supprimer une Liste noire

* Pour supprimer une liste noire, cliquez sur **`Supprimer définitivement`**

<figure><img src="https://1227510999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqmRzI15ndDbFHGd5BnM4%2Fuploads%2Fgit-blob-cf528b21149f766fc2cfca5586f8af950d18c5f7%2Fimage%20(10).png?alt=media" alt=""><figcaption><p>Supprimer une liste noire</p></figcaption></figure>

* Vous pouvez utiliser l'action massive pour supprimer une ou plusieurs listes noires

<figure><img src="https://1227510999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqmRzI15ndDbFHGd5BnM4%2Fuploads%2Fgit-blob-bf5653c9443ec6ed3b9d8b300d71613ed0685cf9%2Fimage%20(11).png?alt=media" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.glpi-project.org/tutorials/fr/inventory/advanced-usage/using-blacklist.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
