opentelekomcloud.WafPolicyV1
Explore with Pulumi AI
Up-to-date reference of API arguments for WAF policy you can get at documentation portal
Manages a WAF policy resource within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const policy1 = new opentelekomcloud.WafPolicyV1("policy1", {
fullDetection: false,
options: {
crawler: true,
webattack: true,
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
policy1 = opentelekomcloud.WafPolicyV1("policy1",
full_detection=False,
options={
"crawler": True,
"webattack": True,
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.NewWafPolicyV1(ctx, "policy1", &opentelekomcloud.WafPolicyV1Args{
FullDetection: pulumi.Bool(false),
Options: &opentelekomcloud.WafPolicyV1OptionsArgs{
Crawler: pulumi.Bool(true),
Webattack: pulumi.Bool(true),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var policy1 = new Opentelekomcloud.WafPolicyV1("policy1", new()
{
FullDetection = false,
Options = new Opentelekomcloud.Inputs.WafPolicyV1OptionsArgs
{
Crawler = true,
Webattack = true,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.WafPolicyV1;
import com.pulumi.opentelekomcloud.WafPolicyV1Args;
import com.pulumi.opentelekomcloud.inputs.WafPolicyV1OptionsArgs;
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 policy1 = new WafPolicyV1("policy1", WafPolicyV1Args.builder()
.fullDetection(false)
.options(WafPolicyV1OptionsArgs.builder()
.crawler(true)
.webattack(true)
.build())
.build());
}
}
resources:
policy1:
type: opentelekomcloud:WafPolicyV1
properties:
fullDetection: false
options:
crawler: true
webattack: true
Create WafPolicyV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WafPolicyV1(name: string, args?: WafPolicyV1Args, opts?: CustomResourceOptions);
@overload
def WafPolicyV1(resource_name: str,
args: Optional[WafPolicyV1Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def WafPolicyV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[WafPolicyV1ActionArgs] = None,
full_detection: Optional[bool] = None,
hosts: Optional[Sequence[str]] = None,
level: Optional[float] = None,
name: Optional[str] = None,
options: Optional[WafPolicyV1OptionsArgs] = None,
timeouts: Optional[WafPolicyV1TimeoutsArgs] = None,
waf_policy_v1_id: Optional[str] = None)
func NewWafPolicyV1(ctx *Context, name string, args *WafPolicyV1Args, opts ...ResourceOption) (*WafPolicyV1, error)
public WafPolicyV1(string name, WafPolicyV1Args? args = null, CustomResourceOptions? opts = null)
public WafPolicyV1(String name, WafPolicyV1Args args)
public WafPolicyV1(String name, WafPolicyV1Args args, CustomResourceOptions options)
type: opentelekomcloud:WafPolicyV1
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 WafPolicyV1Args
- 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 WafPolicyV1Args
- 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 WafPolicyV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WafPolicyV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WafPolicyV1Args
- 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 wafPolicyV1Resource = new Opentelekomcloud.WafPolicyV1("wafPolicyV1Resource", new()
{
Action = new Opentelekomcloud.Inputs.WafPolicyV1ActionArgs
{
Category = "string",
},
FullDetection = false,
Level = 0,
Name = "string",
Options = new Opentelekomcloud.Inputs.WafPolicyV1OptionsArgs
{
Antitamper = false,
Cc = false,
Common = false,
Crawler = false,
CrawlerEngine = false,
CrawlerOther = false,
CrawlerScanner = false,
CrawlerScript = false,
Custom = false,
Ignore = false,
Privacy = false,
Webattack = false,
Webshell = false,
Whiteblackip = false,
},
Timeouts = new Opentelekomcloud.Inputs.WafPolicyV1TimeoutsArgs
{
Create = "string",
Delete = "string",
},
WafPolicyV1Id = "string",
});
example, err := opentelekomcloud.NewWafPolicyV1(ctx, "wafPolicyV1Resource", &opentelekomcloud.WafPolicyV1Args{
Action: &opentelekomcloud.WafPolicyV1ActionArgs{
Category: pulumi.String("string"),
},
FullDetection: pulumi.Bool(false),
Level: pulumi.Float64(0),
Name: pulumi.String("string"),
Options: &opentelekomcloud.WafPolicyV1OptionsArgs{
Antitamper: pulumi.Bool(false),
Cc: pulumi.Bool(false),
Common: pulumi.Bool(false),
Crawler: pulumi.Bool(false),
CrawlerEngine: pulumi.Bool(false),
CrawlerOther: pulumi.Bool(false),
CrawlerScanner: pulumi.Bool(false),
CrawlerScript: pulumi.Bool(false),
Custom: pulumi.Bool(false),
Ignore: pulumi.Bool(false),
Privacy: pulumi.Bool(false),
Webattack: pulumi.Bool(false),
Webshell: pulumi.Bool(false),
Whiteblackip: pulumi.Bool(false),
},
Timeouts: &opentelekomcloud.WafPolicyV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
WafPolicyV1Id: pulumi.String("string"),
})
var wafPolicyV1Resource = new WafPolicyV1("wafPolicyV1Resource", WafPolicyV1Args.builder()
.action(WafPolicyV1ActionArgs.builder()
.category("string")
.build())
.fullDetection(false)
.level(0)
.name("string")
.options(WafPolicyV1OptionsArgs.builder()
.antitamper(false)
.cc(false)
.common(false)
.crawler(false)
.crawlerEngine(false)
.crawlerOther(false)
.crawlerScanner(false)
.crawlerScript(false)
.custom(false)
.ignore(false)
.privacy(false)
.webattack(false)
.webshell(false)
.whiteblackip(false)
.build())
.timeouts(WafPolicyV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.wafPolicyV1Id("string")
.build());
waf_policy_v1_resource = opentelekomcloud.WafPolicyV1("wafPolicyV1Resource",
action={
"category": "string",
},
full_detection=False,
level=0,
name="string",
options={
"antitamper": False,
"cc": False,
"common": False,
"crawler": False,
"crawler_engine": False,
"crawler_other": False,
"crawler_scanner": False,
"crawler_script": False,
"custom": False,
"ignore": False,
"privacy": False,
"webattack": False,
"webshell": False,
"whiteblackip": False,
},
timeouts={
"create": "string",
"delete": "string",
},
waf_policy_v1_id="string")
const wafPolicyV1Resource = new opentelekomcloud.WafPolicyV1("wafPolicyV1Resource", {
action: {
category: "string",
},
fullDetection: false,
level: 0,
name: "string",
options: {
antitamper: false,
cc: false,
common: false,
crawler: false,
crawlerEngine: false,
crawlerOther: false,
crawlerScanner: false,
crawlerScript: false,
custom: false,
ignore: false,
privacy: false,
webattack: false,
webshell: false,
whiteblackip: false,
},
timeouts: {
create: "string",
"delete": "string",
},
wafPolicyV1Id: "string",
});
type: opentelekomcloud:WafPolicyV1
properties:
action:
category: string
fullDetection: false
level: 0
name: string
options:
antitamper: false
cc: false
common: false
crawler: false
crawlerEngine: false
crawlerOther: false
crawlerScanner: false
crawlerScript: false
custom: false
ignore: false
privacy: false
webattack: false
webshell: false
whiteblackip: false
timeouts:
create: string
delete: string
wafPolicyV1Id: string
WafPolicyV1 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 WafPolicyV1 resource accepts the following input properties:
- Action
Waf
Policy V1Action - Specifies the protective action after a rule is matched. The action object structure is documented below.
- Full
Detection bool - Specifies the detection mode in Precise Protection.
- Hosts List<string>
- An array of the domain IDs.
- Level double
- Specifies the protection level.
- Name string
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- Options
Waf
Policy V1Options - Specifies the protection switches. The options object structure is documented below.
- Timeouts
Waf
Policy V1Timeouts - Waf
Policy stringV1Id - ID of the policy.
- Action
Waf
Policy V1Action Args - Specifies the protective action after a rule is matched. The action object structure is documented below.
- Full
Detection bool - Specifies the detection mode in Precise Protection.
- Hosts []string
- An array of the domain IDs.
- Level float64
- Specifies the protection level.
- Name string
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- Options
Waf
Policy V1Options Args - Specifies the protection switches. The options object structure is documented below.
- Timeouts
Waf
Policy V1Timeouts Args - Waf
Policy stringV1Id - ID of the policy.
- action
Waf
Policy V1Action - Specifies the protective action after a rule is matched. The action object structure is documented below.
- full
Detection Boolean - Specifies the detection mode in Precise Protection.
- hosts List<String>
- An array of the domain IDs.
- level Double
- Specifies the protection level.
- name String
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- options
Waf
Policy V1Options - Specifies the protection switches. The options object structure is documented below.
- timeouts
Waf
Policy V1Timeouts - waf
Policy StringV1Id - ID of the policy.
- action
Waf
Policy V1Action - Specifies the protective action after a rule is matched. The action object structure is documented below.
- full
Detection boolean - Specifies the detection mode in Precise Protection.
- hosts string[]
- An array of the domain IDs.
- level number
- Specifies the protection level.
- name string
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- options
Waf
Policy V1Options - Specifies the protection switches. The options object structure is documented below.
- timeouts
Waf
Policy V1Timeouts - waf
Policy stringV1Id - ID of the policy.
- action
Waf
Policy V1Action Args - Specifies the protective action after a rule is matched. The action object structure is documented below.
- full_
detection bool - Specifies the detection mode in Precise Protection.
- hosts Sequence[str]
- An array of the domain IDs.
- level float
- Specifies the protection level.
- name str
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- options
Waf
Policy V1Options Args - Specifies the protection switches. The options object structure is documented below.
- timeouts
Waf
Policy V1Timeouts Args - waf_
policy_ strv1_ id - ID of the policy.
- action Property Map
- Specifies the protective action after a rule is matched. The action object structure is documented below.
- full
Detection Boolean - Specifies the detection mode in Precise Protection.
- hosts List<String>
- An array of the domain IDs.
- level Number
- Specifies the protection level.
- name String
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- options Property Map
- Specifies the protection switches. The options object structure is documented below.
- timeouts Property Map
- waf
Policy StringV1Id - ID of the policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the WafPolicyV1 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 WafPolicyV1 Resource
Get an existing WafPolicyV1 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?: WafPolicyV1State, opts?: CustomResourceOptions): WafPolicyV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[WafPolicyV1ActionArgs] = None,
full_detection: Optional[bool] = None,
hosts: Optional[Sequence[str]] = None,
level: Optional[float] = None,
name: Optional[str] = None,
options: Optional[WafPolicyV1OptionsArgs] = None,
timeouts: Optional[WafPolicyV1TimeoutsArgs] = None,
waf_policy_v1_id: Optional[str] = None) -> WafPolicyV1
func GetWafPolicyV1(ctx *Context, name string, id IDInput, state *WafPolicyV1State, opts ...ResourceOption) (*WafPolicyV1, error)
public static WafPolicyV1 Get(string name, Input<string> id, WafPolicyV1State? state, CustomResourceOptions? opts = null)
public static WafPolicyV1 get(String name, Output<String> id, WafPolicyV1State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:WafPolicyV1 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.
- Action
Waf
Policy V1Action - Specifies the protective action after a rule is matched. The action object structure is documented below.
- Full
Detection bool - Specifies the detection mode in Precise Protection.
- Hosts List<string>
- An array of the domain IDs.
- Level double
- Specifies the protection level.
- Name string
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- Options
Waf
Policy V1Options - Specifies the protection switches. The options object structure is documented below.
- Timeouts
Waf
Policy V1Timeouts - Waf
Policy stringV1Id - ID of the policy.
- Action
Waf
Policy V1Action Args - Specifies the protective action after a rule is matched. The action object structure is documented below.
- Full
Detection bool - Specifies the detection mode in Precise Protection.
- Hosts []string
- An array of the domain IDs.
- Level float64
- Specifies the protection level.
- Name string
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- Options
Waf
Policy V1Options Args - Specifies the protection switches. The options object structure is documented below.
- Timeouts
Waf
Policy V1Timeouts Args - Waf
Policy stringV1Id - ID of the policy.
- action
Waf
Policy V1Action - Specifies the protective action after a rule is matched. The action object structure is documented below.
- full
Detection Boolean - Specifies the detection mode in Precise Protection.
- hosts List<String>
- An array of the domain IDs.
- level Double
- Specifies the protection level.
- name String
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- options
Waf
Policy V1Options - Specifies the protection switches. The options object structure is documented below.
- timeouts
Waf
Policy V1Timeouts - waf
Policy StringV1Id - ID of the policy.
- action
Waf
Policy V1Action - Specifies the protective action after a rule is matched. The action object structure is documented below.
- full
Detection boolean - Specifies the detection mode in Precise Protection.
- hosts string[]
- An array of the domain IDs.
- level number
- Specifies the protection level.
- name string
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- options
Waf
Policy V1Options - Specifies the protection switches. The options object structure is documented below.
- timeouts
Waf
Policy V1Timeouts - waf
Policy stringV1Id - ID of the policy.
- action
Waf
Policy V1Action Args - Specifies the protective action after a rule is matched. The action object structure is documented below.
- full_
detection bool - Specifies the detection mode in Precise Protection.
- hosts Sequence[str]
- An array of the domain IDs.
- level float
- Specifies the protection level.
- name str
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- options
Waf
Policy V1Options Args - Specifies the protection switches. The options object structure is documented below.
- timeouts
Waf
Policy V1Timeouts Args - waf_
policy_ strv1_ id - ID of the policy.
- action Property Map
- Specifies the protective action after a rule is matched. The action object structure is documented below.
- full
Detection Boolean - Specifies the detection mode in Precise Protection.
- hosts List<String>
- An array of the domain IDs.
- level Number
- Specifies the protection level.
- name String
- The policy name. The maximum length is 256 characters. Only digits, letters, underscores(_), and hyphens(-) are allowed.
- options Property Map
- Specifies the protection switches. The options object structure is documented below.
- timeouts Property Map
- waf
Policy StringV1Id - ID of the policy.
Supporting Types
WafPolicyV1Action, WafPolicyV1ActionArgs
- Category string
- Specifies the protective action.
- Category string
- Specifies the protective action.
- category String
- Specifies the protective action.
- category string
- Specifies the protective action.
- category str
- Specifies the protective action.
- category String
- Specifies the protective action.
WafPolicyV1Options, WafPolicyV1OptionsArgs
- Antitamper bool
- Specifies whether Web Tamper Protection is enabled.
- Cc bool
- Specifies whether CC Attack Protection is enabled.
- Common bool
- Specifies whether General Check in Basic Web Protection is enabled.
- Crawler bool
- Specifies whether the master crawler detection switch in Basic Web Protection is enabled.
- Crawler
Engine bool - Specifies whether the Search Engine switch in Basic Web Protection is enabled.
- Crawler
Other bool - Specifies whether detection of other crawlers in Basic Web Protection is enabled.
- Crawler
Scanner bool - Specifies whether the Scanner switch in Basic Web Protection is enabled.
- Crawler
Script bool - Specifies whether the Script Tool switch in Basic Web Protection is enabled.
- Custom bool
- Specifies whether Precise Protection is enabled.
- Ignore bool
- Specifies whether False Alarm Masking is enabled.
- Privacy bool
- Specifies whether Data Masking is enabled.
- Webattack bool
- Specifies whether Basic Web Protection is enabled.
- Webshell bool
- Specifies whether webshell detection in Basic Web Protection is enabled.
- Whiteblackip bool
- Specifies whether Blacklist and Whitelist is enabled.
- Antitamper bool
- Specifies whether Web Tamper Protection is enabled.
- Cc bool
- Specifies whether CC Attack Protection is enabled.
- Common bool
- Specifies whether General Check in Basic Web Protection is enabled.
- Crawler bool
- Specifies whether the master crawler detection switch in Basic Web Protection is enabled.
- Crawler
Engine bool - Specifies whether the Search Engine switch in Basic Web Protection is enabled.
- Crawler
Other bool - Specifies whether detection of other crawlers in Basic Web Protection is enabled.
- Crawler
Scanner bool - Specifies whether the Scanner switch in Basic Web Protection is enabled.
- Crawler
Script bool - Specifies whether the Script Tool switch in Basic Web Protection is enabled.
- Custom bool
- Specifies whether Precise Protection is enabled.
- Ignore bool
- Specifies whether False Alarm Masking is enabled.
- Privacy bool
- Specifies whether Data Masking is enabled.
- Webattack bool
- Specifies whether Basic Web Protection is enabled.
- Webshell bool
- Specifies whether webshell detection in Basic Web Protection is enabled.
- Whiteblackip bool
- Specifies whether Blacklist and Whitelist is enabled.
- antitamper Boolean
- Specifies whether Web Tamper Protection is enabled.
- cc Boolean
- Specifies whether CC Attack Protection is enabled.
- common Boolean
- Specifies whether General Check in Basic Web Protection is enabled.
- crawler Boolean
- Specifies whether the master crawler detection switch in Basic Web Protection is enabled.
- crawler
Engine Boolean - Specifies whether the Search Engine switch in Basic Web Protection is enabled.
- crawler
Other Boolean - Specifies whether detection of other crawlers in Basic Web Protection is enabled.
- crawler
Scanner Boolean - Specifies whether the Scanner switch in Basic Web Protection is enabled.
- crawler
Script Boolean - Specifies whether the Script Tool switch in Basic Web Protection is enabled.
- custom Boolean
- Specifies whether Precise Protection is enabled.
- ignore Boolean
- Specifies whether False Alarm Masking is enabled.
- privacy Boolean
- Specifies whether Data Masking is enabled.
- webattack Boolean
- Specifies whether Basic Web Protection is enabled.
- webshell Boolean
- Specifies whether webshell detection in Basic Web Protection is enabled.
- whiteblackip Boolean
- Specifies whether Blacklist and Whitelist is enabled.
- antitamper boolean
- Specifies whether Web Tamper Protection is enabled.
- cc boolean
- Specifies whether CC Attack Protection is enabled.
- common boolean
- Specifies whether General Check in Basic Web Protection is enabled.
- crawler boolean
- Specifies whether the master crawler detection switch in Basic Web Protection is enabled.
- crawler
Engine boolean - Specifies whether the Search Engine switch in Basic Web Protection is enabled.
- crawler
Other boolean - Specifies whether detection of other crawlers in Basic Web Protection is enabled.
- crawler
Scanner boolean - Specifies whether the Scanner switch in Basic Web Protection is enabled.
- crawler
Script boolean - Specifies whether the Script Tool switch in Basic Web Protection is enabled.
- custom boolean
- Specifies whether Precise Protection is enabled.
- ignore boolean
- Specifies whether False Alarm Masking is enabled.
- privacy boolean
- Specifies whether Data Masking is enabled.
- webattack boolean
- Specifies whether Basic Web Protection is enabled.
- webshell boolean
- Specifies whether webshell detection in Basic Web Protection is enabled.
- whiteblackip boolean
- Specifies whether Blacklist and Whitelist is enabled.
- antitamper bool
- Specifies whether Web Tamper Protection is enabled.
- cc bool
- Specifies whether CC Attack Protection is enabled.
- common bool
- Specifies whether General Check in Basic Web Protection is enabled.
- crawler bool
- Specifies whether the master crawler detection switch in Basic Web Protection is enabled.
- crawler_
engine bool - Specifies whether the Search Engine switch in Basic Web Protection is enabled.
- crawler_
other bool - Specifies whether detection of other crawlers in Basic Web Protection is enabled.
- crawler_
scanner bool - Specifies whether the Scanner switch in Basic Web Protection is enabled.
- crawler_
script bool - Specifies whether the Script Tool switch in Basic Web Protection is enabled.
- custom bool
- Specifies whether Precise Protection is enabled.
- ignore bool
- Specifies whether False Alarm Masking is enabled.
- privacy bool
- Specifies whether Data Masking is enabled.
- webattack bool
- Specifies whether Basic Web Protection is enabled.
- webshell bool
- Specifies whether webshell detection in Basic Web Protection is enabled.
- whiteblackip bool
- Specifies whether Blacklist and Whitelist is enabled.
- antitamper Boolean
- Specifies whether Web Tamper Protection is enabled.
- cc Boolean
- Specifies whether CC Attack Protection is enabled.
- common Boolean
- Specifies whether General Check in Basic Web Protection is enabled.
- crawler Boolean
- Specifies whether the master crawler detection switch in Basic Web Protection is enabled.
- crawler
Engine Boolean - Specifies whether the Search Engine switch in Basic Web Protection is enabled.
- crawler
Other Boolean - Specifies whether detection of other crawlers in Basic Web Protection is enabled.
- crawler
Scanner Boolean - Specifies whether the Scanner switch in Basic Web Protection is enabled.
- crawler
Script Boolean - Specifies whether the Script Tool switch in Basic Web Protection is enabled.
- custom Boolean
- Specifies whether Precise Protection is enabled.
- ignore Boolean
- Specifies whether False Alarm Masking is enabled.
- privacy Boolean
- Specifies whether Data Masking is enabled.
- webattack Boolean
- Specifies whether Basic Web Protection is enabled.
- webshell Boolean
- Specifies whether webshell detection in Basic Web Protection is enabled.
- whiteblackip Boolean
- Specifies whether Blacklist and Whitelist is enabled.
WafPolicyV1Timeouts, WafPolicyV1TimeoutsArgs
Import
Policies can be imported using the id
, e.g.
$ pulumi import opentelekomcloud:index/wafPolicyV1:WafPolicyV1 policy_1 7117d38e-4c8f-4624-a505-bd96b97d024c
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.