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

Event Context #1383

Merged
merged 40 commits into from
May 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7c91de6
rename event.source to event.parent
TheTechromancer May 16, 2024
dc30ea7
fix datetime error
TheTechromancer May 16, 2024
59ca592
merge bbot-2.0
TheTechromancer May 16, 2024
5e20e1d
merge bbot-2.0
TheTechromancer May 16, 2024
072c0a1
fix github org tests
TheTechromancer May 16, 2024
b9d2629
fix viewdns tests
TheTechromancer May 17, 2024
9975e82
WIP discovery context
TheTechromancer May 17, 2024
768886b
WIP event discovery context
TheTechromancer May 23, 2024
1f52dc9
event context for excavate
TheTechromancer May 24, 2024
d9a45a8
merge bbot 2.0
TheTechromancer May 24, 2024
03dd785
merge bbot 2.0
TheTechromancer May 24, 2024
57fec03
fix trufflehog tests
TheTechromancer May 24, 2024
52416c7
fix event tests
TheTechromancer May 24, 2024
eedc6cb
steady work on event context
TheTechromancer May 24, 2024
002308c
code enum contexts
TheTechromancer May 24, 2024
15cf732
steady work on event context
TheTechromancer May 26, 2024
9fa7580
fix tests
TheTechromancer May 26, 2024
d2a9280
fix tests
TheTechromancer May 26, 2024
433ff58
merge bbot-2.0
TheTechromancer May 26, 2024
674d074
steady work on event context
TheTechromancer May 26, 2024
46da056
steady work on event context
TheTechromancer May 26, 2024
a3b646c
whoops
TheTechromancer May 26, 2024
13da6de
finished event context first pass
TheTechromancer May 26, 2024
0705113
fix minor module bug
TheTechromancer May 26, 2024
00ecfbd
fix tests
TheTechromancer May 26, 2024
d7aaf69
fix dotnetnuke test
TheTechromancer May 27, 2024
e757cc6
fix skymem
TheTechromancer May 27, 2024
950a7b2
fix masscan bug
TheTechromancer May 27, 2024
b49f282
fix gowitness tests
TheTechromancer May 27, 2024
f4d8419
tests for json and csv
TheTechromancer May 28, 2024
5a034cc
fix tests
TheTechromancer May 28, 2024
685e278
fix github tests
TheTechromancer May 28, 2024
814d73e
blacked
TheTechromancer May 28, 2024
05c9a36
event context ux tweaks
TheTechromancer May 28, 2024
1247d71
fix azure_tenant tests
TheTechromancer May 28, 2024
be814eb
fix gowitness tests
TheTechromancer May 28, 2024
cd91ec1
fix telerik context
TheTechromancer May 28, 2024
6917afc
revised excavate context
TheTechromancer May 29, 2024
325d2ed
blacked
TheTechromancer May 29, 2024
79c59ed
potential
TheTechromancer May 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merge bbot 2.0
  • Loading branch information
TheTechromancer committed May 24, 2024
commit 03dd785a020b5ccb6f4fc00e07c688a128c89480
9 changes: 0 additions & 9 deletions bbot/test/test_step_2/module_tests/test_module_trufflehog.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,14 +907,6 @@ def check(self, module_test, events):
with open(folder / "keys.txt") as f:
content = f.read()
assert content == self.file_content, "File content doesn't match"
<<<<<<< HEAD
github_workflow_event = [e for e in finding_events if "bbot" in e.data["description"]][0].parent
file = Path(github_workflow_event.data["path"])
assert file.is_file(), "Destination file does not exist"
docker_parent_event = [e for e in finding_events if e.data["host"] == "hub.docker.com"][0].parent
file = Path(docker_parent_event.data["path"])
assert file.is_file(), "Destination image does not exist"
=======
filesystem_events = [e.source for e in finding_events if "bbot" in e.data["description"]]
assert len(filesystem_events) == 3
assert all([e.type == "FILESYSTEM" for e in filesystem_events])
Expand All @@ -941,4 +933,3 @@ def check(self, module_test, events):
and Path(e.data["path"]).is_file()
]
), "Docker image file does not exist"
>>>>>>> bbot-2.0
Loading