---
title: Scan File
slug: homologacao-atmosphere/4KFp-scan-file
description: Learn how to verify a file using a script that utilizes parameters from the Base VirutTotal module. This document includes an example and provides a summary of the script, which returns a dictionary with the scan result, including the type and ID of the v
createdAt: 2022-08-01T17:42:29.000Z
---

## Resumo

- Verifica um arquivo.

## Parâmetros

| **Parâmetro**    | **Requerido** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**                |
| ---------------- | ------------- | -------- | ---------------------------- | ------------------------------ |
| file\_path<br /> | Sim           | string   |                              | Path do arquivo a ser checado. |

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

## Exemplos

```yaml
- name: Scan FILE
  virustotal_scan_file:
    api_key: '13wqd12w5q61d6q5w1d32s1d6q1w23ds1dqwds2d1q36'
    file_path: '/Users/Directory/example/FILE'
  register: result
```

## Valores retornados

| **Chave**   | **Tipo** | **Retornado quando** | **Descrição**                |
| ----------- | -------- | -------------------- | ---------------------------- |
| data <br /> | dict     | Sucesso              | Resultado do scan executado. |
| type<br />  |          | Sucesso              | Url, arquivo, dominio ou ip  |
| id          |          | Sucesso              | Id do item verificado<br />  |
