Skip to content

Fixes APIM policies when using embedded C# with quotes #3184 #2537

Fixes APIM policies when using embedded C# with quotes #3184

Fixes APIM policies when using embedded C# with quotes #3184 #2537

Triggered via pull request November 30, 2024 15:15
Status Success
Total duration 18m 20s
Artifacts 2

build.yaml

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

Annotations

10 warnings
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L186
Cannot convert null literal to non-nullable reference type.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L74
Possible null reference argument for parameter 'resourceId' in 'string[] ResourceHelper.GetResourceIdTypeParts(string resourceId)'.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L171
Dereference of a possibly null reference.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L180
Dereference of a possibly null reference.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L191
Converting null literal or possible null value to non-nullable type.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L196
Possible null reference argument for parameter 'resourceGroup' in 'string ResourceHelper.CombineResourceId(string subscriptionId, string resourceGroup, string[] resourceType, string[] name, int depth = 2147483647)'.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L196
Possible null reference argument for parameter 'resourceType' in 'string ResourceHelper.CombineResourceId(string subscriptionId, string resourceGroup, string[] resourceType, string[] name, int depth = 2147483647)'.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L196
Possible null reference argument for parameter 'name' in 'string ResourceHelper.CombineResourceId(string subscriptionId, string resourceGroup, string[] resourceType, string[] name, int depth = 2147483647)'.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L482
Dereference of a possibly null reference.
Build: src/PSRule.Rules.Azure/Common/ResourceHelper.cs#L484
Dereference of a possibly null reference.

Artifacts

Produced during runtime
Name Size
Module
2.23 MB
Results-PSRule
28.1 KB