---
title: FortiOS Waf Sub Class
slug: homologacao-atmosphere/fortios-waf-sub-class
description: Learn how to modify the "waf" resource and "sub_class" category using this comprehensive module summary. Discover how the "state" parameter determines object creation or removal, and explore the "waf_sub_class" parameter with its subfields like "id" and "
createdAt: 2022-02-04T12:02:52.000Z
---

## Resumo

- Este módulo permite modificar o recurso waf e a categoria sub\_class.

## Parâmetros

| **Parâmetro**      | **Tipo**   | **Escolhas \| Valor Padrão**                          | **Comentários**                                 |
| ------------------ | ---------- | ----------------------------------------------------- | ----------------------------------------------- |
| state - *required* | string     | Escolhas:<br />- present<br />(default)<br />- absent | Indica se o objeto deve ser criado ou removido. |
| waf\_sub\_class    | dictionary |                                                       | Tabela oculta para fonte de dados.              |



### Subcampos da opção waf\_sub\_class

| **Parâmetro**   | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários** |
| --------------- | -------- | ---------------------------- | --------------- |
| id - *required* | integer  |                              | Subclass ID.    |
| name            | string   |                              | Subclass Name.  |



## Exemplos

```yaml
# Exemplo: Tabela oculta para fonte de dados.
- fortios_waf_sub_class:
    host: "host"
    username: "username"
    password: "password"
    https: "False"
    state: "present"
    waf_sub_class:
      id:  "3"
      name: "default_name_4"
```



## Valores retornados

Este módulo extende os mesmos valores retornados do módulo base fortios.

