Rule defaults while using yaml rules #1314
-
I would like to create custom rules in YAML because I found it is easier to create and manage. At the same time, I wanted to pass parameters from ps-rule.yaml like what is used at https://azure.github.io/PSRule.Rules.Azure/setup/configuring-rules/ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@jobinjosem Great question. Currently it's not possible to do this in YAML/ JSON-based rules. It's only possible in PowerShell-based rules. However we'd love to add this feature. I've added it over here: microsoft/PSRule#1016 |
Beta Was this translation helpful? Give feedback.
@jobinjosem Great question. Currently it's not possible to do this in YAML/ JSON-based rules. It's only possible in PowerShell-based rules.
However we'd love to add this feature. I've added it over here: microsoft/PSRule#1016