If one scanner's rule produces more than 5 low/info findings in one repository, they become a single finding (pipeline/grouping.rs). It is applied after the vendor filter and before each stage saves its findings. Example: 38× mobsfscan android_logging → 1 finding.
Finding::occurrences holds every place (file:line). file_path/line_number point to the first one. The description lists up to 50 places, followed by "and N more".
The fingerprint is ("group", repo, scanner, rule) and does not depend on the places. Triage and status therefore carry over from scan to scan. A later scan updates the stored group's places, description and location (write_back).
Findings that were stored one per place are closed as Resolved with the new scan change Grouped, not NoLongerFound. Their tracker issues get a German/English comment saying so. Decided findings (false positive, accepted risk, …) are left alone. Lint findings at grouped places are closed this way too, even though lint never counts as "completed".
Issue sync creates one issue per group. The issue body lists the places. The existing-issue lookup for a group searches by fingerprint only: the group shares its title with the single findings' issues, so a title search would have matched one of those (which are being closed) and the group would never get an issue.
Configuration, checked at startup: FINDING_GROUP_THRESHOLD (default 5, or off), FINDING_GROUP_SCANNERS (mobsfscan=3,gitleaks=off) and FINDING_GROUP_SEVERITIES (default low,info).
gitleaks *.launch
generic-api-key no longer fires in Eclipse *.launch debugger configurations, which contain hex ids of probes and memory regions. Every hit in the pilot firmware repos was one of these. All other gitleaks rules still apply to those files. This is filtered on the Prüfwerk side, like the existing Firebase de-duplication.
Behaviour to be aware of
If a group shrinks to ≤ threshold, the group is closed as "no longer found" and the single findings come back (FoundAgain).
Existing .launch gitleaks findings will be closed as "no longer found" on the next gitleaks run.
A group does not inherit status from its members. If all 38 single findings were marked as false positives, the new group still opens as open. Follow-up if wanted.
The group fingerprint hashes the stored rule_id. Merge #473 (bare semgrep ids) first, otherwise semgrep groups move once.
Tests: unit tests for grouping, policy parsing, issue body/search and gitleaks. tests/group_findings.rs runs against Mongo and covers: 38 stored → 1 group plus 37 closed as grouped, rescan finds nothing new, places change and status is kept.
Closes #464.
## Grouping
If one scanner's rule produces more than 5 low/info findings in one repository, they become a single finding (`pipeline/grouping.rs`). It is applied after the vendor filter and before each stage saves its findings. Example: 38× mobsfscan `android_logging` → 1 finding.
- `Finding::occurrences` holds every place (`file:line`). `file_path`/`line_number` point to the first one. The description lists up to 50 places, followed by "and N more".
- The fingerprint is `("group", repo, scanner, rule)` and does not depend on the places. Triage and status therefore carry over from scan to scan. A later scan updates the stored group's places, description and location (`write_back`).
- Findings that were stored one per place are closed as `Resolved` with the new scan change `Grouped`, not `NoLongerFound`. Their tracker issues get a German/English comment saying so. Decided findings (false positive, accepted risk, …) are left alone. Lint findings at grouped places are closed this way too, even though lint never counts as "completed".
- Issue sync creates one issue per group. The issue body lists the places. The existing-issue lookup for a group searches by fingerprint only: the group shares its title with the single findings' issues, so a title search would have matched one of those (which are being closed) and the group would never get an issue.
- Configuration, checked at startup: `FINDING_GROUP_THRESHOLD` (default 5, or `off`), `FINDING_GROUP_SCANNERS` (`mobsfscan=3,gitleaks=off`) and `FINDING_GROUP_SEVERITIES` (default `low,info`).
## gitleaks `*.launch`
`generic-api-key` no longer fires in Eclipse `*.launch` debugger configurations, which contain hex ids of probes and memory regions. Every hit in the pilot firmware repos was one of these. All other gitleaks rules still apply to those files. This is filtered on the Prüfwerk side, like the existing Firebase de-duplication.
## Behaviour to be aware of
- If a group shrinks to ≤ threshold, the group is closed as "no longer found" and the single findings come back (`FoundAgain`).
- Existing `.launch` gitleaks findings will be closed as "no longer found" on the next gitleaks run.
- A group does not inherit status from its members. If all 38 single findings were marked as false positives, the new group still opens as `open`. Follow-up if wanted.
- The group fingerprint hashes the stored `rule_id`. Merge #473 (bare semgrep ids) first, otherwise semgrep groups move once.
Tests: unit tests for grouping, policy parsing, issue body/search and gitleaks. `tests/group_findings.rs` runs against Mongo and covers: 38 stored → 1 group plus 37 closed as grouped, rescan finds nothing new, places change and status is kept.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
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
A group has the title of its rule's single findings, so the title
fallback of the issue search found one of their issues (being closed as
grouped) and no issue was opened for the group. The refreshed places of
a stored group also set updated_at.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #464.
Grouping
If one scanner's rule produces more than 5 low/info findings in one repository, they become a single finding (
pipeline/grouping.rs). It is applied after the vendor filter and before each stage saves its findings. Example: 38× mobsfscanandroid_logging→ 1 finding.Finding::occurrencesholds every place (file:line).file_path/line_numberpoint to the first one. The description lists up to 50 places, followed by "and N more".("group", repo, scanner, rule)and does not depend on the places. Triage and status therefore carry over from scan to scan. A later scan updates the stored group's places, description and location (write_back).Resolvedwith the new scan changeGrouped, notNoLongerFound. Their tracker issues get a German/English comment saying so. Decided findings (false positive, accepted risk, …) are left alone. Lint findings at grouped places are closed this way too, even though lint never counts as "completed".FINDING_GROUP_THRESHOLD(default 5, oroff),FINDING_GROUP_SCANNERS(mobsfscan=3,gitleaks=off) andFINDING_GROUP_SEVERITIES(defaultlow,info).gitleaks
*.launchgeneric-api-keyno longer fires in Eclipse*.launchdebugger configurations, which contain hex ids of probes and memory regions. Every hit in the pilot firmware repos was one of these. All other gitleaks rules still apply to those files. This is filtered on the Prüfwerk side, like the existing Firebase de-duplication.Behaviour to be aware of
FoundAgain)..launchgitleaks findings will be closed as "no longer found" on the next gitleaks run.open. Follow-up if wanted.rule_id. Merge #473 (bare semgrep ids) first, otherwise semgrep groups move once.Tests: unit tests for grouping, policy parsing, issue body/search and gitleaks.
tests/group_findings.rsruns against Mongo and covers: 38 stored → 1 group plus 37 closed as grouped, rescan finds nothing new, places change and status is kept.🤖 Generated with Claude Code
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
7b65b59213to65e14a2c4f65e14a2c4ftofd513cd6e8fd513cd6e8to687aed2c8c