-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06fe2a9
commit c1415cc
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|