---
title: Verify File
slug: homologacao-atmosphere/verify-file
description: Learn how to verify files using AlienVault OTX with the "alienvault_verify_file" module. This document provides a comprehensive summary, including the required parameters (file_hash or file_path) and examples of usage. Discover the valuable information re
createdAt: 2022-08-01T17:42:27.000Z
---

## Resumo

- Verificar um arquivo em relação ao AlienVault OTX.

## Parâmetros

| **Parâmetro** | **Requerido** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**                                               |
| ------------- | ------------- | -------- | ---------------------------- | ------------------------------------------------------------- |
| file\_hash    |               | string   |                              | Hash (Em MD5, SHA256, SHA1, etc) do arquivo a ser verificado. |
| file\_path    |               | string   |                              | Caminho que contém o arquivo a ser verificado.                |

Utiliza parâmetros do módulo [](https://docs.simonops.com/homologacao-atmosphere/shell)[](/base-alienvault)Base AlienVault.

## Exemplos

```yaml
- name: Perform scan from a file
  alienvault_verify_file:
    file_path: /Users/Example/eicar.com
    summarized_info: false
  register: result

- name: Perform scan from a file hash
  alienvault_verify_file:
    file_hash: '44d88612fea8a8f36de82e1278abb02f'
    summarized_info: false
  register: result
```

## Valores retornados

| **Chave** | **Tipo**       | **Retornado quando**                             | **Descrição**                            |
| --------- | -------------- | ------------------------------------------------ | ---------------------------------------- |
| summary   | lista de dicts | Sucesso e opção **`summarized_info`** for true.  | Resumo do scan executado.                |
| general   | dict           | Sucesso e opção **`summarized_info`** for false. | Contém informações gerais do scan.       |
| analysis  | dict           | Sucesso e opção **`summarized_info`** for false. | Contém informações da análise realizada. |

