# How to set a vulnerability exclusion

The container scanner supports some pre-existing methods for declaring exclusions:

* [from the report page](/the-meterian-webapp/advanced-functionalities/set-exclusion/set-exclusions-report-page.md)
* [from the dashboard](/the-meterian-webapp/advanced-functionalities/set-exclusion/from-the-dashboard.md)

### From a .meterian file

The format of the `.meterian` file is defined [here](/the-meterian-webapp/advanced-functionalities/set-exclusion/dotmeterian.md).

In order to use a `.meterian` file with the container scanner it must be present in the directory where you launch the scanner.

### From a .trivyignore file&#x20;

You can also use a `.trivyignore` file to exclude CVEs from your analysis.\
The currently supported `.trivyignore` format is defined [here](https://aquasecurity.github.io/trivy/v0.38/docs/vulnerability/examples/filter/#by-vulnerability-ids).

In order to use a `.trivyignore` file to declare exclusions it must also be present in the directory where you launch the scanner.

Please keep in mind, the `.trivyignore` file is only supported by the container scanner.


---

# Agent Instructions: 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:

```
GET https://docs.meterian.io/containers-support/container-scanner/how-to-set-a-vulnerability-exclusion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
