1. Packages
  2. Packages
  3. Akamai
  4. API Docs
  5. getAppsecWafRuleset
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
akamai logo
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi

    Using getAppsecWafRuleset

    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 getAppsecWafRuleset(args: GetAppsecWafRulesetArgs, opts?: InvokeOptions): Promise<GetAppsecWafRulesetResult>
    function getAppsecWafRulesetOutput(args: GetAppsecWafRulesetOutputArgs, opts?: InvokeOptions): Output<GetAppsecWafRulesetResult>
    def get_appsec_waf_ruleset(config_id: Optional[int] = None,
                               security_policy_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAppsecWafRulesetResult
    def get_appsec_waf_ruleset_output(config_id: Optional[pulumi.Input[int]] = None,
                               security_policy_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAppsecWafRulesetResult]
    func LookupAppsecWafRuleset(ctx *Context, args *LookupAppsecWafRulesetArgs, opts ...InvokeOption) (*LookupAppsecWafRulesetResult, error)
    func LookupAppsecWafRulesetOutput(ctx *Context, args *LookupAppsecWafRulesetOutputArgs, opts ...InvokeOption) LookupAppsecWafRulesetResultOutput

    > Note: This function is named LookupAppsecWafRuleset in the Go SDK.

    public static class GetAppsecWafRuleset 
    {
        public static Task<GetAppsecWafRulesetResult> InvokeAsync(GetAppsecWafRulesetArgs args, InvokeOptions? opts = null)
        public static Output<GetAppsecWafRulesetResult> Invoke(GetAppsecWafRulesetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppsecWafRulesetResult> getAppsecWafRuleset(GetAppsecWafRulesetArgs args, InvokeOptions options)
    public static Output<GetAppsecWafRulesetResult> getAppsecWafRuleset(GetAppsecWafRulesetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: akamai:index/getAppsecWafRuleset:getAppsecWafRuleset
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getAppsecWafRuleset Result

    The following output properties are available:

    AttackGroups List<GetAppsecWafRulesetAttackGroup>
    ConfigId int
    Id string
    The provider-assigned unique ID for this managed resource.
    Rules List<GetAppsecWafRulesetRule>
    SecurityPolicyId string
    AttackGroups []GetAppsecWafRulesetAttackGroup
    ConfigId int
    Id string
    The provider-assigned unique ID for this managed resource.
    Rules []GetAppsecWafRulesetRule
    SecurityPolicyId string
    attackGroups List<GetAppsecWafRulesetAttackGroup>
    configId Integer
    id String
    The provider-assigned unique ID for this managed resource.
    rules List<GetAppsecWafRulesetRule>
    securityPolicyId String
    attackGroups GetAppsecWafRulesetAttackGroup[]
    configId number
    id string
    The provider-assigned unique ID for this managed resource.
    rules GetAppsecWafRulesetRule[]
    securityPolicyId string
    attackGroups List<Property Map>
    configId Number
    id String
    The provider-assigned unique ID for this managed resource.
    rules List<Property Map>
    securityPolicyId String

    Supporting Types

    GetAppsecWafRulesetAttackGroup

    AttackGroup string
    Unique name of the attack group
    AttackGroupAction string
    Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    ConditionException string
    Conditions and exceptions associated with the attack group
    AttackGroup string
    Unique name of the attack group
    AttackGroupAction string
    Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    ConditionException string
    Conditions and exceptions associated with the attack group
    attackGroup String
    Unique name of the attack group
    attackGroupAction String
    Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    conditionException String
    Conditions and exceptions associated with the attack group
    attackGroup string
    Unique name of the attack group
    attackGroupAction string
    Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    conditionException string
    Conditions and exceptions associated with the attack group
    attack_group str
    Unique name of the attack group
    attack_group_action str
    Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    condition_exception str
    Conditions and exceptions associated with the attack group
    attackGroup String
    Unique name of the attack group
    attackGroupAction String
    Action taken when the attack group is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    conditionException String
    Conditions and exceptions associated with the attack group

    GetAppsecWafRulesetRule

    ConditionException string
    Conditions and exceptions associated with the rule
    RuleAction string
    Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    RuleId int
    Unique identifier for a rule
    ConditionException string
    Conditions and exceptions associated with the rule
    RuleAction string
    Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    RuleId int
    Unique identifier for a rule
    conditionException String
    Conditions and exceptions associated with the rule
    ruleAction String
    Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    ruleId Integer
    Unique identifier for a rule
    conditionException string
    Conditions and exceptions associated with the rule
    ruleAction string
    Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    ruleId number
    Unique identifier for a rule
    condition_exception str
    Conditions and exceptions associated with the rule
    rule_action str
    Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    rule_id int
    Unique identifier for a rule
    conditionException String
    Conditions and exceptions associated with the rule
    ruleAction String
    Action taken when the rule is triggered (alert, deny, deny_custom_{custom_deny_id}, none)
    ruleId Number
    Unique identifier for a rule

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Viewing docs for Akamai v11.1.0
    published on Thursday, Apr 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.