Skip to content

Commit

Permalink
Update test_module_trufflehog.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer authored Aug 20, 2024
1 parent 06fe2a9 commit c1415cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ def check(self, module_test, events):
and (e.data["host"] == "hub.docker.com" or e.data["host"] == "github.com")
and "Verified Secret Found." in e.data["description"]
and "Raw result: [https://admin:[email protected]]" in e.data["description"]
and "RawV2 result: [https://admin:[email protected]/basic_auth]"
and "RawV2 result: [https://admin:[email protected]/basic_auth]" in e.data["description"]
]
assert 3 == len(vuln_events), "Failed to find secret in events"
github_repo_event = [e for e in vuln_events if "test_keys" in e.data["description"]][0].parent
Expand Down

0 comments on commit c1415cc

Please sign in to comment.