From e780e0c1e5e45f7027027412fdb6673e9487d2e5 Mon Sep 17 00:00:00 2001 From: hezijie Date: Thu, 27 Feb 2025 15:09:34 +0800 Subject: [PATCH] update readme for new url --- readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index c14e4b7..60efe90 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ This repository contains some [Rego](https://www.openpolicyagent.org/) policy fi To use these policies, you can use the [Conftest](https://www.conftest.dev/) tool. You can use the following command to run the policies against your Terraform plan: ```bash -conftest test --all-namespaces --update git::https://github.com/lonegunmanb/policy-library-avmrego.git//policy +conftest test --all-namespaces --update git::https://github.com/Azure/policy-library-avm.git//policy ``` To generate a Terraform plan file: @@ -20,7 +20,7 @@ Or you can use this library against the brown field infrastructure: ```bash terraform show -json > state.json -conftest test --all-namespaces --update git::https://github.com/lonegunmanb/policy-library-avmrego.git//policy state.json +conftest test --all-namespaces --update git::https://github.com/Azure/policy-library-avm.git//policy state.json ``` ## Supported Policies @@ -79,7 +79,7 @@ conftest test --all-namespaces --update git::https://github.com/lonegunmanb/poli To apply a subset of policies, you can specify the policy folders you want to apply, e.g.: ```Bash -conftest test --all-namespaces --update git::https://github.com/lonegunmanb/policy-library-avmrego.git//policy/Azure-Proactive-Resiliency-Library-v2 +conftest test --all-namespaces --update git::https://github.com/Azure/policy-library-avm.git//policy/Azure-Proactive-Resiliency-Library-v2 ``` This will only apply the policies under `Azure-Proactive-Resiliency-Library-v2`. @@ -99,7 +99,7 @@ exception contains rules if { Save it to `exception.rego`, then you can apply the exception file with the policies: ```Bash -conftest test --all-namespaces --update git::https://github.com/lonegunmanb/policy-library-avmrego.git//policy/Azure-Proactive-Resiliency-Library-v2 -p policy -p exception.rego +conftest test --all-namespaces --update git::https://github.com/Azure/policy-library-avm.git//policy/Azure-Proactive-Resiliency-Library-v2 -p policy -p exception.rego ``` ## Contribution