-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into dependabot/pip/dev/mkdocstrings-python-1.10.8
- Loading branch information
Showing
7 changed files
with
148 additions
and
23 deletions.
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
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
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
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
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
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 |
---|---|---|
|
@@ -851,7 +851,8 @@ def check(self, module_test, events): | |
if e.type == "VULNERABILITY" | ||
and (e.data["host"] == "hub.docker.com" or e.data["host"] == "github.com") | ||
and "Verified Secret Found." in e.data["description"] | ||
and "Secret: [https://admin:[email protected]]" in e.data["description"] | ||
and "Raw result: [https://admin:[email protected]]" in e.data["description"] | ||
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 | ||
|
@@ -867,7 +868,7 @@ def check(self, module_test, events): | |
[ | ||
e | ||
for e in filesystem_events | ||
if e.data["path"].endswith("/git_repos/test_keys") and Path(e.data["path"]).is_dir() | ||
if e.data["path"].endswith("/git_repos/.bbot_test/test_keys") and Path(e.data["path"]).is_dir() | ||
] | ||
), "Test keys repo dir does not exist" | ||
assert 1 == len( | ||
|
@@ -898,7 +899,7 @@ def check(self, module_test, events): | |
if e.type == e.type == "FINDING" | ||
and (e.data["host"] == "hub.docker.com" or e.data["host"] == "github.com") | ||
and "Potential Secret Found." in e.data["description"] | ||
and "Secret: [https://admin:[email protected]]" in e.data["description"] | ||
and "Raw result: [https://admin:[email protected]]" in e.data["description"] | ||
] | ||
assert 3 == len(finding_events), "Failed to find secret in events" | ||
github_repo_event = [e for e in finding_events if "test_keys" in e.data["description"]][0].parent | ||
|
@@ -914,7 +915,7 @@ def check(self, module_test, events): | |
[ | ||
e | ||
for e in filesystem_events | ||
if e.data["path"].endswith("/git_repos/test_keys") and Path(e.data["path"]).is_dir() | ||
if e.data["path"].endswith("/git_repos/.bbot_test/test_keys") and Path(e.data["path"]).is_dir() | ||
] | ||
), "Test keys repo dir does not exist" | ||
assert 1 == len( | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.