CI / Check (pull_request) Failing after 4m28s
CI / Detect Changes (pull_request) Has been skipped
CI / Deploy Agent (pull_request) Has been skipped
CI / Deploy Dashboard (pull_request) Has been skipped
CI / Deploy Docs (pull_request) Has been skipped
CI / Deploy MCP (pull_request) Has been skipped
Backend foundation for the artifact-aware onboarding redesign (epic #118), replacing the git-only TrackedRepository / DastTarget split with a unified OnboardedTarget classified by target type and carrying its artifacts. compliance-core: - OnboardedTarget model: TargetType (9 families), ArtifactKind (8 kinds), Artifact with per-kind config, ArtifactAuth (folds git auth + DastAuthConfig), Classification, TargetScanConfig (reuses pentest + tracker config). - Table-driven scan-applicability matrix: applicable_scans / rules_for / supports_pentest, with SAST umbrella + firmware/PLC/mobile/DAST gated on artifact presence. - TargetClassifier port trait, mirroring the Scanner trait. - Additive ScanType/ScanPhase variants (firmware/PLC/mobile/container); ScanType is now Copy. compliance-agent: - onboarded_targets collection accessor + indexes (artifacts.source_ref, artifacts.kind, target_type). - Drop a now-redundant ScanType clone surfaced by the Copy derive. Foundation only (steps 1-2 of the approved plan); legacy scan paths untouched. 17 new unit tests; passes fmt + clippy -D warnings (agent, dashboard, mcp). Refs #118, #119, #122, #121. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
377 B
Rust
19 lines
377 B
Rust
pub mod config;
|
|
pub mod db;
|
|
pub mod error;
|
|
pub mod models;
|
|
pub mod scan_matrix;
|
|
#[cfg(feature = "telemetry")]
|
|
pub mod telemetry;
|
|
pub mod tenant;
|
|
pub mod traits;
|
|
|
|
#[cfg(feature = "axum")]
|
|
pub mod auth;
|
|
#[cfg(feature = "axum")]
|
|
pub mod tenant_ctx;
|
|
|
|
pub use config::{AgentConfig, DashboardConfig};
|
|
pub use error::CoreError;
|
|
pub use tenant::{OrgRole, TenantContext, TenantStatus};
|