PSRule
PSRule copied to clipboard
Add cmdlet to suppress rules
PSRule supports suppressing rules on a per object basis by target name. To suppress a rule, ps-rule.yaml is manually edited.
We should support suppressing a rule by a cmdlet. Something like Add-PSRuleSuppression.
Update: 2022-08-18
With this one we should consider if generating an suppression group makes more sense. Suppression groups provide more options and a generated suppression group will not break existing comments that might be in in ps-rule.yaml.