Skip to content

.Platform: Library PSRule pre-flight validation #69

.Platform: Library PSRule pre-flight validation

.Platform: Library PSRule pre-flight validation #69

Triggered via schedule October 15, 2023 12:02
Status Success
Total duration 22m 11s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
PSRule validation
22m 2s
PSRule validation
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/signal-r-service/web-pub-sub/.test/pe/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/signal-r-service/web-pub-sub/.test/pe/main.test.bicep' was not valid. An error occurred evaluating expression '[format('pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-{0}', uniqueString(deployment().name, parameters('location')))]' line 605. The argument 'additional parameters as needed' for 'UniqueString' is not a valid string."
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/signal-r-service/web-pub-sub/.test/common/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/signal-r-service/web-pub-sub/.test/common/main.test.bicep' was not valid. An error occurred evaluating expression '[format('pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-{0}', uniqueString(deployment().name, parameters('location')))]' line 685. The argument 'additional parameters as needed' for 'UniqueString' is not a valid string."
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/signal-r-service/signal-r/.test/common/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/signal-r-service/signal-r/.test/common/main.test.bicep' was not valid. An error occurred evaluating expression '[format('pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-{0}', uniqueString(deployment().name, parameters('location')))]' line 738. The argument 'additional parameters as needed' for 'UniqueString' is not a valid string."
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/disk-encryption-set/.test/accessPolicies/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/compute/disk-encryption-set/.test/accessPolicies/main.test.bicep' was not valid. An error occurred evaluating expression '[equals(parameters('rbacAuthorizationEnabled'), true())]' line 489. Null object cannot be converted to a value type."
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/disk-encryption-set/.test/common/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/compute/disk-encryption-set/.test/common/main.test.bicep' was not valid. An error occurred evaluating expression '[equals(parameters('rbacAuthorizationEnabled'), true())]' line 492. Null object cannot be converted to a value type."
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/synapse/workspace/.test/encrwsai/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/synapse/workspace/.test/encrwsai/main.test.bicep' was not valid. An error occurred evaluating expression '[parameters('usesRbacAuthorization')]' line 804. Cannot cast Newtonsoft.Json.Linq.JObject to Newtonsoft.Json.Linq.JToken."
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/batch/batch-account/.test/common/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/batch/batch-account/.test/common/main.test.bicep' was not valid. An error occurred evaluating expression '[format('{0}-PrivateEndpoint-Rbac-{1}', uniqueString(deployment().name, parameters('location')), copyIndex())]' line 1171. The argument 'additional parameters as needed' for 'UniqueString' is not a valid string."
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/web/site/.test/functionAppCommon/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/web/site/.test/functionAppCommon/main.test.bicep' was not valid. An error occurred evaluating expression '[split(substring(reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', split(parameters('hybridConnectionResourceId'), '/')[2], split(parameters('hybridConnectionResourceId'), '/')[4]), 'Microsoft.Relay/namespaces', split(parameters('hybridConnectionResourceId'), '/')[8]), '2021-11-01').serviceBusEndpoint, indexOf(reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', split(parameters('hybridConnectionResourceId'), '/')[2], split(parameters('hybridConnectionResourceId'), '/')[4]), 'Microsoft.Relay/namespaces', split(parameters('hybridConnectionResourceId'), '/')[8]), '2021-11-01').serviceBusEndpoint, '.servicebus')), ':')[0]]' line 3417. StartIndex cannot be less than zero. (Parameter 'startIndex')"
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/web/site/.test/webAppCommon/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/web/site/.test/webAppCommon/main.test.bicep' was not valid. An error occurred evaluating expression '[split(substring(reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', split(parameters('hybridConnectionResourceId'), '/')[2], split(parameters('hybridConnectionResourceId'), '/')[4]), 'Microsoft.Relay/namespaces', split(parameters('hybridConnectionResourceId'), '/')[8]), '2021-11-01').serviceBusEndpoint, indexOf(reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', split(parameters('hybridConnectionResourceId'), '/')[2], split(parameters('hybridConnectionResourceId'), '/')[4]), 'Microsoft.Relay/namespaces', split(parameters('hybridConnectionResourceId'), '/')[8]), '2021-11-01').serviceBusEndpoint, '.servicebus')), ':')[0]]' line 2371. StartIndex cannot be less than zero. (Parameter 'startIndex')"
PSRule validation
AZR-000195: ***ssaencr001 failed Azure.Storage.UseReplication. Storage Accounts not using geo-replicated storage (GRS) may be at risk.
PSRule validation
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
PSRule validation
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
PSRule validation
Inconclusive result reported for '***rsvdr001' @PSRule.Rules.Azure\Azure.RSV.ReplicationAlert.
PSRule validation
Inconclusive result reported for '***rsvmin001' @PSRule.Rules.Azure\Azure.RSV.ReplicationAlert.
PSRule validation
AZR-000287: ***csmkube001 failed Azure.AKS.EphemeralOSDisk. AKS clusters should use ephemeral OS disks which can provide lower read/write latency, along with faster node scaling and cluster upgrades.
PSRule validation
AZR-000287: ***csmpriv001 failed Azure.AKS.EphemeralOSDisk. AKS clusters should use ephemeral OS disks which can provide lower read/write latency, along with faster node scaling and cluster upgrades.
PSRule validation
AZR-000287: ***csmaz001 failed Azure.AKS.EphemeralOSDisk. AKS clusters should use ephemeral OS disks which can provide lower read/write latency, along with faster node scaling and cluster upgrades.
PSRule validation
AZR-000043: ***apismax001 failed Azure.APIM.APIDescriptors. API Management APIs should have a display name and description.
PSRule validation
AZR-000049: ***apismax001 failed Azure.APIM.ProductDescriptors. API Management products should have a display name and description.
PSRule validation
Inconclusive result reported for '***nlbmin001' @PSRule.Rules.Azure\Azure.LB.Probe.