tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack
tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack
Use this data source to query detailed information of WAF owasp rule types
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getWafOwaspRuleTypes({
domain: "demo.com",
filters: [{
name: "RuleId",
values: ["10000001"],
exactMatch: true,
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_waf_owasp_rule_types(domain="demo.com",
filters=[{
"name": "RuleId",
"values": ["10000001"],
"exact_match": True,
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetWafOwaspRuleTypes(ctx, &tencentcloud.GetWafOwaspRuleTypesArgs{
Domain: "demo.com",
Filters: []tencentcloud.GetWafOwaspRuleTypesFilter{
{
Name: "RuleId",
Values: []string{
"10000001",
},
ExactMatch: true,
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetWafOwaspRuleTypes.Invoke(new()
{
Domain = "demo.com",
Filters = new[]
{
new Tencentcloud.Inputs.GetWafOwaspRuleTypesFilterInputArgs
{
Name = "RuleId",
Values = new[]
{
"10000001",
},
ExactMatch = true,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetWafOwaspRuleTypesArgs;
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) {
final var example = TencentcloudFunctions.getWafOwaspRuleTypes(GetWafOwaspRuleTypesArgs.builder()
.domain("demo.com")
.filters(GetWafOwaspRuleTypesFilterArgs.builder()
.name("RuleId")
.values("10000001")
.exactMatch(true)
.build())
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getWafOwaspRuleTypes
arguments:
domain: demo.com
filters:
- name: RuleId
values:
- '10000001'
exactMatch: true
Using getWafOwaspRuleTypes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWafOwaspRuleTypes(args: GetWafOwaspRuleTypesArgs, opts?: InvokeOptions): Promise<GetWafOwaspRuleTypesResult>
function getWafOwaspRuleTypesOutput(args: GetWafOwaspRuleTypesOutputArgs, opts?: InvokeOptions): Output<GetWafOwaspRuleTypesResult>def get_waf_owasp_rule_types(domain: Optional[str] = None,
filters: Optional[Sequence[GetWafOwaspRuleTypesFilter]] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWafOwaspRuleTypesResult
def get_waf_owasp_rule_types_output(domain: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWafOwaspRuleTypesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWafOwaspRuleTypesResult]func GetWafOwaspRuleTypes(ctx *Context, args *GetWafOwaspRuleTypesArgs, opts ...InvokeOption) (*GetWafOwaspRuleTypesResult, error)
func GetWafOwaspRuleTypesOutput(ctx *Context, args *GetWafOwaspRuleTypesOutputArgs, opts ...InvokeOption) GetWafOwaspRuleTypesResultOutput> Note: This function is named GetWafOwaspRuleTypes in the Go SDK.
public static class GetWafOwaspRuleTypes
{
public static Task<GetWafOwaspRuleTypesResult> InvokeAsync(GetWafOwaspRuleTypesArgs args, InvokeOptions? opts = null)
public static Output<GetWafOwaspRuleTypesResult> Invoke(GetWafOwaspRuleTypesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWafOwaspRuleTypesResult> getWafOwaspRuleTypes(GetWafOwaspRuleTypesArgs args, InvokeOptions options)
public static Output<GetWafOwaspRuleTypesResult> getWafOwaspRuleTypes(GetWafOwaspRuleTypesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getWafOwaspRuleTypes:getWafOwaspRuleTypes
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain string
- Domain names to be queried.
- Filters
List<Get
Waf Owasp Rule Types Filter> - Filter conditions. supports RuleId, CveID, and Desc.
- Id string
- Result
Output stringFile - Used to save results.
- Domain string
- Domain names to be queried.
- Filters
[]Get
Waf Owasp Rule Types Filter - Filter conditions. supports RuleId, CveID, and Desc.
- Id string
- Result
Output stringFile - Used to save results.
- domain String
- Domain names to be queried.
- filters
List<Get
Waf Owasp Rule Types Filter> - Filter conditions. supports RuleId, CveID, and Desc.
- id String
- result
Output StringFile - Used to save results.
- domain string
- Domain names to be queried.
- filters
Get
Waf Owasp Rule Types Filter[] - Filter conditions. supports RuleId, CveID, and Desc.
- id string
- result
Output stringFile - Used to save results.
- domain str
- Domain names to be queried.
- filters
Sequence[Get
Waf Owasp Rule Types Filter] - Filter conditions. supports RuleId, CveID, and Desc.
- id str
- result_
output_ strfile - Used to save results.
- domain String
- Domain names to be queried.
- filters List<Property Map>
- Filter conditions. supports RuleId, CveID, and Desc.
- id String
- result
Output StringFile - Used to save results.
getWafOwaspRuleTypes Result
The following output properties are available:
- Domain string
- Id string
- Lists
List<Get
Waf Owasp Rule Types List> - Rule type list and information.
- Filters
List<Get
Waf Owasp Rule Types Filter> - Result
Output stringFile
- Domain string
- Id string
- Lists
[]Get
Waf Owasp Rule Types List - Rule type list and information.
- Filters
[]Get
Waf Owasp Rule Types Filter - Result
Output stringFile
- domain String
- id String
- lists
List<Get
Waf Owasp Rule Types List> - Rule type list and information.
- filters
List<Get
Waf Owasp Rule Types Filter> - result
Output StringFile
- domain string
- id string
- lists
Get
Waf Owasp Rule Types List[] - Rule type list and information.
- filters
Get
Waf Owasp Rule Types Filter[] - result
Output stringFile
- domain str
- id str
- lists
Sequence[Get
Waf Owasp Rule Types List] - Rule type list and information.
- filters
Sequence[Get
Waf Owasp Rule Types Filter] - result_
output_ strfile
- domain String
- id String
- lists List<Property Map>
- Rule type list and information.
- filters List<Property Map>
- result
Output StringFile
Supporting Types
GetWafOwaspRuleTypesFilter
- Exact
Match bool - Exact search or not.
- Name string
- Field name, used for filtering Filter the sub-order number (value) by DealName.
- Values List<string>
- Values after filtering.
- Exact
Match bool - Exact search or not.
- Name string
- Field name, used for filtering Filter the sub-order number (value) by DealName.
- Values []string
- Values after filtering.
- exact
Match Boolean - Exact search or not.
- name String
- Field name, used for filtering Filter the sub-order number (value) by DealName.
- values List<String>
- Values after filtering.
- exact
Match boolean - Exact search or not.
- name string
- Field name, used for filtering Filter the sub-order number (value) by DealName.
- values string[]
- Values after filtering.
- exact_
match bool - Exact search or not.
- name str
- Field name, used for filtering Filter the sub-order number (value) by DealName.
- values Sequence[str]
- Values after filtering.
- exact
Match Boolean - Exact search or not.
- name String
- Field name, used for filtering Filter the sub-order number (value) by DealName.
- values List<String>
- Values after filtering.
GetWafOwaspRuleTypesList
- Action double
- Protection mode of the rule type. valid values: 0 (observation), 1 (intercept).
- Active
Rule double - Indicates the total number of rules enabled under the rule type.
- Classification string
- Data type category.
- Description string
- Type description.
- Level double
- Protection level of the rule type. valid values: 100 (loose), 200 (normal), 300 (strict), 400 (ultra-strict).
- Status double
- The switch status of the rule type. valid values: 0 (disabled), 1 (enabled).
- Total
Rule double - Specifies all rules under the rule type. always.
- Type
Id double - Type ID.
- Type
Name string - Type name.
- Action float64
- Protection mode of the rule type. valid values: 0 (observation), 1 (intercept).
- Active
Rule float64 - Indicates the total number of rules enabled under the rule type.
- Classification string
- Data type category.
- Description string
- Type description.
- Level float64
- Protection level of the rule type. valid values: 100 (loose), 200 (normal), 300 (strict), 400 (ultra-strict).
- Status float64
- The switch status of the rule type. valid values: 0 (disabled), 1 (enabled).
- Total
Rule float64 - Specifies all rules under the rule type. always.
- Type
Id float64 - Type ID.
- Type
Name string - Type name.
- action Double
- Protection mode of the rule type. valid values: 0 (observation), 1 (intercept).
- active
Rule Double - Indicates the total number of rules enabled under the rule type.
- classification String
- Data type category.
- description String
- Type description.
- level Double
- Protection level of the rule type. valid values: 100 (loose), 200 (normal), 300 (strict), 400 (ultra-strict).
- status Double
- The switch status of the rule type. valid values: 0 (disabled), 1 (enabled).
- total
Rule Double - Specifies all rules under the rule type. always.
- type
Id Double - Type ID.
- type
Name String - Type name.
- action number
- Protection mode of the rule type. valid values: 0 (observation), 1 (intercept).
- active
Rule number - Indicates the total number of rules enabled under the rule type.
- classification string
- Data type category.
- description string
- Type description.
- level number
- Protection level of the rule type. valid values: 100 (loose), 200 (normal), 300 (strict), 400 (ultra-strict).
- status number
- The switch status of the rule type. valid values: 0 (disabled), 1 (enabled).
- total
Rule number - Specifies all rules under the rule type. always.
- type
Id number - Type ID.
- type
Name string - Type name.
- action float
- Protection mode of the rule type. valid values: 0 (observation), 1 (intercept).
- active_
rule float - Indicates the total number of rules enabled under the rule type.
- classification str
- Data type category.
- description str
- Type description.
- level float
- Protection level of the rule type. valid values: 100 (loose), 200 (normal), 300 (strict), 400 (ultra-strict).
- status float
- The switch status of the rule type. valid values: 0 (disabled), 1 (enabled).
- total_
rule float - Specifies all rules under the rule type. always.
- type_
id float - Type ID.
- type_
name str - Type name.
- action Number
- Protection mode of the rule type. valid values: 0 (observation), 1 (intercept).
- active
Rule Number - Indicates the total number of rules enabled under the rule type.
- classification String
- Data type category.
- description String
- Type description.
- level Number
- Protection level of the rule type. valid values: 100 (loose), 200 (normal), 300 (strict), 400 (ultra-strict).
- status Number
- The switch status of the rule type. valid values: 0 (disabled), 1 (enabled).
- total
Rule Number - Specifies all rules under the rule type. always.
- type
Id Number - Type ID.
- type
Name String - Type name.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack
