More than five low or info findings of one scanner's rule in one repository are now one finding that lists every place (file:line), so 38 identical logging findings in an Android app are one finding and one tracker issue. Its fingerprint comes from (repository, scanner, rule), not from a place, so triage and status stay with it from scan to scan; a later scan updates its list of places. Findings stored one per place before are closed with the new scan change "grouped" (not "no longer found"), with a comment on their issues that says so; a person's decision on one of them stays. Configurable: FINDING_GROUP_THRESHOLD (default 5, or off), FINDING_GROUP_SCANNERS (per scanner, e.g. mobsfscan=3,gitleaks=off), FINDING_GROUP_SEVERITIES (default low,info); checked at startup. gitleaks' generic-api-key no longer reports the hex ids in Eclipse *.launch debugger configurations; every such hit in the pilot firmware repositories was one. Its other rules still apply there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
70 lines
2.6 KiB
Rust
70 lines
2.6 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 git_source;
|
|
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, Occurrence, ScanChangeKind, ScanStatusChange, Severity, StatusChange,
|
|
};
|
|
pub use git_source::{GitSource, GitSourceView, SourceRepo, GIT_SOURCE_ID};
|
|
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,
|
|
};
|