Skip to content

Commit 1dbd9c9

Browse files
authored
[Network] az network application-gateway waf-policy managed-rule exception: Support exception feature in application gateway (#31610)
1 parent 2373a08 commit 1dbd9c9

File tree

8 files changed

+4940
-0
lines changed

8 files changed

+4940
-0
lines changed

src/azure-cli/azure/cli/command_modules/network/_help.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,6 +1590,21 @@
15901590
crafted: true
15911591
"""
15921592

1593+
helps['network application-gateway waf-policy managed-rule exception'] = """
1594+
type: group
1595+
short-summary: Manage exceptions to allow a request to skip the managed rules when the condition is satisfied.
1596+
"""
1597+
1598+
helps['network application-gateway waf-policy managed-rule exception remove'] = """
1599+
type: command
1600+
short-summary: Remove all managed rule exceptions that are applied on a WAF policy managed rules.
1601+
"""
1602+
1603+
helps['network application-gateway waf-policy managed-rule exception list'] = """
1604+
type: command
1605+
short-summary: List all managed rule exceptions that are applied on a WAF policy managed rules.
1606+
"""
1607+
15931608
helps['network application-gateway waf-policy managed-rule exclusion'] = """
15941609
type: group
15951610
short-summary: Manage OWASP CRS exclusions that are applied on a WAF policy managed rules.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from azure.cli.core.aaz import *
12+
13+
14+
@register_command_group(
15+
"network application-gateway waf-policy managed-rule exception",
16+
)
17+
class __CMDGroup(AAZCommandGroup):
18+
"""Manage exceptions to allow a request to skip the managed rules when the condition is satisfied.
19+
"""
20+
pass
21+
22+
23+
__all__ = ["__CMDGroup"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from .__cmd_group import *
12+
from ._add import *

0 commit comments

Comments
 (0)