Application Gateways - List Available Waf Rule Sets

Lists all available web application firewall rule sets.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets?api-version=2019-08-01

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True
  • string

Client API version.

Responses

Name Type Description
200 OK

Success. The operation returns a list of all available web application firewall rule sets.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Get Available Waf Rule Sets

Sample Request

GET https://management.azure.com/subscriptions/subid/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets?api-version=2019-08-01

Sample Response

{
  "value": [
    {
      "name": "OWASP_3.0",
      "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/",
      "type": "Microsoft.Network/applicationGatewayAvailableWafRuleSets",
      "properties": {
        "provisioningState": "Succeeded",
        "ruleSetType": "OWASP",
        "ruleSetVersion": "3.0",
        "ruleGroups": [
          {
            "ruleGroupName": "General",
            "description": "",
            "rules": [
              {
                "ruleId": 200004,
                "description": "Possible Multipart Unmatched Boundary."
              }
            ]
          }
        ]
      }
    }
  ]
}

Definitions

ApplicationGatewayAvailableWafRuleSetsResult

Response for ApplicationGatewayAvailableWafRuleSets API service call.

ApplicationGatewayFirewallRule

A web application firewall rule.

ApplicationGatewayFirewallRuleGroup

A web application firewall rule group.

ApplicationGatewayFirewallRuleSet

A web application firewall rule set.

ProvisioningState

The current provisioning state.

ApplicationGatewayAvailableWafRuleSetsResult

Response for ApplicationGatewayAvailableWafRuleSets API service call.

Name Type Description
value

The list of application gateway rule sets.

ApplicationGatewayFirewallRule

A web application firewall rule.

Name Type Description
description
  • string

The description of the web application firewall rule.

ruleId
  • integer

The identifier of the web application firewall rule.

ApplicationGatewayFirewallRuleGroup

A web application firewall rule group.

Name Type Description
description
  • string

The description of the web application firewall rule group.

ruleGroupName
  • string

The name of the web application firewall rule group.

rules

The rules of the web application firewall rule group.

ApplicationGatewayFirewallRuleSet

A web application firewall rule set.

Name Type Description
id
  • string

Resource ID.

location
  • string

Resource location.

name
  • string

Resource name.

properties.provisioningState

The provisioning state of the web application firewall rule set.

properties.ruleGroups

The rule groups of the web application firewall rule set.

properties.ruleSetType
  • string

The type of the web application firewall rule set.

properties.ruleSetVersion
  • string

The version of the web application firewall rule set type.

tags
  • object

Resource tags.

type
  • string

Resource type.

ProvisioningState

The current provisioning state.

Name Type Description
Deleting
  • string
Failed
  • string
Succeeded
  • string
Updating
  • string