Skip to content

Added support for overriding rule severity level #1180 (#2621) #422

Added support for overriding rule severity level #1180 (#2621)

Added support for overriding rule severity level #1180 (#2621) #422

Triggered via push November 21, 2024 17:27
Status Success
Total duration 6m 28s
Artifacts 2

build.yaml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/PSRule/Commands/ExportConventionCommand.cs#L86
Dereference of a possibly null reference.
Build: src/PSRule/Runtime/RunspaceContext.cs#L599
Dereference of a possibly null reference.
Build: 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: 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: 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: 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: 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: 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: src/PSRule/Runtime/RunspaceContext.cs#L662
Dereference of a possibly null reference.
Build: src/PSRule/Runtime/RunspaceContext.cs#L662
Possible null reference argument for parameter 'name' in 'object? ILanguageScope.GetService(string name)'.

Artifacts

Produced during runtime
Name Size
Module Expired
2.96 MB
Results-PSRule Expired
7.79 KB