1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWafProfileUrlaccess
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectWafProfileUrlaccess

Explore with Pulumi AI

URL access list

This resource is a sub resource for variable url_access of resource fortimanager.ObjectWafProfile. Conflict and overwrite may occur if use both of them. The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • access_pattern: fortimanager.ObjectWafProfileUrlaccessAccesspattern

Example Usage

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

const trnameObjectWafProfile = new fortimanager.ObjectWafProfile("trnameObjectWafProfile", {});
const trnameObjectWafProfileUrlaccess = new fortimanager.ObjectWafProfileUrlaccess("trnameObjectWafProfileUrlaccess", {
    fosid: 12,
    log: "enable",
    severity: "high",
    profile: trnameObjectWafProfile.name,
}, {
    dependsOn: [trnameObjectWafProfile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_waf_profile = fortimanager.ObjectWafProfile("trnameObjectWafProfile")
trname_object_waf_profile_urlaccess = fortimanager.ObjectWafProfileUrlaccess("trnameObjectWafProfileUrlaccess",
    fosid=12,
    log="enable",
    severity="high",
    profile=trname_object_waf_profile.name,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_waf_profile]))
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 {
		trnameObjectWafProfile, err := fortimanager.NewObjectWafProfile(ctx, "trnameObjectWafProfile", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectWafProfileUrlaccess(ctx, "trnameObjectWafProfileUrlaccess", &fortimanager.ObjectWafProfileUrlaccessArgs{
			Fosid:    pulumi.Float64(12),
			Log:      pulumi.String("enable"),
			Severity: pulumi.String("high"),
			Profile:  trnameObjectWafProfile.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectWafProfile,
		}))
		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 trnameObjectWafProfile = new Fortimanager.ObjectWafProfile("trnameObjectWafProfile");

    var trnameObjectWafProfileUrlaccess = new Fortimanager.ObjectWafProfileUrlaccess("trnameObjectWafProfileUrlaccess", new()
    {
        Fosid = 12,
        Log = "enable",
        Severity = "high",
        Profile = trnameObjectWafProfile.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectWafProfile,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectWafProfile;
import com.pulumi.fortimanager.ObjectWafProfileUrlaccess;
import com.pulumi.fortimanager.ObjectWafProfileUrlaccessArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trnameObjectWafProfile = new ObjectWafProfile("trnameObjectWafProfile");

        var trnameObjectWafProfileUrlaccess = new ObjectWafProfileUrlaccess("trnameObjectWafProfileUrlaccess", ObjectWafProfileUrlaccessArgs.builder()
            .fosid(12)
            .log("enable")
            .severity("high")
            .profile(trnameObjectWafProfile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectWafProfile)
                .build());

    }
}
Copy
resources:
  trnameObjectWafProfileUrlaccess:
    type: fortimanager:ObjectWafProfileUrlaccess
    properties:
      fosid: 12
      log: enable
      severity: high
      profile: ${trnameObjectWafProfile.name}
    options:
      dependsOn:
        - ${trnameObjectWafProfile}
  trnameObjectWafProfile:
    type: fortimanager:ObjectWafProfile
Copy

Create ObjectWafProfileUrlaccess Resource

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

Constructor syntax

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

@overload
def ObjectWafProfileUrlaccess(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              profile: Optional[str] = None,
                              access_patterns: Optional[Sequence[ObjectWafProfileUrlaccessAccessPatternArgs]] = None,
                              action: Optional[str] = None,
                              address: Optional[str] = None,
                              adom: Optional[str] = None,
                              dynamic_sort_subtable: Optional[str] = None,
                              fosid: Optional[float] = None,
                              log: Optional[str] = None,
                              object_waf_profile_urlaccess_id: Optional[str] = None,
                              scopetype: Optional[str] = None,
                              severity: Optional[str] = None)
func NewObjectWafProfileUrlaccess(ctx *Context, name string, args ObjectWafProfileUrlaccessArgs, opts ...ResourceOption) (*ObjectWafProfileUrlaccess, error)
public ObjectWafProfileUrlaccess(string name, ObjectWafProfileUrlaccessArgs args, CustomResourceOptions? opts = null)
public ObjectWafProfileUrlaccess(String name, ObjectWafProfileUrlaccessArgs args)
public ObjectWafProfileUrlaccess(String name, ObjectWafProfileUrlaccessArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWafProfileUrlaccess
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 This property is required. ObjectWafProfileUrlaccessArgs
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 This property is required. ObjectWafProfileUrlaccessArgs
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 This property is required. ObjectWafProfileUrlaccessArgs
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 This property is required. ObjectWafProfileUrlaccessArgs
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. ObjectWafProfileUrlaccessArgs
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 objectWafProfileUrlaccessResource = new Fortimanager.ObjectWafProfileUrlaccess("objectWafProfileUrlaccessResource", new()
{
    Profile = "string",
    AccessPatterns = new[]
    {
        new Fortimanager.Inputs.ObjectWafProfileUrlaccessAccessPatternArgs
        {
            Id = 0,
            Negate = "string",
            Pattern = "string",
            Regex = "string",
            Srcaddr = "string",
        },
    },
    Action = "string",
    Address = "string",
    Adom = "string",
    DynamicSortSubtable = "string",
    Fosid = 0,
    Log = "string",
    ObjectWafProfileUrlaccessId = "string",
    Scopetype = "string",
    Severity = "string",
});
Copy
example, err := fortimanager.NewObjectWafProfileUrlaccess(ctx, "objectWafProfileUrlaccessResource", &fortimanager.ObjectWafProfileUrlaccessArgs{
Profile: pulumi.String("string"),
AccessPatterns: .ObjectWafProfileUrlaccessAccessPatternTypeArray{
&.ObjectWafProfileUrlaccessAccessPatternTypeArgs{
Id: pulumi.Float64(0),
Negate: pulumi.String("string"),
Pattern: pulumi.String("string"),
Regex: pulumi.String("string"),
Srcaddr: pulumi.String("string"),
},
},
Action: pulumi.String("string"),
Address: pulumi.String("string"),
Adom: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Log: pulumi.String("string"),
ObjectWafProfileUrlaccessId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Severity: pulumi.String("string"),
})
Copy
var objectWafProfileUrlaccessResource = new ObjectWafProfileUrlaccess("objectWafProfileUrlaccessResource", ObjectWafProfileUrlaccessArgs.builder()
    .profile("string")
    .accessPatterns(ObjectWafProfileUrlaccessAccessPatternArgs.builder()
        .id(0)
        .negate("string")
        .pattern("string")
        .regex("string")
        .srcaddr("string")
        .build())
    .action("string")
    .address("string")
    .adom("string")
    .dynamicSortSubtable("string")
    .fosid(0)
    .log("string")
    .objectWafProfileUrlaccessId("string")
    .scopetype("string")
    .severity("string")
    .build());
Copy
object_waf_profile_urlaccess_resource = fortimanager.ObjectWafProfileUrlaccess("objectWafProfileUrlaccessResource",
    profile="string",
    access_patterns=[{
        "id": 0,
        "negate": "string",
        "pattern": "string",
        "regex": "string",
        "srcaddr": "string",
    }],
    action="string",
    address="string",
    adom="string",
    dynamic_sort_subtable="string",
    fosid=0,
    log="string",
    object_waf_profile_urlaccess_id="string",
    scopetype="string",
    severity="string")
Copy
const objectWafProfileUrlaccessResource = new fortimanager.ObjectWafProfileUrlaccess("objectWafProfileUrlaccessResource", {
    profile: "string",
    accessPatterns: [{
        id: 0,
        negate: "string",
        pattern: "string",
        regex: "string",
        srcaddr: "string",
    }],
    action: "string",
    address: "string",
    adom: "string",
    dynamicSortSubtable: "string",
    fosid: 0,
    log: "string",
    objectWafProfileUrlaccessId: "string",
    scopetype: "string",
    severity: "string",
});
Copy
type: fortimanager:ObjectWafProfileUrlaccess
properties:
    accessPatterns:
        - id: 0
          negate: string
          pattern: string
          regex: string
          srcaddr: string
    action: string
    address: string
    adom: string
    dynamicSortSubtable: string
    fosid: 0
    log: string
    objectWafProfileUrlaccessId: string
    profile: string
    scopetype: string
    severity: string
Copy

ObjectWafProfileUrlaccess 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 ObjectWafProfileUrlaccess resource accepts the following input properties:

Profile This property is required. string
Profile.
AccessPatterns List<ObjectWafProfileUrlaccessAccessPattern>
Access-Pattern. The structure of access_pattern block is documented below.
Action string
Action. Valid values: bypass, permit, block.
Address string
Host address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
Fosid double
URL access ID.
Log string
Enable/disable logging. Valid values: disable, enable.
ObjectWafProfileUrlaccessId string
an identifier for the resource with format {{fosid}}.
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.
Severity string
Severity. Valid values: low, medium, high.
Profile This property is required. string
Profile.
AccessPatterns []ObjectWafProfileUrlaccessAccessPatternTypeArgs
Access-Pattern. The structure of access_pattern block is documented below.
Action string
Action. Valid values: bypass, permit, block.
Address string
Host address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
Fosid float64
URL access ID.
Log string
Enable/disable logging. Valid values: disable, enable.
ObjectWafProfileUrlaccessId string
an identifier for the resource with format {{fosid}}.
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.
Severity string
Severity. Valid values: low, medium, high.
profile This property is required. String
Profile.
accessPatterns List<ObjectWafProfileUrlaccessAccessPattern>
Access-Pattern. The structure of access_pattern block is documented below.
action String
Action. Valid values: bypass, permit, block.
address String
Host address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
fosid Double
URL access ID.
log String
Enable/disable logging. Valid values: disable, enable.
objectWafProfileUrlaccessId String
an identifier for the resource with format {{fosid}}.
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.
severity String
Severity. Valid values: low, medium, high.
profile This property is required. string
Profile.
accessPatterns ObjectWafProfileUrlaccessAccessPattern[]
Access-Pattern. The structure of access_pattern block is documented below.
action string
Action. Valid values: bypass, permit, block.
address string
Host address.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
fosid number
URL access ID.
log string
Enable/disable logging. Valid values: disable, enable.
objectWafProfileUrlaccessId string
an identifier for the resource with format {{fosid}}.
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.
severity string
Severity. Valid values: low, medium, high.
profile This property is required. str
Profile.
access_patterns Sequence[ObjectWafProfileUrlaccessAccessPatternArgs]
Access-Pattern. The structure of access_pattern block is documented below.
action str
Action. Valid values: bypass, permit, block.
address str
Host address.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
fosid float
URL access ID.
log str
Enable/disable logging. Valid values: disable, enable.
object_waf_profile_urlaccess_id str
an identifier for the resource with format {{fosid}}.
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.
severity str
Severity. Valid values: low, medium, high.
profile This property is required. String
Profile.
accessPatterns List<Property Map>
Access-Pattern. The structure of access_pattern block is documented below.
action String
Action. Valid values: bypass, permit, block.
address String
Host address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
fosid Number
URL access ID.
log String
Enable/disable logging. Valid values: disable, enable.
objectWafProfileUrlaccessId String
an identifier for the resource with format {{fosid}}.
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.
severity String
Severity. Valid values: low, medium, high.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectWafProfileUrlaccess 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 ObjectWafProfileUrlaccess Resource

Get an existing ObjectWafProfileUrlaccess 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?: ObjectWafProfileUrlaccessState, opts?: CustomResourceOptions): ObjectWafProfileUrlaccess
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_patterns: Optional[Sequence[ObjectWafProfileUrlaccessAccessPatternArgs]] = None,
        action: Optional[str] = None,
        address: Optional[str] = None,
        adom: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        fosid: Optional[float] = None,
        log: Optional[str] = None,
        object_waf_profile_urlaccess_id: Optional[str] = None,
        profile: Optional[str] = None,
        scopetype: Optional[str] = None,
        severity: Optional[str] = None) -> ObjectWafProfileUrlaccess
func GetObjectWafProfileUrlaccess(ctx *Context, name string, id IDInput, state *ObjectWafProfileUrlaccessState, opts ...ResourceOption) (*ObjectWafProfileUrlaccess, error)
public static ObjectWafProfileUrlaccess Get(string name, Input<string> id, ObjectWafProfileUrlaccessState? state, CustomResourceOptions? opts = null)
public static ObjectWafProfileUrlaccess get(String name, Output<String> id, ObjectWafProfileUrlaccessState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWafProfileUrlaccess    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:
AccessPatterns List<ObjectWafProfileUrlaccessAccessPattern>
Access-Pattern. The structure of access_pattern block is documented below.
Action string
Action. Valid values: bypass, permit, block.
Address string
Host address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
Fosid double
URL access ID.
Log string
Enable/disable logging. Valid values: disable, enable.
ObjectWafProfileUrlaccessId string
an identifier for the resource with format {{fosid}}.
Profile string
Profile.
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.
Severity string
Severity. Valid values: low, medium, high.
AccessPatterns []ObjectWafProfileUrlaccessAccessPatternTypeArgs
Access-Pattern. The structure of access_pattern block is documented below.
Action string
Action. Valid values: bypass, permit, block.
Address string
Host address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
Fosid float64
URL access ID.
Log string
Enable/disable logging. Valid values: disable, enable.
ObjectWafProfileUrlaccessId string
an identifier for the resource with format {{fosid}}.
Profile string
Profile.
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.
Severity string
Severity. Valid values: low, medium, high.
accessPatterns List<ObjectWafProfileUrlaccessAccessPattern>
Access-Pattern. The structure of access_pattern block is documented below.
action String
Action. Valid values: bypass, permit, block.
address String
Host address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
fosid Double
URL access ID.
log String
Enable/disable logging. Valid values: disable, enable.
objectWafProfileUrlaccessId String
an identifier for the resource with format {{fosid}}.
profile String
Profile.
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.
severity String
Severity. Valid values: low, medium, high.
accessPatterns ObjectWafProfileUrlaccessAccessPattern[]
Access-Pattern. The structure of access_pattern block is documented below.
action string
Action. Valid values: bypass, permit, block.
address string
Host address.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
fosid number
URL access ID.
log string
Enable/disable logging. Valid values: disable, enable.
objectWafProfileUrlaccessId string
an identifier for the resource with format {{fosid}}.
profile string
Profile.
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.
severity string
Severity. Valid values: low, medium, high.
access_patterns Sequence[ObjectWafProfileUrlaccessAccessPatternArgs]
Access-Pattern. The structure of access_pattern block is documented below.
action str
Action. Valid values: bypass, permit, block.
address str
Host address.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
fosid float
URL access ID.
log str
Enable/disable logging. Valid values: disable, enable.
object_waf_profile_urlaccess_id str
an identifier for the resource with format {{fosid}}.
profile str
Profile.
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.
severity str
Severity. Valid values: low, medium, high.
accessPatterns List<Property Map>
Access-Pattern. The structure of access_pattern block is documented below.
action String
Action. Valid values: bypass, permit, block.
address String
Host address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
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.
fosid Number
URL access ID.
log String
Enable/disable logging. Valid values: disable, enable.
objectWafProfileUrlaccessId String
an identifier for the resource with format {{fosid}}.
profile String
Profile.
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.
severity String
Severity. Valid values: low, medium, high.

Supporting Types

ObjectWafProfileUrlaccessAccessPattern
, ObjectWafProfileUrlaccessAccessPatternArgs

Id double
URL access pattern ID.
Negate string
Enable/disable match negation. Valid values: disable, enable.
Pattern string
URL pattern.
Regex string
Enable/disable regular expression based pattern match. Valid values: disable, enable.
Srcaddr string
Source address.
Id float64
URL access pattern ID.
Negate string
Enable/disable match negation. Valid values: disable, enable.
Pattern string
URL pattern.
Regex string
Enable/disable regular expression based pattern match. Valid values: disable, enable.
Srcaddr string
Source address.
id Double
URL access pattern ID.
negate String
Enable/disable match negation. Valid values: disable, enable.
pattern String
URL pattern.
regex String
Enable/disable regular expression based pattern match. Valid values: disable, enable.
srcaddr String
Source address.
id number
URL access pattern ID.
negate string
Enable/disable match negation. Valid values: disable, enable.
pattern string
URL pattern.
regex string
Enable/disable regular expression based pattern match. Valid values: disable, enable.
srcaddr string
Source address.
id float
URL access pattern ID.
negate str
Enable/disable match negation. Valid values: disable, enable.
pattern str
URL pattern.
regex str
Enable/disable regular expression based pattern match. Valid values: disable, enable.
srcaddr str
Source address.
id Number
URL access pattern ID.
negate String
Enable/disable match negation. Valid values: disable, enable.
pattern String
URL pattern.
regex String
Enable/disable regular expression based pattern match. Valid values: disable, enable.
srcaddr String
Source address.

Import

ObjectWaf ProfileUrlAccess can be imported using any of these accepted formats:

Set import_options = [“profile=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWafProfileUrlaccess:ObjectWafProfileUrlaccess 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.