Skip to main content

cc_audit/run/
mod.rs

1//! Scan execution and orchestration.
2//!
3//! This module provides the core scanning functionality, including:
4//! - Scan mode determination and path resolution
5//! - Configuration merging (CLI + config file)
6//! - Running scans with various scanners
7//! - Output formatting
8//! - Watch mode support
9
10mod client;
11pub mod config;
12mod cve;
13mod formatter;
14mod malware;
15mod scanner;
16mod text_file;
17mod watch;
18
19// Re-exports for public API
20pub use client::{ScanMode, detect_client_for_path, resolve_scan_paths};
21pub use config::EffectiveConfig;
22pub use cve::scan_path_with_cve_db;
23pub use formatter::{format_result, format_result_with_config};
24pub use malware::scan_path_with_malware_db;
25pub use scanner::{run_scan, run_scan_with_config};
26pub use text_file::{is_text_file, is_text_file_with_config};
27pub use watch::{WatchModeResult, setup_watch_mode, watch_iteration};