Skip to content

[Modules] Added waf-aligned test (#4193) #496

[Modules] Added waf-aligned test (#4193)

[Modules] Added waf-aligned test (#4193) #496

Triggered via push November 7, 2023 06:12
Status Failure
Total duration 6m 2s
Artifacts
Initialize pipeline
20s
Initialize pipeline
Module  /  Static validation
1m 33s
Module / Static validation
Matrix: Module / PSRule validation
Matrix: Module / Deployment validation
Module  /  Publishing
0s
Module / Publishing
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 8 warnings
Module / PSRule validation (tests/e2e/waf-aligned/main.test.bicep)
AZR-000263: ***nvnwaf001 failed Azure.VNET.UseNSGs. Virtual network (VNET) subnets should have Network Security Groups (NSGs) assigned.
Module / PSRule validation (tests/e2e/waf-aligned/main.test.bicep)
AZR-000314: ***nvnwaf001 failed Azure.VNET.BastionSubnet. VNETs with a GatewaySubnet should have an AzureBastionSubnet to allow for out of band remote access to VMs.
Module / PSRule validation (tests/e2e/waf-aligned/main.test.bicep)
AZR-000322: ***nvnwaf001 failed Azure.VNET.FirewallSubnet. Use Azure Firewall to filter network traffic to and from Azure resources.
Module / PSRule validation (tests/e2e/waf-aligned/main.test.bicep)
One or more assertions failed. One or more rules reported failure.
Module / PSRule validation (tests/e2e/waf-aligned/main.test.bicep)
Process completed with exit code 1.
Module / Static validation
[-] [network/virtual-network/subnet] Set-ModuleReadMe script should not apply any updates. 4s (4s|1ms)
Module / Static validation
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/defaults/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/network/virtual-network/tests/e2e/defaults/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/network/virtual-network/tests/e2e/defaults/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 474. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (tests/e2e/defaults/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (tests/e2e/defaults/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/max/main.test.bicep)
AZR-000263: ***nvnmax001 failed Azure.VNET.UseNSGs. Virtual network (VNET) subnets should have Network Security Groups (NSGs) assigned.
Module / PSRule validation (tests/e2e/max/main.test.bicep)
AZR-000314: ***nvnmax001 failed Azure.VNET.BastionSubnet. VNETs with a GatewaySubnet should have an AzureBastionSubnet to allow for out of band remote access to VMs.
Module / PSRule validation (tests/e2e/max/main.test.bicep)
AZR-000322: ***nvnmax001 failed Azure.VNET.FirewallSubnet. Use Azure Firewall to filter network traffic to and from Azure resources.
Module / PSRule validation (tests/e2e/max/main.test.bicep)
One or more assertions failed. One or more rules reported failure.
Module / PSRule validation (tests/e2e/max/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/vnetPeering/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/network/virtual-network/tests/e2e/vnetPeering/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/network/virtual-network/tests/e2e/vnetPeering/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 583. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (tests/e2e/vnetPeering/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (tests/e2e/vnetPeering/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/waf-aligned/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (tests/e2e/waf-aligned/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (tests/e2e/defaults/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (tests/e2e/defaults/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (tests/e2e/max/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (tests/e2e/max/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (tests/e2e/vnetPeering/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (tests/e2e/vnetPeering/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.