CI / Check (pull_request) Successful in 5m52s
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
The onboarding wizard created OnboardedTargets that were invisible in the
dashboard, and triggering a scan failed with "Repository <id> not found":
`/targets/{id}/scan` went through `run_scan`, which consulted the global
`unified_pipeline` flag and fell to the legacy repository pipeline (reads
`repositories`, not `onboarded_targets`).
Agent
- Add `ComplianceAgent::run_target_scan`, always dispatching to the unified
`run_target` pipeline. The target-scan endpoint operates on
`onboarded_targets` by construction, so it must not depend on the
transition flag. `trigger_target_scan` now calls it.
- Default `UNIFIED_PIPELINE` to on (no legacy `repositories` data in prod);
set `UNIFIED_PIPELINE=0` to opt back to the legacy pipeline.
- Scheduler now scans `onboarded_targets` (via `run_target_scan`) instead of
the legacy `repositories` collection.
Dashboard
- New Targets page (`/targets`): lists onboarded targets with detected type,
artifacts, findings count, applicable-scans matrix (on expand), plus Run
scan and Delete. Sidebar "Repositories" nav becomes "Targets".
- Remove the "Add Repository" form from the Repositories page — onboarding
is the single entry point (private-repo auth + issue tracker move into the
onboarding flow, revisable on the target).
- Add `delete_target` server fn.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
44 lines
1.2 KiB
Rust
44 lines
1.2 KiB
Rust
pub mod chat;
|
|
pub mod chat_index;
|
|
pub mod dast_finding_detail;
|
|
pub mod dast_findings;
|
|
pub mod dast_overview;
|
|
pub mod dast_targets;
|
|
pub mod finding_detail;
|
|
pub mod findings;
|
|
pub mod graph_explorer;
|
|
pub mod graph_index;
|
|
pub mod impact_analysis;
|
|
pub mod issues;
|
|
pub mod mcp_servers;
|
|
pub mod mcp_tokens;
|
|
pub mod onboarding;
|
|
pub mod overview;
|
|
pub mod pentest_dashboard;
|
|
pub mod pentest_session;
|
|
pub mod repositories;
|
|
pub mod sbom;
|
|
pub mod targets;
|
|
|
|
pub use chat::ChatPage;
|
|
pub use chat_index::ChatIndexPage;
|
|
pub use dast_finding_detail::DastFindingDetailPage;
|
|
pub use dast_findings::DastFindingsPage;
|
|
pub use dast_overview::DastOverviewPage;
|
|
pub use dast_targets::DastTargetsPage;
|
|
pub use finding_detail::FindingDetailPage;
|
|
pub use findings::FindingsPage;
|
|
pub use graph_explorer::GraphExplorerPage;
|
|
pub use graph_index::GraphIndexPage;
|
|
pub use impact_analysis::ImpactAnalysisPage;
|
|
pub use issues::IssuesPage;
|
|
pub use mcp_servers::McpServersPage;
|
|
pub use mcp_tokens::McpTokensPage;
|
|
pub use onboarding::OnboardingPage;
|
|
pub use overview::OverviewPage;
|
|
pub use pentest_dashboard::PentestDashboardPage;
|
|
pub use pentest_session::PentestSessionPage;
|
|
pub use repositories::RepositoriesPage;
|
|
pub use sbom::SbomPage;
|
|
pub use targets::TargetsPage;
|