You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains the following commit which contains a secret:
$ git show 3b52809f7e265cc7495ea39badb13ccdd454ba16
commit 3b52809f7e265cc7495ea39badb13ccdd454ba16
Author: Scott Bailey <[email protected]>
Date: Tue Dec 7 10:22:14 2021 -0500
This commit contains a file with a regex match and should generate
a finding when scanned.
diff --git a/delete-1/test-1.txt b/delete-1/test-1.txt
new file mode 100644
index 0000000..ff3822c
--- /dev/null
+++ b/delete-1/test-1.txt
@@ -0,0 +1,2 @@
+-----BEGIN RSA PRIVATE KEY-----
+this isn't really a key, but nobody cares about that
This scenario was constructed by creating a new branch, adding the above commit to it, pushing it to the repository, and then deleting the branch. Because the branch was never merged, there is no path from any existing branch to the offending commit and therefore the secret is not reported.
Expected Behavior
A finding should be generated for the above commit.
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
Tartufo does not scan commits that are not reachable from a currently existing branch.
To Reproduce
This repository contains the following commit which contains a secret:
This scenario was constructed by creating a new branch, adding the above commit to it, pushing it to the repository, and then deleting the branch. Because the branch was never merged, there is no path from any existing branch to the offending commit and therefore the secret is not reported.
Expected Behavior
A finding should be generated for the above commit.
The text was updated successfully, but these errors were encountered: