Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{alertsmanagement} Fix disawllowed html tag #8326

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/alertsmanagement/azext_alertsmanagement/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
- name: --filter-alert-context
short-summary: Filter alerts by alert context (payload).
long-summary: |
Filter format is <operator> <space-delimited values> where
Operator: one of <Equals, NotEquals, Contains, DoesNotContain>
Filter format is `<operator> <space-delimited values>` where
Operator: one of Equals, NotEquals, Contains, DoesNotContain
Values: List of values to match for a given condition
- name: --schedule-recurrence
short-summary: List of recurrence pattern values
Expand Down
2 changes: 1 addition & 1 deletion src/alertsmanagement/azext_alertsmanagement/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def load_arguments(self, _):
c.argument('scopes', nargs='+', required=True, help='List of resource IDs (space-delimited) for scope. The rule will apply to alerts that fired on resources within that scope.')
c.argument('enabled', arg_type=get_three_state_flag(), help='Indicate if the given alert processing rule is enabled or disabled (default is enabled).')
c.argument('tags', tags_type)
c.argument('filter_severity', nargs='+', arg_group='Filter', validator=validate_severity, help='Filter alerts by severity <Sev0, Sev1, Sev2, Sev3, Sev4>')
c.argument('filter_severity', nargs='+', arg_group='Filter', validator=validate_severity, help='Filter alerts by severity Sev0, Sev1, Sev2, Sev3, Sev4')
c.argument('filter_monitor_service', nargs='+', arg_group='Filter', validator=validate_monitor_service, help='Filter alerts by monitor service')
c.argument('filter_monitor_condition', nargs='+', arg_group='Filter', validator=validate_monitor_condition, help='Filter alerts by monitor condition')
c.argument('filter_alert_rule_name', nargs='+', arg_group='Filter', validator=validate_alert_rule_name, help='Filter alerts by alert rule name')
Expand Down
Loading