Skip to content

Use PSRule for testing #7

Use PSRule for testing

Use PSRule for testing #7

Triggered via pull request June 12, 2024 00:41
Status Success
Total duration 1m 43s
Artifacts

bicep-audit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build
Failed to expand bicep source '/home/runner/work/azure-opensource-labs/azure-opensource-labs/tests/cloud-native/aks-bicep-k8s.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/azure-opensource-labs/azure-opensource-labs/tests/cloud-native/aks-bicep-k8s.test.bicep' was not valid. Object reference not set to an instance of an object."
build
AZR-000118: akv-testing failed Azure.KeyVault.AccessPolicy. Use the principal of least privilege when assigning access to Key Vault.
build
AZR-000119: akv-testing failed Azure.KeyVault.Logs. Ensure audit diagnostics logs are enabled to audit Key Vault access.
build
AZR-000355: akv-testing failed Azure.KeyVault.Firewall. Key Vault should only accept explicitly allowed traffic.
build
AZR-000022: aks-testing failed Azure.AKS.AuditLogs. AKS clusters should collect security-based audit logs to assess and monitor the compliance status of workloads.
build
AZR-000025: aks-testing failed Azure.AKS.ManagedIdentity. Configure AKS clusters to use managed identities for managing cluster infrastructure.
build
AZR-000027: aks-testing failed Azure.AKS.NetworkPolicy. Deploy AKS clusters with Network Policies enabled.
build
AZR-000028: aks-testing failed Azure.AKS.AzurePolicyAddOn. Configure Azure Kubernetes Service (AKS) clusters to use Azure Policy Add-on for Kubernetes.
build
AZR-000029: aks-testing failed Azure.AKS.ManagedAAD. Use AKS-managed Azure AD to simplify authorization and improve security.
build
AZR-000030: aks-testing failed Azure.AKS.AuthorizedIPs. Restrict access to API server endpoints to authorized IP addresses.
build
Target object 'tests/README.md' has not been processed because no matching rules were found.
build
Target object 'tests/cloud-native/aks-webapp-routing.test.bicep' has not been processed because no matching rules were found.
build
Target object 'tests/cloud-native/aks-bicep-k8s.test.bicep' has not been processed because no matching rules were found.
build
Target object 'tests/cloud-native/aks-bicep.test.bicep' has not been processed because no matching rules were found.
build
Target object 'tests/cloud-native/aks-arm64.test.bicep' has not been processed because no matching rules were found.
build
Target object 'tests/cloud-native/aks-bicep-keda.test.bicep' has not been processed because no matching rules were found.
build
Target object 'tests/cloud-native/containerapps.test.bicep' has not been processed because no matching rules were found.
build
Target object 'tests/cloud-native/aks-open-service-mesh.test.bicep' has not been processed because no matching rules were found.
build
Target object 'tests/cloud-native/aks-azure-linux.test.bicep' has not been processed because no matching rules were found.
build
Target object 'tests/linux/vm.test.bicep' has not been processed because no matching rules were found.