Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getWafRules

Using getWafRules

function getWafRules(args: GetWafRulesArgs, opts?: InvokeOptions): Promise<GetWafRulesResult>
def get_waf_rules(exclude_modsec_rule_ids: Optional[Sequence[int]] = None, publishers: Optional[Sequence[str]] = None, tags: Optional[Sequence[str]] = None, opts: Optional[InvokeOptions] = None) -> GetWafRulesResult
func GetWafRules(ctx *Context, args *GetWafRulesArgs, opts ...InvokeOption) (*GetWafRulesResult, error)

Note: This function is named GetWafRules in the Go SDK.

public static class GetWafRules {
    public static Task<GetWafRulesResult> InvokeAsync(GetWafRulesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ExcludeModsecRuleIds List<int>

Exclusion filter by WAF rule’s ModSecurity ID.

Publishers List<string>

Inclusion filter by WAF rule’s publishers.

Tags List<string>

Inclusion filter by WAF rule’s tags.

ExcludeModsecRuleIds []int

Exclusion filter by WAF rule’s ModSecurity ID.

Publishers []string

Inclusion filter by WAF rule’s publishers.

Tags []string

Inclusion filter by WAF rule’s tags.

excludeModsecRuleIds number[]

Exclusion filter by WAF rule’s ModSecurity ID.

publishers string[]

Inclusion filter by WAF rule’s publishers.

tags string[]

Inclusion filter by WAF rule’s tags.

exclude_modsec_rule_ids Sequence[int]

Exclusion filter by WAF rule’s ModSecurity ID.

publishers Sequence[str]

Inclusion filter by WAF rule’s publishers.

tags Sequence[str]

Inclusion filter by WAF rule’s tags.

getWafRules Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Rules List<GetWafRulesRule>

The Web Application Firewall’s rules result set.

ExcludeModsecRuleIds List<int>
Publishers List<string>
Tags List<string>
Id string

The provider-assigned unique ID for this managed resource.

Rules []GetWafRulesRule

The Web Application Firewall’s rules result set.

ExcludeModsecRuleIds []int
Publishers []string
Tags []string
id string

The provider-assigned unique ID for this managed resource.

rules GetWafRulesRule[]

The Web Application Firewall’s rules result set.

excludeModsecRuleIds number[]
publishers string[]
tags string[]
id str

The provider-assigned unique ID for this managed resource.

rules Sequence[GetWafRulesRule]

The Web Application Firewall’s rules result set.

exclude_modsec_rule_ids Sequence[int]
publishers Sequence[str]
tags Sequence[str]

Supporting Types

GetWafRulesRule

LatestRevisionNumber int

The rule’s latest revision.

ModsecRuleId int

The rule’s modsecurity ID.

Type string

The rule’s type.

LatestRevisionNumber int

The rule’s latest revision.

ModsecRuleId int

The rule’s modsecurity ID.

Type string

The rule’s type.

latestRevisionNumber number

The rule’s latest revision.

modsecRuleId number

The rule’s modsecurity ID.

type string

The rule’s type.

latest_revision_number int

The rule’s latest revision.

modsec_rule_id int

The rule’s modsecurity ID.

type str

The rule’s type.

Package Details

Repository
https://github.com/pulumi/pulumi-fastly
License
Apache-2.0
Notes
This Pulumi package is based on the fastly Terraform Provider.