Skip to content

.Platform: Library PSRule pre-flight validation #86

.Platform: Library PSRule pre-flight validation

.Platform: Library PSRule pre-flight validation #86

Triggered via schedule February 11, 2024 12:02
Status Success
Total duration 28m 51s
Artifacts
PSRule validation
28m 43s
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/synapse/workspace/tests/e2e/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/tests/e2e/encrwsai/main.test.bicep' was not valid. An error occurred evaluating expression '[parameters('usesRbacAuthorization')]' line 1178. Cannot cast Newtonsoft.Json.Linq.JObject to Newtonsoft.Json.Linq.JToken."
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/web/site/tests/e2e/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/tests/e2e/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 4232. startIndex ('-1') must be a non-negative value. (Parameter 'startIndex')
PSRule validation
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/web/site/tests/e2e/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/tests/e2e/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 3260. startIndex ('-1') must be a non-negative value. (Parameter 'startIndex')
PSRule validation
AZR-000398: ***dpbvmax001 failed Azure.BV.Immutable. Ensure immutability is configured to protect backup data.
PSRule validation
AZR-000398: ***dpbvwaf001 failed Azure.BV.Immutable. Ensure immutability is configured to protect backup data.
PSRule validation
AZR-000398: ***dpbvmin001 failed Azure.BV.Immutable. Ensure immutability is configured to protect backup data.
PSRule validation
AZR-000408: 864e505983a1f-test-swmax-init failed Azure.Deployment.SecureParameter. Use secure parameters for any parameter that contains sensitive information.
PSRule validation
AZR-000408: 864e505983a1f-test-swmax-idem failed Azure.Deployment.SecureParameter. Use secure parameters for any parameter that contains sensitive information.
PSRule validation
AZR-000166: ***swmax001 failed Azure.Resource.UseTags. Azure resources should be tagged using a standard convention.
PSRule validation
AZR-000408: 864e505983a1f-test-swmanv-init failed Azure.Deployment.SecureParameter. Use secure parameters for any parameter that contains sensitive information.
PSRule validation
Target object 'modules/data-protection/backup-vault/tests/e2e/max/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/data-protection/backup-vault/tests/e2e/waf-aligned/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/data-protection/backup-vault/tests/e2e/defaults/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/authorization/policy-assignment/tests/e2e/rg.common/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/authorization/policy-assignment/tests/e2e/mg.common/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/authorization/policy-assignment/tests/e2e/sub.common/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Rule 'PSRule.Rules.Azure\Azure.Resource.UseTags' was suppressed by suppression group '.\SuppressMin' for 'modules/authorization/policy-assignment/tests/e2e/mg.min/main.test.bicep'. Suppress Rules for min tests
PSRule validation
Rule 'PSRule.Rules.Azure\Azure.PublicIP.AvailabilityZone' was suppressed by suppression group '.\SuppressMin' for 'modules/authorization/policy-assignment/tests/e2e/mg.min/main.test.bicep'. Suppress Rules for min tests
PSRule validation
Rule 'PSRule.Rules.Azure\Azure.KeyVault.Logs' was suppressed by suppression group '.\SuppressMin' for 'modules/authorization/policy-assignment/tests/e2e/mg.min/main.test.bicep'. Suppress Rules for min tests
PSRule validation
Rule 'PSRule.Rules.Azure\Azure.KeyVault.Firewall' was suppressed by suppression group '.\SuppressMin' for 'modules/authorization/policy-assignment/tests/e2e/mg.min/main.test.bicep'. Suppress Rules for min tests