Skip to content

.Platform: Library PSRule pre-flight validation #89

.Platform: Library PSRule pre-flight validation

.Platform: Library PSRule pre-flight validation #89

Triggered via schedule March 3, 2024 12:02
Status Success
Total duration 29m 7s
Artifacts
PSRule validation
28m 59s
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-000293: VirtualMachines failed Azure.Defender.Servers. Enable Microsoft Defender for Servers.
PSRule validation
AZR-000294: SqlServers failed Azure.Defender.SQL. Enable Microsoft Defender for SQL servers.
PSRule validation
AZR-000295: AppServices failed Azure.Defender.AppServices. Enable Microsoft Defender for App Service.
PSRule validation
AZR-000296: StorageAccounts failed Azure.Defender.Storage. Enable Microsoft Defender for Storage.
PSRule validation
AZR-000297: SqlServerVirtualMachines failed Azure.Defender.SQLOnVM. Enable Microsoft Defender for SQL servers on machines.
PSRule validation
AZR-000352: KeyVaults failed Azure.Defender.KeyVault. Enable Microsoft Defender for Key Vault.
PSRule validation
AZR-000353: Dns failed Azure.Defender.Dns. Enable Microsoft Defender for DNS.
PSRule validation
Target object 'modules/healthcare-apis/workspace/tests/e2e/max/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/healthcare-apis/workspace/tests/e2e/waf-aligned/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/healthcare-apis/workspace/tests/e2e/defaults/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/security/azure-security-center/tests/e2e/max/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/security/azure-security-center/tests/e2e/waf-aligned/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/aad/domain-service/tests/e2e/max/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/aad/domain-service/tests/e2e/waf-aligned/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/api-management/service/tests/e2e/max/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/api-management/service/tests/e2e/waf-aligned/main.test.bicep' has not been processed because no matching rules were found.
PSRule validation
Target object 'modules/api-management/service/tests/e2e/defaults/main.test.bicep' has not been processed because no matching rules were found.