From bd888be47a59aa0eb1fecba06a4e076db562169f Mon Sep 17 00:00:00 2001 From: hezijie Date: Mon, 17 Feb 2025 10:54:39 +0800 Subject: [PATCH] update readme --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 296e934..2108c5f 100644 --- a/readme.md +++ b/readme.md @@ -89,7 +89,7 @@ package Azure_Proactive_Resiliency_Library_v2 import rego.v1 -exception[rules] { +exception contains rules if { rules = ["use_nat_gateway_instead_of_outbound_rules_for_production_load_lalancer", "storage_accounts_are_zone_or_region_redundant"] } ``` @@ -97,7 +97,7 @@ exception[rules] { Save it to `exception.rego`, then you can apply the exception file with the policies: ```Bash -conftest test --all-namespaces -p exception.rego -p /policy +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 ``` ## Contribution