1. Packages
  2. Fortios
  3. API Docs
  4. waf
  5. Profile
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.waf.Profile

Explore with Pulumi AI

Web application firewall configuration.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";

const trname = new fortios.waf.Profile("trname", {
    extendedLog: "disable",
    external: "disable",
});
Copy
import pulumi
import pulumiverse_fortios as fortios

trname = fortios.waf.Profile("trname",
    extended_log="disable",
    external="disable")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/waf"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := waf.NewProfile(ctx, "trname", &waf.ProfileArgs{
			ExtendedLog: pulumi.String("disable"),
			External:    pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortios.Waf.Profile("trname", new()
    {
        ExtendedLog = "disable",
        External = "disable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.waf.Profile;
import com.pulumi.fortios.waf.ProfileArgs;
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 Profile("trname", ProfileArgs.builder()
            .extendedLog("disable")
            .external("disable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortios:waf:Profile
    properties:
      extendedLog: disable
      external: disable
Copy

Create Profile Resource

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

Constructor syntax

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

@overload
def Profile(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            address_list: Optional[ProfileAddressListArgs] = None,
            comment: Optional[str] = None,
            constraint: Optional[ProfileConstraintArgs] = None,
            dynamic_sort_subtable: Optional[str] = None,
            extended_log: Optional[str] = None,
            external: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            method: Optional[ProfileMethodArgs] = None,
            name: Optional[str] = None,
            signature: Optional[ProfileSignatureArgs] = None,
            url_accesses: Optional[Sequence[ProfileUrlAccessArgs]] = None,
            vdomparam: Optional[str] = None)
func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: fortios:waf:Profile
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 ProfileArgs
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 ProfileArgs
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 ProfileArgs
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 ProfileArgs
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. ProfileArgs
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 exampleprofileResourceResourceFromWafprofile = new Fortios.Waf.Profile("exampleprofileResourceResourceFromWafprofile", new()
{
    AddressList = new Fortios.Waf.Inputs.ProfileAddressListArgs
    {
        BlockedAddresses = new[]
        {
            new Fortios.Waf.Inputs.ProfileAddressListBlockedAddressArgs
            {
                Name = "string",
            },
        },
        BlockedLog = "string",
        Severity = "string",
        Status = "string",
        TrustedAddresses = new[]
        {
            new Fortios.Waf.Inputs.ProfileAddressListTrustedAddressArgs
            {
                Name = "string",
            },
        },
    },
    Comment = "string",
    Constraint = new Fortios.Waf.Inputs.ProfileConstraintArgs
    {
        ContentLength = new Fortios.Waf.Inputs.ProfileConstraintContentLengthArgs
        {
            Action = "string",
            Length = 0,
            Log = "string",
            Severity = "string",
            Status = "string",
        },
        Exceptions = new[]
        {
            new Fortios.Waf.Inputs.ProfileConstraintExceptionArgs
            {
                Address = "string",
                ContentLength = "string",
                HeaderLength = "string",
                Hostname = "string",
                Id = 0,
                LineLength = "string",
                Malformed = "string",
                MaxCookie = "string",
                MaxHeaderLine = "string",
                MaxRangeSegment = "string",
                MaxUrlParam = "string",
                Method = "string",
                ParamLength = "string",
                Pattern = "string",
                Regex = "string",
                UrlParamLength = "string",
                Version = "string",
            },
        },
        HeaderLength = new Fortios.Waf.Inputs.ProfileConstraintHeaderLengthArgs
        {
            Action = "string",
            Length = 0,
            Log = "string",
            Severity = "string",
            Status = "string",
        },
        Hostname = new Fortios.Waf.Inputs.ProfileConstraintHostnameArgs
        {
            Action = "string",
            Log = "string",
            Severity = "string",
            Status = "string",
        },
        LineLength = new Fortios.Waf.Inputs.ProfileConstraintLineLengthArgs
        {
            Action = "string",
            Length = 0,
            Log = "string",
            Severity = "string",
            Status = "string",
        },
        Malformed = new Fortios.Waf.Inputs.ProfileConstraintMalformedArgs
        {
            Action = "string",
            Log = "string",
            Severity = "string",
            Status = "string",
        },
        MaxCookie = new Fortios.Waf.Inputs.ProfileConstraintMaxCookieArgs
        {
            Action = "string",
            Log = "string",
            MaxCookie = 0,
            Severity = "string",
            Status = "string",
        },
        MaxHeaderLine = new Fortios.Waf.Inputs.ProfileConstraintMaxHeaderLineArgs
        {
            Action = "string",
            Log = "string",
            MaxHeaderLine = 0,
            Severity = "string",
            Status = "string",
        },
        MaxRangeSegment = new Fortios.Waf.Inputs.ProfileConstraintMaxRangeSegmentArgs
        {
            Action = "string",
            Log = "string",
            MaxRangeSegment = 0,
            Severity = "string",
            Status = "string",
        },
        MaxUrlParam = new Fortios.Waf.Inputs.ProfileConstraintMaxUrlParamArgs
        {
            Action = "string",
            Log = "string",
            MaxUrlParam = 0,
            Severity = "string",
            Status = "string",
        },
        Method = new Fortios.Waf.Inputs.ProfileConstraintMethodArgs
        {
            Action = "string",
            Log = "string",
            Severity = "string",
            Status = "string",
        },
        ParamLength = new Fortios.Waf.Inputs.ProfileConstraintParamLengthArgs
        {
            Action = "string",
            Length = 0,
            Log = "string",
            Severity = "string",
            Status = "string",
        },
        UrlParamLength = new Fortios.Waf.Inputs.ProfileConstraintUrlParamLengthArgs
        {
            Action = "string",
            Length = 0,
            Log = "string",
            Severity = "string",
            Status = "string",
        },
        Version = new Fortios.Waf.Inputs.ProfileConstraintVersionArgs
        {
            Action = "string",
            Log = "string",
            Severity = "string",
            Status = "string",
        },
    },
    DynamicSortSubtable = "string",
    ExtendedLog = "string",
    External = "string",
    GetAllTables = "string",
    Method = new Fortios.Waf.Inputs.ProfileMethodArgs
    {
        DefaultAllowedMethods = "string",
        Log = "string",
        MethodPolicies = new[]
        {
            new Fortios.Waf.Inputs.ProfileMethodMethodPolicyArgs
            {
                Address = "string",
                AllowedMethods = "string",
                Id = 0,
                Pattern = "string",
                Regex = "string",
            },
        },
        Severity = "string",
        Status = "string",
    },
    Name = "string",
    Signature = new Fortios.Waf.Inputs.ProfileSignatureArgs
    {
        CreditCardDetectionThreshold = 0,
        CustomSignatures = new[]
        {
            new Fortios.Waf.Inputs.ProfileSignatureCustomSignatureArgs
            {
                Action = "string",
                CaseSensitivity = "string",
                Direction = "string",
                Log = "string",
                Name = "string",
                Pattern = "string",
                Severity = "string",
                Status = "string",
                Target = "string",
            },
        },
        DisabledSignatures = new[]
        {
            new Fortios.Waf.Inputs.ProfileSignatureDisabledSignatureArgs
            {
                Id = 0,
            },
        },
        DisabledSubClasses = new[]
        {
            new Fortios.Waf.Inputs.ProfileSignatureDisabledSubClassArgs
            {
                Id = 0,
            },
        },
        MainClasses = new[]
        {
            new Fortios.Waf.Inputs.ProfileSignatureMainClassArgs
            {
                Action = "string",
                Id = 0,
                Log = "string",
                Severity = "string",
                Status = "string",
            },
        },
    },
    UrlAccesses = new[]
    {
        new Fortios.Waf.Inputs.ProfileUrlAccessArgs
        {
            AccessPatterns = new[]
            {
                new Fortios.Waf.Inputs.ProfileUrlAccessAccessPatternArgs
                {
                    Id = 0,
                    Negate = "string",
                    Pattern = "string",
                    Regex = "string",
                    Srcaddr = "string",
                },
            },
            Action = "string",
            Address = "string",
            Id = 0,
            Log = "string",
            Severity = "string",
        },
    },
    Vdomparam = "string",
});
Copy
example, err := waf.NewProfile(ctx, "exampleprofileResourceResourceFromWafprofile", &waf.ProfileArgs{
	AddressList: &waf.ProfileAddressListArgs{
		BlockedAddresses: waf.ProfileAddressListBlockedAddressArray{
			&waf.ProfileAddressListBlockedAddressArgs{
				Name: pulumi.String("string"),
			},
		},
		BlockedLog: pulumi.String("string"),
		Severity:   pulumi.String("string"),
		Status:     pulumi.String("string"),
		TrustedAddresses: waf.ProfileAddressListTrustedAddressArray{
			&waf.ProfileAddressListTrustedAddressArgs{
				Name: pulumi.String("string"),
			},
		},
	},
	Comment: pulumi.String("string"),
	Constraint: &waf.ProfileConstraintArgs{
		ContentLength: &waf.ProfileConstraintContentLengthArgs{
			Action:   pulumi.String("string"),
			Length:   pulumi.Int(0),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
		Exceptions: waf.ProfileConstraintExceptionArray{
			&waf.ProfileConstraintExceptionArgs{
				Address:         pulumi.String("string"),
				ContentLength:   pulumi.String("string"),
				HeaderLength:    pulumi.String("string"),
				Hostname:        pulumi.String("string"),
				Id:              pulumi.Int(0),
				LineLength:      pulumi.String("string"),
				Malformed:       pulumi.String("string"),
				MaxCookie:       pulumi.String("string"),
				MaxHeaderLine:   pulumi.String("string"),
				MaxRangeSegment: pulumi.String("string"),
				MaxUrlParam:     pulumi.String("string"),
				Method:          pulumi.String("string"),
				ParamLength:     pulumi.String("string"),
				Pattern:         pulumi.String("string"),
				Regex:           pulumi.String("string"),
				UrlParamLength:  pulumi.String("string"),
				Version:         pulumi.String("string"),
			},
		},
		HeaderLength: &waf.ProfileConstraintHeaderLengthArgs{
			Action:   pulumi.String("string"),
			Length:   pulumi.Int(0),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
		Hostname: &waf.ProfileConstraintHostnameArgs{
			Action:   pulumi.String("string"),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
		LineLength: &waf.ProfileConstraintLineLengthArgs{
			Action:   pulumi.String("string"),
			Length:   pulumi.Int(0),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
		Malformed: &waf.ProfileConstraintMalformedArgs{
			Action:   pulumi.String("string"),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
		MaxCookie: &waf.ProfileConstraintMaxCookieArgs{
			Action:    pulumi.String("string"),
			Log:       pulumi.String("string"),
			MaxCookie: pulumi.Int(0),
			Severity:  pulumi.String("string"),
			Status:    pulumi.String("string"),
		},
		MaxHeaderLine: &waf.ProfileConstraintMaxHeaderLineArgs{
			Action:        pulumi.String("string"),
			Log:           pulumi.String("string"),
			MaxHeaderLine: pulumi.Int(0),
			Severity:      pulumi.String("string"),
			Status:        pulumi.String("string"),
		},
		MaxRangeSegment: &waf.ProfileConstraintMaxRangeSegmentArgs{
			Action:          pulumi.String("string"),
			Log:             pulumi.String("string"),
			MaxRangeSegment: pulumi.Int(0),
			Severity:        pulumi.String("string"),
			Status:          pulumi.String("string"),
		},
		MaxUrlParam: &waf.ProfileConstraintMaxUrlParamArgs{
			Action:      pulumi.String("string"),
			Log:         pulumi.String("string"),
			MaxUrlParam: pulumi.Int(0),
			Severity:    pulumi.String("string"),
			Status:      pulumi.String("string"),
		},
		Method: &waf.ProfileConstraintMethodArgs{
			Action:   pulumi.String("string"),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
		ParamLength: &waf.ProfileConstraintParamLengthArgs{
			Action:   pulumi.String("string"),
			Length:   pulumi.Int(0),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
		UrlParamLength: &waf.ProfileConstraintUrlParamLengthArgs{
			Action:   pulumi.String("string"),
			Length:   pulumi.Int(0),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
		Version: &waf.ProfileConstraintVersionArgs{
			Action:   pulumi.String("string"),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
			Status:   pulumi.String("string"),
		},
	},
	DynamicSortSubtable: pulumi.String("string"),
	ExtendedLog:         pulumi.String("string"),
	External:            pulumi.String("string"),
	GetAllTables:        pulumi.String("string"),
	Method: &waf.ProfileMethodArgs{
		DefaultAllowedMethods: pulumi.String("string"),
		Log:                   pulumi.String("string"),
		MethodPolicies: waf.ProfileMethodMethodPolicyArray{
			&waf.ProfileMethodMethodPolicyArgs{
				Address:        pulumi.String("string"),
				AllowedMethods: pulumi.String("string"),
				Id:             pulumi.Int(0),
				Pattern:        pulumi.String("string"),
				Regex:          pulumi.String("string"),
			},
		},
		Severity: pulumi.String("string"),
		Status:   pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Signature: &waf.ProfileSignatureArgs{
		CreditCardDetectionThreshold: pulumi.Int(0),
		CustomSignatures: waf.ProfileSignatureCustomSignatureArray{
			&waf.ProfileSignatureCustomSignatureArgs{
				Action:          pulumi.String("string"),
				CaseSensitivity: pulumi.String("string"),
				Direction:       pulumi.String("string"),
				Log:             pulumi.String("string"),
				Name:            pulumi.String("string"),
				Pattern:         pulumi.String("string"),
				Severity:        pulumi.String("string"),
				Status:          pulumi.String("string"),
				Target:          pulumi.String("string"),
			},
		},
		DisabledSignatures: waf.ProfileSignatureDisabledSignatureArray{
			&waf.ProfileSignatureDisabledSignatureArgs{
				Id: pulumi.Int(0),
			},
		},
		DisabledSubClasses: waf.ProfileSignatureDisabledSubClassArray{
			&waf.ProfileSignatureDisabledSubClassArgs{
				Id: pulumi.Int(0),
			},
		},
		MainClasses: waf.ProfileSignatureMainClassArray{
			&waf.ProfileSignatureMainClassArgs{
				Action:   pulumi.String("string"),
				Id:       pulumi.Int(0),
				Log:      pulumi.String("string"),
				Severity: pulumi.String("string"),
				Status:   pulumi.String("string"),
			},
		},
	},
	UrlAccesses: waf.ProfileUrlAccessArray{
		&waf.ProfileUrlAccessArgs{
			AccessPatterns: waf.ProfileUrlAccessAccessPatternArray{
				&waf.ProfileUrlAccessAccessPatternArgs{
					Id:      pulumi.Int(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"),
			Id:       pulumi.Int(0),
			Log:      pulumi.String("string"),
			Severity: pulumi.String("string"),
		},
	},
	Vdomparam: pulumi.String("string"),
})
Copy
var exampleprofileResourceResourceFromWafprofile = new Profile("exampleprofileResourceResourceFromWafprofile", ProfileArgs.builder()
    .addressList(ProfileAddressListArgs.builder()
        .blockedAddresses(ProfileAddressListBlockedAddressArgs.builder()
            .name("string")
            .build())
        .blockedLog("string")
        .severity("string")
        .status("string")
        .trustedAddresses(ProfileAddressListTrustedAddressArgs.builder()
            .name("string")
            .build())
        .build())
    .comment("string")
    .constraint(ProfileConstraintArgs.builder()
        .contentLength(ProfileConstraintContentLengthArgs.builder()
            .action("string")
            .length(0)
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .exceptions(ProfileConstraintExceptionArgs.builder()
            .address("string")
            .contentLength("string")
            .headerLength("string")
            .hostname("string")
            .id(0)
            .lineLength("string")
            .malformed("string")
            .maxCookie("string")
            .maxHeaderLine("string")
            .maxRangeSegment("string")
            .maxUrlParam("string")
            .method("string")
            .paramLength("string")
            .pattern("string")
            .regex("string")
            .urlParamLength("string")
            .version("string")
            .build())
        .headerLength(ProfileConstraintHeaderLengthArgs.builder()
            .action("string")
            .length(0)
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .hostname(ProfileConstraintHostnameArgs.builder()
            .action("string")
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .lineLength(ProfileConstraintLineLengthArgs.builder()
            .action("string")
            .length(0)
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .malformed(ProfileConstraintMalformedArgs.builder()
            .action("string")
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .maxCookie(ProfileConstraintMaxCookieArgs.builder()
            .action("string")
            .log("string")
            .maxCookie(0)
            .severity("string")
            .status("string")
            .build())
        .maxHeaderLine(ProfileConstraintMaxHeaderLineArgs.builder()
            .action("string")
            .log("string")
            .maxHeaderLine(0)
            .severity("string")
            .status("string")
            .build())
        .maxRangeSegment(ProfileConstraintMaxRangeSegmentArgs.builder()
            .action("string")
            .log("string")
            .maxRangeSegment(0)
            .severity("string")
            .status("string")
            .build())
        .maxUrlParam(ProfileConstraintMaxUrlParamArgs.builder()
            .action("string")
            .log("string")
            .maxUrlParam(0)
            .severity("string")
            .status("string")
            .build())
        .method(ProfileConstraintMethodArgs.builder()
            .action("string")
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .paramLength(ProfileConstraintParamLengthArgs.builder()
            .action("string")
            .length(0)
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .urlParamLength(ProfileConstraintUrlParamLengthArgs.builder()
            .action("string")
            .length(0)
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .version(ProfileConstraintVersionArgs.builder()
            .action("string")
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .build())
    .dynamicSortSubtable("string")
    .extendedLog("string")
    .external("string")
    .getAllTables("string")
    .method(ProfileMethodArgs.builder()
        .defaultAllowedMethods("string")
        .log("string")
        .methodPolicies(ProfileMethodMethodPolicyArgs.builder()
            .address("string")
            .allowedMethods("string")
            .id(0)
            .pattern("string")
            .regex("string")
            .build())
        .severity("string")
        .status("string")
        .build())
    .name("string")
    .signature(ProfileSignatureArgs.builder()
        .creditCardDetectionThreshold(0)
        .customSignatures(ProfileSignatureCustomSignatureArgs.builder()
            .action("string")
            .caseSensitivity("string")
            .direction("string")
            .log("string")
            .name("string")
            .pattern("string")
            .severity("string")
            .status("string")
            .target("string")
            .build())
        .disabledSignatures(ProfileSignatureDisabledSignatureArgs.builder()
            .id(0)
            .build())
        .disabledSubClasses(ProfileSignatureDisabledSubClassArgs.builder()
            .id(0)
            .build())
        .mainClasses(ProfileSignatureMainClassArgs.builder()
            .action("string")
            .id(0)
            .log("string")
            .severity("string")
            .status("string")
            .build())
        .build())
    .urlAccesses(ProfileUrlAccessArgs.builder()
        .accessPatterns(ProfileUrlAccessAccessPatternArgs.builder()
            .id(0)
            .negate("string")
            .pattern("string")
            .regex("string")
            .srcaddr("string")
            .build())
        .action("string")
        .address("string")
        .id(0)
        .log("string")
        .severity("string")
        .build())
    .vdomparam("string")
    .build());
Copy
exampleprofile_resource_resource_from_wafprofile = fortios.waf.Profile("exampleprofileResourceResourceFromWafprofile",
    address_list={
        "blocked_addresses": [{
            "name": "string",
        }],
        "blocked_log": "string",
        "severity": "string",
        "status": "string",
        "trusted_addresses": [{
            "name": "string",
        }],
    },
    comment="string",
    constraint={
        "content_length": {
            "action": "string",
            "length": 0,
            "log": "string",
            "severity": "string",
            "status": "string",
        },
        "exceptions": [{
            "address": "string",
            "content_length": "string",
            "header_length": "string",
            "hostname": "string",
            "id": 0,
            "line_length": "string",
            "malformed": "string",
            "max_cookie": "string",
            "max_header_line": "string",
            "max_range_segment": "string",
            "max_url_param": "string",
            "method": "string",
            "param_length": "string",
            "pattern": "string",
            "regex": "string",
            "url_param_length": "string",
            "version": "string",
        }],
        "header_length": {
            "action": "string",
            "length": 0,
            "log": "string",
            "severity": "string",
            "status": "string",
        },
        "hostname": {
            "action": "string",
            "log": "string",
            "severity": "string",
            "status": "string",
        },
        "line_length": {
            "action": "string",
            "length": 0,
            "log": "string",
            "severity": "string",
            "status": "string",
        },
        "malformed": {
            "action": "string",
            "log": "string",
            "severity": "string",
            "status": "string",
        },
        "max_cookie": {
            "action": "string",
            "log": "string",
            "max_cookie": 0,
            "severity": "string",
            "status": "string",
        },
        "max_header_line": {
            "action": "string",
            "log": "string",
            "max_header_line": 0,
            "severity": "string",
            "status": "string",
        },
        "max_range_segment": {
            "action": "string",
            "log": "string",
            "max_range_segment": 0,
            "severity": "string",
            "status": "string",
        },
        "max_url_param": {
            "action": "string",
            "log": "string",
            "max_url_param": 0,
            "severity": "string",
            "status": "string",
        },
        "method": {
            "action": "string",
            "log": "string",
            "severity": "string",
            "status": "string",
        },
        "param_length": {
            "action": "string",
            "length": 0,
            "log": "string",
            "severity": "string",
            "status": "string",
        },
        "url_param_length": {
            "action": "string",
            "length": 0,
            "log": "string",
            "severity": "string",
            "status": "string",
        },
        "version": {
            "action": "string",
            "log": "string",
            "severity": "string",
            "status": "string",
        },
    },
    dynamic_sort_subtable="string",
    extended_log="string",
    external="string",
    get_all_tables="string",
    method={
        "default_allowed_methods": "string",
        "log": "string",
        "method_policies": [{
            "address": "string",
            "allowed_methods": "string",
            "id": 0,
            "pattern": "string",
            "regex": "string",
        }],
        "severity": "string",
        "status": "string",
    },
    name="string",
    signature={
        "credit_card_detection_threshold": 0,
        "custom_signatures": [{
            "action": "string",
            "case_sensitivity": "string",
            "direction": "string",
            "log": "string",
            "name": "string",
            "pattern": "string",
            "severity": "string",
            "status": "string",
            "target": "string",
        }],
        "disabled_signatures": [{
            "id": 0,
        }],
        "disabled_sub_classes": [{
            "id": 0,
        }],
        "main_classes": [{
            "action": "string",
            "id": 0,
            "log": "string",
            "severity": "string",
            "status": "string",
        }],
    },
    url_accesses=[{
        "access_patterns": [{
            "id": 0,
            "negate": "string",
            "pattern": "string",
            "regex": "string",
            "srcaddr": "string",
        }],
        "action": "string",
        "address": "string",
        "id": 0,
        "log": "string",
        "severity": "string",
    }],
    vdomparam="string")
Copy
const exampleprofileResourceResourceFromWafprofile = new fortios.waf.Profile("exampleprofileResourceResourceFromWafprofile", {
    addressList: {
        blockedAddresses: [{
            name: "string",
        }],
        blockedLog: "string",
        severity: "string",
        status: "string",
        trustedAddresses: [{
            name: "string",
        }],
    },
    comment: "string",
    constraint: {
        contentLength: {
            action: "string",
            length: 0,
            log: "string",
            severity: "string",
            status: "string",
        },
        exceptions: [{
            address: "string",
            contentLength: "string",
            headerLength: "string",
            hostname: "string",
            id: 0,
            lineLength: "string",
            malformed: "string",
            maxCookie: "string",
            maxHeaderLine: "string",
            maxRangeSegment: "string",
            maxUrlParam: "string",
            method: "string",
            paramLength: "string",
            pattern: "string",
            regex: "string",
            urlParamLength: "string",
            version: "string",
        }],
        headerLength: {
            action: "string",
            length: 0,
            log: "string",
            severity: "string",
            status: "string",
        },
        hostname: {
            action: "string",
            log: "string",
            severity: "string",
            status: "string",
        },
        lineLength: {
            action: "string",
            length: 0,
            log: "string",
            severity: "string",
            status: "string",
        },
        malformed: {
            action: "string",
            log: "string",
            severity: "string",
            status: "string",
        },
        maxCookie: {
            action: "string",
            log: "string",
            maxCookie: 0,
            severity: "string",
            status: "string",
        },
        maxHeaderLine: {
            action: "string",
            log: "string",
            maxHeaderLine: 0,
            severity: "string",
            status: "string",
        },
        maxRangeSegment: {
            action: "string",
            log: "string",
            maxRangeSegment: 0,
            severity: "string",
            status: "string",
        },
        maxUrlParam: {
            action: "string",
            log: "string",
            maxUrlParam: 0,
            severity: "string",
            status: "string",
        },
        method: {
            action: "string",
            log: "string",
            severity: "string",
            status: "string",
        },
        paramLength: {
            action: "string",
            length: 0,
            log: "string",
            severity: "string",
            status: "string",
        },
        urlParamLength: {
            action: "string",
            length: 0,
            log: "string",
            severity: "string",
            status: "string",
        },
        version: {
            action: "string",
            log: "string",
            severity: "string",
            status: "string",
        },
    },
    dynamicSortSubtable: "string",
    extendedLog: "string",
    external: "string",
    getAllTables: "string",
    method: {
        defaultAllowedMethods: "string",
        log: "string",
        methodPolicies: [{
            address: "string",
            allowedMethods: "string",
            id: 0,
            pattern: "string",
            regex: "string",
        }],
        severity: "string",
        status: "string",
    },
    name: "string",
    signature: {
        creditCardDetectionThreshold: 0,
        customSignatures: [{
            action: "string",
            caseSensitivity: "string",
            direction: "string",
            log: "string",
            name: "string",
            pattern: "string",
            severity: "string",
            status: "string",
            target: "string",
        }],
        disabledSignatures: [{
            id: 0,
        }],
        disabledSubClasses: [{
            id: 0,
        }],
        mainClasses: [{
            action: "string",
            id: 0,
            log: "string",
            severity: "string",
            status: "string",
        }],
    },
    urlAccesses: [{
        accessPatterns: [{
            id: 0,
            negate: "string",
            pattern: "string",
            regex: "string",
            srcaddr: "string",
        }],
        action: "string",
        address: "string",
        id: 0,
        log: "string",
        severity: "string",
    }],
    vdomparam: "string",
});
Copy
type: fortios:waf:Profile
properties:
    addressList:
        blockedAddresses:
            - name: string
        blockedLog: string
        severity: string
        status: string
        trustedAddresses:
            - name: string
    comment: string
    constraint:
        contentLength:
            action: string
            length: 0
            log: string
            severity: string
            status: string
        exceptions:
            - address: string
              contentLength: string
              headerLength: string
              hostname: string
              id: 0
              lineLength: string
              malformed: string
              maxCookie: string
              maxHeaderLine: string
              maxRangeSegment: string
              maxUrlParam: string
              method: string
              paramLength: string
              pattern: string
              regex: string
              urlParamLength: string
              version: string
        headerLength:
            action: string
            length: 0
            log: string
            severity: string
            status: string
        hostname:
            action: string
            log: string
            severity: string
            status: string
        lineLength:
            action: string
            length: 0
            log: string
            severity: string
            status: string
        malformed:
            action: string
            log: string
            severity: string
            status: string
        maxCookie:
            action: string
            log: string
            maxCookie: 0
            severity: string
            status: string
        maxHeaderLine:
            action: string
            log: string
            maxHeaderLine: 0
            severity: string
            status: string
        maxRangeSegment:
            action: string
            log: string
            maxRangeSegment: 0
            severity: string
            status: string
        maxUrlParam:
            action: string
            log: string
            maxUrlParam: 0
            severity: string
            status: string
        method:
            action: string
            log: string
            severity: string
            status: string
        paramLength:
            action: string
            length: 0
            log: string
            severity: string
            status: string
        urlParamLength:
            action: string
            length: 0
            log: string
            severity: string
            status: string
        version:
            action: string
            log: string
            severity: string
            status: string
    dynamicSortSubtable: string
    extendedLog: string
    external: string
    getAllTables: string
    method:
        defaultAllowedMethods: string
        log: string
        methodPolicies:
            - address: string
              allowedMethods: string
              id: 0
              pattern: string
              regex: string
        severity: string
        status: string
    name: string
    signature:
        creditCardDetectionThreshold: 0
        customSignatures:
            - action: string
              caseSensitivity: string
              direction: string
              log: string
              name: string
              pattern: string
              severity: string
              status: string
              target: string
        disabledSignatures:
            - id: 0
        disabledSubClasses:
            - id: 0
        mainClasses:
            - action: string
              id: 0
              log: string
              severity: string
              status: string
    urlAccesses:
        - accessPatterns:
            - id: 0
              negate: string
              pattern: string
              regex: string
              srcaddr: string
          action: string
          address: string
          id: 0
          log: string
          severity: string
    vdomparam: string
Copy

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

AddressList Pulumiverse.Fortios.Waf.Inputs.ProfileAddressList
Black address list and white address list. The structure of address_list block is documented below.
Comment string
Comment.
Constraint Pulumiverse.Fortios.Waf.Inputs.ProfileConstraint
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
ExtendedLog string
Enable/disable extended logging. Valid values: enable, disable.
External string
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
Method Pulumiverse.Fortios.Waf.Inputs.ProfileMethod
Method restriction. The structure of method block is documented below.
Name Changes to this property will trigger replacement. string
WAF Profile name.
Signature Pulumiverse.Fortios.Waf.Inputs.ProfileSignature
WAF signatures. The structure of signature block is documented below.
UrlAccesses List<Pulumiverse.Fortios.Waf.Inputs.ProfileUrlAccess>
URL access list The structure of url_access block is documented below.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
AddressList ProfileAddressListArgs
Black address list and white address list. The structure of address_list block is documented below.
Comment string
Comment.
Constraint ProfileConstraintArgs
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
ExtendedLog string
Enable/disable extended logging. Valid values: enable, disable.
External string
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
Method ProfileMethodArgs
Method restriction. The structure of method block is documented below.
Name Changes to this property will trigger replacement. string
WAF Profile name.
Signature ProfileSignatureArgs
WAF signatures. The structure of signature block is documented below.
UrlAccesses []ProfileUrlAccessArgs
URL access list The structure of url_access block is documented below.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
addressList ProfileAddressList
Black address list and white address list. The structure of address_list block is documented below.
comment String
Comment.
constraint ProfileConstraint
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
extendedLog String
Enable/disable extended logging. Valid values: enable, disable.
external String
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
method ProfileMethod
Method restriction. The structure of method block is documented below.
name Changes to this property will trigger replacement. String
WAF Profile name.
signature ProfileSignature
WAF signatures. The structure of signature block is documented below.
urlAccesses List<ProfileUrlAccess>
URL access list The structure of url_access block is documented below.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
addressList ProfileAddressList
Black address list and white address list. The structure of address_list block is documented below.
comment string
Comment.
constraint ProfileConstraint
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
dynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
extendedLog string
Enable/disable extended logging. Valid values: enable, disable.
external string
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
getAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
method ProfileMethod
Method restriction. The structure of method block is documented below.
name Changes to this property will trigger replacement. string
WAF Profile name.
signature ProfileSignature
WAF signatures. The structure of signature block is documented below.
urlAccesses ProfileUrlAccess[]
URL access list The structure of url_access block is documented below.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
address_list ProfileAddressListArgs
Black address list and white address list. The structure of address_list block is documented below.
comment str
Comment.
constraint ProfileConstraintArgs
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
dynamic_sort_subtable str
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
extended_log str
Enable/disable extended logging. Valid values: enable, disable.
external str
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
get_all_tables str
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
method ProfileMethodArgs
Method restriction. The structure of method block is documented below.
name Changes to this property will trigger replacement. str
WAF Profile name.
signature ProfileSignatureArgs
WAF signatures. The structure of signature block is documented below.
url_accesses Sequence[ProfileUrlAccessArgs]
URL access list The structure of url_access block is documented below.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
addressList Property Map
Black address list and white address list. The structure of address_list block is documented below.
comment String
Comment.
constraint Property Map
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
extendedLog String
Enable/disable extended logging. Valid values: enable, disable.
external String
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
method Property Map
Method restriction. The structure of method block is documented below.
name Changes to this property will trigger replacement. String
WAF Profile name.
signature Property Map
WAF signatures. The structure of signature block is documented below.
urlAccesses List<Property Map>
URL access list The structure of url_access block is documented below.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

Outputs

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

Get an existing Profile 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?: ProfileState, opts?: CustomResourceOptions): Profile
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address_list: Optional[ProfileAddressListArgs] = None,
        comment: Optional[str] = None,
        constraint: Optional[ProfileConstraintArgs] = None,
        dynamic_sort_subtable: Optional[str] = None,
        extended_log: Optional[str] = None,
        external: Optional[str] = None,
        get_all_tables: Optional[str] = None,
        method: Optional[ProfileMethodArgs] = None,
        name: Optional[str] = None,
        signature: Optional[ProfileSignatureArgs] = None,
        url_accesses: Optional[Sequence[ProfileUrlAccessArgs]] = None,
        vdomparam: Optional[str] = None) -> Profile
func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
public static Profile get(String name, Output<String> id, ProfileState state, CustomResourceOptions options)
resources:  _:    type: fortios:waf:Profile    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:
AddressList Pulumiverse.Fortios.Waf.Inputs.ProfileAddressList
Black address list and white address list. The structure of address_list block is documented below.
Comment string
Comment.
Constraint Pulumiverse.Fortios.Waf.Inputs.ProfileConstraint
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
ExtendedLog string
Enable/disable extended logging. Valid values: enable, disable.
External string
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
Method Pulumiverse.Fortios.Waf.Inputs.ProfileMethod
Method restriction. The structure of method block is documented below.
Name Changes to this property will trigger replacement. string
WAF Profile name.
Signature Pulumiverse.Fortios.Waf.Inputs.ProfileSignature
WAF signatures. The structure of signature block is documented below.
UrlAccesses List<Pulumiverse.Fortios.Waf.Inputs.ProfileUrlAccess>
URL access list The structure of url_access block is documented below.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
AddressList ProfileAddressListArgs
Black address list and white address list. The structure of address_list block is documented below.
Comment string
Comment.
Constraint ProfileConstraintArgs
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
ExtendedLog string
Enable/disable extended logging. Valid values: enable, disable.
External string
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
Method ProfileMethodArgs
Method restriction. The structure of method block is documented below.
Name Changes to this property will trigger replacement. string
WAF Profile name.
Signature ProfileSignatureArgs
WAF signatures. The structure of signature block is documented below.
UrlAccesses []ProfileUrlAccessArgs
URL access list The structure of url_access block is documented below.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
addressList ProfileAddressList
Black address list and white address list. The structure of address_list block is documented below.
comment String
Comment.
constraint ProfileConstraint
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
extendedLog String
Enable/disable extended logging. Valid values: enable, disable.
external String
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
method ProfileMethod
Method restriction. The structure of method block is documented below.
name Changes to this property will trigger replacement. String
WAF Profile name.
signature ProfileSignature
WAF signatures. The structure of signature block is documented below.
urlAccesses List<ProfileUrlAccess>
URL access list The structure of url_access block is documented below.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
addressList ProfileAddressList
Black address list and white address list. The structure of address_list block is documented below.
comment string
Comment.
constraint ProfileConstraint
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
dynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
extendedLog string
Enable/disable extended logging. Valid values: enable, disable.
external string
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
getAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
method ProfileMethod
Method restriction. The structure of method block is documented below.
name Changes to this property will trigger replacement. string
WAF Profile name.
signature ProfileSignature
WAF signatures. The structure of signature block is documented below.
urlAccesses ProfileUrlAccess[]
URL access list The structure of url_access block is documented below.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
address_list ProfileAddressListArgs
Black address list and white address list. The structure of address_list block is documented below.
comment str
Comment.
constraint ProfileConstraintArgs
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
dynamic_sort_subtable str
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
extended_log str
Enable/disable extended logging. Valid values: enable, disable.
external str
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
get_all_tables str
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
method ProfileMethodArgs
Method restriction. The structure of method block is documented below.
name Changes to this property will trigger replacement. str
WAF Profile name.
signature ProfileSignatureArgs
WAF signatures. The structure of signature block is documented below.
url_accesses Sequence[ProfileUrlAccessArgs]
URL access list The structure of url_access block is documented below.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
addressList Property Map
Black address list and white address list. The structure of address_list block is documented below.
comment String
Comment.
constraint Property Map
WAF HTTP protocol restrictions. The structure of constraint block is documented below.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
extendedLog String
Enable/disable extended logging. Valid values: enable, disable.
external String
Disable/Enable external HTTP Inspection. Valid values: disable, enable.
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
method Property Map
Method restriction. The structure of method block is documented below.
name Changes to this property will trigger replacement. String
WAF Profile name.
signature Property Map
WAF signatures. The structure of signature block is documented below.
urlAccesses List<Property Map>
URL access list The structure of url_access block is documented below.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

Supporting Types

ProfileAddressList
, ProfileAddressListArgs

BlockedAddresses List<Pulumiverse.Fortios.Waf.Inputs.ProfileAddressListBlockedAddress>
Blocked address. The structure of blocked_address block is documented below.
BlockedLog string
Enable/disable logging on blocked addresses. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
TrustedAddresses List<Pulumiverse.Fortios.Waf.Inputs.ProfileAddressListTrustedAddress>
Trusted address. The structure of trusted_address block is documented below.
BlockedAddresses []ProfileAddressListBlockedAddress
Blocked address. The structure of blocked_address block is documented below.
BlockedLog string
Enable/disable logging on blocked addresses. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
TrustedAddresses []ProfileAddressListTrustedAddress
Trusted address. The structure of trusted_address block is documented below.
blockedAddresses List<ProfileAddressListBlockedAddress>
Blocked address. The structure of blocked_address block is documented below.
blockedLog String
Enable/disable logging on blocked addresses. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.
trustedAddresses List<ProfileAddressListTrustedAddress>
Trusted address. The structure of trusted_address block is documented below.
blockedAddresses ProfileAddressListBlockedAddress[]
Blocked address. The structure of blocked_address block is documented below.
blockedLog string
Enable/disable logging on blocked addresses. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Status. Valid values: enable, disable.
trustedAddresses ProfileAddressListTrustedAddress[]
Trusted address. The structure of trusted_address block is documented below.
blocked_addresses Sequence[ProfileAddressListBlockedAddress]
Blocked address. The structure of blocked_address block is documented below.
blocked_log str
Enable/disable logging on blocked addresses. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Status. Valid values: enable, disable.
trusted_addresses Sequence[ProfileAddressListTrustedAddress]
Trusted address. The structure of trusted_address block is documented below.
blockedAddresses List<Property Map>
Blocked address. The structure of blocked_address block is documented below.
blockedLog String
Enable/disable logging on blocked addresses. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.
trustedAddresses List<Property Map>
Trusted address. The structure of trusted_address block is documented below.

ProfileAddressListBlockedAddress
, ProfileAddressListBlockedAddressArgs

Name string
Address name.
Name string
Address name.
name String
Address name.
name string
Address name.
name str
Address name.
name String
Address name.

ProfileAddressListTrustedAddress
, ProfileAddressListTrustedAddressArgs

Name string
Address name.
Name string
Address name.
name String
Address name.
name string
Address name.
name str
Address name.
name String
Address name.

ProfileConstraint
, ProfileConstraintArgs

ContentLength Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintContentLength
HTTP content length in request. The structure of content_length block is documented below.
Exceptions List<Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintException>
HTTP constraint exception. The structure of exception block is documented below.
HeaderLength Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintHeaderLength
HTTP header length in request. The structure of header_length block is documented below.
Hostname Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintHostname
Enable/disable hostname check. The structure of hostname block is documented below.
LineLength Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintLineLength
HTTP line length in request. The structure of line_length block is documented below.
Malformed Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintMalformed
Enable/disable malformed HTTP request check. The structure of malformed block is documented below.
MaxCookie Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintMaxCookie
Maximum number of cookies in HTTP request. The structure of max_cookie block is documented below.
MaxHeaderLine Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintMaxHeaderLine
Maximum number of HTTP header line. The structure of max_header_line block is documented below.
MaxRangeSegment Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintMaxRangeSegment
Maximum number of range segments in HTTP range line. The structure of max_range_segment block is documented below.
MaxUrlParam Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintMaxUrlParam
Maximum number of parameters in URL. The structure of max_url_param block is documented below.
Method Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintMethod
Enable/disable HTTP method check. The structure of method block is documented below.
ParamLength Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintParamLength
Maximum length of parameter in URL, HTTP POST request or HTTP body. The structure of param_length block is documented below.
UrlParamLength Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintUrlParamLength
Maximum length of parameter in URL. The structure of url_param_length block is documented below.
Version Pulumiverse.Fortios.Waf.Inputs.ProfileConstraintVersion
Enable/disable HTTP version check. The structure of version block is documented below.
ContentLength ProfileConstraintContentLength
HTTP content length in request. The structure of content_length block is documented below.
Exceptions []ProfileConstraintException
HTTP constraint exception. The structure of exception block is documented below.
HeaderLength ProfileConstraintHeaderLength
HTTP header length in request. The structure of header_length block is documented below.
Hostname ProfileConstraintHostname
Enable/disable hostname check. The structure of hostname block is documented below.
LineLength ProfileConstraintLineLength
HTTP line length in request. The structure of line_length block is documented below.
Malformed ProfileConstraintMalformed
Enable/disable malformed HTTP request check. The structure of malformed block is documented below.
MaxCookie ProfileConstraintMaxCookie
Maximum number of cookies in HTTP request. The structure of max_cookie block is documented below.
MaxHeaderLine ProfileConstraintMaxHeaderLine
Maximum number of HTTP header line. The structure of max_header_line block is documented below.
MaxRangeSegment ProfileConstraintMaxRangeSegment
Maximum number of range segments in HTTP range line. The structure of max_range_segment block is documented below.
MaxUrlParam ProfileConstraintMaxUrlParam
Maximum number of parameters in URL. The structure of max_url_param block is documented below.
Method ProfileConstraintMethod
Enable/disable HTTP method check. The structure of method block is documented below.
ParamLength ProfileConstraintParamLength
Maximum length of parameter in URL, HTTP POST request or HTTP body. The structure of param_length block is documented below.
UrlParamLength ProfileConstraintUrlParamLength
Maximum length of parameter in URL. The structure of url_param_length block is documented below.
Version ProfileConstraintVersion
Enable/disable HTTP version check. The structure of version block is documented below.
contentLength ProfileConstraintContentLength
HTTP content length in request. The structure of content_length block is documented below.
exceptions List<ProfileConstraintException>
HTTP constraint exception. The structure of exception block is documented below.
headerLength ProfileConstraintHeaderLength
HTTP header length in request. The structure of header_length block is documented below.
hostname ProfileConstraintHostname
Enable/disable hostname check. The structure of hostname block is documented below.
lineLength ProfileConstraintLineLength
HTTP line length in request. The structure of line_length block is documented below.
malformed ProfileConstraintMalformed
Enable/disable malformed HTTP request check. The structure of malformed block is documented below.
maxCookie ProfileConstraintMaxCookie
Maximum number of cookies in HTTP request. The structure of max_cookie block is documented below.
maxHeaderLine ProfileConstraintMaxHeaderLine
Maximum number of HTTP header line. The structure of max_header_line block is documented below.
maxRangeSegment ProfileConstraintMaxRangeSegment
Maximum number of range segments in HTTP range line. The structure of max_range_segment block is documented below.
maxUrlParam ProfileConstraintMaxUrlParam
Maximum number of parameters in URL. The structure of max_url_param block is documented below.
method ProfileConstraintMethod
Enable/disable HTTP method check. The structure of method block is documented below.
paramLength ProfileConstraintParamLength
Maximum length of parameter in URL, HTTP POST request or HTTP body. The structure of param_length block is documented below.
urlParamLength ProfileConstraintUrlParamLength
Maximum length of parameter in URL. The structure of url_param_length block is documented below.
version ProfileConstraintVersion
Enable/disable HTTP version check. The structure of version block is documented below.
contentLength ProfileConstraintContentLength
HTTP content length in request. The structure of content_length block is documented below.
exceptions ProfileConstraintException[]
HTTP constraint exception. The structure of exception block is documented below.
headerLength ProfileConstraintHeaderLength
HTTP header length in request. The structure of header_length block is documented below.
hostname ProfileConstraintHostname
Enable/disable hostname check. The structure of hostname block is documented below.
lineLength ProfileConstraintLineLength
HTTP line length in request. The structure of line_length block is documented below.
malformed ProfileConstraintMalformed
Enable/disable malformed HTTP request check. The structure of malformed block is documented below.
maxCookie ProfileConstraintMaxCookie
Maximum number of cookies in HTTP request. The structure of max_cookie block is documented below.
maxHeaderLine ProfileConstraintMaxHeaderLine
Maximum number of HTTP header line. The structure of max_header_line block is documented below.
maxRangeSegment ProfileConstraintMaxRangeSegment
Maximum number of range segments in HTTP range line. The structure of max_range_segment block is documented below.
maxUrlParam ProfileConstraintMaxUrlParam
Maximum number of parameters in URL. The structure of max_url_param block is documented below.
method ProfileConstraintMethod
Enable/disable HTTP method check. The structure of method block is documented below.
paramLength ProfileConstraintParamLength
Maximum length of parameter in URL, HTTP POST request or HTTP body. The structure of param_length block is documented below.
urlParamLength ProfileConstraintUrlParamLength
Maximum length of parameter in URL. The structure of url_param_length block is documented below.
version ProfileConstraintVersion
Enable/disable HTTP version check. The structure of version block is documented below.
content_length ProfileConstraintContentLength
HTTP content length in request. The structure of content_length block is documented below.
exceptions Sequence[ProfileConstraintException]
HTTP constraint exception. The structure of exception block is documented below.
header_length ProfileConstraintHeaderLength
HTTP header length in request. The structure of header_length block is documented below.
hostname ProfileConstraintHostname
Enable/disable hostname check. The structure of hostname block is documented below.
line_length ProfileConstraintLineLength
HTTP line length in request. The structure of line_length block is documented below.
malformed ProfileConstraintMalformed
Enable/disable malformed HTTP request check. The structure of malformed block is documented below.
max_cookie ProfileConstraintMaxCookie
Maximum number of cookies in HTTP request. The structure of max_cookie block is documented below.
max_header_line ProfileConstraintMaxHeaderLine
Maximum number of HTTP header line. The structure of max_header_line block is documented below.
max_range_segment ProfileConstraintMaxRangeSegment
Maximum number of range segments in HTTP range line. The structure of max_range_segment block is documented below.
max_url_param ProfileConstraintMaxUrlParam
Maximum number of parameters in URL. The structure of max_url_param block is documented below.
method ProfileConstraintMethod
Enable/disable HTTP method check. The structure of method block is documented below.
param_length ProfileConstraintParamLength
Maximum length of parameter in URL, HTTP POST request or HTTP body. The structure of param_length block is documented below.
url_param_length ProfileConstraintUrlParamLength
Maximum length of parameter in URL. The structure of url_param_length block is documented below.
version ProfileConstraintVersion
Enable/disable HTTP version check. The structure of version block is documented below.
contentLength Property Map
HTTP content length in request. The structure of content_length block is documented below.
exceptions List<Property Map>
HTTP constraint exception. The structure of exception block is documented below.
headerLength Property Map
HTTP header length in request. The structure of header_length block is documented below.
hostname Property Map
Enable/disable hostname check. The structure of hostname block is documented below.
lineLength Property Map
HTTP line length in request. The structure of line_length block is documented below.
malformed Property Map
Enable/disable malformed HTTP request check. The structure of malformed block is documented below.
maxCookie Property Map
Maximum number of cookies in HTTP request. The structure of max_cookie block is documented below.
maxHeaderLine Property Map
Maximum number of HTTP header line. The structure of max_header_line block is documented below.
maxRangeSegment Property Map
Maximum number of range segments in HTTP range line. The structure of max_range_segment block is documented below.
maxUrlParam Property Map
Maximum number of parameters in URL. The structure of max_url_param block is documented below.
method Property Map
Enable/disable HTTP method check. The structure of method block is documented below.
paramLength Property Map
Maximum length of parameter in URL, HTTP POST request or HTTP body. The structure of param_length block is documented below.
urlParamLength Property Map
Maximum length of parameter in URL. The structure of url_param_length block is documented below.
version Property Map
Enable/disable HTTP version check. The structure of version block is documented below.

ProfileConstraintContentLength
, ProfileConstraintContentLengthArgs

Action string
Action. Valid values: allow, block.
Length int
Length of HTTP content in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Length int
Length of HTTP content in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Integer
Length of HTTP content in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
length number
Length of HTTP content in bytes (0 to 2147483647).
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
length int
Length of HTTP content in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Number
Length of HTTP content in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintException
, ProfileConstraintExceptionArgs

Address string
Host address.
ContentLength string
HTTP content length in request. Valid values: enable, disable.
HeaderLength string
HTTP header length in request. Valid values: enable, disable.
Hostname string
Enable/disable hostname check. Valid values: enable, disable.
Id int
Exception ID.
LineLength string
HTTP line length in request. Valid values: enable, disable.
Malformed string
Enable/disable malformed HTTP request check. Valid values: enable, disable.
MaxCookie string
Maximum number of cookies in HTTP request. Valid values: enable, disable.
MaxHeaderLine string
Maximum number of HTTP header line. Valid values: enable, disable.
MaxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: enable, disable.
MaxUrlParam string
Maximum number of parameters in URL. Valid values: enable, disable.
Method string
Enable/disable HTTP method check. Valid values: enable, disable.
ParamLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: enable, disable.
Pattern string
URL pattern.
Regex string
Enable/disable regular expression based pattern match. Valid values: enable, disable.
UrlParamLength string
Maximum length of parameter in URL. Valid values: enable, disable.
Version string
Enable/disable HTTP version check. Valid values: enable, disable.
Address string
Host address.
ContentLength string
HTTP content length in request. Valid values: enable, disable.
HeaderLength string
HTTP header length in request. Valid values: enable, disable.
Hostname string
Enable/disable hostname check. Valid values: enable, disable.
Id int
Exception ID.
LineLength string
HTTP line length in request. Valid values: enable, disable.
Malformed string
Enable/disable malformed HTTP request check. Valid values: enable, disable.
MaxCookie string
Maximum number of cookies in HTTP request. Valid values: enable, disable.
MaxHeaderLine string
Maximum number of HTTP header line. Valid values: enable, disable.
MaxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: enable, disable.
MaxUrlParam string
Maximum number of parameters in URL. Valid values: enable, disable.
Method string
Enable/disable HTTP method check. Valid values: enable, disable.
ParamLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: enable, disable.
Pattern string
URL pattern.
Regex string
Enable/disable regular expression based pattern match. Valid values: enable, disable.
UrlParamLength string
Maximum length of parameter in URL. Valid values: enable, disable.
Version string
Enable/disable HTTP version check. Valid values: enable, disable.
address String
Host address.
contentLength String
HTTP content length in request. Valid values: enable, disable.
headerLength String
HTTP header length in request. Valid values: enable, disable.
hostname String
Enable/disable hostname check. Valid values: enable, disable.
id Integer
Exception ID.
lineLength String
HTTP line length in request. Valid values: enable, disable.
malformed String
Enable/disable malformed HTTP request check. Valid values: enable, disable.
maxCookie String
Maximum number of cookies in HTTP request. Valid values: enable, disable.
maxHeaderLine String
Maximum number of HTTP header line. Valid values: enable, disable.
maxRangeSegment String
Maximum number of range segments in HTTP range line. Valid values: enable, disable.
maxUrlParam String
Maximum number of parameters in URL. Valid values: enable, disable.
method String
Enable/disable HTTP method check. Valid values: enable, disable.
paramLength String
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: enable, disable.
pattern String
URL pattern.
regex String
Enable/disable regular expression based pattern match. Valid values: enable, disable.
urlParamLength String
Maximum length of parameter in URL. Valid values: enable, disable.
version String
Enable/disable HTTP version check. Valid values: enable, disable.
address string
Host address.
contentLength string
HTTP content length in request. Valid values: enable, disable.
headerLength string
HTTP header length in request. Valid values: enable, disable.
hostname string
Enable/disable hostname check. Valid values: enable, disable.
id number
Exception ID.
lineLength string
HTTP line length in request. Valid values: enable, disable.
malformed string
Enable/disable malformed HTTP request check. Valid values: enable, disable.
maxCookie string
Maximum number of cookies in HTTP request. Valid values: enable, disable.
maxHeaderLine string
Maximum number of HTTP header line. Valid values: enable, disable.
maxRangeSegment string
Maximum number of range segments in HTTP range line. Valid values: enable, disable.
maxUrlParam string
Maximum number of parameters in URL. Valid values: enable, disable.
method string
Enable/disable HTTP method check. Valid values: enable, disable.
paramLength string
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: enable, disable.
pattern string
URL pattern.
regex string
Enable/disable regular expression based pattern match. Valid values: enable, disable.
urlParamLength string
Maximum length of parameter in URL. Valid values: enable, disable.
version string
Enable/disable HTTP version check. Valid values: enable, disable.
address str
Host address.
content_length str
HTTP content length in request. Valid values: enable, disable.
header_length str
HTTP header length in request. Valid values: enable, disable.
hostname str
Enable/disable hostname check. Valid values: enable, disable.
id int
Exception ID.
line_length str
HTTP line length in request. Valid values: enable, disable.
malformed str
Enable/disable malformed HTTP request check. Valid values: enable, disable.
max_cookie str
Maximum number of cookies in HTTP request. Valid values: enable, disable.
max_header_line str
Maximum number of HTTP header line. Valid values: enable, disable.
max_range_segment str
Maximum number of range segments in HTTP range line. Valid values: enable, disable.
max_url_param str
Maximum number of parameters in URL. Valid values: enable, disable.
method str
Enable/disable HTTP method check. Valid values: enable, disable.
param_length str
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: enable, disable.
pattern str
URL pattern.
regex str
Enable/disable regular expression based pattern match. Valid values: enable, disable.
url_param_length str
Maximum length of parameter in URL. Valid values: enable, disable.
version str
Enable/disable HTTP version check. Valid values: enable, disable.
address String
Host address.
contentLength String
HTTP content length in request. Valid values: enable, disable.
headerLength String
HTTP header length in request. Valid values: enable, disable.
hostname String
Enable/disable hostname check. Valid values: enable, disable.
id Number
Exception ID.
lineLength String
HTTP line length in request. Valid values: enable, disable.
malformed String
Enable/disable malformed HTTP request check. Valid values: enable, disable.
maxCookie String
Maximum number of cookies in HTTP request. Valid values: enable, disable.
maxHeaderLine String
Maximum number of HTTP header line. Valid values: enable, disable.
maxRangeSegment String
Maximum number of range segments in HTTP range line. Valid values: enable, disable.
maxUrlParam String
Maximum number of parameters in URL. Valid values: enable, disable.
method String
Enable/disable HTTP method check. Valid values: enable, disable.
paramLength String
Maximum length of parameter in URL, HTTP POST request or HTTP body. Valid values: enable, disable.
pattern String
URL pattern.
regex String
Enable/disable regular expression based pattern match. Valid values: enable, disable.
urlParamLength String
Maximum length of parameter in URL. Valid values: enable, disable.
version String
Enable/disable HTTP version check. Valid values: enable, disable.

ProfileConstraintHeaderLength
, ProfileConstraintHeaderLengthArgs

Action string
Action. Valid values: allow, block.
Length int
Length of HTTP header in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Length int
Length of HTTP header in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Integer
Length of HTTP header in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
length number
Length of HTTP header in bytes (0 to 2147483647).
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
length int
Length of HTTP header in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Number
Length of HTTP header in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintHostname
, ProfileConstraintHostnameArgs

Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintLineLength
, ProfileConstraintLineLengthArgs

Action string
Action. Valid values: allow, block.
Length int
Length of HTTP line in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Length int
Length of HTTP line in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Integer
Length of HTTP line in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
length number
Length of HTTP line in bytes (0 to 2147483647).
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
length int
Length of HTTP line in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Number
Length of HTTP line in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintMalformed
, ProfileConstraintMalformedArgs

Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintMaxCookie
, ProfileConstraintMaxCookieArgs

Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
MaxCookie int
Maximum number of cookies in HTTP request (0 to 2147483647).
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
MaxCookie int
Maximum number of cookies in HTTP request (0 to 2147483647).
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
maxCookie Integer
Maximum number of cookies in HTTP request (0 to 2147483647).
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
log string
Enable/disable logging. Valid values: enable, disable.
maxCookie number
Maximum number of cookies in HTTP request (0 to 2147483647).
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
log str
Enable/disable logging. Valid values: enable, disable.
max_cookie int
Maximum number of cookies in HTTP request (0 to 2147483647).
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
maxCookie Number
Maximum number of cookies in HTTP request (0 to 2147483647).
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintMaxHeaderLine
, ProfileConstraintMaxHeaderLineArgs

Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
MaxHeaderLine int
Maximum number HTTP header lines (0 to 2147483647).
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
MaxHeaderLine int
Maximum number HTTP header lines (0 to 2147483647).
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
maxHeaderLine Integer
Maximum number HTTP header lines (0 to 2147483647).
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
log string
Enable/disable logging. Valid values: enable, disable.
maxHeaderLine number
Maximum number HTTP header lines (0 to 2147483647).
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
log str
Enable/disable logging. Valid values: enable, disable.
max_header_line int
Maximum number HTTP header lines (0 to 2147483647).
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
maxHeaderLine Number
Maximum number HTTP header lines (0 to 2147483647).
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintMaxRangeSegment
, ProfileConstraintMaxRangeSegmentArgs

Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
MaxRangeSegment int
Maximum number of range segments in HTTP range line (0 to 2147483647).
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
MaxRangeSegment int
Maximum number of range segments in HTTP range line (0 to 2147483647).
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
maxRangeSegment Integer
Maximum number of range segments in HTTP range line (0 to 2147483647).
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
log string
Enable/disable logging. Valid values: enable, disable.
maxRangeSegment number
Maximum number of range segments in HTTP range line (0 to 2147483647).
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
log str
Enable/disable logging. Valid values: enable, disable.
max_range_segment int
Maximum number of range segments in HTTP range line (0 to 2147483647).
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
maxRangeSegment Number
Maximum number of range segments in HTTP range line (0 to 2147483647).
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintMaxUrlParam
, ProfileConstraintMaxUrlParamArgs

Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
MaxUrlParam int
Maximum number of parameters in URL (0 to 2147483647).
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
MaxUrlParam int
Maximum number of parameters in URL (0 to 2147483647).
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
maxUrlParam Integer
Maximum number of parameters in URL (0 to 2147483647).
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
log string
Enable/disable logging. Valid values: enable, disable.
maxUrlParam number
Maximum number of parameters in URL (0 to 2147483647).
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
log str
Enable/disable logging. Valid values: enable, disable.
max_url_param int
Maximum number of parameters in URL (0 to 2147483647).
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
maxUrlParam Number
Maximum number of parameters in URL (0 to 2147483647).
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintMethod
, ProfileConstraintMethodArgs

Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Status. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Status. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.

ProfileConstraintParamLength
, ProfileConstraintParamLengthArgs

Action string
Action. Valid values: allow, block.
Length int
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Length int
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Integer
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
length number
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
length int
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Number
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintUrlParamLength
, ProfileConstraintUrlParamLengthArgs

Action string
Action. Valid values: allow, block.
Length int
Maximum length of URL parameter in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Length int
Maximum length of URL parameter in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Integer
Maximum length of URL parameter in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
length number
Maximum length of URL parameter in bytes (0 to 2147483647).
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
length int
Maximum length of URL parameter in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
length Number
Maximum length of URL parameter in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileConstraintVersion
, ProfileConstraintVersionArgs

Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
Action string
Action. Valid values: allow, block.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.
action string
Action. Valid values: allow, block.
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Enable/disable the constraint. Valid values: enable, disable.
action str
Action. Valid values: allow, block.
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Enable/disable the constraint. Valid values: enable, disable.
action String
Action. Valid values: allow, block.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Enable/disable the constraint. Valid values: enable, disable.

ProfileMethod
, ProfileMethodArgs

DefaultAllowedMethods string
Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
Log string
Enable/disable logging. Valid values: enable, disable.
MethodPolicies List<Pulumiverse.Fortios.Waf.Inputs.ProfileMethodMethodPolicy>
HTTP method policy. The structure of method_policy block is documented below.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
DefaultAllowedMethods string
Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
Log string
Enable/disable logging. Valid values: enable, disable.
MethodPolicies []ProfileMethodMethodPolicy
HTTP method policy. The structure of method_policy block is documented below.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
defaultAllowedMethods String
Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
log String
Enable/disable logging. Valid values: enable, disable.
methodPolicies List<ProfileMethodMethodPolicy>
HTTP method policy. The structure of method_policy block is documented below.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.
defaultAllowedMethods string
Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
log string
Enable/disable logging. Valid values: enable, disable.
methodPolicies ProfileMethodMethodPolicy[]
HTTP method policy. The structure of method_policy block is documented below.
severity string
Severity. Valid values: high, medium, low.
status string
Status. Valid values: enable, disable.
default_allowed_methods str
Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
log str
Enable/disable logging. Valid values: enable, disable.
method_policies Sequence[ProfileMethodMethodPolicy]
HTTP method policy. The structure of method_policy block is documented below.
severity str
Severity. Valid values: high, medium, low.
status str
Status. Valid values: enable, disable.
defaultAllowedMethods String
Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
log String
Enable/disable logging. Valid values: enable, disable.
methodPolicies List<Property Map>
HTTP method policy. The structure of method_policy block is documented below.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.

ProfileMethodMethodPolicy
, ProfileMethodMethodPolicyArgs

Address string
Host address.
AllowedMethods string
Allowed Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
Id int
HTTP method policy ID.
Pattern string
URL pattern.
Regex string
Enable/disable regular expression based pattern match. Valid values: enable, disable.
Address string
Host address.
AllowedMethods string
Allowed Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
Id int
HTTP method policy ID.
Pattern string
URL pattern.
Regex string
Enable/disable regular expression based pattern match. Valid values: enable, disable.
address String
Host address.
allowedMethods String
Allowed Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
id Integer
HTTP method policy ID.
pattern String
URL pattern.
regex String
Enable/disable regular expression based pattern match. Valid values: enable, disable.
address string
Host address.
allowedMethods string
Allowed Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
id number
HTTP method policy ID.
pattern string
URL pattern.
regex string
Enable/disable regular expression based pattern match. Valid values: enable, disable.
address str
Host address.
allowed_methods str
Allowed Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
id int
HTTP method policy ID.
pattern str
URL pattern.
regex str
Enable/disable regular expression based pattern match. Valid values: enable, disable.
address String
Host address.
allowedMethods String
Allowed Methods. Valid values: get, post, put, head, connect, trace, options, delete, others.
id Number
HTTP method policy ID.
pattern String
URL pattern.
regex String
Enable/disable regular expression based pattern match. Valid values: enable, disable.

ProfileSignature
, ProfileSignatureArgs

CreditCardDetectionThreshold int
The minimum number of Credit cards to detect violation.
CustomSignatures List<Pulumiverse.Fortios.Waf.Inputs.ProfileSignatureCustomSignature>
Custom signature. The structure of custom_signature block is documented below.
DisabledSignatures List<Pulumiverse.Fortios.Waf.Inputs.ProfileSignatureDisabledSignature>
Disabled signatures The structure of disabled_signature block is documented below.
DisabledSubClasses List<Pulumiverse.Fortios.Waf.Inputs.ProfileSignatureDisabledSubClass>
Disabled signature subclasses. The structure of disabled_sub_class block is documented below.
MainClasses List<Pulumiverse.Fortios.Waf.Inputs.ProfileSignatureMainClass>
Main signature class. The structure of main_class block is documented below.
CreditCardDetectionThreshold int
The minimum number of Credit cards to detect violation.
CustomSignatures []ProfileSignatureCustomSignature
Custom signature. The structure of custom_signature block is documented below.
DisabledSignatures []ProfileSignatureDisabledSignature
Disabled signatures The structure of disabled_signature block is documented below.
DisabledSubClasses []ProfileSignatureDisabledSubClass
Disabled signature subclasses. The structure of disabled_sub_class block is documented below.
MainClasses []ProfileSignatureMainClass
Main signature class. The structure of main_class block is documented below.
creditCardDetectionThreshold Integer
The minimum number of Credit cards to detect violation.
customSignatures List<ProfileSignatureCustomSignature>
Custom signature. The structure of custom_signature block is documented below.
disabledSignatures List<ProfileSignatureDisabledSignature>
Disabled signatures The structure of disabled_signature block is documented below.
disabledSubClasses List<ProfileSignatureDisabledSubClass>
Disabled signature subclasses. The structure of disabled_sub_class block is documented below.
mainClasses List<ProfileSignatureMainClass>
Main signature class. The structure of main_class block is documented below.
creditCardDetectionThreshold number
The minimum number of Credit cards to detect violation.
customSignatures ProfileSignatureCustomSignature[]
Custom signature. The structure of custom_signature block is documented below.
disabledSignatures ProfileSignatureDisabledSignature[]
Disabled signatures The structure of disabled_signature block is documented below.
disabledSubClasses ProfileSignatureDisabledSubClass[]
Disabled signature subclasses. The structure of disabled_sub_class block is documented below.
mainClasses ProfileSignatureMainClass[]
Main signature class. The structure of main_class block is documented below.
credit_card_detection_threshold int
The minimum number of Credit cards to detect violation.
custom_signatures Sequence[ProfileSignatureCustomSignature]
Custom signature. The structure of custom_signature block is documented below.
disabled_signatures Sequence[ProfileSignatureDisabledSignature]
Disabled signatures The structure of disabled_signature block is documented below.
disabled_sub_classes Sequence[ProfileSignatureDisabledSubClass]
Disabled signature subclasses. The structure of disabled_sub_class block is documented below.
main_classes Sequence[ProfileSignatureMainClass]
Main signature class. The structure of main_class block is documented below.
creditCardDetectionThreshold Number
The minimum number of Credit cards to detect violation.
customSignatures List<Property Map>
Custom signature. The structure of custom_signature block is documented below.
disabledSignatures List<Property Map>
Disabled signatures The structure of disabled_signature block is documented below.
disabledSubClasses List<Property Map>
Disabled signature subclasses. The structure of disabled_sub_class block is documented below.
mainClasses List<Property Map>
Main signature class. The structure of main_class block is documented below.

ProfileSignatureCustomSignature
, ProfileSignatureCustomSignatureArgs

Action string
Action. Valid values: allow, block, erase.
CaseSensitivity string
Case sensitivity in pattern. Valid values: disable, enable.
Direction string
Traffic direction. Valid values: request, response.
Log string
Enable/disable logging. Valid values: enable, disable.
Name string
Signature name.
Pattern string
Match pattern.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
Target string
Match HTTP target. Valid values: arg, arg-name, req-body, req-cookie, req-cookie-name, req-filename, req-header, req-header-name, req-raw-uri, req-uri, resp-body, resp-hdr, resp-status.
Action string
Action. Valid values: allow, block, erase.
CaseSensitivity string
Case sensitivity in pattern. Valid values: disable, enable.
Direction string
Traffic direction. Valid values: request, response.
Log string
Enable/disable logging. Valid values: enable, disable.
Name string
Signature name.
Pattern string
Match pattern.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
Target string
Match HTTP target. Valid values: arg, arg-name, req-body, req-cookie, req-cookie-name, req-filename, req-header, req-header-name, req-raw-uri, req-uri, resp-body, resp-hdr, resp-status.
action String
Action. Valid values: allow, block, erase.
caseSensitivity String
Case sensitivity in pattern. Valid values: disable, enable.
direction String
Traffic direction. Valid values: request, response.
log String
Enable/disable logging. Valid values: enable, disable.
name String
Signature name.
pattern String
Match pattern.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.
target String
Match HTTP target. Valid values: arg, arg-name, req-body, req-cookie, req-cookie-name, req-filename, req-header, req-header-name, req-raw-uri, req-uri, resp-body, resp-hdr, resp-status.
action string
Action. Valid values: allow, block, erase.
caseSensitivity string
Case sensitivity in pattern. Valid values: disable, enable.
direction string
Traffic direction. Valid values: request, response.
log string
Enable/disable logging. Valid values: enable, disable.
name string
Signature name.
pattern string
Match pattern.
severity string
Severity. Valid values: high, medium, low.
status string
Status. Valid values: enable, disable.
target string
Match HTTP target. Valid values: arg, arg-name, req-body, req-cookie, req-cookie-name, req-filename, req-header, req-header-name, req-raw-uri, req-uri, resp-body, resp-hdr, resp-status.
action str
Action. Valid values: allow, block, erase.
case_sensitivity str
Case sensitivity in pattern. Valid values: disable, enable.
direction str
Traffic direction. Valid values: request, response.
log str
Enable/disable logging. Valid values: enable, disable.
name str
Signature name.
pattern str
Match pattern.
severity str
Severity. Valid values: high, medium, low.
status str
Status. Valid values: enable, disable.
target str
Match HTTP target. Valid values: arg, arg-name, req-body, req-cookie, req-cookie-name, req-filename, req-header, req-header-name, req-raw-uri, req-uri, resp-body, resp-hdr, resp-status.
action String
Action. Valid values: allow, block, erase.
caseSensitivity String
Case sensitivity in pattern. Valid values: disable, enable.
direction String
Traffic direction. Valid values: request, response.
log String
Enable/disable logging. Valid values: enable, disable.
name String
Signature name.
pattern String
Match pattern.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.
target String
Match HTTP target. Valid values: arg, arg-name, req-body, req-cookie, req-cookie-name, req-filename, req-header, req-header-name, req-raw-uri, req-uri, resp-body, resp-hdr, resp-status.

ProfileSignatureDisabledSignature
, ProfileSignatureDisabledSignatureArgs

Id int
Signature ID.
Id int
Signature ID.
id Integer
Signature ID.
id number
Signature ID.
id int
Signature ID.
id Number
Signature ID.

ProfileSignatureDisabledSubClass
, ProfileSignatureDisabledSubClassArgs

Id int
Signature subclass ID.
Id int
Signature subclass ID.
id Integer
Signature subclass ID.
id number
Signature subclass ID.
id int
Signature subclass ID.
id Number
Signature subclass ID.

ProfileSignatureMainClass
, ProfileSignatureMainClassArgs

Action string
Action. Valid values: allow, block, erase.
Id int
Main signature class ID.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
Action string
Action. Valid values: allow, block, erase.
Id int
Main signature class ID.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
Status string
Status. Valid values: enable, disable.
action String
Action. Valid values: allow, block, erase.
id Integer
Main signature class ID.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.
action string
Action. Valid values: allow, block, erase.
id number
Main signature class ID.
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
status string
Status. Valid values: enable, disable.
action str
Action. Valid values: allow, block, erase.
id int
Main signature class ID.
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
status str
Status. Valid values: enable, disable.
action String
Action. Valid values: allow, block, erase.
id Number
Main signature class ID.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
status String
Status. Valid values: enable, disable.

ProfileUrlAccess
, ProfileUrlAccessArgs

AccessPatterns List<Pulumiverse.Fortios.Waf.Inputs.ProfileUrlAccessAccessPattern>
URL access pattern. The structure of access_pattern block is documented below.
Action string
Action. Valid values: bypass, permit, block.
Address string
Host address.
Id int
URL access ID.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
AccessPatterns []ProfileUrlAccessAccessPattern
URL access pattern. The structure of access_pattern block is documented below.
Action string
Action. Valid values: bypass, permit, block.
Address string
Host address.
Id int
URL access ID.
Log string
Enable/disable logging. Valid values: enable, disable.
Severity string
Severity. Valid values: high, medium, low.
accessPatterns List<ProfileUrlAccessAccessPattern>
URL access pattern. The structure of access_pattern block is documented below.
action String
Action. Valid values: bypass, permit, block.
address String
Host address.
id Integer
URL access ID.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.
accessPatterns ProfileUrlAccessAccessPattern[]
URL access pattern. The structure of access_pattern block is documented below.
action string
Action. Valid values: bypass, permit, block.
address string
Host address.
id number
URL access ID.
log string
Enable/disable logging. Valid values: enable, disable.
severity string
Severity. Valid values: high, medium, low.
access_patterns Sequence[ProfileUrlAccessAccessPattern]
URL access pattern. The structure of access_pattern block is documented below.
action str
Action. Valid values: bypass, permit, block.
address str
Host address.
id int
URL access ID.
log str
Enable/disable logging. Valid values: enable, disable.
severity str
Severity. Valid values: high, medium, low.
accessPatterns List<Property Map>
URL access pattern. The structure of access_pattern block is documented below.
action String
Action. Valid values: bypass, permit, block.
address String
Host address.
id Number
URL access ID.
log String
Enable/disable logging. Valid values: enable, disable.
severity String
Severity. Valid values: high, medium, low.

ProfileUrlAccessAccessPattern
, ProfileUrlAccessAccessPatternArgs

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

Import

Waf Profile can be imported using any of these accepted formats:

$ pulumi import fortios:waf/profile:Profile labelname {{name}}
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:waf/profile:Profile labelname {{name}}
Copy

$ unset “FORTIOS_IMPORT_TABLE”

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

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.