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

Only include one result per AWS Key ID, preferably verified #619

Merged
merged 2 commits into from
Jun 17, 2022

Conversation

trufflesteeeve
Copy link
Collaborator

Also ignore unverified results that match hashes, because they are
probably just hashes.

I'm currently working on tests for this, but wanted to get the logic out early to make sure we're comfortable with these changes. They will essentially increase the number of unverified results we return, while also helping us ignore the fact that any kind of hash technically matches the shape of an AWS secret, with an incredibly tiny probability of actually being one. But we'll still attempt to verify any hashes, so in case they are live, we'll still include them.

Also ignore unverified results that match hashes, because they are
probably just hashes.
Copy link
Contributor

@dustin-decker dustin-decker left a comment

Choose a reason for hiding this comment

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

Looks good!

@trufflesteeeve trufflesteeeve merged commit d1a81af into main Jun 17, 2022
@trufflesteeeve trufflesteeeve deleted the adjust-aws-detector-sensitivity branch June 17, 2022 20:22
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.

2 participants