Files
pruefwerk/compliance-core/src/lib.rs
T
Sharang ParnerkarandClaude Opus 5.5 664806992e
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m24s
CI / Check (pull_request) Successful in 17m38s
fix(scan): read UTF-16 and Windows-1252 files in the remaining readers (t84)
The t84 audit found five readers that still skipped a file silently when
it was not UTF-8: the GDPR/OAuth pattern scanner, the content
fingerprints of findings, the control-check surface retrieval, the PR
review diff and the Werkbank PLC program reader. They now decode as the
code graph does: BOM, then UTF-8, then Windows-1252.

The decoder moves from compliance-graph to compliance-core, so the
Werkbank runner uses it without pulling in the graph crate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:40:37 +01:00

44 lines
995 B
Rust

pub mod build_info;
pub mod config;
pub mod control_check;
pub mod csaf_docs;
pub mod csaf_ingest;
pub mod db;
pub mod encoding;
pub mod enisa_docs;
pub mod error;
pub mod exec_policy;
#[cfg(feature = "net")]
pub mod guarded_net;
pub mod license_notices;
pub mod models;
pub mod net_guard;
pub mod purl;
pub mod sbom_docs;
pub mod scan_matrix;
pub mod spdx_license;
#[cfg(feature = "telemetry")]
pub mod telemetry;
pub mod tenant;
pub mod traits;
pub mod version;
pub mod vex_docs;
#[cfg(feature = "axum")]
pub mod auth;
#[cfg(feature = "secrets")]
pub mod secret_box;
#[cfg(feature = "axum")]
pub mod shutdown;
#[cfg(feature = "axum")]
pub mod tenant_ctx;
pub use config::{AgentConfig, AppEnv, DashboardConfig, Features, PlcRuntimeConfig};
pub use error::CoreError;
pub use exec_policy::ExecPolicy;
pub use net_guard::{NetGuard, NetGuardError};
pub use tenant::{
ApiKeyAccess, OrgRole, ProductAccess, StaffAccess, TenantContext, TenantStatus, SUPPORT_ROLES,
SUPPORT_TENANT_HEADER,
};