Commit Graph
6 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 223db85f2a feat(findings): keyed by the code they flag, not its line number (#491)
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 / Check (push) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 8m19s
Closes #491. Fingerprints hashed repository/rule/file/line, so since the
auto-close (#443) and issue sync (#451) every line added above a finding
closed it and its tracker issue, reported it anew and lost its triage.

- RunFindings keys every finding at one place in a file by content
  (finding_store::content_fingerprints, applied with the variant labels
  before grouping and on save): repository, scanner, rule, file, the
  flagged line without whitespace, and the number of identical lines
  above it (two identical lines stay two findings). The idea of CodeQL's
  primaryLocationLineHash and CodeChecker's context-free-v2. Version-tagged
  ("content-v1").
- Per tool: gitleaks gives the matched secret as the content
  (Finding::fingerprint_content, never stored), as a hit from the history
  may not be on that line of the tree any more.
- One-time alias: the replaced line-based fingerprint is kept
  (Finding::legacy_fingerprints); the first scan after deploy finds the
  row stored under it and takes it over (fingerprint rewritten, old one
  recorded) instead of inserting, so the row keeps its id (tracker issue),
  status (a person's decisions included) and triage. Idempotent: later
  scans find the new fingerprint directly.
- A stored finding whose code moved is updated to its new line and snippet.
- Groups (#464/#477) keep their line-free key and never take over a
  member's former fingerprint.
- Unchanged: findings without file and line (CVE, malware, binaries,
  DAST), and the PLC path, which does not save through RunFindings.
- Tests: a line added above and re-indentation keep the fingerprint,
  twins stay distinct, a secret is keyed by its match, groups untouched;
  Mongo: pre-change rows are adopted with id/status kept, a later line
  shift gives no new row and no close/reopen, the line follows.
- Docs (findings guide); staging test plan: check 18.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-06 12:25:29 +02:00
sharang bdf7fa4268 feat(sbom): npm and Maven licenses from their public registries (#467 follow-up) (#490)
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 4m47s
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m8s
2026-10-06 09:17:32 +00:00
sharang d7ab09f634 feat(sbom): transitive NuGet packages resolved from nuget.org metadata (#461) (#489)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 6m21s
2026-10-06 09:07:35 +00:00
sharang d960ba658e feat(malware): ClamAV stage, committed-binary inventory, unchanged rescans skipped (#465) (#488)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy MCP (push) Successful in 4m37s
CI / Deploy Dashboard (push) Successful in 6m31s
CI / Deploy Agent (push) Successful in 8m3s
2026-10-06 08:49:39 +00:00
sharang ecc6466a18 fix(git): the clone cache heals itself after an interrupted clone or fetch (#486) (#487)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 6m7s
2026-10-06 08:19:13 +00:00
sharang 530df9cc3d docs(release): staging test plan for the batch after v0.4.5 (#485)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 4m49s
2026-10-06 01:25:15 +00:00