- GET /api/v1/cve-history: open CVEs with a fixed version per day (UTC)
by severity, for the tenant, one target or one project's targets, with
the open critical/high findings of the same scope; per-target series
on request. Computed from created_at, resolved_at and the VEX
statement's time, no snapshots.
- GET /api/v1/targets/{id}/top-updates: the package updates that close
the most of a target's open CVEs with a fix.
- Overview: KPI tiles with the 30-day change, a stacked bar chart of the
last 30 days, and the targets as cards grouped by portal project with
sparklines (instead of the CRA-by-target list).
- Target page: the same tiles and chart for the target, and a
"Wo handeln" table.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
63 lines
1.4 KiB
Rust
63 lines
1.4 KiB
Rust
// Server function modules (compiled for both web and server;
|
|
// the #[server] macro generates client stubs for the web target)
|
|
pub mod auth_check;
|
|
pub mod chat;
|
|
pub mod cve_history;
|
|
pub mod cve_matrix;
|
|
pub mod dast;
|
|
pub mod download;
|
|
pub mod evidence;
|
|
pub mod finding_breakdown;
|
|
pub mod finding_groups;
|
|
pub mod findings;
|
|
pub mod graph;
|
|
pub mod help_chat;
|
|
pub mod issues;
|
|
pub mod manual_findings;
|
|
pub mod mcp;
|
|
pub mod mcp_tokens;
|
|
pub mod metering;
|
|
pub mod notifications;
|
|
pub mod onboarding;
|
|
pub mod pentest;
|
|
pub mod platform;
|
|
pub mod projects;
|
|
#[allow(clippy::too_many_arguments)]
|
|
pub mod sbom;
|
|
pub mod sbom_ecosystems;
|
|
pub mod scans;
|
|
pub mod stats;
|
|
pub mod support;
|
|
pub mod vex;
|
|
|
|
// Server-only modules
|
|
#[cfg(feature = "server")]
|
|
mod agent_client;
|
|
#[cfg(feature = "server")]
|
|
mod auth;
|
|
#[cfg(feature = "server")]
|
|
mod auth_middleware;
|
|
#[cfg(feature = "server")]
|
|
pub mod config;
|
|
#[cfg(feature = "server")]
|
|
pub mod database;
|
|
#[cfg(feature = "server")]
|
|
pub mod error;
|
|
#[cfg(feature = "server")]
|
|
pub mod keycloak_config;
|
|
#[cfg(feature = "server")]
|
|
mod server;
|
|
#[cfg(feature = "server")]
|
|
pub mod server_state;
|
|
#[cfg(feature = "server")]
|
|
mod session_store;
|
|
#[cfg(feature = "server")]
|
|
mod user_state;
|
|
|
|
#[cfg(feature = "server")]
|
|
pub use auth::{auth_callback, auth_login, auth_staff_login, logout, PendingOAuthStore};
|
|
#[cfg(feature = "server")]
|
|
pub use auth_middleware::require_auth;
|
|
#[cfg(feature = "server")]
|
|
pub use server::server_start;
|