Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deduplication mechanism; improve reporting #239

Merged
merged 5 commits into from
Dec 17, 2024
Merged

Conversation

bradlarsen
Copy link
Collaborator

@bradlarsen bradlarsen commented Dec 17, 2024

  • Changelog: Clarify use of semantic versioning
  • report: Add new deduplication mechanism that suppresses overlapping redundant matches
  • Datastore: schema has been expanded to support new deduplication mechanism
  • report: Limit provenance entries per match to 3 by default; override with --max-provenance=N
  • report: Fix a bug that would print incorrect diagnostics
  • report: Include finding and match IDs in default "human" format output

- Add `report --max-provenance=N` option
- Add `report --suppress-redundant=BOOL` option
- Add match and finding IDs to human-format output
- Update datastore schema
- Include `redundant_to: [string]` to report JSON output
- Simplify the summary table printed when scanning
@bradlarsen bradlarsen added enhancement New feature or request reporting Related to reporting of findings ux Related to the user experience, invocation, or CLI labels Dec 17, 2024
@bradlarsen bradlarsen marked this pull request as ready for review December 17, 2024 03:48
@bradlarsen bradlarsen merged commit 882f6b4 into main Dec 17, 2024
10 checks passed
@bradlarsen bradlarsen deleted the deduplication branch December 17, 2024 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request reporting Related to reporting of findings ux Related to the user experience, invocation, or CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant