Azure / Azure/ResourceModules

[Feature Request]: [PSRule] Move deprecated suppressWarning to new option

Open
#3,075 0 comments 0 reactions 0 assignees View on GitHub
[cat] pipelines [cat] testing enhancement
Dominant language
PowerShell
Stars
737
Forks
436
Avg merge
10d 7h
Merged PRs (30d)
1

Description

### Description

Ref: https://microsoft.github.io/PSRule/v2/deprecations/

V2.8.0 raises a warning in pipelines about the `Execution.SuppressedRuleWarning` configuration option which will soon be deprecated.
Update to new option.

Ref: https://github.com/microsoft/PSRule/blob/main/docs/concepts/PSRule/en-US/about_PSRule_Options.md#executionrulesuppressed

```
Execution.SuppressedRuleWarning is replaced with Execution.RuleSuppressed. Set Execution.RuleSuppressed to Warn
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.