audit — API
def main():SystemSnapshot:
Section titled “SystemSnapshot:”src/ids_ips/collector/system_audit.py
class SystemSnapshot:collect_system_snapshot
Section titled “collect_system_snapshot”src/ids_ips/collector/system_audit.py
def collect_system_snapshot() -> SystemSnapshot:run_basic_audit
Section titled “run_basic_audit”src/ids_ips/collector/system_audit.py
def run_basic_audit(cfg: AuditConfig) -> Path:load_audit_json
Section titled “load_audit_json”src/ids_ips/collector/system_audit.py
def load_audit_json(path: Path) -> Dict[str, Any]:AuditConfig:
Section titled “AuditConfig:”class AuditConfig:ensure_output_dir
Section titled “ensure_output_dir”def ensure_output_dir(cfg: AuditConfig) -> None:extract_basic_features
Section titled “extract_basic_features”src/ids_ips/features/basic_features.py
def extract_basic_features(audit_path: Path) -> pd.DataFrame:setup_logging
Section titled “setup_logging”def setup_logging(log_dir: Path) -> None:BaselineAnomalyModel:
Section titled “BaselineAnomalyModel:”src/ids_ips/models/baseline.py
class BaselineAnomalyModel: