---
title: Scan File
slug: homologacao-atmosphere/scan-file
description: Learn about the "postman_scan_file" module in this document. Discover how to use the module, including the required input_file parameter and optional async parameter. Find out what values the module returns, such as file ID, user ID, file name, request st
createdAt: 2022-09-01T17:36:58.000Z
---

## Resumo

-

## Parâmetros

| **Parâmetro**     | **Requerido** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**                                     |
| ----------------- | ------------- | -------- | ---------------------------- | --------------------------------------------------- |
| input\_file<br /> | Sim           | string   |                              | Path do arquivo a ser checado.                      |
| async             | Não           | string   |                              | Se vai ou não esperar pela resposta do server<br /> |

Utiliza parâmetros do módulo Base Postman.

## Exemplos

```yaml
- name: Scan File
  postman_scan_file:
    app_id: 'xxx-xxx-xxx'
    secret_key: 'xxx-xxx-xxx'
    async: False
    input_file: '/file_path/example'
  register: result
```

## Valores retornados

| **Chave**     | **Tipo**     | **Retornado quando** | **Descrição**                     |
| ------------- | ------------ | -------------------- | --------------------------------- |
| id <br />     | string       | Sucesso              | Id do arquivo                     |
| userId<br />  | string       | Sucesso              | Id do user                        |
| fileName      | string       | Sucesso              | Nome do arquivo<br />             |
| startedAt     | string<br /> | Sucesso              | Hora que o request foi feito      |
| finishedAt    | string<br /> | Sucesso              | Hora que o request for respondido |
| status        | string<br /> | Sucesso              | Status                            |
| userIpAddress | string<br /> | Sucesso              | Ip address do usuario             |

