From fa8a33516c4581a4512f8c8dc0ba7197922c4476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20V=C3=A1rady?= Date: Fri, 25 Oct 2024 23:15:08 +0200 Subject: [PATCH] config: add "cert_subjects" alias for "princs" filters The name "princs" does not make sense when TLS is used, so an alias has been added: [filter] operation = "Only" cert_subjects = [ "win10.windomain.local", ] --- common/src/models/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/models/config.rs b/common/src/models/config.rs index 79372a3..d18d84d 100644 --- a/common/src/models/config.rs +++ b/common/src/models/config.rs @@ -178,6 +178,7 @@ impl From for crate::subscription::PrincsFilterOperation #[serde(deny_unknown_fields)] struct PrincsFilter { pub operation: Option, + #[serde(alias = "cert_subjects")] pub princs: HashSet, }