You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PSRule includes a number of execution options that configure logging of certain events. Currently these only support turning a warning on or off.
In certain circumstances it may be desired to generate an error instead. Since they all include warning in their name, we should rename them and use the ExecutionActionPreference enumeration to allow setting Ignore, Error, Warn, or Debug for any of these options.
Execution.AliasReferenceWarning to be replaced by Execution.AliasReference.
Execution.InconclusiveWarning to be replaced by Execution.RuleInconclusive.
Execution.InvariantCultureWarning to be replaced by Execution.InvariantCulture.
Execution.NotProcessedWarning to be replaced by Execution.UnprocessedObject.
Execution.SuppressedRuleWarning to be replaced by Execution.RuleSuppressed.
The old variants should be removed with PSRule v3. Which is a breaking change.
The text was updated successfully, but these errors were encountered:
PSRule includes a number of execution options that configure logging of certain events. Currently these only support turning a warning on or off.
In certain circumstances it may be desired to generate an error instead. Since they all include warning in their name, we should rename them and use the
ExecutionActionPreference
enumeration to allow settingIgnore
,Error
,Warn
, orDebug
for any of these options.Execution.AliasReferenceWarning
to be replaced byExecution.AliasReference
.Execution.InconclusiveWarning
to be replaced byExecution.RuleInconclusive
.Execution.InvariantCultureWarning
to be replaced byExecution.InvariantCulture
.Execution.NotProcessedWarning
to be replaced byExecution.UnprocessedObject
.Execution.SuppressedRuleWarning
to be replaced byExecution.RuleSuppressed
.The old variants should be removed with PSRule v3. Which is a breaking change.
The text was updated successfully, but these errors were encountered: