From e97c23de133c9b341f33c6b805c4a51cf9370ccf Mon Sep 17 00:00:00 2001 From: Qiyue Yao <39061776+qiyueyao@users.noreply.github.com> Date: Mon, 15 Aug 2022 00:58:26 -0700 Subject: [PATCH] Improve doc and test for Audit Logging (#4099) Addresses followup comments in Audit Logging supports K8s Networkpolicy. - Improved documentation - Improved e2e test Signed-off-by: Qiyue Yao --- docs/antrea-network-policy.md | 7 ++----- test/e2e/antreapolicy_test.go | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/antrea-network-policy.md b/docs/antrea-network-policy.md index 8751363ab48..e6d2f89f65d 100644 --- a/docs/antrea-network-policy.md +++ b/docs/antrea-network-policy.md @@ -644,8 +644,8 @@ which the rule is applied. These log files can then be retrieved for further analysis. By default, rules are not logged. The example policy logs all traffic that matches the "DropToThirdParty" egress rule, while the rule "AllowFromFrontend" is not logged. Specifically for drop and reject rules, -deduplication is applied to simplify multiple logs. Duplication buffer length is set as 1 second. -The rules are logged in the following format: +deduplication is applied to reduce duplicated logs, and duplication buffer +length is set to 1 second. The rules are logged in the following format: ```text