» panos_application_object

This resource allows you to add/update/delete application objects.

» Import Name

<vsys>:<name>

» Example Usage

resource "panos_application_object" "example" {
    name = "myApp"
    description = "made by terraform"
    category = "media"
    subcategory = "gaming"
    technology = "browser-based"
    defaults {
        port {
            ports = [
                "udp/dynamic",
            ]
        }
    }
    risk = 4
    scanning {
        viruses = true
    }
}

» Argument Reference

The following arguments are supported:

defaults supports the following arguments:

  • port - (Optional) The port spec (defined below)
  • ip_protocol - (Optional) The ip protocol spec (defined below)
  • icmp - (Optional) The ICMP spec (defined below)
  • icmp6 - (Optional) The ICMP6 spec (defined below)

defaults.port supports the following arguments:

  • ports - (Required) List of ports.

defaults.ip_protocol supports the following arguments:

  • value - (Required, int) The IP protocol value.

defaults.icmp supports the following arguments:

  • type - (Required, int) The type.
  • code - (Optional, int) The code.

defaults.icmp6 supports the following arguments:

  • type - (Required, int) The type.
  • code - (Optional, int) The code.

timeout_settings supports the following arguments:

scanning supports the following arguments:

  • file_types - (Optional, bool) File type scanning.
  • viruses - (Optional, bool) Virus scanning.
  • data_patterns - (Optional, bool) Data pattern scanning.