1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWebfilterUrlfilter
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectWebfilterUrlfilter

Explore with Pulumi AI

Configure URL filter lists.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • entries: fortimanager.ObjectWebfilterUrlfilterEntries

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectWebfilterUrlfilter("trname", {
    comment: "This is a Terraform example",
    fosid: 1,
    ipAddrBlock: "enable",
    oneArmIpsUrlfilter: "disable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectWebfilterUrlfilter("trname",
    comment="This is a Terraform example",
    fosid=1,
    ip_addr_block="enable",
    one_arm_ips_urlfilter="disable")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectWebfilterUrlfilter(ctx, "trname", &fortimanager.ObjectWebfilterUrlfilterArgs{
			Comment:            pulumi.String("This is a Terraform example"),
			Fosid:              pulumi.Float64(1),
			IpAddrBlock:        pulumi.String("enable"),
			OneArmIpsUrlfilter: pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectWebfilterUrlfilter("trname", new()
    {
        Comment = "This is a Terraform example",
        Fosid = 1,
        IpAddrBlock = "enable",
        OneArmIpsUrlfilter = "disable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectWebfilterUrlfilter;
import com.pulumi.fortimanager.ObjectWebfilterUrlfilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trname = new ObjectWebfilterUrlfilter("trname", ObjectWebfilterUrlfilterArgs.builder()
            .comment("This is a Terraform example")
            .fosid(1)
            .ipAddrBlock("enable")
            .oneArmIpsUrlfilter("disable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectWebfilterUrlfilter
    properties:
      comment: This is a Terraform example
      fosid: 1
      ipAddrBlock: enable
      oneArmIpsUrlfilter: disable
Copy

Create ObjectWebfilterUrlfilter Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectWebfilterUrlfilter(name: string, args?: ObjectWebfilterUrlfilterArgs, opts?: CustomResourceOptions);
@overload
def ObjectWebfilterUrlfilter(resource_name: str,
                             args: Optional[ObjectWebfilterUrlfilterArgs] = None,
                             opts: Optional[ResourceOptions] = None)

@overload
def ObjectWebfilterUrlfilter(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             adom: Optional[str] = None,
                             comment: Optional[str] = None,
                             dynamic_sort_subtable: Optional[str] = None,
                             entries: Optional[Sequence[ObjectWebfilterUrlfilterEntryArgs]] = None,
                             fosid: Optional[float] = None,
                             ip4_mapped_ip6: Optional[str] = None,
                             ip_addr_block: Optional[str] = None,
                             name: Optional[str] = None,
                             object_webfilter_urlfilter_id: Optional[str] = None,
                             one_arm_ips_urlfilter: Optional[str] = None,
                             scopetype: Optional[str] = None)
func NewObjectWebfilterUrlfilter(ctx *Context, name string, args *ObjectWebfilterUrlfilterArgs, opts ...ResourceOption) (*ObjectWebfilterUrlfilter, error)
public ObjectWebfilterUrlfilter(string name, ObjectWebfilterUrlfilterArgs? args = null, CustomResourceOptions? opts = null)
public ObjectWebfilterUrlfilter(String name, ObjectWebfilterUrlfilterArgs args)
public ObjectWebfilterUrlfilter(String name, ObjectWebfilterUrlfilterArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWebfilterUrlfilter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ObjectWebfilterUrlfilterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ObjectWebfilterUrlfilterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ObjectWebfilterUrlfilterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ObjectWebfilterUrlfilterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectWebfilterUrlfilterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var objectWebfilterUrlfilterResource = new Fortimanager.ObjectWebfilterUrlfilter("objectWebfilterUrlfilterResource", new()
{
    Adom = "string",
    Comment = "string",
    DynamicSortSubtable = "string",
    Entries = new[]
    {
        new Fortimanager.Inputs.ObjectWebfilterUrlfilterEntryArgs
        {
            Action = "string",
            AntiphishAction = "string",
            DnsAddressFamily = "string",
            Exempts = new[]
            {
                "string",
            },
            Id = 0,
            ReferrerHost = "string",
            Status = "string",
            Type = "string",
            Url = "string",
            WebProxyProfile = "string",
        },
    },
    Fosid = 0,
    Ip4MappedIp6 = "string",
    IpAddrBlock = "string",
    Name = "string",
    ObjectWebfilterUrlfilterId = "string",
    OneArmIpsUrlfilter = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectWebfilterUrlfilter(ctx, "objectWebfilterUrlfilterResource", &fortimanager.ObjectWebfilterUrlfilterArgs{
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Entries: .ObjectWebfilterUrlfilterEntryArray{
&.ObjectWebfilterUrlfilterEntryArgs{
Action: pulumi.String("string"),
AntiphishAction: pulumi.String("string"),
DnsAddressFamily: pulumi.String("string"),
Exempts: pulumi.StringArray{
pulumi.String("string"),
},
Id: pulumi.Float64(0),
ReferrerHost: pulumi.String("string"),
Status: pulumi.String("string"),
Type: pulumi.String("string"),
Url: pulumi.String("string"),
WebProxyProfile: pulumi.String("string"),
},
},
Fosid: pulumi.Float64(0),
Ip4MappedIp6: pulumi.String("string"),
IpAddrBlock: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectWebfilterUrlfilterId: pulumi.String("string"),
OneArmIpsUrlfilter: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectWebfilterUrlfilterResource = new ObjectWebfilterUrlfilter("objectWebfilterUrlfilterResource", ObjectWebfilterUrlfilterArgs.builder()
    .adom("string")
    .comment("string")
    .dynamicSortSubtable("string")
    .entries(ObjectWebfilterUrlfilterEntryArgs.builder()
        .action("string")
        .antiphishAction("string")
        .dnsAddressFamily("string")
        .exempts("string")
        .id(0)
        .referrerHost("string")
        .status("string")
        .type("string")
        .url("string")
        .webProxyProfile("string")
        .build())
    .fosid(0)
    .ip4MappedIp6("string")
    .ipAddrBlock("string")
    .name("string")
    .objectWebfilterUrlfilterId("string")
    .oneArmIpsUrlfilter("string")
    .scopetype("string")
    .build());
Copy
object_webfilter_urlfilter_resource = fortimanager.ObjectWebfilterUrlfilter("objectWebfilterUrlfilterResource",
    adom="string",
    comment="string",
    dynamic_sort_subtable="string",
    entries=[{
        "action": "string",
        "antiphish_action": "string",
        "dns_address_family": "string",
        "exempts": ["string"],
        "id": 0,
        "referrer_host": "string",
        "status": "string",
        "type": "string",
        "url": "string",
        "web_proxy_profile": "string",
    }],
    fosid=0,
    ip4_mapped_ip6="string",
    ip_addr_block="string",
    name="string",
    object_webfilter_urlfilter_id="string",
    one_arm_ips_urlfilter="string",
    scopetype="string")
Copy
const objectWebfilterUrlfilterResource = new fortimanager.ObjectWebfilterUrlfilter("objectWebfilterUrlfilterResource", {
    adom: "string",
    comment: "string",
    dynamicSortSubtable: "string",
    entries: [{
        action: "string",
        antiphishAction: "string",
        dnsAddressFamily: "string",
        exempts: ["string"],
        id: 0,
        referrerHost: "string",
        status: "string",
        type: "string",
        url: "string",
        webProxyProfile: "string",
    }],
    fosid: 0,
    ip4MappedIp6: "string",
    ipAddrBlock: "string",
    name: "string",
    objectWebfilterUrlfilterId: "string",
    oneArmIpsUrlfilter: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectWebfilterUrlfilter
properties:
    adom: string
    comment: string
    dynamicSortSubtable: string
    entries:
        - action: string
          antiphishAction: string
          dnsAddressFamily: string
          exempts:
            - string
          id: 0
          referrerHost: string
          status: string
          type: string
          url: string
          webProxyProfile: string
    fosid: 0
    ip4MappedIp6: string
    ipAddrBlock: string
    name: string
    objectWebfilterUrlfilterId: string
    oneArmIpsUrlfilter: string
    scopetype: string
Copy

ObjectWebfilterUrlfilter Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ObjectWebfilterUrlfilter resource accepts the following input properties:

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Entries List<ObjectWebfilterUrlfilterEntry>
Entries. The structure of entries block is documented below.
Fosid double
ID.
Ip4MappedIp6 string
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
IpAddrBlock string
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
Name string
Name of URL filter list.
ObjectWebfilterUrlfilterId string
an identifier for the resource with format {{fosid}}.
OneArmIpsUrlfilter string
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Entries []ObjectWebfilterUrlfilterEntryArgs
Entries. The structure of entries block is documented below.
Fosid float64
ID.
Ip4MappedIp6 string
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
IpAddrBlock string
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
Name string
Name of URL filter list.
ObjectWebfilterUrlfilterId string
an identifier for the resource with format {{fosid}}.
OneArmIpsUrlfilter string
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries List<ObjectWebfilterUrlfilterEntry>
Entries. The structure of entries block is documented below.
fosid Double
ID.
ip4MappedIp6 String
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
ipAddrBlock String
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
name String
Name of URL filter list.
objectWebfilterUrlfilterId String
an identifier for the resource with format {{fosid}}.
oneArmIpsUrlfilter String
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Optional comments.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries ObjectWebfilterUrlfilterEntry[]
Entries. The structure of entries block is documented below.
fosid number
ID.
ip4MappedIp6 string
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
ipAddrBlock string
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
name string
Name of URL filter list.
objectWebfilterUrlfilterId string
an identifier for the resource with format {{fosid}}.
oneArmIpsUrlfilter string
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Optional comments.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries Sequence[ObjectWebfilterUrlfilterEntryArgs]
Entries. The structure of entries block is documented below.
fosid float
ID.
ip4_mapped_ip6 str
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
ip_addr_block str
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
name str
Name of URL filter list.
object_webfilter_urlfilter_id str
an identifier for the resource with format {{fosid}}.
one_arm_ips_urlfilter str
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries List<Property Map>
Entries. The structure of entries block is documented below.
fosid Number
ID.
ip4MappedIp6 String
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
ipAddrBlock String
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
name String
Name of URL filter list.
objectWebfilterUrlfilterId String
an identifier for the resource with format {{fosid}}.
oneArmIpsUrlfilter String
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectWebfilterUrlfilter resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ObjectWebfilterUrlfilter Resource

Get an existing ObjectWebfilterUrlfilter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ObjectWebfilterUrlfilterState, opts?: CustomResourceOptions): ObjectWebfilterUrlfilter
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        entries: Optional[Sequence[ObjectWebfilterUrlfilterEntryArgs]] = None,
        fosid: Optional[float] = None,
        ip4_mapped_ip6: Optional[str] = None,
        ip_addr_block: Optional[str] = None,
        name: Optional[str] = None,
        object_webfilter_urlfilter_id: Optional[str] = None,
        one_arm_ips_urlfilter: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectWebfilterUrlfilter
func GetObjectWebfilterUrlfilter(ctx *Context, name string, id IDInput, state *ObjectWebfilterUrlfilterState, opts ...ResourceOption) (*ObjectWebfilterUrlfilter, error)
public static ObjectWebfilterUrlfilter Get(string name, Input<string> id, ObjectWebfilterUrlfilterState? state, CustomResourceOptions? opts = null)
public static ObjectWebfilterUrlfilter get(String name, Output<String> id, ObjectWebfilterUrlfilterState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWebfilterUrlfilter    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Entries List<ObjectWebfilterUrlfilterEntry>
Entries. The structure of entries block is documented below.
Fosid double
ID.
Ip4MappedIp6 string
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
IpAddrBlock string
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
Name string
Name of URL filter list.
ObjectWebfilterUrlfilterId string
an identifier for the resource with format {{fosid}}.
OneArmIpsUrlfilter string
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Entries []ObjectWebfilterUrlfilterEntryArgs
Entries. The structure of entries block is documented below.
Fosid float64
ID.
Ip4MappedIp6 string
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
IpAddrBlock string
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
Name string
Name of URL filter list.
ObjectWebfilterUrlfilterId string
an identifier for the resource with format {{fosid}}.
OneArmIpsUrlfilter string
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries List<ObjectWebfilterUrlfilterEntry>
Entries. The structure of entries block is documented below.
fosid Double
ID.
ip4MappedIp6 String
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
ipAddrBlock String
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
name String
Name of URL filter list.
objectWebfilterUrlfilterId String
an identifier for the resource with format {{fosid}}.
oneArmIpsUrlfilter String
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Optional comments.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries ObjectWebfilterUrlfilterEntry[]
Entries. The structure of entries block is documented below.
fosid number
ID.
ip4MappedIp6 string
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
ipAddrBlock string
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
name string
Name of URL filter list.
objectWebfilterUrlfilterId string
an identifier for the resource with format {{fosid}}.
oneArmIpsUrlfilter string
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Optional comments.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries Sequence[ObjectWebfilterUrlfilterEntryArgs]
Entries. The structure of entries block is documented below.
fosid float
ID.
ip4_mapped_ip6 str
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
ip_addr_block str
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
name str
Name of URL filter list.
object_webfilter_urlfilter_id str
an identifier for the resource with format {{fosid}}.
one_arm_ips_urlfilter str
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries List<Property Map>
Entries. The structure of entries block is documented below.
fosid Number
ID.
ip4MappedIp6 String
Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: disable, enable.
ipAddrBlock String
Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: disable, enable.
name String
Name of URL filter list.
objectWebfilterUrlfilterId String
an identifier for the resource with format {{fosid}}.
oneArmIpsUrlfilter String
Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Supporting Types

ObjectWebfilterUrlfilterEntry
, ObjectWebfilterUrlfilterEntryArgs

Action string
Action to take for URL filter matches. Valid values: exempt, block, allow, monitor, pass.
AntiphishAction string
Action to take for AntiPhishing matches. Valid values: block, log.
DnsAddressFamily string
Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
Exempts List<string>
If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space. Valid values: av, web-content, activex-java-cookie, dlp, fortiguard, all, filepattern, pass, range-block, antiphish.
Id double
Id.
ReferrerHost string
Referrer host name.
Status string
Enable/disable this URL filter. Valid values: disable, enable.
Type string
Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
Url string
URL to be filtered.
WebProxyProfile string
Web proxy profile.
Action string
Action to take for URL filter matches. Valid values: exempt, block, allow, monitor, pass.
AntiphishAction string
Action to take for AntiPhishing matches. Valid values: block, log.
DnsAddressFamily string
Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
Exempts []string
If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space. Valid values: av, web-content, activex-java-cookie, dlp, fortiguard, all, filepattern, pass, range-block, antiphish.
Id float64
Id.
ReferrerHost string
Referrer host name.
Status string
Enable/disable this URL filter. Valid values: disable, enable.
Type string
Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
Url string
URL to be filtered.
WebProxyProfile string
Web proxy profile.
action String
Action to take for URL filter matches. Valid values: exempt, block, allow, monitor, pass.
antiphishAction String
Action to take for AntiPhishing matches. Valid values: block, log.
dnsAddressFamily String
Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
exempts List<String>
If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space. Valid values: av, web-content, activex-java-cookie, dlp, fortiguard, all, filepattern, pass, range-block, antiphish.
id Double
Id.
referrerHost String
Referrer host name.
status String
Enable/disable this URL filter. Valid values: disable, enable.
type String
Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
url String
URL to be filtered.
webProxyProfile String
Web proxy profile.
action string
Action to take for URL filter matches. Valid values: exempt, block, allow, monitor, pass.
antiphishAction string
Action to take for AntiPhishing matches. Valid values: block, log.
dnsAddressFamily string
Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
exempts string[]
If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space. Valid values: av, web-content, activex-java-cookie, dlp, fortiguard, all, filepattern, pass, range-block, antiphish.
id number
Id.
referrerHost string
Referrer host name.
status string
Enable/disable this URL filter. Valid values: disable, enable.
type string
Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
url string
URL to be filtered.
webProxyProfile string
Web proxy profile.
action str
Action to take for URL filter matches. Valid values: exempt, block, allow, monitor, pass.
antiphish_action str
Action to take for AntiPhishing matches. Valid values: block, log.
dns_address_family str
Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
exempts Sequence[str]
If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space. Valid values: av, web-content, activex-java-cookie, dlp, fortiguard, all, filepattern, pass, range-block, antiphish.
id float
Id.
referrer_host str
Referrer host name.
status str
Enable/disable this URL filter. Valid values: disable, enable.
type str
Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
url str
URL to be filtered.
web_proxy_profile str
Web proxy profile.
action String
Action to take for URL filter matches. Valid values: exempt, block, allow, monitor, pass.
antiphishAction String
Action to take for AntiPhishing matches. Valid values: block, log.
dnsAddressFamily String
Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
exempts List<String>
If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space. Valid values: av, web-content, activex-java-cookie, dlp, fortiguard, all, filepattern, pass, range-block, antiphish.
id Number
Id.
referrerHost String
Referrer host name.
status String
Enable/disable this URL filter. Valid values: disable, enable.
type String
Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
url String
URL to be filtered.
webProxyProfile String
Web proxy profile.

Import

ObjectWebfilter Urlfilter can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWebfilterUrlfilter:ObjectWebfilterUrlfilter labelname {{fosid}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.