keyhog 0.5.73

GPU-accelerated secret scanner for code, Git history, cloud, containers, browser assets, and live credential verification
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Parser;

use super::ScanArgs;

#[derive(Parser)]
pub struct ConfigArgs {
    /// Print the resolved scan configuration and exit without scanning.
    ///
    /// Accepts the same config-affecting flags as `keyhog scan`, so operators
    /// can prove the compiled defaults, TOML config, and CLI overrides that
    /// would reach the scanner for the same scan invocation.
    #[arg(long, required = true)]
    pub effective: bool,

    #[command(flatten)]
    pub scan: ScanArgs,
}