1. Packages
  2. Gcore Provider
  3. API Docs
  4. WaapCustomRule
gcore 0.24.1 published on Wednesday, Jun 4, 2025 by g-core

gcore.WaapCustomRule

Explore with Pulumi AI

gcore logo
gcore 0.24.1 published on Wednesday, Jun 4, 2025 by g-core

    Represent Custom Rules for a specific WAAP domain

    Create WaapCustomRule Resource

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

    Constructor syntax

    new WaapCustomRule(name: string, args: WaapCustomRuleArgs, opts?: CustomResourceOptions);
    @overload
    def WaapCustomRule(resource_name: str,
                       args: WaapCustomRuleArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def WaapCustomRule(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       action: Optional[WaapCustomRuleActionArgs] = None,
                       conditions: Optional[WaapCustomRuleConditionsArgs] = None,
                       domain_id: Optional[float] = None,
                       enabled: Optional[bool] = None,
                       description: Optional[str] = None,
                       name: Optional[str] = None,
                       waap_custom_rule_id: Optional[str] = None)
    func NewWaapCustomRule(ctx *Context, name string, args WaapCustomRuleArgs, opts ...ResourceOption) (*WaapCustomRule, error)
    public WaapCustomRule(string name, WaapCustomRuleArgs args, CustomResourceOptions? opts = null)
    public WaapCustomRule(String name, WaapCustomRuleArgs args)
    public WaapCustomRule(String name, WaapCustomRuleArgs args, CustomResourceOptions options)
    
    type: gcore:WaapCustomRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WaapCustomRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WaapCustomRuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WaapCustomRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WaapCustomRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WaapCustomRuleArgs
    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 waapCustomRuleResource = new Gcore.WaapCustomRule("waapCustomRuleResource", new()
    {
        Action = new Gcore.Inputs.WaapCustomRuleActionArgs
        {
            Allow = false,
            Block = new Gcore.Inputs.WaapCustomRuleActionBlockArgs
            {
                ActionDuration = "string",
                StatusCode = 0,
            },
            Captcha = false,
            Handshake = false,
            Monitor = false,
            Tag = new Gcore.Inputs.WaapCustomRuleActionTagArgs
            {
                Tags = new[]
                {
                    "string",
                },
            },
        },
        Conditions = new Gcore.Inputs.WaapCustomRuleConditionsArgs
        {
            ContentTypes = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsContentTypeArgs
                {
                    ContentTypes = new[]
                    {
                        "string",
                    },
                    Negation = false,
                },
            },
            Countries = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsCountryArgs
                {
                    CountryCodes = new[]
                    {
                        "string",
                    },
                    Negation = false,
                },
            },
            FileExtensions = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsFileExtensionArgs
                {
                    FileExtensions = new[]
                    {
                        "string",
                    },
                    Negation = false,
                },
            },
            HeaderExists = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsHeaderExistArgs
                {
                    Header = "string",
                    Negation = false,
                },
            },
            Headers = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsHeaderArgs
                {
                    Header = "string",
                    Value = "string",
                    MatchType = "string",
                    Negation = false,
                },
            },
            HttpMethods = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsHttpMethodArgs
                {
                    HttpMethod = "string",
                    Negation = false,
                },
            },
            IpRanges = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsIpRangeArgs
                {
                    LowerBound = "string",
                    UpperBound = "string",
                    Negation = false,
                },
            },
            Ips = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsIpArgs
                {
                    IpAddress = "string",
                    Negation = false,
                },
            },
            Organizations = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsOrganizationArgs
                {
                    Organization = "string",
                    Negation = false,
                },
            },
            OwnerTypes = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsOwnerTypeArgs
                {
                    OwnerTypes = new[]
                    {
                        "string",
                    },
                    Negation = false,
                },
            },
            RequestRates = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsRequestRateArgs
                {
                    PathPattern = "string",
                    Requests = 0,
                    Time = 0,
                    HttpMethods = new[]
                    {
                        "string",
                    },
                    Ips = new[]
                    {
                        "string",
                    },
                    UserDefinedTag = "string",
                },
            },
            ResponseHeaderExists = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsResponseHeaderExistArgs
                {
                    Header = "string",
                    Negation = false,
                },
            },
            ResponseHeaders = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsResponseHeaderArgs
                {
                    Header = "string",
                    Value = "string",
                    MatchType = "string",
                    Negation = false,
                },
            },
            SessionRequestCounts = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsSessionRequestCountArgs
                {
                    RequestCount = 0,
                    Negation = false,
                },
            },
            Tags = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsTagArgs
                {
                    Tags = new[]
                    {
                        "string",
                    },
                    Negation = false,
                },
            },
            Urls = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsUrlArgs
                {
                    Url = "string",
                    MatchType = "string",
                    Negation = false,
                },
            },
            UserAgents = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsUserAgentArgs
                {
                    UserAgent = "string",
                    MatchType = "string",
                    Negation = false,
                },
            },
            UserDefinedTags = new[]
            {
                new Gcore.Inputs.WaapCustomRuleConditionsUserDefinedTagArgs
                {
                    Tags = new[]
                    {
                        "string",
                    },
                    Negation = false,
                },
            },
        },
        DomainId = 0,
        Enabled = false,
        Description = "string",
        Name = "string",
        WaapCustomRuleId = "string",
    });
    
    example, err := gcore.NewWaapCustomRule(ctx, "waapCustomRuleResource", &gcore.WaapCustomRuleArgs{
    	Action: &gcore.WaapCustomRuleActionArgs{
    		Allow: pulumi.Bool(false),
    		Block: &gcore.WaapCustomRuleActionBlockArgs{
    			ActionDuration: pulumi.String("string"),
    			StatusCode:     pulumi.Float64(0),
    		},
    		Captcha:   pulumi.Bool(false),
    		Handshake: pulumi.Bool(false),
    		Monitor:   pulumi.Bool(false),
    		Tag: &gcore.WaapCustomRuleActionTagArgs{
    			Tags: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Conditions: &gcore.WaapCustomRuleConditionsArgs{
    		ContentTypes: gcore.WaapCustomRuleConditionsContentTypeArray{
    			&gcore.WaapCustomRuleConditionsContentTypeArgs{
    				ContentTypes: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Negation: pulumi.Bool(false),
    			},
    		},
    		Countries: gcore.WaapCustomRuleConditionsCountryArray{
    			&gcore.WaapCustomRuleConditionsCountryArgs{
    				CountryCodes: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Negation: pulumi.Bool(false),
    			},
    		},
    		FileExtensions: gcore.WaapCustomRuleConditionsFileExtensionArray{
    			&gcore.WaapCustomRuleConditionsFileExtensionArgs{
    				FileExtensions: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Negation: pulumi.Bool(false),
    			},
    		},
    		HeaderExists: gcore.WaapCustomRuleConditionsHeaderExistArray{
    			&gcore.WaapCustomRuleConditionsHeaderExistArgs{
    				Header:   pulumi.String("string"),
    				Negation: pulumi.Bool(false),
    			},
    		},
    		Headers: gcore.WaapCustomRuleConditionsHeaderArray{
    			&gcore.WaapCustomRuleConditionsHeaderArgs{
    				Header:    pulumi.String("string"),
    				Value:     pulumi.String("string"),
    				MatchType: pulumi.String("string"),
    				Negation:  pulumi.Bool(false),
    			},
    		},
    		HttpMethods: gcore.WaapCustomRuleConditionsHttpMethodArray{
    			&gcore.WaapCustomRuleConditionsHttpMethodArgs{
    				HttpMethod: pulumi.String("string"),
    				Negation:   pulumi.Bool(false),
    			},
    		},
    		IpRanges: gcore.WaapCustomRuleConditionsIpRangeArray{
    			&gcore.WaapCustomRuleConditionsIpRangeArgs{
    				LowerBound: pulumi.String("string"),
    				UpperBound: pulumi.String("string"),
    				Negation:   pulumi.Bool(false),
    			},
    		},
    		Ips: gcore.WaapCustomRuleConditionsIpArray{
    			&gcore.WaapCustomRuleConditionsIpArgs{
    				IpAddress: pulumi.String("string"),
    				Negation:  pulumi.Bool(false),
    			},
    		},
    		Organizations: gcore.WaapCustomRuleConditionsOrganizationArray{
    			&gcore.WaapCustomRuleConditionsOrganizationArgs{
    				Organization: pulumi.String("string"),
    				Negation:     pulumi.Bool(false),
    			},
    		},
    		OwnerTypes: gcore.WaapCustomRuleConditionsOwnerTypeArray{
    			&gcore.WaapCustomRuleConditionsOwnerTypeArgs{
    				OwnerTypes: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Negation: pulumi.Bool(false),
    			},
    		},
    		RequestRates: gcore.WaapCustomRuleConditionsRequestRateArray{
    			&gcore.WaapCustomRuleConditionsRequestRateArgs{
    				PathPattern: pulumi.String("string"),
    				Requests:    pulumi.Float64(0),
    				Time:        pulumi.Float64(0),
    				HttpMethods: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Ips: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				UserDefinedTag: pulumi.String("string"),
    			},
    		},
    		ResponseHeaderExists: gcore.WaapCustomRuleConditionsResponseHeaderExistArray{
    			&gcore.WaapCustomRuleConditionsResponseHeaderExistArgs{
    				Header:   pulumi.String("string"),
    				Negation: pulumi.Bool(false),
    			},
    		},
    		ResponseHeaders: gcore.WaapCustomRuleConditionsResponseHeaderArray{
    			&gcore.WaapCustomRuleConditionsResponseHeaderArgs{
    				Header:    pulumi.String("string"),
    				Value:     pulumi.String("string"),
    				MatchType: pulumi.String("string"),
    				Negation:  pulumi.Bool(false),
    			},
    		},
    		SessionRequestCounts: gcore.WaapCustomRuleConditionsSessionRequestCountArray{
    			&gcore.WaapCustomRuleConditionsSessionRequestCountArgs{
    				RequestCount: pulumi.Float64(0),
    				Negation:     pulumi.Bool(false),
    			},
    		},
    		Tags: gcore.WaapCustomRuleConditionsTagArray{
    			&gcore.WaapCustomRuleConditionsTagArgs{
    				Tags: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Negation: pulumi.Bool(false),
    			},
    		},
    		Urls: gcore.WaapCustomRuleConditionsUrlArray{
    			&gcore.WaapCustomRuleConditionsUrlArgs{
    				Url:       pulumi.String("string"),
    				MatchType: pulumi.String("string"),
    				Negation:  pulumi.Bool(false),
    			},
    		},
    		UserAgents: gcore.WaapCustomRuleConditionsUserAgentArray{
    			&gcore.WaapCustomRuleConditionsUserAgentArgs{
    				UserAgent: pulumi.String("string"),
    				MatchType: pulumi.String("string"),
    				Negation:  pulumi.Bool(false),
    			},
    		},
    		UserDefinedTags: gcore.WaapCustomRuleConditionsUserDefinedTagArray{
    			&gcore.WaapCustomRuleConditionsUserDefinedTagArgs{
    				Tags: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Negation: pulumi.Bool(false),
    			},
    		},
    	},
    	DomainId:         pulumi.Float64(0),
    	Enabled:          pulumi.Bool(false),
    	Description:      pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	WaapCustomRuleId: pulumi.String("string"),
    })
    
    var waapCustomRuleResource = new WaapCustomRule("waapCustomRuleResource", WaapCustomRuleArgs.builder()
        .action(WaapCustomRuleActionArgs.builder()
            .allow(false)
            .block(WaapCustomRuleActionBlockArgs.builder()
                .actionDuration("string")
                .statusCode(0.0)
                .build())
            .captcha(false)
            .handshake(false)
            .monitor(false)
            .tag(WaapCustomRuleActionTagArgs.builder()
                .tags("string")
                .build())
            .build())
        .conditions(WaapCustomRuleConditionsArgs.builder()
            .contentTypes(WaapCustomRuleConditionsContentTypeArgs.builder()
                .contentTypes("string")
                .negation(false)
                .build())
            .countries(WaapCustomRuleConditionsCountryArgs.builder()
                .countryCodes("string")
                .negation(false)
                .build())
            .fileExtensions(WaapCustomRuleConditionsFileExtensionArgs.builder()
                .fileExtensions("string")
                .negation(false)
                .build())
            .headerExists(WaapCustomRuleConditionsHeaderExistArgs.builder()
                .header("string")
                .negation(false)
                .build())
            .headers(WaapCustomRuleConditionsHeaderArgs.builder()
                .header("string")
                .value("string")
                .matchType("string")
                .negation(false)
                .build())
            .httpMethods(WaapCustomRuleConditionsHttpMethodArgs.builder()
                .httpMethod("string")
                .negation(false)
                .build())
            .ipRanges(WaapCustomRuleConditionsIpRangeArgs.builder()
                .lowerBound("string")
                .upperBound("string")
                .negation(false)
                .build())
            .ips(WaapCustomRuleConditionsIpArgs.builder()
                .ipAddress("string")
                .negation(false)
                .build())
            .organizations(WaapCustomRuleConditionsOrganizationArgs.builder()
                .organization("string")
                .negation(false)
                .build())
            .ownerTypes(WaapCustomRuleConditionsOwnerTypeArgs.builder()
                .ownerTypes("string")
                .negation(false)
                .build())
            .requestRates(WaapCustomRuleConditionsRequestRateArgs.builder()
                .pathPattern("string")
                .requests(0.0)
                .time(0.0)
                .httpMethods("string")
                .ips("string")
                .userDefinedTag("string")
                .build())
            .responseHeaderExists(WaapCustomRuleConditionsResponseHeaderExistArgs.builder()
                .header("string")
                .negation(false)
                .build())
            .responseHeaders(WaapCustomRuleConditionsResponseHeaderArgs.builder()
                .header("string")
                .value("string")
                .matchType("string")
                .negation(false)
                .build())
            .sessionRequestCounts(WaapCustomRuleConditionsSessionRequestCountArgs.builder()
                .requestCount(0.0)
                .negation(false)
                .build())
            .tags(WaapCustomRuleConditionsTagArgs.builder()
                .tags("string")
                .negation(false)
                .build())
            .urls(WaapCustomRuleConditionsUrlArgs.builder()
                .url("string")
                .matchType("string")
                .negation(false)
                .build())
            .userAgents(WaapCustomRuleConditionsUserAgentArgs.builder()
                .userAgent("string")
                .matchType("string")
                .negation(false)
                .build())
            .userDefinedTags(WaapCustomRuleConditionsUserDefinedTagArgs.builder()
                .tags("string")
                .negation(false)
                .build())
            .build())
        .domainId(0.0)
        .enabled(false)
        .description("string")
        .name("string")
        .waapCustomRuleId("string")
        .build());
    
    waap_custom_rule_resource = gcore.WaapCustomRule("waapCustomRuleResource",
        action={
            "allow": False,
            "block": {
                "action_duration": "string",
                "status_code": 0,
            },
            "captcha": False,
            "handshake": False,
            "monitor": False,
            "tag": {
                "tags": ["string"],
            },
        },
        conditions={
            "content_types": [{
                "content_types": ["string"],
                "negation": False,
            }],
            "countries": [{
                "country_codes": ["string"],
                "negation": False,
            }],
            "file_extensions": [{
                "file_extensions": ["string"],
                "negation": False,
            }],
            "header_exists": [{
                "header": "string",
                "negation": False,
            }],
            "headers": [{
                "header": "string",
                "value": "string",
                "match_type": "string",
                "negation": False,
            }],
            "http_methods": [{
                "http_method": "string",
                "negation": False,
            }],
            "ip_ranges": [{
                "lower_bound": "string",
                "upper_bound": "string",
                "negation": False,
            }],
            "ips": [{
                "ip_address": "string",
                "negation": False,
            }],
            "organizations": [{
                "organization": "string",
                "negation": False,
            }],
            "owner_types": [{
                "owner_types": ["string"],
                "negation": False,
            }],
            "request_rates": [{
                "path_pattern": "string",
                "requests": 0,
                "time": 0,
                "http_methods": ["string"],
                "ips": ["string"],
                "user_defined_tag": "string",
            }],
            "response_header_exists": [{
                "header": "string",
                "negation": False,
            }],
            "response_headers": [{
                "header": "string",
                "value": "string",
                "match_type": "string",
                "negation": False,
            }],
            "session_request_counts": [{
                "request_count": 0,
                "negation": False,
            }],
            "tags": [{
                "tags": ["string"],
                "negation": False,
            }],
            "urls": [{
                "url": "string",
                "match_type": "string",
                "negation": False,
            }],
            "user_agents": [{
                "user_agent": "string",
                "match_type": "string",
                "negation": False,
            }],
            "user_defined_tags": [{
                "tags": ["string"],
                "negation": False,
            }],
        },
        domain_id=0,
        enabled=False,
        description="string",
        name="string",
        waap_custom_rule_id="string")
    
    const waapCustomRuleResource = new gcore.WaapCustomRule("waapCustomRuleResource", {
        action: {
            allow: false,
            block: {
                actionDuration: "string",
                statusCode: 0,
            },
            captcha: false,
            handshake: false,
            monitor: false,
            tag: {
                tags: ["string"],
            },
        },
        conditions: {
            contentTypes: [{
                contentTypes: ["string"],
                negation: false,
            }],
            countries: [{
                countryCodes: ["string"],
                negation: false,
            }],
            fileExtensions: [{
                fileExtensions: ["string"],
                negation: false,
            }],
            headerExists: [{
                header: "string",
                negation: false,
            }],
            headers: [{
                header: "string",
                value: "string",
                matchType: "string",
                negation: false,
            }],
            httpMethods: [{
                httpMethod: "string",
                negation: false,
            }],
            ipRanges: [{
                lowerBound: "string",
                upperBound: "string",
                negation: false,
            }],
            ips: [{
                ipAddress: "string",
                negation: false,
            }],
            organizations: [{
                organization: "string",
                negation: false,
            }],
            ownerTypes: [{
                ownerTypes: ["string"],
                negation: false,
            }],
            requestRates: [{
                pathPattern: "string",
                requests: 0,
                time: 0,
                httpMethods: ["string"],
                ips: ["string"],
                userDefinedTag: "string",
            }],
            responseHeaderExists: [{
                header: "string",
                negation: false,
            }],
            responseHeaders: [{
                header: "string",
                value: "string",
                matchType: "string",
                negation: false,
            }],
            sessionRequestCounts: [{
                requestCount: 0,
                negation: false,
            }],
            tags: [{
                tags: ["string"],
                negation: false,
            }],
            urls: [{
                url: "string",
                matchType: "string",
                negation: false,
            }],
            userAgents: [{
                userAgent: "string",
                matchType: "string",
                negation: false,
            }],
            userDefinedTags: [{
                tags: ["string"],
                negation: false,
            }],
        },
        domainId: 0,
        enabled: false,
        description: "string",
        name: "string",
        waapCustomRuleId: "string",
    });
    
    type: gcore:WaapCustomRule
    properties:
        action:
            allow: false
            block:
                actionDuration: string
                statusCode: 0
            captcha: false
            handshake: false
            monitor: false
            tag:
                tags:
                    - string
        conditions:
            contentTypes:
                - contentTypes:
                    - string
                  negation: false
            countries:
                - countryCodes:
                    - string
                  negation: false
            fileExtensions:
                - fileExtensions:
                    - string
                  negation: false
            headerExists:
                - header: string
                  negation: false
            headers:
                - header: string
                  matchType: string
                  negation: false
                  value: string
            httpMethods:
                - httpMethod: string
                  negation: false
            ipRanges:
                - lowerBound: string
                  negation: false
                  upperBound: string
            ips:
                - ipAddress: string
                  negation: false
            organizations:
                - negation: false
                  organization: string
            ownerTypes:
                - negation: false
                  ownerTypes:
                    - string
            requestRates:
                - httpMethods:
                    - string
                  ips:
                    - string
                  pathPattern: string
                  requests: 0
                  time: 0
                  userDefinedTag: string
            responseHeaderExists:
                - header: string
                  negation: false
            responseHeaders:
                - header: string
                  matchType: string
                  negation: false
                  value: string
            sessionRequestCounts:
                - negation: false
                  requestCount: 0
            tags:
                - negation: false
                  tags:
                    - string
            urls:
                - matchType: string
                  negation: false
                  url: string
            userAgents:
                - matchType: string
                  negation: false
                  userAgent: string
            userDefinedTags:
                - negation: false
                  tags:
                    - string
        description: string
        domainId: 0
        enabled: false
        name: string
        waapCustomRuleId: string
    

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

    Action WaapCustomRuleAction
    The action that the rule takes when triggered.
    Conditions WaapCustomRuleConditions
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    DomainId double
    The WAAP domain ID for which the Custom Rule is configured.
    Enabled bool
    Whether the rule is enabled.
    Description string
    The description assigned to the rule.
    Name string
    The name assigned to the rule.
    WaapCustomRuleId string
    The ID of this resource.
    Action WaapCustomRuleActionArgs
    The action that the rule takes when triggered.
    Conditions WaapCustomRuleConditionsArgs
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    DomainId float64
    The WAAP domain ID for which the Custom Rule is configured.
    Enabled bool
    Whether the rule is enabled.
    Description string
    The description assigned to the rule.
    Name string
    The name assigned to the rule.
    WaapCustomRuleId string
    The ID of this resource.
    action WaapCustomRuleAction
    The action that the rule takes when triggered.
    conditions WaapCustomRuleConditions
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    domainId Double
    The WAAP domain ID for which the Custom Rule is configured.
    enabled Boolean
    Whether the rule is enabled.
    description String
    The description assigned to the rule.
    name String
    The name assigned to the rule.
    waapCustomRuleId String
    The ID of this resource.
    action WaapCustomRuleAction
    The action that the rule takes when triggered.
    conditions WaapCustomRuleConditions
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    domainId number
    The WAAP domain ID for which the Custom Rule is configured.
    enabled boolean
    Whether the rule is enabled.
    description string
    The description assigned to the rule.
    name string
    The name assigned to the rule.
    waapCustomRuleId string
    The ID of this resource.
    action WaapCustomRuleActionArgs
    The action that the rule takes when triggered.
    conditions WaapCustomRuleConditionsArgs
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    domain_id float
    The WAAP domain ID for which the Custom Rule is configured.
    enabled bool
    Whether the rule is enabled.
    description str
    The description assigned to the rule.
    name str
    The name assigned to the rule.
    waap_custom_rule_id str
    The ID of this resource.
    action Property Map
    The action that the rule takes when triggered.
    conditions Property Map
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    domainId Number
    The WAAP domain ID for which the Custom Rule is configured.
    enabled Boolean
    Whether the rule is enabled.
    description String
    The description assigned to the rule.
    name String
    The name assigned to the rule.
    waapCustomRuleId String
    The ID of this resource.

    Outputs

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

    Get an existing WaapCustomRule 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?: WaapCustomRuleState, opts?: CustomResourceOptions): WaapCustomRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[WaapCustomRuleActionArgs] = None,
            conditions: Optional[WaapCustomRuleConditionsArgs] = None,
            description: Optional[str] = None,
            domain_id: Optional[float] = None,
            enabled: Optional[bool] = None,
            name: Optional[str] = None,
            waap_custom_rule_id: Optional[str] = None) -> WaapCustomRule
    func GetWaapCustomRule(ctx *Context, name string, id IDInput, state *WaapCustomRuleState, opts ...ResourceOption) (*WaapCustomRule, error)
    public static WaapCustomRule Get(string name, Input<string> id, WaapCustomRuleState? state, CustomResourceOptions? opts = null)
    public static WaapCustomRule get(String name, Output<String> id, WaapCustomRuleState state, CustomResourceOptions options)
    resources:  _:    type: gcore:WaapCustomRule    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    Action WaapCustomRuleAction
    The action that the rule takes when triggered.
    Conditions WaapCustomRuleConditions
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    Description string
    The description assigned to the rule.
    DomainId double
    The WAAP domain ID for which the Custom Rule is configured.
    Enabled bool
    Whether the rule is enabled.
    Name string
    The name assigned to the rule.
    WaapCustomRuleId string
    The ID of this resource.
    Action WaapCustomRuleActionArgs
    The action that the rule takes when triggered.
    Conditions WaapCustomRuleConditionsArgs
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    Description string
    The description assigned to the rule.
    DomainId float64
    The WAAP domain ID for which the Custom Rule is configured.
    Enabled bool
    Whether the rule is enabled.
    Name string
    The name assigned to the rule.
    WaapCustomRuleId string
    The ID of this resource.
    action WaapCustomRuleAction
    The action that the rule takes when triggered.
    conditions WaapCustomRuleConditions
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    description String
    The description assigned to the rule.
    domainId Double
    The WAAP domain ID for which the Custom Rule is configured.
    enabled Boolean
    Whether the rule is enabled.
    name String
    The name assigned to the rule.
    waapCustomRuleId String
    The ID of this resource.
    action WaapCustomRuleAction
    The action that the rule takes when triggered.
    conditions WaapCustomRuleConditions
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    description string
    The description assigned to the rule.
    domainId number
    The WAAP domain ID for which the Custom Rule is configured.
    enabled boolean
    Whether the rule is enabled.
    name string
    The name assigned to the rule.
    waapCustomRuleId string
    The ID of this resource.
    action WaapCustomRuleActionArgs
    The action that the rule takes when triggered.
    conditions WaapCustomRuleConditionsArgs
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    description str
    The description assigned to the rule.
    domain_id float
    The WAAP domain ID for which the Custom Rule is configured.
    enabled bool
    Whether the rule is enabled.
    name str
    The name assigned to the rule.
    waap_custom_rule_id str
    The ID of this resource.
    action Property Map
    The action that the rule takes when triggered.
    conditions Property Map
    The conditions required for the WAAP engine to trigger the rule. Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
    description String
    The description assigned to the rule.
    domainId Number
    The WAAP domain ID for which the Custom Rule is configured.
    enabled Boolean
    Whether the rule is enabled.
    name String
    The name assigned to the rule.
    waapCustomRuleId String
    The ID of this resource.

    Supporting Types

    WaapCustomRuleAction, WaapCustomRuleActionArgs

    Allow bool
    The WAAP allows the request.
    Block WaapCustomRuleActionBlock
    The WAAP blocks the request.
    Captcha bool
    The WAAP requires the user to solve a CAPTCHA challenge.
    Handshake bool
    The WAAP performs automatic browser validation.
    Monitor bool
    The WAAP monitors the request but took no action.
    Tag WaapCustomRuleActionTag
    The WAAP tags the request.
    Allow bool
    The WAAP allows the request.
    Block WaapCustomRuleActionBlock
    The WAAP blocks the request.
    Captcha bool
    The WAAP requires the user to solve a CAPTCHA challenge.
    Handshake bool
    The WAAP performs automatic browser validation.
    Monitor bool
    The WAAP monitors the request but took no action.
    Tag WaapCustomRuleActionTag
    The WAAP tags the request.
    allow Boolean
    The WAAP allows the request.
    block WaapCustomRuleActionBlock
    The WAAP blocks the request.
    captcha Boolean
    The WAAP requires the user to solve a CAPTCHA challenge.
    handshake Boolean
    The WAAP performs automatic browser validation.
    monitor Boolean
    The WAAP monitors the request but took no action.
    tag WaapCustomRuleActionTag
    The WAAP tags the request.
    allow boolean
    The WAAP allows the request.
    block WaapCustomRuleActionBlock
    The WAAP blocks the request.
    captcha boolean
    The WAAP requires the user to solve a CAPTCHA challenge.
    handshake boolean
    The WAAP performs automatic browser validation.
    monitor boolean
    The WAAP monitors the request but took no action.
    tag WaapCustomRuleActionTag
    The WAAP tags the request.
    allow bool
    The WAAP allows the request.
    block WaapCustomRuleActionBlock
    The WAAP blocks the request.
    captcha bool
    The WAAP requires the user to solve a CAPTCHA challenge.
    handshake bool
    The WAAP performs automatic browser validation.
    monitor bool
    The WAAP monitors the request but took no action.
    tag WaapCustomRuleActionTag
    The WAAP tags the request.
    allow Boolean
    The WAAP allows the request.
    block Property Map
    The WAAP blocks the request.
    captcha Boolean
    The WAAP requires the user to solve a CAPTCHA challenge.
    handshake Boolean
    The WAAP performs automatic browser validation.
    monitor Boolean
    The WAAP monitors the request but took no action.
    tag Property Map
    The WAAP tags the request.

    WaapCustomRuleActionBlock, WaapCustomRuleActionBlockArgs

    ActionDuration string
    How long a rule's block action will apply to subsequent requests. Can be specified in seconds or by using a numeral followed by 's', 'm', 'h', or 'd' to represent time format (seconds, minutes, hours, or days). Example: 12h. Must match the pattern ^[0-9]*[smhd]?$
    StatusCode double
    A custom HTTP status code that the WAAP returns if a rule blocks a request. It must be one of these values {403, 405, 418, 429}. Default is 403.
    ActionDuration string
    How long a rule's block action will apply to subsequent requests. Can be specified in seconds or by using a numeral followed by 's', 'm', 'h', or 'd' to represent time format (seconds, minutes, hours, or days). Example: 12h. Must match the pattern ^[0-9]*[smhd]?$
    StatusCode float64
    A custom HTTP status code that the WAAP returns if a rule blocks a request. It must be one of these values {403, 405, 418, 429}. Default is 403.
    actionDuration String
    How long a rule's block action will apply to subsequent requests. Can be specified in seconds or by using a numeral followed by 's', 'm', 'h', or 'd' to represent time format (seconds, minutes, hours, or days). Example: 12h. Must match the pattern ^[0-9]*[smhd]?$
    statusCode Double
    A custom HTTP status code that the WAAP returns if a rule blocks a request. It must be one of these values {403, 405, 418, 429}. Default is 403.
    actionDuration string
    How long a rule's block action will apply to subsequent requests. Can be specified in seconds or by using a numeral followed by 's', 'm', 'h', or 'd' to represent time format (seconds, minutes, hours, or days). Example: 12h. Must match the pattern ^[0-9]*[smhd]?$
    statusCode number
    A custom HTTP status code that the WAAP returns if a rule blocks a request. It must be one of these values {403, 405, 418, 429}. Default is 403.
    action_duration str
    How long a rule's block action will apply to subsequent requests. Can be specified in seconds or by using a numeral followed by 's', 'm', 'h', or 'd' to represent time format (seconds, minutes, hours, or days). Example: 12h. Must match the pattern ^[0-9]*[smhd]?$
    status_code float
    A custom HTTP status code that the WAAP returns if a rule blocks a request. It must be one of these values {403, 405, 418, 429}. Default is 403.
    actionDuration String
    How long a rule's block action will apply to subsequent requests. Can be specified in seconds or by using a numeral followed by 's', 'm', 'h', or 'd' to represent time format (seconds, minutes, hours, or days). Example: 12h. Must match the pattern ^[0-9]*[smhd]?$
    statusCode Number
    A custom HTTP status code that the WAAP returns if a rule blocks a request. It must be one of these values {403, 405, 418, 429}. Default is 403.

    WaapCustomRuleActionTag, WaapCustomRuleActionTagArgs

    Tags List<string>
    The list of user defined tags to tag the request with.
    Tags []string
    The list of user defined tags to tag the request with.
    tags List<String>
    The list of user defined tags to tag the request with.
    tags string[]
    The list of user defined tags to tag the request with.
    tags Sequence[str]
    The list of user defined tags to tag the request with.
    tags List<String>
    The list of user defined tags to tag the request with.

    WaapCustomRuleConditions, WaapCustomRuleConditionsArgs

    ContentTypes List<WaapCustomRuleConditionsContentType>
    Content type condition. This condition matches the content type of the request.
    Countries List<WaapCustomRuleConditionsCountry>
    Country condition. This condition matches the country of the request based on the source IP address.
    FileExtensions List<WaapCustomRuleConditionsFileExtension>
    File extension condition. This condition matches the file extension of the request.
    HeaderExists List<WaapCustomRuleConditionsHeaderExist>
    Request header exists condition. This condition checks if a request header exists.
    Headers List<WaapCustomRuleConditionsHeader>
    Request header condition. This condition matches a request header and its value.
    HttpMethods List<WaapCustomRuleConditionsHttpMethod>
    HTTP method condition. This condition matches the HTTP method of the request.
    IpRanges List<WaapCustomRuleConditionsIpRange>
    IP range condition. This condition matches a range of IP addresses.
    Ips List<WaapCustomRuleConditionsIp>
    IP address condition. This condition matches a single IP address.
    Organizations List<WaapCustomRuleConditionsOrganization>
    Organization condition. This condition matches the organization of the request based on the source IP address.
    OwnerTypes List<WaapCustomRuleConditionsOwnerType>
    RequestRates List<WaapCustomRuleConditionsRequestRate>
    Request rate condition. This condition matches the request rate.
    ResponseHeaderExists List<WaapCustomRuleConditionsResponseHeaderExist>
    Response header exists condition. This condition checks if a response header exists.
    ResponseHeaders List<WaapCustomRuleConditionsResponseHeader>
    SessionRequestCounts List<WaapCustomRuleConditionsSessionRequestCount>
    Session request count condition. This condition matches the number of dynamic requests in the session.
    Tags List<WaapCustomRuleConditionsTag>
    Tags condition. This condition matches the request tags.
    Urls List<WaapCustomRuleConditionsUrl>
    URL condition. This condition matches a URL path.
    UserAgents List<WaapCustomRuleConditionsUserAgent>
    User agent condition. This condition matches the user agent of the request.
    UserDefinedTags List<WaapCustomRuleConditionsUserDefinedTag>
    ContentTypes []WaapCustomRuleConditionsContentType
    Content type condition. This condition matches the content type of the request.
    Countries []WaapCustomRuleConditionsCountry
    Country condition. This condition matches the country of the request based on the source IP address.
    FileExtensions []WaapCustomRuleConditionsFileExtension
    File extension condition. This condition matches the file extension of the request.
    HeaderExists []WaapCustomRuleConditionsHeaderExist
    Request header exists condition. This condition checks if a request header exists.
    Headers []WaapCustomRuleConditionsHeader
    Request header condition. This condition matches a request header and its value.
    HttpMethods []WaapCustomRuleConditionsHttpMethod
    HTTP method condition. This condition matches the HTTP method of the request.
    IpRanges []WaapCustomRuleConditionsIpRange
    IP range condition. This condition matches a range of IP addresses.
    Ips []WaapCustomRuleConditionsIp
    IP address condition. This condition matches a single IP address.
    Organizations []WaapCustomRuleConditionsOrganization
    Organization condition. This condition matches the organization of the request based on the source IP address.
    OwnerTypes []WaapCustomRuleConditionsOwnerType
    RequestRates []WaapCustomRuleConditionsRequestRate
    Request rate condition. This condition matches the request rate.
    ResponseHeaderExists []WaapCustomRuleConditionsResponseHeaderExist
    Response header exists condition. This condition checks if a response header exists.
    ResponseHeaders []WaapCustomRuleConditionsResponseHeader
    SessionRequestCounts []WaapCustomRuleConditionsSessionRequestCount
    Session request count condition. This condition matches the number of dynamic requests in the session.
    Tags []WaapCustomRuleConditionsTag
    Tags condition. This condition matches the request tags.
    Urls []WaapCustomRuleConditionsUrl
    URL condition. This condition matches a URL path.
    UserAgents []WaapCustomRuleConditionsUserAgent
    User agent condition. This condition matches the user agent of the request.
    UserDefinedTags []WaapCustomRuleConditionsUserDefinedTag
    contentTypes List<WaapCustomRuleConditionsContentType>
    Content type condition. This condition matches the content type of the request.
    countries List<WaapCustomRuleConditionsCountry>
    Country condition. This condition matches the country of the request based on the source IP address.
    fileExtensions List<WaapCustomRuleConditionsFileExtension>
    File extension condition. This condition matches the file extension of the request.
    headerExists List<WaapCustomRuleConditionsHeaderExist>
    Request header exists condition. This condition checks if a request header exists.
    headers List<WaapCustomRuleConditionsHeader>
    Request header condition. This condition matches a request header and its value.
    httpMethods List<WaapCustomRuleConditionsHttpMethod>
    HTTP method condition. This condition matches the HTTP method of the request.
    ipRanges List<WaapCustomRuleConditionsIpRange>
    IP range condition. This condition matches a range of IP addresses.
    ips List<WaapCustomRuleConditionsIp>
    IP address condition. This condition matches a single IP address.
    organizations List<WaapCustomRuleConditionsOrganization>
    Organization condition. This condition matches the organization of the request based on the source IP address.
    ownerTypes List<WaapCustomRuleConditionsOwnerType>
    requestRates List<WaapCustomRuleConditionsRequestRate>
    Request rate condition. This condition matches the request rate.
    responseHeaderExists List<WaapCustomRuleConditionsResponseHeaderExist>
    Response header exists condition. This condition checks if a response header exists.
    responseHeaders List<WaapCustomRuleConditionsResponseHeader>
    sessionRequestCounts List<WaapCustomRuleConditionsSessionRequestCount>
    Session request count condition. This condition matches the number of dynamic requests in the session.
    tags List<WaapCustomRuleConditionsTag>
    Tags condition. This condition matches the request tags.
    urls List<WaapCustomRuleConditionsUrl>
    URL condition. This condition matches a URL path.
    userAgents List<WaapCustomRuleConditionsUserAgent>
    User agent condition. This condition matches the user agent of the request.
    userDefinedTags List<WaapCustomRuleConditionsUserDefinedTag>
    contentTypes WaapCustomRuleConditionsContentType[]
    Content type condition. This condition matches the content type of the request.
    countries WaapCustomRuleConditionsCountry[]
    Country condition. This condition matches the country of the request based on the source IP address.
    fileExtensions WaapCustomRuleConditionsFileExtension[]
    File extension condition. This condition matches the file extension of the request.
    headerExists WaapCustomRuleConditionsHeaderExist[]
    Request header exists condition. This condition checks if a request header exists.
    headers WaapCustomRuleConditionsHeader[]
    Request header condition. This condition matches a request header and its value.
    httpMethods WaapCustomRuleConditionsHttpMethod[]
    HTTP method condition. This condition matches the HTTP method of the request.
    ipRanges WaapCustomRuleConditionsIpRange[]
    IP range condition. This condition matches a range of IP addresses.
    ips WaapCustomRuleConditionsIp[]
    IP address condition. This condition matches a single IP address.
    organizations WaapCustomRuleConditionsOrganization[]
    Organization condition. This condition matches the organization of the request based on the source IP address.
    ownerTypes WaapCustomRuleConditionsOwnerType[]
    requestRates WaapCustomRuleConditionsRequestRate[]
    Request rate condition. This condition matches the request rate.
    responseHeaderExists WaapCustomRuleConditionsResponseHeaderExist[]
    Response header exists condition. This condition checks if a response header exists.
    responseHeaders WaapCustomRuleConditionsResponseHeader[]
    sessionRequestCounts WaapCustomRuleConditionsSessionRequestCount[]
    Session request count condition. This condition matches the number of dynamic requests in the session.
    tags WaapCustomRuleConditionsTag[]
    Tags condition. This condition matches the request tags.
    urls WaapCustomRuleConditionsUrl[]
    URL condition. This condition matches a URL path.
    userAgents WaapCustomRuleConditionsUserAgent[]
    User agent condition. This condition matches the user agent of the request.
    userDefinedTags WaapCustomRuleConditionsUserDefinedTag[]
    content_types Sequence[WaapCustomRuleConditionsContentType]
    Content type condition. This condition matches the content type of the request.
    countries Sequence[WaapCustomRuleConditionsCountry]
    Country condition. This condition matches the country of the request based on the source IP address.
    file_extensions Sequence[WaapCustomRuleConditionsFileExtension]
    File extension condition. This condition matches the file extension of the request.
    header_exists Sequence[WaapCustomRuleConditionsHeaderExist]
    Request header exists condition. This condition checks if a request header exists.
    headers Sequence[WaapCustomRuleConditionsHeader]
    Request header condition. This condition matches a request header and its value.
    http_methods Sequence[WaapCustomRuleConditionsHttpMethod]
    HTTP method condition. This condition matches the HTTP method of the request.
    ip_ranges Sequence[WaapCustomRuleConditionsIpRange]
    IP range condition. This condition matches a range of IP addresses.
    ips Sequence[WaapCustomRuleConditionsIp]
    IP address condition. This condition matches a single IP address.
    organizations Sequence[WaapCustomRuleConditionsOrganization]
    Organization condition. This condition matches the organization of the request based on the source IP address.
    owner_types Sequence[WaapCustomRuleConditionsOwnerType]
    request_rates Sequence[WaapCustomRuleConditionsRequestRate]
    Request rate condition. This condition matches the request rate.
    response_header_exists Sequence[WaapCustomRuleConditionsResponseHeaderExist]
    Response header exists condition. This condition checks if a response header exists.
    response_headers Sequence[WaapCustomRuleConditionsResponseHeader]
    session_request_counts Sequence[WaapCustomRuleConditionsSessionRequestCount]
    Session request count condition. This condition matches the number of dynamic requests in the session.
    tags Sequence[WaapCustomRuleConditionsTag]
    Tags condition. This condition matches the request tags.
    urls Sequence[WaapCustomRuleConditionsUrl]
    URL condition. This condition matches a URL path.
    user_agents Sequence[WaapCustomRuleConditionsUserAgent]
    User agent condition. This condition matches the user agent of the request.
    user_defined_tags Sequence[WaapCustomRuleConditionsUserDefinedTag]
    contentTypes List<Property Map>
    Content type condition. This condition matches the content type of the request.
    countries List<Property Map>
    Country condition. This condition matches the country of the request based on the source IP address.
    fileExtensions List<Property Map>
    File extension condition. This condition matches the file extension of the request.
    headerExists List<Property Map>
    Request header exists condition. This condition checks if a request header exists.
    headers List<Property Map>
    Request header condition. This condition matches a request header and its value.
    httpMethods List<Property Map>
    HTTP method condition. This condition matches the HTTP method of the request.
    ipRanges List<Property Map>
    IP range condition. This condition matches a range of IP addresses.
    ips List<Property Map>
    IP address condition. This condition matches a single IP address.
    organizations List<Property Map>
    Organization condition. This condition matches the organization of the request based on the source IP address.
    ownerTypes List<Property Map>
    requestRates List<Property Map>
    Request rate condition. This condition matches the request rate.
    responseHeaderExists List<Property Map>
    Response header exists condition. This condition checks if a response header exists.
    responseHeaders List<Property Map>
    sessionRequestCounts List<Property Map>
    Session request count condition. This condition matches the number of dynamic requests in the session.
    tags List<Property Map>
    Tags condition. This condition matches the request tags.
    urls List<Property Map>
    URL condition. This condition matches a URL path.
    userAgents List<Property Map>
    User agent condition. This condition matches the user agent of the request.
    userDefinedTags List<Property Map>

    WaapCustomRuleConditionsContentType, WaapCustomRuleConditionsContentTypeArgs

    ContentTypes List<string>
    The list of content types to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    ContentTypes []string
    The list of content types to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    contentTypes List<String>
    The list of content types to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    contentTypes string[]
    The list of content types to match against.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    content_types Sequence[str]
    The list of content types to match against.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    contentTypes List<String>
    The list of content types to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsCountry, WaapCustomRuleConditionsCountryArgs

    CountryCodes List<string>
    A list of ISO 3166-1 alpha-2 formatted strings representing the countries to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    CountryCodes []string
    A list of ISO 3166-1 alpha-2 formatted strings representing the countries to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    countryCodes List<String>
    A list of ISO 3166-1 alpha-2 formatted strings representing the countries to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    countryCodes string[]
    A list of ISO 3166-1 alpha-2 formatted strings representing the countries to match against.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    country_codes Sequence[str]
    A list of ISO 3166-1 alpha-2 formatted strings representing the countries to match against.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    countryCodes List<String>
    A list of ISO 3166-1 alpha-2 formatted strings representing the countries to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsFileExtension, WaapCustomRuleConditionsFileExtensionArgs

    FileExtensions List<string>
    The list of file extensions to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    FileExtensions []string
    The list of file extensions to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    fileExtensions List<String>
    The list of file extensions to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    fileExtensions string[]
    The list of file extensions to match against.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    file_extensions Sequence[str]
    The list of file extensions to match against.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    fileExtensions List<String>
    The list of file extensions to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsHeader, WaapCustomRuleConditionsHeaderArgs

    Header string
    The request header name.
    Value string
    The request header value.
    MatchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    Header string
    The request header name.
    Value string
    The request header value.
    MatchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header String
    The request header name.
    value String
    The request header value.
    matchType String
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header string
    The request header name.
    value string
    The request header value.
    matchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header str
    The request header name.
    value str
    The request header value.
    match_type str
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header String
    The request header name.
    value String
    The request header value.
    matchType String
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsHeaderExist, WaapCustomRuleConditionsHeaderExistArgs

    Header string
    The request header name.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    Header string
    The request header name.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header String
    The request header name.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header string
    The request header name.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header str
    The request header name.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header String
    The request header name.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsHttpMethod, WaapCustomRuleConditionsHttpMethodArgs

    HttpMethod string
    The HTTP method to match against. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    HttpMethod string
    The HTTP method to match against. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    httpMethod String
    The HTTP method to match against. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    httpMethod string
    The HTTP method to match against. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    http_method str
    The HTTP method to match against. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    httpMethod String
    The HTTP method to match against. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsIp, WaapCustomRuleConditionsIpArgs

    IpAddress string
    A single IPv4 or IPv6 address
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    IpAddress string
    A single IPv4 or IPv6 address
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    ipAddress String
    A single IPv4 or IPv6 address
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    ipAddress string
    A single IPv4 or IPv6 address
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    ip_address str
    A single IPv4 or IPv6 address
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    ipAddress String
    A single IPv4 or IPv6 address
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsIpRange, WaapCustomRuleConditionsIpRangeArgs

    LowerBound string
    The lower bound IPv4 or IPv6 address to match against.
    UpperBound string
    The upper bound IPv4 or IPv6 address to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    LowerBound string
    The lower bound IPv4 or IPv6 address to match against.
    UpperBound string
    The upper bound IPv4 or IPv6 address to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    lowerBound String
    The lower bound IPv4 or IPv6 address to match against.
    upperBound String
    The upper bound IPv4 or IPv6 address to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    lowerBound string
    The lower bound IPv4 or IPv6 address to match against.
    upperBound string
    The upper bound IPv4 or IPv6 address to match against.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    lower_bound str
    The lower bound IPv4 or IPv6 address to match against.
    upper_bound str
    The upper bound IPv4 or IPv6 address to match against.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    lowerBound String
    The lower bound IPv4 or IPv6 address to match against.
    upperBound String
    The upper bound IPv4 or IPv6 address to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsOrganization, WaapCustomRuleConditionsOrganizationArgs

    Organization string
    The organization to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    Organization string
    The organization to match against.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    organization String
    The organization to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    organization string
    The organization to match against.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    organization str
    The organization to match against.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    organization String
    The organization to match against.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsOwnerType, WaapCustomRuleConditionsOwnerTypeArgs

    OwnerTypes List<string>
    Match the type of organization that owns the IP address making an incoming request. Valid values are 'COMMERCIAL', 'EDUCATIONAL', 'GOVERNMENT', 'HOSTINGSERVICES', 'ISP', 'MOBILENETWORK', 'NETWORK', and 'RESERVED'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    OwnerTypes []string
    Match the type of organization that owns the IP address making an incoming request. Valid values are 'COMMERCIAL', 'EDUCATIONAL', 'GOVERNMENT', 'HOSTINGSERVICES', 'ISP', 'MOBILENETWORK', 'NETWORK', and 'RESERVED'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    ownerTypes List<String>
    Match the type of organization that owns the IP address making an incoming request. Valid values are 'COMMERCIAL', 'EDUCATIONAL', 'GOVERNMENT', 'HOSTINGSERVICES', 'ISP', 'MOBILENETWORK', 'NETWORK', and 'RESERVED'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    ownerTypes string[]
    Match the type of organization that owns the IP address making an incoming request. Valid values are 'COMMERCIAL', 'EDUCATIONAL', 'GOVERNMENT', 'HOSTINGSERVICES', 'ISP', 'MOBILENETWORK', 'NETWORK', and 'RESERVED'.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    owner_types Sequence[str]
    Match the type of organization that owns the IP address making an incoming request. Valid values are 'COMMERCIAL', 'EDUCATIONAL', 'GOVERNMENT', 'HOSTINGSERVICES', 'ISP', 'MOBILENETWORK', 'NETWORK', and 'RESERVED'.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    ownerTypes List<String>
    Match the type of organization that owns the IP address making an incoming request. Valid values are 'COMMERCIAL', 'EDUCATIONAL', 'GOVERNMENT', 'HOSTINGSERVICES', 'ISP', 'MOBILENETWORK', 'NETWORK', and 'RESERVED'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsRequestRate, WaapCustomRuleConditionsRequestRateArgs

    PathPattern string
    A regular expression matching the URL path of the incoming request.
    Requests double
    The number of incoming requests over the given time that can trigger a request rate condition.
    Time double
    The number of seconds that the WAAP measures incoming requests over before triggering a request rate condition.
    HttpMethods List<string>
    Possible HTTP request methods that can trigger a request rate condition. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    Ips List<string>
    A list of source IPs that can trigger a request rate condition.
    UserDefinedTag string
    A user-defined tag that can be included in incoming requests and used to trigger a request rate condition.
    PathPattern string
    A regular expression matching the URL path of the incoming request.
    Requests float64
    The number of incoming requests over the given time that can trigger a request rate condition.
    Time float64
    The number of seconds that the WAAP measures incoming requests over before triggering a request rate condition.
    HttpMethods []string
    Possible HTTP request methods that can trigger a request rate condition. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    Ips []string
    A list of source IPs that can trigger a request rate condition.
    UserDefinedTag string
    A user-defined tag that can be included in incoming requests and used to trigger a request rate condition.
    pathPattern String
    A regular expression matching the URL path of the incoming request.
    requests Double
    The number of incoming requests over the given time that can trigger a request rate condition.
    time Double
    The number of seconds that the WAAP measures incoming requests over before triggering a request rate condition.
    httpMethods List<String>
    Possible HTTP request methods that can trigger a request rate condition. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    ips List<String>
    A list of source IPs that can trigger a request rate condition.
    userDefinedTag String
    A user-defined tag that can be included in incoming requests and used to trigger a request rate condition.
    pathPattern string
    A regular expression matching the URL path of the incoming request.
    requests number
    The number of incoming requests over the given time that can trigger a request rate condition.
    time number
    The number of seconds that the WAAP measures incoming requests over before triggering a request rate condition.
    httpMethods string[]
    Possible HTTP request methods that can trigger a request rate condition. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    ips string[]
    A list of source IPs that can trigger a request rate condition.
    userDefinedTag string
    A user-defined tag that can be included in incoming requests and used to trigger a request rate condition.
    path_pattern str
    A regular expression matching the URL path of the incoming request.
    requests float
    The number of incoming requests over the given time that can trigger a request rate condition.
    time float
    The number of seconds that the WAAP measures incoming requests over before triggering a request rate condition.
    http_methods Sequence[str]
    Possible HTTP request methods that can trigger a request rate condition. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    ips Sequence[str]
    A list of source IPs that can trigger a request rate condition.
    user_defined_tag str
    A user-defined tag that can be included in incoming requests and used to trigger a request rate condition.
    pathPattern String
    A regular expression matching the URL path of the incoming request.
    requests Number
    The number of incoming requests over the given time that can trigger a request rate condition.
    time Number
    The number of seconds that the WAAP measures incoming requests over before triggering a request rate condition.
    httpMethods List<String>
    Possible HTTP request methods that can trigger a request rate condition. Valid values are 'CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', and 'TRACE'.
    ips List<String>
    A list of source IPs that can trigger a request rate condition.
    userDefinedTag String
    A user-defined tag that can be included in incoming requests and used to trigger a request rate condition.

    WaapCustomRuleConditionsResponseHeader, WaapCustomRuleConditionsResponseHeaderArgs

    Header string
    The request header name.
    Value string
    The request header value.
    MatchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    Header string
    The request header name.
    Value string
    The request header value.
    MatchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header String
    The request header name.
    value String
    The request header value.
    matchType String
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header string
    The request header name.
    value string
    The request header value.
    matchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header str
    The request header name.
    value str
    The request header value.
    match_type str
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header String
    The request header name.
    value String
    The request header value.
    matchType String
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsResponseHeaderExist, WaapCustomRuleConditionsResponseHeaderExistArgs

    Header string
    The request header name.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    Header string
    The request header name.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header String
    The request header name.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header string
    The request header name.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header str
    The request header name.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    header String
    The request header name.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsSessionRequestCount, WaapCustomRuleConditionsSessionRequestCountArgs

    RequestCount double
    The number of dynamic requests in the session.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    RequestCount float64
    The number of dynamic requests in the session.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    requestCount Double
    The number of dynamic requests in the session.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    requestCount number
    The number of dynamic requests in the session.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    request_count float
    The number of dynamic requests in the session.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    requestCount Number
    The number of dynamic requests in the session.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsTag, WaapCustomRuleConditionsTagArgs

    Tags List<string>
    A list of tags to match against the request tags. Tags can be obtained from the API endpoint /v1/tags or you can use the gcorewaaptag data source.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    Tags []string
    A list of tags to match against the request tags. Tags can be obtained from the API endpoint /v1/tags or you can use the gcorewaaptag data source.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    tags List<String>
    A list of tags to match against the request tags. Tags can be obtained from the API endpoint /v1/tags or you can use the gcorewaaptag data source.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    tags string[]
    A list of tags to match against the request tags. Tags can be obtained from the API endpoint /v1/tags or you can use the gcorewaaptag data source.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    tags Sequence[str]
    A list of tags to match against the request tags. Tags can be obtained from the API endpoint /v1/tags or you can use the gcorewaaptag data source.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    tags List<String>
    A list of tags to match against the request tags. Tags can be obtained from the API endpoint /v1/tags or you can use the gcorewaaptag data source.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsUrl, WaapCustomRuleConditionsUrlArgs

    Url string
    The URL to match.
    MatchType string
    The type of matching condition. Valid values are 'Exact', 'Contains', and 'Regex'. Default is 'Contains'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    Url string
    The URL to match.
    MatchType string
    The type of matching condition. Valid values are 'Exact', 'Contains', and 'Regex'. Default is 'Contains'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    url String
    The URL to match.
    matchType String
    The type of matching condition. Valid values are 'Exact', 'Contains', and 'Regex'. Default is 'Contains'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    url string
    The URL to match.
    matchType string
    The type of matching condition. Valid values are 'Exact', 'Contains', and 'Regex'. Default is 'Contains'.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    url str
    The URL to match.
    match_type str
    The type of matching condition. Valid values are 'Exact', 'Contains', and 'Regex'. Default is 'Contains'.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    url String
    The URL to match.
    matchType String
    The type of matching condition. Valid values are 'Exact', 'Contains', and 'Regex'. Default is 'Contains'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsUserAgent, WaapCustomRuleConditionsUserAgentArgs

    UserAgent string
    The user agent value to match.
    MatchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    UserAgent string
    The user agent value to match.
    MatchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    userAgent String
    The user agent value to match.
    matchType String
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    userAgent string
    The user agent value to match.
    matchType string
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    user_agent str
    The user agent value to match.
    match_type str
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    userAgent String
    The user agent value to match.
    matchType String
    The type of matching condition. Valid values are 'Exact', 'Contains'. Default is 'Contains'.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    WaapCustomRuleConditionsUserDefinedTag, WaapCustomRuleConditionsUserDefinedTagArgs

    Tags List<string>
    A list of user-defined tags to match against the request tags.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    Tags []string
    A list of user-defined tags to match against the request tags.
    Negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    tags List<String>
    A list of user-defined tags to match against the request tags.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    tags string[]
    A list of user-defined tags to match against the request tags.
    negation boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.
    tags Sequence[str]
    A list of user-defined tags to match against the request tags.
    negation bool
    Whether or not to apply a boolean NOT operation to the rule's condition.
    tags List<String>
    A list of user-defined tags to match against the request tags.
    negation Boolean
    Whether or not to apply a boolean NOT operation to the rule's condition.

    Import

    import using <domain_id>:<rule_id>

    $ pulumi import gcore:index/waapCustomRule:WaapCustomRule custom_rule 10029:98347
    

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

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    gcore 0.24.1 published on Wednesday, Jun 4, 2025 by g-core