.Platform: Library PSRule pre-flight validation #4
platform.librarycheck.psrule.yml
on: schedule
PSRule validation
28m 2s
Annotations
10 errors and 10 warnings
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
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/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
AZR-000153: pep-[[[namePrefix]]bbawaf001-batchAccount-0 failed Azure.PrivateEndpoint.Name. Private Endpoint names should meet naming requirements.
|
PSRule validation
AZR-000153: pep-[[[namePrefix]]bbamax001-batchAccount-0 failed Azure.PrivateEndpoint.Name. Private Endpoint names should meet naming requirements.
|
PSRule validation
AZR-000153: pep-[[[namePrefix]]bbaencr001-batchAccount-0 failed Azure.PrivateEndpoint.Name. Private Endpoint names should meet naming requirements.
|
PSRule validation
AZR-000408: 864e505983a1f-test-csmkube failed Azure.Deployment.SecureParameter. Use secure parameters for any parameter that contains sensitive information.
|
PSRule validation
AZR-000015: [[[namePrefix]]csmkube001 failed Azure.AKS.Version. AKS control plane and nodes pools should use a current stable release.
|
PSRule validation
AZR-000016: [[[namePrefix]]csmkube001 failed Azure.AKS.PoolVersion. AKS node pools should match Kubernetes control plane version.
|
PSRule validation
AZR-000018: [[[namePrefix]]csmkube001 failed Azure.AKS.NodeMinPods. Azure Kubernetes Cluster (AKS) nodes should use a minimum number of pods.
|
PSRule validation
Target object 'modules/batch/batch-account/tests/e2e/defaults/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/batch/batch-account/tests/e2e/waf-aligned/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/batch/batch-account/tests/e2e/max/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/batch/batch-account/tests/e2e/encr/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/managed-services/registration-definition/tests/e2e/waf-aligned/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/managed-services/registration-definition/tests/e2e/max/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/managed-services/registration-definition/tests/e2e/rg/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/container-service/managed-cluster/tests/e2e/kubenet/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/container-service/managed-cluster/tests/e2e/defaults/main.test.bicep' has not been processed because no matching rules were found.
|
PSRule validation
Target object 'modules/container-service/managed-cluster/tests/e2e/azure/main.test.bicep' has not been processed because no matching rules were found.
|