updated gateway rule to block subdomains

This commit is contained in:
Viet Huynh
2023-09-04 19:20:54 +07:00
parent 1e35f93583
commit 3ff1472a8a
+1 -1
View File
@@ -30,7 +30,7 @@ async function getZeroTrustLists() {
// Build the wirefilter expression
for (const list of filtered_lists) {
wirefilter_expression += `dns.fqdn in \$${list.id} or `;
wirefilter_expression += `any(dns.domains[*] in \$${list.id}) or `;
}
// Remove the trailing ' or '
if (wirefilter_expression.endsWith(' or ')) {