Skip to content

Commit

Permalink
doc: improve description of --network-firewalling and --filesystem-wh…
Browse files Browse the repository at this point in the history
…itelisting options
  • Loading branch information
desbma committed Jan 18, 2025
1 parent aa76500 commit 4f5a867
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/cl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ pub(crate) struct HardeningOptions {
/// How hard we should harden
#[arg(short, long, default_value_t, value_enum)]
pub mode: HardeningMode,
/// Enable advanced network firewalling
/// Enable advanced network firewalling.
/// Only use this if you know that the network addresses and ports, of
/// local system and remote peers will not change
#[arg(short = 'f', long, default_value_t)]
pub network_firewalling: bool,
/// Enable whitelist-based filesystem hardening
/// Enable whitelist-based filesystem hardening.
/// Only use this if you know that the paths accessed by the service will not
/// change
#[arg(short = 'w', long, default_value_t)]
pub filesystem_whitelisting: bool,
/// When using whitelist-based filesystem hardening, if path whitelist is longer than this value,
Expand Down

0 comments on commit 4f5a867

Please sign in to comment.