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

fortimanager.ObjectWafProfileConstraint

Explore with Pulumi AI

WAF HTTP protocol restrictions.

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

  • content_length: fortimanager.ObjectWafProfileConstraintContentlength
  • exception: fortimanager.ObjectWafProfileConstraintException
  • header_length: fortimanager.ObjectWafProfileConstraintHeaderlength
  • hostname: fortimanager.ObjectWafProfileConstraintHostname
  • line_length: fortimanager.ObjectWafProfileConstraintLinelength
  • malformed: fortimanager.ObjectWafProfileConstraintMalformed
  • max_cookie: fortimanager.ObjectWafProfileConstraintMaxcookie
  • max_header_line: fortimanager.ObjectWafProfileConstraintMaxheaderline
  • max_range_segment: fortimanager.ObjectWafProfileConstraintMaxrangesegment
  • max_url_param: fortimanager.ObjectWafProfileConstraintMaxurlparam
  • method: fortimanager.ObjectWafProfileConstraintMethod
  • param_length: fortimanager.ObjectWafProfileConstraintParamlength
  • url_param_length: fortimanager.ObjectWafProfileConstraintUrlparamlength
  • version: fortimanager.ObjectWafProfileConstraintVersion

Example Usage

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

const trnameObjectWafProfile = new fortimanager.ObjectWafProfile("trnameObjectWafProfile", {});
const trnameObjectWafProfileConstraint = new fortimanager.ObjectWafProfileConstraint("trnameObjectWafProfileConstraint", {
    contentLength: {
        action: "allow",
        length: 120,
        log: "enable",
        status: "disable",
    },
    profile: trnameObjectWafProfile.name,
}, {
    dependsOn: [trnameObjectWafProfile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_waf_profile = fortimanager.ObjectWafProfile("trnameObjectWafProfile")
trname_object_waf_profile_constraint = fortimanager.ObjectWafProfileConstraint("trnameObjectWafProfileConstraint",
    content_length={
        "action": "allow",
        "length": 120,
        "log": "enable",
        "status": "disable",
    },
    profile=trname_object_waf_profile.name,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_waf_profile]))
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trnameObjectWafProfile, err := fortimanager.NewObjectWafProfile(ctx, "trnameObjectWafProfile", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectWafProfileConstraint(ctx, "trnameObjectWafProfileConstraint", &fortimanager.ObjectWafProfileConstraintArgs{
			ContentLength: &fortimanager.ObjectWafProfileConstraintContentLengthTypeArgs{
				Action: pulumi.String("allow"),
				Length: pulumi.Float64(120),
				Log:    pulumi.String("enable"),
				Status: pulumi.String("disable"),
			},
			Profile: trnameObjectWafProfile.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectWafProfile,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trnameObjectWafProfile = new Fortimanager.ObjectWafProfile("trnameObjectWafProfile");

    var trnameObjectWafProfileConstraint = new Fortimanager.ObjectWafProfileConstraint("trnameObjectWafProfileConstraint", new()
    {
        ContentLength = new Fortimanager.Inputs.ObjectWafProfileConstraintContentLengthArgs
        {
            Action = "allow",
            Length = 120,
            Log = "enable",
            Status = "disable",
        },
        Profile = trnameObjectWafProfile.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectWafProfile,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectWafProfile;
import com.pulumi.fortimanager.ObjectWafProfileConstraint;
import com.pulumi.fortimanager.ObjectWafProfileConstraintArgs;
import com.pulumi.fortimanager.inputs.ObjectWafProfileConstraintContentLengthArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

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

    public static void stack(Context ctx) {
        var trnameObjectWafProfile = new ObjectWafProfile("trnameObjectWafProfile");

        var trnameObjectWafProfileConstraint = new ObjectWafProfileConstraint("trnameObjectWafProfileConstraint", ObjectWafProfileConstraintArgs.builder()
            .contentLength(ObjectWafProfileConstraintContentLengthArgs.builder()
                .action("allow")
                .length(120)
                .log("enable")
                .status("disable")
                .build())
            .profile(trnameObjectWafProfile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectWafProfile)
                .build());

    }
}
Copy
resources:
  trnameObjectWafProfileConstraint:
    type: fortimanager:ObjectWafProfileConstraint
    properties:
      contentLength:
        action: allow
        length: 120
        log: enable
        status: disable
      profile: ${trnameObjectWafProfile.name}
    options:
      dependsOn:
        - ${trnameObjectWafProfile}
  trnameObjectWafProfile:
    type: fortimanager:ObjectWafProfile
Copy

Create ObjectWafProfileConstraint Resource

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

Constructor syntax

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

@overload
def ObjectWafProfileConstraint(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               profile: Optional[str] = None,
                               max_cookie: Optional[ObjectWafProfileConstraintMaxCookieArgs] = None,
                               exceptions: Optional[Sequence[ObjectWafProfileConstraintExceptionArgs]] = None,
                               max_range_segment: Optional[ObjectWafProfileConstraintMaxRangeSegmentArgs] = None,
                               max_url_param: Optional[ObjectWafProfileConstraintMaxUrlParamArgs] = None,
                               hostname: Optional[ObjectWafProfileConstraintHostnameArgs] = None,
                               line_length: Optional[ObjectWafProfileConstraintLineLengthArgs] = None,
                               malformed: Optional[ObjectWafProfileConstraintMalformedArgs] = None,
                               adom: Optional[str] = None,
                               version: Optional[ObjectWafProfileConstraintVersionArgs] = None,
                               dynamic_sort_subtable: Optional[str] = None,
                               header_length: Optional[ObjectWafProfileConstraintHeaderLengthArgs] = None,
                               method: Optional[ObjectWafProfileConstraintMethodArgs] = None,
                               object_waf_profile_constraint_id: Optional[str] = None,
                               param_length: Optional[ObjectWafProfileConstraintParamLengthArgs] = None,
                               content_length: Optional[ObjectWafProfileConstraintContentLengthArgs] = None,
                               scopetype: Optional[str] = None,
                               url_param_length: Optional[ObjectWafProfileConstraintUrlParamLengthArgs] = None,
                               max_header_line: Optional[ObjectWafProfileConstraintMaxHeaderLineArgs] = None)
func NewObjectWafProfileConstraint(ctx *Context, name string, args ObjectWafProfileConstraintArgs, opts ...ResourceOption) (*ObjectWafProfileConstraint, error)
public ObjectWafProfileConstraint(string name, ObjectWafProfileConstraintArgs args, CustomResourceOptions? opts = null)
public ObjectWafProfileConstraint(String name, ObjectWafProfileConstraintArgs args)
public ObjectWafProfileConstraint(String name, ObjectWafProfileConstraintArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWafProfileConstraint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectWafProfileConstraintArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectWafProfileConstraintInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectWafProfileConstraintArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectWafProfileConstraintArgs
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. ObjectWafProfileConstraintArgs
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 objectWafProfileConstraintResource = new Fortimanager.ObjectWafProfileConstraint("objectWafProfileConstraintResource", new()
{
    Profile = "string",
    MaxCookie = new Fortimanager.Inputs.ObjectWafProfileConstraintMaxCookieArgs
    {
        Action = "string",
        Log = "string",
        MaxCookie = 0,
        Severity = "string",
        Status = "string",
    },
    Exceptions = new[]
    {
        new Fortimanager.Inputs.ObjectWafProfileConstraintExceptionArgs
        {
            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",
        },
    },
    MaxRangeSegment = new Fortimanager.Inputs.ObjectWafProfileConstraintMaxRangeSegmentArgs
    {
        Action = "string",
        Log = "string",
        MaxRangeSegment = 0,
        Severity = "string",
        Status = "string",
    },
    MaxUrlParam = new Fortimanager.Inputs.ObjectWafProfileConstraintMaxUrlParamArgs
    {
        Action = "string",
        Log = "string",
        MaxUrlParam = 0,
        Severity = "string",
        Status = "string",
    },
    Hostname = new Fortimanager.Inputs.ObjectWafProfileConstraintHostnameArgs
    {
        Action = "string",
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    LineLength = new Fortimanager.Inputs.ObjectWafProfileConstraintLineLengthArgs
    {
        Action = "string",
        Length = 0,
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    Malformed = new Fortimanager.Inputs.ObjectWafProfileConstraintMalformedArgs
    {
        Action = "string",
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    Adom = "string",
    Version = new Fortimanager.Inputs.ObjectWafProfileConstraintVersionArgs
    {
        Action = "string",
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    DynamicSortSubtable = "string",
    HeaderLength = new Fortimanager.Inputs.ObjectWafProfileConstraintHeaderLengthArgs
    {
        Action = "string",
        Length = 0,
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    Method = new Fortimanager.Inputs.ObjectWafProfileConstraintMethodArgs
    {
        Action = "string",
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    ObjectWafProfileConstraintId = "string",
    ParamLength = new Fortimanager.Inputs.ObjectWafProfileConstraintParamLengthArgs
    {
        Action = "string",
        Length = 0,
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    ContentLength = new Fortimanager.Inputs.ObjectWafProfileConstraintContentLengthArgs
    {
        Action = "string",
        Length = 0,
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    Scopetype = "string",
    UrlParamLength = new Fortimanager.Inputs.ObjectWafProfileConstraintUrlParamLengthArgs
    {
        Action = "string",
        Length = 0,
        Log = "string",
        Severity = "string",
        Status = "string",
    },
    MaxHeaderLine = new Fortimanager.Inputs.ObjectWafProfileConstraintMaxHeaderLineArgs
    {
        Action = "string",
        Log = "string",
        MaxHeaderLine = 0,
        Severity = "string",
        Status = "string",
    },
});
Copy
example, err := fortimanager.NewObjectWafProfileConstraint(ctx, "objectWafProfileConstraintResource", &fortimanager.ObjectWafProfileConstraintArgs{
Profile: pulumi.String("string"),
MaxCookie: &.ObjectWafProfileConstraintMaxCookieTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
MaxCookie: pulumi.Float64(0),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
Exceptions: .ObjectWafProfileConstraintExceptionTypeArray{
&.ObjectWafProfileConstraintExceptionTypeArgs{
Address: pulumi.String("string"),
ContentLength: pulumi.String("string"),
HeaderLength: pulumi.String("string"),
Hostname: pulumi.String("string"),
Id: pulumi.Float64(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"),
},
},
MaxRangeSegment: &.ObjectWafProfileConstraintMaxRangeSegmentTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
MaxRangeSegment: pulumi.Float64(0),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
MaxUrlParam: &.ObjectWafProfileConstraintMaxUrlParamTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
MaxUrlParam: pulumi.Float64(0),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
Hostname: &.ObjectWafProfileConstraintHostnameTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
LineLength: &.ObjectWafProfileConstraintLineLengthTypeArgs{
Action: pulumi.String("string"),
Length: pulumi.Float64(0),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
Malformed: &.ObjectWafProfileConstraintMalformedTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
Adom: pulumi.String("string"),
Version: &.ObjectWafProfileConstraintVersionTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
DynamicSortSubtable: pulumi.String("string"),
HeaderLength: &.ObjectWafProfileConstraintHeaderLengthTypeArgs{
Action: pulumi.String("string"),
Length: pulumi.Float64(0),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
Method: &.ObjectWafProfileConstraintMethodTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
ObjectWafProfileConstraintId: pulumi.String("string"),
ParamLength: &.ObjectWafProfileConstraintParamLengthTypeArgs{
Action: pulumi.String("string"),
Length: pulumi.Float64(0),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
ContentLength: &.ObjectWafProfileConstraintContentLengthTypeArgs{
Action: pulumi.String("string"),
Length: pulumi.Float64(0),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
Scopetype: pulumi.String("string"),
UrlParamLength: &.ObjectWafProfileConstraintUrlParamLengthTypeArgs{
Action: pulumi.String("string"),
Length: pulumi.Float64(0),
Log: pulumi.String("string"),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
MaxHeaderLine: &.ObjectWafProfileConstraintMaxHeaderLineTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
MaxHeaderLine: pulumi.Float64(0),
Severity: pulumi.String("string"),
Status: pulumi.String("string"),
},
})
Copy
var objectWafProfileConstraintResource = new ObjectWafProfileConstraint("objectWafProfileConstraintResource", ObjectWafProfileConstraintArgs.builder()
    .profile("string")
    .maxCookie(ObjectWafProfileConstraintMaxCookieArgs.builder()
        .action("string")
        .log("string")
        .maxCookie(0)
        .severity("string")
        .status("string")
        .build())
    .exceptions(ObjectWafProfileConstraintExceptionArgs.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())
    .maxRangeSegment(ObjectWafProfileConstraintMaxRangeSegmentArgs.builder()
        .action("string")
        .log("string")
        .maxRangeSegment(0)
        .severity("string")
        .status("string")
        .build())
    .maxUrlParam(ObjectWafProfileConstraintMaxUrlParamArgs.builder()
        .action("string")
        .log("string")
        .maxUrlParam(0)
        .severity("string")
        .status("string")
        .build())
    .hostname(ObjectWafProfileConstraintHostnameArgs.builder()
        .action("string")
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .lineLength(ObjectWafProfileConstraintLineLengthArgs.builder()
        .action("string")
        .length(0)
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .malformed(ObjectWafProfileConstraintMalformedArgs.builder()
        .action("string")
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .adom("string")
    .version(ObjectWafProfileConstraintVersionArgs.builder()
        .action("string")
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .dynamicSortSubtable("string")
    .headerLength(ObjectWafProfileConstraintHeaderLengthArgs.builder()
        .action("string")
        .length(0)
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .method(ObjectWafProfileConstraintMethodArgs.builder()
        .action("string")
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .objectWafProfileConstraintId("string")
    .paramLength(ObjectWafProfileConstraintParamLengthArgs.builder()
        .action("string")
        .length(0)
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .contentLength(ObjectWafProfileConstraintContentLengthArgs.builder()
        .action("string")
        .length(0)
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .scopetype("string")
    .urlParamLength(ObjectWafProfileConstraintUrlParamLengthArgs.builder()
        .action("string")
        .length(0)
        .log("string")
        .severity("string")
        .status("string")
        .build())
    .maxHeaderLine(ObjectWafProfileConstraintMaxHeaderLineArgs.builder()
        .action("string")
        .log("string")
        .maxHeaderLine(0)
        .severity("string")
        .status("string")
        .build())
    .build());
Copy
object_waf_profile_constraint_resource = fortimanager.ObjectWafProfileConstraint("objectWafProfileConstraintResource",
    profile="string",
    max_cookie={
        "action": "string",
        "log": "string",
        "max_cookie": 0,
        "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",
    }],
    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",
    },
    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",
    },
    adom="string",
    version={
        "action": "string",
        "log": "string",
        "severity": "string",
        "status": "string",
    },
    dynamic_sort_subtable="string",
    header_length={
        "action": "string",
        "length": 0,
        "log": "string",
        "severity": "string",
        "status": "string",
    },
    method={
        "action": "string",
        "log": "string",
        "severity": "string",
        "status": "string",
    },
    object_waf_profile_constraint_id="string",
    param_length={
        "action": "string",
        "length": 0,
        "log": "string",
        "severity": "string",
        "status": "string",
    },
    content_length={
        "action": "string",
        "length": 0,
        "log": "string",
        "severity": "string",
        "status": "string",
    },
    scopetype="string",
    url_param_length={
        "action": "string",
        "length": 0,
        "log": "string",
        "severity": "string",
        "status": "string",
    },
    max_header_line={
        "action": "string",
        "log": "string",
        "max_header_line": 0,
        "severity": "string",
        "status": "string",
    })
Copy
const objectWafProfileConstraintResource = new fortimanager.ObjectWafProfileConstraint("objectWafProfileConstraintResource", {
    profile: "string",
    maxCookie: {
        action: "string",
        log: "string",
        maxCookie: 0,
        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",
    }],
    maxRangeSegment: {
        action: "string",
        log: "string",
        maxRangeSegment: 0,
        severity: "string",
        status: "string",
    },
    maxUrlParam: {
        action: "string",
        log: "string",
        maxUrlParam: 0,
        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",
    },
    adom: "string",
    version: {
        action: "string",
        log: "string",
        severity: "string",
        status: "string",
    },
    dynamicSortSubtable: "string",
    headerLength: {
        action: "string",
        length: 0,
        log: "string",
        severity: "string",
        status: "string",
    },
    method: {
        action: "string",
        log: "string",
        severity: "string",
        status: "string",
    },
    objectWafProfileConstraintId: "string",
    paramLength: {
        action: "string",
        length: 0,
        log: "string",
        severity: "string",
        status: "string",
    },
    contentLength: {
        action: "string",
        length: 0,
        log: "string",
        severity: "string",
        status: "string",
    },
    scopetype: "string",
    urlParamLength: {
        action: "string",
        length: 0,
        log: "string",
        severity: "string",
        status: "string",
    },
    maxHeaderLine: {
        action: "string",
        log: "string",
        maxHeaderLine: 0,
        severity: "string",
        status: "string",
    },
});
Copy
type: fortimanager:ObjectWafProfileConstraint
properties:
    adom: string
    contentLength:
        action: string
        length: 0
        log: string
        severity: string
        status: string
    dynamicSortSubtable: 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
    objectWafProfileConstraintId: string
    paramLength:
        action: string
        length: 0
        log: string
        severity: string
        status: string
    profile: string
    scopetype: string
    urlParamLength:
        action: string
        length: 0
        log: string
        severity: string
        status: string
    version:
        action: string
        log: string
        severity: string
        status: string
Copy

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

Profile This property is required. string
Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ContentLength ObjectWafProfileConstraintContentLength
Content-Length. The structure of content_length block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Exceptions List<ObjectWafProfileConstraintException>
Exception. The structure of exception block is documented below.
HeaderLength ObjectWafProfileConstraintHeaderLength
Header-Length. The structure of header_length block is documented below.
Hostname ObjectWafProfileConstraintHostname
Hostname. The structure of hostname block is documented below.
LineLength ObjectWafProfileConstraintLineLength
Line-Length. The structure of line_length block is documented below.
Malformed ObjectWafProfileConstraintMalformed
Malformed. The structure of malformed block is documented below.
MaxCookie ObjectWafProfileConstraintMaxCookie
Max-Cookie. The structure of max_cookie block is documented below.
MaxHeaderLine ObjectWafProfileConstraintMaxHeaderLine
Max-Header-Line. The structure of max_header_line block is documented below.
MaxRangeSegment ObjectWafProfileConstraintMaxRangeSegment
Max-Range-Segment. The structure of max_range_segment block is documented below.
MaxUrlParam ObjectWafProfileConstraintMaxUrlParam
Max-Url-Param. The structure of max_url_param block is documented below.
Method ObjectWafProfileConstraintMethod
Method. The structure of method block is documented below.
ObjectWafProfileConstraintId string
an identifier for the resource.
ParamLength ObjectWafProfileConstraintParamLength
Param-Length. The structure of param_length block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
UrlParamLength ObjectWafProfileConstraintUrlParamLength
Url-Param-Length. The structure of url_param_length block is documented below.
Version ObjectWafProfileConstraintVersion
Version. The structure of version block is documented below.
Profile This property is required. string
Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ContentLength ObjectWafProfileConstraintContentLengthTypeArgs
Content-Length. The structure of content_length block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Exceptions []ObjectWafProfileConstraintExceptionTypeArgs
Exception. The structure of exception block is documented below.
HeaderLength ObjectWafProfileConstraintHeaderLengthTypeArgs
Header-Length. The structure of header_length block is documented below.
Hostname ObjectWafProfileConstraintHostnameTypeArgs
Hostname. The structure of hostname block is documented below.
LineLength ObjectWafProfileConstraintLineLengthTypeArgs
Line-Length. The structure of line_length block is documented below.
Malformed ObjectWafProfileConstraintMalformedTypeArgs
Malformed. The structure of malformed block is documented below.
MaxCookie ObjectWafProfileConstraintMaxCookieTypeArgs
Max-Cookie. The structure of max_cookie block is documented below.
MaxHeaderLine ObjectWafProfileConstraintMaxHeaderLineTypeArgs
Max-Header-Line. The structure of max_header_line block is documented below.
MaxRangeSegment ObjectWafProfileConstraintMaxRangeSegmentTypeArgs
Max-Range-Segment. The structure of max_range_segment block is documented below.
MaxUrlParam ObjectWafProfileConstraintMaxUrlParamTypeArgs
Max-Url-Param. The structure of max_url_param block is documented below.
Method ObjectWafProfileConstraintMethodTypeArgs
Method. The structure of method block is documented below.
ObjectWafProfileConstraintId string
an identifier for the resource.
ParamLength ObjectWafProfileConstraintParamLengthTypeArgs
Param-Length. The structure of param_length block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
UrlParamLength ObjectWafProfileConstraintUrlParamLengthTypeArgs
Url-Param-Length. The structure of url_param_length block is documented below.
Version ObjectWafProfileConstraintVersionTypeArgs
Version. The structure of version block is documented below.
profile This property is required. String
Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength ObjectWafProfileConstraintContentLength
Content-Length. The structure of content_length block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
exceptions List<ObjectWafProfileConstraintException>
Exception. The structure of exception block is documented below.
headerLength ObjectWafProfileConstraintHeaderLength
Header-Length. The structure of header_length block is documented below.
hostname ObjectWafProfileConstraintHostname
Hostname. The structure of hostname block is documented below.
lineLength ObjectWafProfileConstraintLineLength
Line-Length. The structure of line_length block is documented below.
malformed ObjectWafProfileConstraintMalformed
Malformed. The structure of malformed block is documented below.
maxCookie ObjectWafProfileConstraintMaxCookie
Max-Cookie. The structure of max_cookie block is documented below.
maxHeaderLine ObjectWafProfileConstraintMaxHeaderLine
Max-Header-Line. The structure of max_header_line block is documented below.
maxRangeSegment ObjectWafProfileConstraintMaxRangeSegment
Max-Range-Segment. The structure of max_range_segment block is documented below.
maxUrlParam ObjectWafProfileConstraintMaxUrlParam
Max-Url-Param. The structure of max_url_param block is documented below.
method ObjectWafProfileConstraintMethod
Method. The structure of method block is documented below.
objectWafProfileConstraintId String
an identifier for the resource.
paramLength ObjectWafProfileConstraintParamLength
Param-Length. The structure of param_length block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
urlParamLength ObjectWafProfileConstraintUrlParamLength
Url-Param-Length. The structure of url_param_length block is documented below.
version ObjectWafProfileConstraintVersion
Version. The structure of version block is documented below.
profile This property is required. string
Profile.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength ObjectWafProfileConstraintContentLength
Content-Length. The structure of content_length block is documented below.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
exceptions ObjectWafProfileConstraintException[]
Exception. The structure of exception block is documented below.
headerLength ObjectWafProfileConstraintHeaderLength
Header-Length. The structure of header_length block is documented below.
hostname ObjectWafProfileConstraintHostname
Hostname. The structure of hostname block is documented below.
lineLength ObjectWafProfileConstraintLineLength
Line-Length. The structure of line_length block is documented below.
malformed ObjectWafProfileConstraintMalformed
Malformed. The structure of malformed block is documented below.
maxCookie ObjectWafProfileConstraintMaxCookie
Max-Cookie. The structure of max_cookie block is documented below.
maxHeaderLine ObjectWafProfileConstraintMaxHeaderLine
Max-Header-Line. The structure of max_header_line block is documented below.
maxRangeSegment ObjectWafProfileConstraintMaxRangeSegment
Max-Range-Segment. The structure of max_range_segment block is documented below.
maxUrlParam ObjectWafProfileConstraintMaxUrlParam
Max-Url-Param. The structure of max_url_param block is documented below.
method ObjectWafProfileConstraintMethod
Method. The structure of method block is documented below.
objectWafProfileConstraintId string
an identifier for the resource.
paramLength ObjectWafProfileConstraintParamLength
Param-Length. The structure of param_length block is documented below.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
urlParamLength ObjectWafProfileConstraintUrlParamLength
Url-Param-Length. The structure of url_param_length block is documented below.
version ObjectWafProfileConstraintVersion
Version. The structure of version block is documented below.
profile This property is required. str
Profile.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
content_length ObjectWafProfileConstraintContentLengthArgs
Content-Length. The structure of content_length block is documented below.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
exceptions Sequence[ObjectWafProfileConstraintExceptionArgs]
Exception. The structure of exception block is documented below.
header_length ObjectWafProfileConstraintHeaderLengthArgs
Header-Length. The structure of header_length block is documented below.
hostname ObjectWafProfileConstraintHostnameArgs
Hostname. The structure of hostname block is documented below.
line_length ObjectWafProfileConstraintLineLengthArgs
Line-Length. The structure of line_length block is documented below.
malformed ObjectWafProfileConstraintMalformedArgs
Malformed. The structure of malformed block is documented below.
max_cookie ObjectWafProfileConstraintMaxCookieArgs
Max-Cookie. The structure of max_cookie block is documented below.
max_header_line ObjectWafProfileConstraintMaxHeaderLineArgs
Max-Header-Line. The structure of max_header_line block is documented below.
max_range_segment ObjectWafProfileConstraintMaxRangeSegmentArgs
Max-Range-Segment. The structure of max_range_segment block is documented below.
max_url_param ObjectWafProfileConstraintMaxUrlParamArgs
Max-Url-Param. The structure of max_url_param block is documented below.
method ObjectWafProfileConstraintMethodArgs
Method. The structure of method block is documented below.
object_waf_profile_constraint_id str
an identifier for the resource.
param_length ObjectWafProfileConstraintParamLengthArgs
Param-Length. The structure of param_length block is documented below.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
url_param_length ObjectWafProfileConstraintUrlParamLengthArgs
Url-Param-Length. The structure of url_param_length block is documented below.
version ObjectWafProfileConstraintVersionArgs
Version. The structure of version block is documented below.
profile This property is required. String
Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength Property Map
Content-Length. The structure of content_length block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
exceptions List<Property Map>
Exception. The structure of exception block is documented below.
headerLength Property Map
Header-Length. The structure of header_length block is documented below.
hostname Property Map
Hostname. The structure of hostname block is documented below.
lineLength Property Map
Line-Length. The structure of line_length block is documented below.
malformed Property Map
Malformed. The structure of malformed block is documented below.
maxCookie Property Map
Max-Cookie. The structure of max_cookie block is documented below.
maxHeaderLine Property Map
Max-Header-Line. The structure of max_header_line block is documented below.
maxRangeSegment Property Map
Max-Range-Segment. The structure of max_range_segment block is documented below.
maxUrlParam Property Map
Max-Url-Param. The structure of max_url_param block is documented below.
method Property Map
Method. The structure of method block is documented below.
objectWafProfileConstraintId String
an identifier for the resource.
paramLength Property Map
Param-Length. The structure of param_length block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
urlParamLength Property Map
Url-Param-Length. The structure of url_param_length block is documented below.
version Property Map
Version. The structure of version block is documented below.

Outputs

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

Get an existing ObjectWafProfileConstraint 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?: ObjectWafProfileConstraintState, opts?: CustomResourceOptions): ObjectWafProfileConstraint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        content_length: Optional[ObjectWafProfileConstraintContentLengthArgs] = None,
        dynamic_sort_subtable: Optional[str] = None,
        exceptions: Optional[Sequence[ObjectWafProfileConstraintExceptionArgs]] = None,
        header_length: Optional[ObjectWafProfileConstraintHeaderLengthArgs] = None,
        hostname: Optional[ObjectWafProfileConstraintHostnameArgs] = None,
        line_length: Optional[ObjectWafProfileConstraintLineLengthArgs] = None,
        malformed: Optional[ObjectWafProfileConstraintMalformedArgs] = None,
        max_cookie: Optional[ObjectWafProfileConstraintMaxCookieArgs] = None,
        max_header_line: Optional[ObjectWafProfileConstraintMaxHeaderLineArgs] = None,
        max_range_segment: Optional[ObjectWafProfileConstraintMaxRangeSegmentArgs] = None,
        max_url_param: Optional[ObjectWafProfileConstraintMaxUrlParamArgs] = None,
        method: Optional[ObjectWafProfileConstraintMethodArgs] = None,
        object_waf_profile_constraint_id: Optional[str] = None,
        param_length: Optional[ObjectWafProfileConstraintParamLengthArgs] = None,
        profile: Optional[str] = None,
        scopetype: Optional[str] = None,
        url_param_length: Optional[ObjectWafProfileConstraintUrlParamLengthArgs] = None,
        version: Optional[ObjectWafProfileConstraintVersionArgs] = None) -> ObjectWafProfileConstraint
func GetObjectWafProfileConstraint(ctx *Context, name string, id IDInput, state *ObjectWafProfileConstraintState, opts ...ResourceOption) (*ObjectWafProfileConstraint, error)
public static ObjectWafProfileConstraint Get(string name, Input<string> id, ObjectWafProfileConstraintState? state, CustomResourceOptions? opts = null)
public static ObjectWafProfileConstraint get(String name, Output<String> id, ObjectWafProfileConstraintState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWafProfileConstraint    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ContentLength ObjectWafProfileConstraintContentLength
Content-Length. The structure of content_length block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Exceptions List<ObjectWafProfileConstraintException>
Exception. The structure of exception block is documented below.
HeaderLength ObjectWafProfileConstraintHeaderLength
Header-Length. The structure of header_length block is documented below.
Hostname ObjectWafProfileConstraintHostname
Hostname. The structure of hostname block is documented below.
LineLength ObjectWafProfileConstraintLineLength
Line-Length. The structure of line_length block is documented below.
Malformed ObjectWafProfileConstraintMalformed
Malformed. The structure of malformed block is documented below.
MaxCookie ObjectWafProfileConstraintMaxCookie
Max-Cookie. The structure of max_cookie block is documented below.
MaxHeaderLine ObjectWafProfileConstraintMaxHeaderLine
Max-Header-Line. The structure of max_header_line block is documented below.
MaxRangeSegment ObjectWafProfileConstraintMaxRangeSegment
Max-Range-Segment. The structure of max_range_segment block is documented below.
MaxUrlParam ObjectWafProfileConstraintMaxUrlParam
Max-Url-Param. The structure of max_url_param block is documented below.
Method ObjectWafProfileConstraintMethod
Method. The structure of method block is documented below.
ObjectWafProfileConstraintId string
an identifier for the resource.
ParamLength ObjectWafProfileConstraintParamLength
Param-Length. The structure of param_length block is documented below.
Profile string
Profile.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
UrlParamLength ObjectWafProfileConstraintUrlParamLength
Url-Param-Length. The structure of url_param_length block is documented below.
Version ObjectWafProfileConstraintVersion
Version. The structure of version block is documented below.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ContentLength ObjectWafProfileConstraintContentLengthTypeArgs
Content-Length. The structure of content_length block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Exceptions []ObjectWafProfileConstraintExceptionTypeArgs
Exception. The structure of exception block is documented below.
HeaderLength ObjectWafProfileConstraintHeaderLengthTypeArgs
Header-Length. The structure of header_length block is documented below.
Hostname ObjectWafProfileConstraintHostnameTypeArgs
Hostname. The structure of hostname block is documented below.
LineLength ObjectWafProfileConstraintLineLengthTypeArgs
Line-Length. The structure of line_length block is documented below.
Malformed ObjectWafProfileConstraintMalformedTypeArgs
Malformed. The structure of malformed block is documented below.
MaxCookie ObjectWafProfileConstraintMaxCookieTypeArgs
Max-Cookie. The structure of max_cookie block is documented below.
MaxHeaderLine ObjectWafProfileConstraintMaxHeaderLineTypeArgs
Max-Header-Line. The structure of max_header_line block is documented below.
MaxRangeSegment ObjectWafProfileConstraintMaxRangeSegmentTypeArgs
Max-Range-Segment. The structure of max_range_segment block is documented below.
MaxUrlParam ObjectWafProfileConstraintMaxUrlParamTypeArgs
Max-Url-Param. The structure of max_url_param block is documented below.
Method ObjectWafProfileConstraintMethodTypeArgs
Method. The structure of method block is documented below.
ObjectWafProfileConstraintId string
an identifier for the resource.
ParamLength ObjectWafProfileConstraintParamLengthTypeArgs
Param-Length. The structure of param_length block is documented below.
Profile string
Profile.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
UrlParamLength ObjectWafProfileConstraintUrlParamLengthTypeArgs
Url-Param-Length. The structure of url_param_length block is documented below.
Version ObjectWafProfileConstraintVersionTypeArgs
Version. The structure of version block is documented below.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength ObjectWafProfileConstraintContentLength
Content-Length. The structure of content_length block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
exceptions List<ObjectWafProfileConstraintException>
Exception. The structure of exception block is documented below.
headerLength ObjectWafProfileConstraintHeaderLength
Header-Length. The structure of header_length block is documented below.
hostname ObjectWafProfileConstraintHostname
Hostname. The structure of hostname block is documented below.
lineLength ObjectWafProfileConstraintLineLength
Line-Length. The structure of line_length block is documented below.
malformed ObjectWafProfileConstraintMalformed
Malformed. The structure of malformed block is documented below.
maxCookie ObjectWafProfileConstraintMaxCookie
Max-Cookie. The structure of max_cookie block is documented below.
maxHeaderLine ObjectWafProfileConstraintMaxHeaderLine
Max-Header-Line. The structure of max_header_line block is documented below.
maxRangeSegment ObjectWafProfileConstraintMaxRangeSegment
Max-Range-Segment. The structure of max_range_segment block is documented below.
maxUrlParam ObjectWafProfileConstraintMaxUrlParam
Max-Url-Param. The structure of max_url_param block is documented below.
method ObjectWafProfileConstraintMethod
Method. The structure of method block is documented below.
objectWafProfileConstraintId String
an identifier for the resource.
paramLength ObjectWafProfileConstraintParamLength
Param-Length. The structure of param_length block is documented below.
profile String
Profile.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
urlParamLength ObjectWafProfileConstraintUrlParamLength
Url-Param-Length. The structure of url_param_length block is documented below.
version ObjectWafProfileConstraintVersion
Version. The structure of version block is documented below.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength ObjectWafProfileConstraintContentLength
Content-Length. The structure of content_length block is documented below.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
exceptions ObjectWafProfileConstraintException[]
Exception. The structure of exception block is documented below.
headerLength ObjectWafProfileConstraintHeaderLength
Header-Length. The structure of header_length block is documented below.
hostname ObjectWafProfileConstraintHostname
Hostname. The structure of hostname block is documented below.
lineLength ObjectWafProfileConstraintLineLength
Line-Length. The structure of line_length block is documented below.
malformed ObjectWafProfileConstraintMalformed
Malformed. The structure of malformed block is documented below.
maxCookie ObjectWafProfileConstraintMaxCookie
Max-Cookie. The structure of max_cookie block is documented below.
maxHeaderLine ObjectWafProfileConstraintMaxHeaderLine
Max-Header-Line. The structure of max_header_line block is documented below.
maxRangeSegment ObjectWafProfileConstraintMaxRangeSegment
Max-Range-Segment. The structure of max_range_segment block is documented below.
maxUrlParam ObjectWafProfileConstraintMaxUrlParam
Max-Url-Param. The structure of max_url_param block is documented below.
method ObjectWafProfileConstraintMethod
Method. The structure of method block is documented below.
objectWafProfileConstraintId string
an identifier for the resource.
paramLength ObjectWafProfileConstraintParamLength
Param-Length. The structure of param_length block is documented below.
profile string
Profile.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
urlParamLength ObjectWafProfileConstraintUrlParamLength
Url-Param-Length. The structure of url_param_length block is documented below.
version ObjectWafProfileConstraintVersion
Version. The structure of version block is documented below.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
content_length ObjectWafProfileConstraintContentLengthArgs
Content-Length. The structure of content_length block is documented below.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
exceptions Sequence[ObjectWafProfileConstraintExceptionArgs]
Exception. The structure of exception block is documented below.
header_length ObjectWafProfileConstraintHeaderLengthArgs
Header-Length. The structure of header_length block is documented below.
hostname ObjectWafProfileConstraintHostnameArgs
Hostname. The structure of hostname block is documented below.
line_length ObjectWafProfileConstraintLineLengthArgs
Line-Length. The structure of line_length block is documented below.
malformed ObjectWafProfileConstraintMalformedArgs
Malformed. The structure of malformed block is documented below.
max_cookie ObjectWafProfileConstraintMaxCookieArgs
Max-Cookie. The structure of max_cookie block is documented below.
max_header_line ObjectWafProfileConstraintMaxHeaderLineArgs
Max-Header-Line. The structure of max_header_line block is documented below.
max_range_segment ObjectWafProfileConstraintMaxRangeSegmentArgs
Max-Range-Segment. The structure of max_range_segment block is documented below.
max_url_param ObjectWafProfileConstraintMaxUrlParamArgs
Max-Url-Param. The structure of max_url_param block is documented below.
method ObjectWafProfileConstraintMethodArgs
Method. The structure of method block is documented below.
object_waf_profile_constraint_id str
an identifier for the resource.
param_length ObjectWafProfileConstraintParamLengthArgs
Param-Length. The structure of param_length block is documented below.
profile str
Profile.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
url_param_length ObjectWafProfileConstraintUrlParamLengthArgs
Url-Param-Length. The structure of url_param_length block is documented below.
version ObjectWafProfileConstraintVersionArgs
Version. The structure of version block is documented below.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
contentLength Property Map
Content-Length. The structure of content_length block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
exceptions List<Property Map>
Exception. The structure of exception block is documented below.
headerLength Property Map
Header-Length. The structure of header_length block is documented below.
hostname Property Map
Hostname. The structure of hostname block is documented below.
lineLength Property Map
Line-Length. The structure of line_length block is documented below.
malformed Property Map
Malformed. The structure of malformed block is documented below.
maxCookie Property Map
Max-Cookie. The structure of max_cookie block is documented below.
maxHeaderLine Property Map
Max-Header-Line. The structure of max_header_line block is documented below.
maxRangeSegment Property Map
Max-Range-Segment. The structure of max_range_segment block is documented below.
maxUrlParam Property Map
Max-Url-Param. The structure of max_url_param block is documented below.
method Property Map
Method. The structure of method block is documented below.
objectWafProfileConstraintId String
an identifier for the resource.
paramLength Property Map
Param-Length. The structure of param_length block is documented below.
profile String
Profile.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
urlParamLength Property Map
Url-Param-Length. The structure of url_param_length block is documented below.
version Property Map
Version. The structure of version block is documented below.

Supporting Types

ObjectWafProfileConstraintContentLength
, ObjectWafProfileConstraintContentLengthArgs

Action string
Action. Valid values: allow, block.
Length double
Length of HTTP content in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
Action string
Action. Valid values: allow, block.
Length float64
Length of HTTP content in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
action String
Action. Valid values: allow, block.
length Double
Length of HTTP content in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity string
Severity. Valid values: low, medium, high.
status string
Enable/disable the constraint. Valid values: disable, enable.
action str
Action. Valid values: allow, block.
length float
Length of HTTP content in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: disable, enable.
severity str
Severity. Valid values: low, medium, high.
status str
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.

ObjectWafProfileConstraintException
, ObjectWafProfileConstraintExceptionArgs

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

ObjectWafProfileConstraintHeaderLength
, ObjectWafProfileConstraintHeaderLengthArgs

Action string
Action. Valid values: allow, block.
Length double
Length of HTTP header in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
Action string
Action. Valid values: allow, block.
Length float64
Length of HTTP header in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
action String
Action. Valid values: allow, block.
length Double
Length of HTTP header in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity string
Severity. Valid values: low, medium, high.
status string
Enable/disable the constraint. Valid values: disable, enable.
action str
Action. Valid values: allow, block.
length float
Length of HTTP header in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: disable, enable.
severity str
Severity. Valid values: low, medium, high.
status str
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.

ObjectWafProfileConstraintHostname
, ObjectWafProfileConstraintHostnameArgs

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

ObjectWafProfileConstraintLineLength
, ObjectWafProfileConstraintLineLengthArgs

Action string
Action. Valid values: allow, block.
Length double
Length of HTTP line in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
Action string
Action. Valid values: allow, block.
Length float64
Length of HTTP line in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
action String
Action. Valid values: allow, block.
length Double
Length of HTTP line in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity string
Severity. Valid values: low, medium, high.
status string
Enable/disable the constraint. Valid values: disable, enable.
action str
Action. Valid values: allow, block.
length float
Length of HTTP line in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: disable, enable.
severity str
Severity. Valid values: low, medium, high.
status str
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.

ObjectWafProfileConstraintMalformed
, ObjectWafProfileConstraintMalformedArgs

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

ObjectWafProfileConstraintMaxCookie
, ObjectWafProfileConstraintMaxCookieArgs

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

ObjectWafProfileConstraintMaxHeaderLine
, ObjectWafProfileConstraintMaxHeaderLineArgs

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

ObjectWafProfileConstraintMaxRangeSegment
, ObjectWafProfileConstraintMaxRangeSegmentArgs

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

ObjectWafProfileConstraintMaxUrlParam
, ObjectWafProfileConstraintMaxUrlParamArgs

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

ObjectWafProfileConstraintMethod
, ObjectWafProfileConstraintMethodArgs

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

ObjectWafProfileConstraintParamLength
, ObjectWafProfileConstraintParamLengthArgs

Action string
Action. Valid values: allow, block.
Length double
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
Action string
Action. Valid values: allow, block.
Length float64
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
action String
Action. Valid values: allow, block.
length Double
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity string
Severity. Valid values: low, medium, high.
status string
Enable/disable the constraint. Valid values: disable, enable.
action str
Action. Valid values: allow, block.
length float
Maximum length of parameter in URL, HTTP POST request or HTTP body in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: disable, enable.
severity str
Severity. Valid values: low, medium, high.
status str
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.

ObjectWafProfileConstraintUrlParamLength
, ObjectWafProfileConstraintUrlParamLengthArgs

Action string
Action. Valid values: allow, block.
Length double
Maximum length of URL parameter in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
Action string
Action. Valid values: allow, block.
Length float64
Maximum length of URL parameter in bytes (0 to 2147483647).
Log string
Enable/disable logging. Valid values: disable, enable.
Severity string
Severity. Valid values: low, medium, high.
Status string
Enable/disable the constraint. Valid values: disable, enable.
action String
Action. Valid values: allow, block.
length Double
Maximum length of URL parameter in bytes (0 to 2147483647).
log String
Enable/disable logging. Valid values: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity string
Severity. Valid values: low, medium, high.
status string
Enable/disable the constraint. Valid values: disable, enable.
action str
Action. Valid values: allow, block.
length float
Maximum length of URL parameter in bytes (0 to 2147483647).
log str
Enable/disable logging. Valid values: disable, enable.
severity str
Severity. Valid values: low, medium, high.
status str
Enable/disable the constraint. Valid values: disable, enable.
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: disable, enable.
severity String
Severity. Valid values: low, medium, high.
status String
Enable/disable the constraint. Valid values: disable, enable.

ObjectWafProfileConstraintVersion
, ObjectWafProfileConstraintVersionArgs

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

Import

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

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWafProfileConstraint:ObjectWafProfileConstraint labelname ObjectWafProfileConstraint
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

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

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

Package Details

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