You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sh...@apache.org on 2024/07/10 21:12:28 UTC
(trafficserver) 07/07: Fix logging reason
This is an automated email from the ASF dual-hosted git repository.
shinrich pushed a commit to branch avx-53179
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 12bae2b9cc3a508e9b31f80b52fc2e65d59c2eb8
Author: Susan Hinrichs <sh...@aviatrix.com>
AuthorDate: Wed Jul 10 21:12:03 2024 +0000
Fix logging reason
---
aviatrix/plugins/avx_policy_driver/web_filter.cc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/aviatrix/plugins/avx_policy_driver/web_filter.cc b/aviatrix/plugins/avx_policy_driver/web_filter.cc
index e7437bd2dd..13c3361ffa 100644
--- a/aviatrix/plugins/avx_policy_driver/web_filter.cc
+++ b/aviatrix/plugins/avx_policy_driver/web_filter.cc
@@ -431,6 +431,11 @@ PolicyHolder::logAndWatchResult(const char *stage, PolicyResult result, struct s
}
m.ids = true;
break;
+ case PolicyResult::POLICY_REQUIRE_TLS:
+ m.action = "DROP";
+ m.reason = "POLICY_REQUIRE_TLS";
+ m.message = "Non-TLS Traffic";
+ break;
case PolicyResult::POLICY_CONTINUE:
// this should not happen
return false;