Skip to content

Commit

Permalink
config: add "cert_subjects" alias for "princs" filters
Browse files Browse the repository at this point in the history
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",
]
  • Loading branch information
MrAnno committed Nov 3, 2024
1 parent ce0d0c5 commit d31b900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/src/models/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ impl From<PrincsFilterOperation> for crate::subscription::PrincsFilterOperation
#[serde(deny_unknown_fields)]
struct PrincsFilter {
pub operation: Option<PrincsFilterOperation>,
#[serde(alias = "cert_subjects")]
pub princs: HashSet<String>,
}

Expand Down

0 comments on commit d31b900

Please sign in to comment.