Added support for overriding rule severity level #1180 (#2621) #422
Annotations
10 warnings
Build module:
src/PSRule/Commands/ExportConventionCommand.cs#L86
Dereference of a possibly null reference.
|
Build module:
src/PSRule/Runtime/RunspaceContext.cs#L599
Dereference of a possibly null reference.
|
Build module:
src/PSRule/Runtime/RunspaceContext.cs#L594
Possible null reference argument for parameter 'targetObject' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
|
Build module:
src/PSRule/Runtime/RunspaceContext.cs#L595
Possible null reference argument for parameter 'targetName' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
|
Build module:
src/PSRule/Runtime/RunspaceContext.cs#L596
Possible null reference argument for parameter 'targetType' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
|
Build module:
src/PSRule/Rules/RuleRecord.cs#L30
Non-nullable property 'Field' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build module:
src/PSRule/Rules/RuleRecord.cs#L30
Non-nullable property 'Tag' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build module:
src/PSRule/Rules/RuleRecord.cs#L30
Non-nullable property 'Error' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build module:
src/PSRule/Runtime/RunspaceContext.cs#L662
Dereference of a possibly null reference.
|
Build module:
src/PSRule/Runtime/RunspaceContext.cs#L662
Possible null reference argument for parameter 'name' in 'object? ILanguageScope.GetService(string name)'.
|
Loading