8000 Make AddFinding public by bplaxco · Pull Request #1767 · gitleaks/gitleaks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make AddFinding public #1767

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 privac 8000 y statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2025
Merged

Conversation

bplaxco
Copy link
Contributor
@bplaxco bplaxco commented Feb 21, 2025

Description:

To allow other tools using d.Detect() to leverage the code in AddFinding

Changes:

  • Rename d.addFinding -> d.AddFinding
  • Add d.Findings()

My use case: https://github.com/leaktk/scanner/pull/107/files#diff-f8472fe0bafccc33f268c74d1bd2a697594914d4e1d796805b254249cbc78828R175-R182

Checklist:

  • Does your PR pass tests?
  • Have you written new tests for your changes? (N/A)
  • Have you lint your code locally prior to submission?

cc: @zricethezav && @rgmz

- Rename d.addFindings -> d.AddFindings
- Add d.Findings()

To allow other tools using d.Detect() to leverage the code in
AddFindings
@bplaxco bplaxco changed the title Make AddFindings public Make AddFinding public Feb 21, 2025
Copy link
Contributor
@rgmz rgmz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@zricethezav zricethezav merged commit f6a7439 into gitleaks:master Feb 24, 2025
2 checks passed
@bplaxco bplaxco deleted the pub-add-findings branch April 15, 2025 22:51
sirakav pushed a commit to sirakav/gitleaks that referenced this pull request Apr 25, 2025
- Rename d.addFindings -> d.AddFindings
- Add d.Findings()

To allow other tools using d.Detect() to leverage the code in
AddFindings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0