Skip to main content

Crate cc_audit

Crate cc_audit 

Source

Re-exports§

pub use baseline::Baseline;
pub use baseline::DriftEntry;
pub use baseline::DriftReport;
pub use cli::BadgeFormat;
pub use cli::Cli;
pub use cli::OutputFormat;
pub use cli::ScanType;
pub use client::ClientType;
pub use client::DetectedClient;
pub use client::detect_client;
pub use client::detect_installed_clients;
pub use client::list_installed_clients;
pub use config::Config;
pub use config::ConfigError;
pub use config::TextFilesConfig;
pub use config::WatchConfig;
pub use cve_db::CveDatabase;
pub use cve_db::CveDbError;
pub use cve_db::CveEntry;
pub use deobfuscation::DecodedContent;
pub use deobfuscation::Deobfuscator;
pub use error::AuditError;
pub use error::Result;
pub use fix::AutoFixer;
pub use fix::Fix;
pub use fix::FixResult;
pub use hooks::HookError;
pub use hooks::HookInstaller;
pub use ignore::IgnoreFilter;
pub use malware_db::MalwareDatabase;
pub use malware_db::MalwareDbError;
pub use mcp_server::McpServer;
pub use profile::Profile;
pub use profile::profile_from_cli;
pub use remote::ClonedRepo;
pub use remote::GitCloner;
pub use remote::RemoteError;
pub use remote::parse_github_url;
pub use reporter::Reporter;
pub use reporter::html::HtmlReporter;
pub use reporter::json::JsonReporter;
pub use reporter::markdown::MarkdownReporter;
pub use reporter::sarif::SarifReporter;
pub use reporter::terminal::TerminalReporter;
pub use rules::Confidence;
pub use rules::CustomRuleError;
pub use rules::CustomRuleLoader;
pub use rules::DynamicRule;
pub use rules::Finding;
pub use rules::RuleEngine;
pub use rules::RuleSeverity;
pub use rules::ScanResult;
pub use rules::Severity;
pub use rules::Summary;
pub use run::ScanMode;
pub use run::WatchModeResult;
pub use run::format_result;
pub use run::is_text_file;
pub use run::is_text_file_with_config;
pub use run::run_scan;
pub use run::scan_path_with_cve_db;
pub use run::scan_path_with_malware_db;
pub use run::setup_watch_mode;
pub use run::watch_iteration;
pub use scanner::CommandScanner;
pub use scanner::DependencyScanner;
pub use scanner::DirectoryWalker;
pub use scanner::DockerScanner;
pub use scanner::HookScanner;
pub use scanner::McpScanner;
pub use scanner::PluginScanner;
pub use scanner::RulesDirScanner;
pub use scanner::ScanError;
pub use scanner::Scanner;
pub use scanner::SkillScanner;
pub use scanner::SubagentScanner;
pub use scanner::WalkConfig;
pub use scoring::CategoryScore;
pub use scoring::RiskLevel;
pub use scoring::RiskScore;
pub use scoring::SeverityBreakdown;
pub use types::AuthToken;
pub use types::FileHash;
pub use types::GitRef;
pub use types::PathValidationError;
pub use types::RuleId;
pub use types::ScanTarget;
pub use watch::FileWatcher;

Modules§

baseline
cli
client
AI coding client detection and configuration paths.
config
Configuration module for cc-audit.
cve_db
CVE database for known vulnerabilities in AI coding tools.
deobfuscation
error
Error types for cc-audit.
fix
handlers
CLI command handlers.
hooks
ignore
malware_db
mcp_server
profile
remote
Remote repository scanning module
reporter
rules
run
Scan execution and orchestration.
scanner
scoring
suppression
types
Type-safe wrapper types for improved compile-time guarantees.
watch

Macros§

impl_content_scanner
Implements the ContentScanner trait for scanners that use default content scanning.
impl_scanner_builder
Implements common scanner builder methods for structs with a config: ScannerConfig field.
impl_simple_file_scanner
Implements a simple Scanner trait for file-based scanners.