Skip to main content

cc_audit/
lib.rs

1pub mod baseline;
2pub mod cli;
3pub mod config;
4pub mod deobfuscation;
5pub mod error;
6pub mod fix;
7pub mod hooks;
8pub mod ignore;
9pub mod malware_db;
10pub mod mcp_server;
11pub mod profile;
12pub mod reporter;
13pub mod rules;
14pub mod run;
15pub mod scanner;
16pub mod scoring;
17pub mod suppression;
18pub mod watch;
19
20#[cfg(test)]
21pub mod test_utils;
22
23pub use baseline::{Baseline, DriftEntry, DriftReport};
24pub use cli::{Cli, OutputFormat, ScanType};
25pub use config::{Config, ConfigError, TextFilesConfig, WatchConfig};
26pub use deobfuscation::{DecodedContent, Deobfuscator};
27pub use error::{AuditError, Result};
28pub use fix::{AutoFixer, Fix, FixResult};
29pub use hooks::{HookError, HookInstaller};
30pub use ignore::IgnoreFilter;
31pub use malware_db::{MalwareDatabase, MalwareDbError};
32pub use mcp_server::McpServer;
33pub use profile::{Profile, profile_from_cli};
34pub use reporter::{
35    Reporter, html::HtmlReporter, json::JsonReporter, sarif::SarifReporter,
36    terminal::TerminalReporter,
37};
38pub use rules::{
39    Confidence, CustomRuleError, CustomRuleLoader, DynamicRule, Finding, RuleEngine, ScanResult,
40    Severity, Summary,
41};
42pub use run::{
43    WatchModeResult, format_result, is_text_file, is_text_file_with_config, run_scan,
44    scan_path_with_malware_db, setup_watch_mode, watch_iteration,
45};
46pub use scanner::{
47    CommandScanner, DependencyScanner, DockerScanner, HookScanner, McpScanner, PluginScanner,
48    RulesDirScanner, Scanner, SkillScanner, SubagentScanner,
49};
50pub use scoring::{CategoryScore, RiskLevel, RiskScore, SeverityBreakdown};
51pub use watch::FileWatcher;