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 / Check (pull_request) Successful in 7m31s
Until now a finding stayed open forever once stored: fixing the code changed nothing, and moved code left a duplicate behind. At the end of a code scan (after write_back, so a failed run closes nothing), RunFindings::resolve_missing sets Resolved on the target's findings that a scanner which completed in this run stored earlier but did not report again, if nobody decided about them yet (open, triaged, needs_review). A finding whose file now lies in vendor code is closed with that reason instead. save_new reopens a Resolved finding that a completed scanner reports again. Only scanners whose completion is known count: semgrep, cppcheck, gitleaks and the GDPR/OAuth patterns. Lint (a linter can fail inside a stage that succeeds) and the LLM checks (not repeatable) close nothing; manual and imported findings are never a scan's; PLC targets are not covered yet. Every such change is in the status history as a StatusChange with `by = "pruefwerk-scan"` and a `scan` entry (kind, run id); the dashboard shows "Prüfwerk-Scan" and the reason in German or English. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
68 lines
2.5 KiB
Rust
68 lines
2.5 KiB
Rust
pub mod auth;
|
|
pub mod chat;
|
|
pub mod credentials;
|
|
pub mod cve;
|
|
pub mod dast;
|
|
pub mod embedding;
|
|
pub mod finding;
|
|
pub mod graph;
|
|
pub mod issue;
|
|
pub mod mcp;
|
|
pub mod mcp_token;
|
|
pub mod notification;
|
|
pub mod onboarding;
|
|
pub mod oscal;
|
|
pub mod oscal_assessment;
|
|
pub mod pentest;
|
|
pub mod project;
|
|
pub mod repository;
|
|
pub mod sbom;
|
|
pub mod scan;
|
|
pub(crate) mod serde_helpers;
|
|
pub mod werkbank;
|
|
|
|
pub use auth::{AuthInfo, SupportTenant};
|
|
pub use chat::{ChatMessage, ChatRequest, ChatResponse, SourceReference};
|
|
pub use credentials::Credentials;
|
|
pub use cve::{CveAlert, CveSource};
|
|
pub use dast::{
|
|
DastAuthConfig, DastEvidence, DastFinding, DastScanPhase, DastScanRun, DastScanStatus,
|
|
DastTarget, DastTargetType, DastVulnType,
|
|
};
|
|
pub use embedding::{CodeEmbedding, EmbeddingBuildRun, EmbeddingBuildStatus};
|
|
pub use finding::{
|
|
Finding, FindingStatus, ScanChangeKind, ScanStatusChange, Severity, StatusChange,
|
|
};
|
|
pub use graph::{
|
|
CodeEdge, CodeEdgeKind, CodeNode, CodeNodeKind, GraphBuildRun, GraphBuildStatus, ImpactAnalysis,
|
|
};
|
|
pub use issue::{IssueStatus, TrackerIssue, TrackerType};
|
|
pub use mcp::{McpServerConfig, McpServerStatus, McpTransport};
|
|
pub use mcp_token::{McpToken, McpTokenView};
|
|
pub use notification::{CveNotification, NotificationSeverity, NotificationStatus};
|
|
pub use onboarding::{
|
|
default_compliance_profile, Artifact, ArtifactAuth, ArtifactKind, Classification,
|
|
ComplianceFramework, ComplianceProfile, DetectedFact, ExternalRef, ExternalSystem,
|
|
GitArtifactConfig, IssueTrackerConfig, OnboardedTarget, PlcArtifactConfig, PlcFormat,
|
|
TargetScanConfig, TargetType, TargetTypeCandidate, WebArtifactConfig,
|
|
};
|
|
pub use oscal::OscalDocument;
|
|
pub use oscal_assessment::{assess, AssessmentResultsDoc, ControlLinker};
|
|
pub use pentest::{
|
|
AttackChainNode, AttackNodeStatus, AuthMode, CodeContextHint, Environment, IdentityProvider,
|
|
PentestAuthConfig, PentestConfig, PentestEvent, PentestMessage, PentestSession, PentestStats,
|
|
PentestStatus, PentestStrategy, SeverityDistribution, TestUserRecord, TesterInfo,
|
|
ToolCallRecord,
|
|
};
|
|
pub use project::{Project, ProjectKind};
|
|
pub use repository::ScanTrigger;
|
|
pub use sbom::{SbomEntry, VulnRef};
|
|
pub use scan::{
|
|
RunErrorCode, ScanPhase, ScanRun, ScanRunStatus, ScanStep, ScanType, SkipCode, SkippedStage,
|
|
};
|
|
pub use werkbank::{
|
|
CompleteRequest, CompleteResponse, DastCollect, Executor, HeartbeatAck, HeartbeatRequest,
|
|
InputRef, Job, JobCollect, JobRecord, JobResult, JobRuntime, JobStatus, JobType, LeaseRequest,
|
|
LeasedJob,
|
|
};
|