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

Extract FP logic correctly at other call site #3476

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

rosecodym
Copy link
Collaborator

@rosecodym rosecodym commented Oct 18, 2024

Description:

Custom false positive logic is implemented by smuggling CustomFalsePositiveChecker through detector.Detector. This doesn't work when detector.Detector is embedded inside DetectorMatch - which we caught at the other call site where this is relevant. But we have two! And this one didn't get fixed.

(I want to make some time to try to figure out why the false positive logic is draped over the codebase like a dying octopus, but fixing the bug first seems prudent.)

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@rosecodym rosecodym requested a review from a team as a code owner October 18, 2024 21:17
@rosecodym rosecodym merged commit 3ab6086 into main Oct 21, 2024
13 checks passed
@rosecodym rosecodym deleted the fix-fp-smuggling-more branch October 21, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants