Currently PSRule will automatically detect and use ps-rule.yaml for options from the current working path when the action is run.
In some cases it may be desirable to have an options file for different use cases. While Assert-PSRule exposes an -Option parameter that can be set to an alternative file path, it is not currently exposed as an option that can be set in the pipeline.
Adding an additional parameter to set the option file would be useful for some use cases.
Currently PSRule will automatically detect and use
ps-rule.yaml
for options from the current working path when the action is run.In some cases it may be desirable to have an options file for different use cases. While
Assert-PSRule
exposes an-Option
parameter that can be set to an alternative file path, it is not currently exposed as an option that can be set in the pipeline.Adding an additional parameter to set the option file would be useful for some use cases.