forked from scVENUS/PeekabooAV
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cortex: Turn analyzer PoC into job tracker
The current implementation of Cortex access has PoC characteristics in that it does not use a job tracker and block until a single job has finished. Turn the Cortex module into a job tracker analogous to Cuckoo. Add a class-based abstraction of the backend analyzers and their reports. Make the whole thing configurable through analyzers.conf. Unfortunately, the cortex4py module does not use requests sessions. So there is no easy way to keep the retry and backoff logic of the Cuckoo module. While at it, move analyzer-specific exceptions into their modules for clarity. TODO: - proper error and retry handling - test cases
- Loading branch information
1 parent
b4471fb
commit 15a0321
Showing
11 changed files
with
661 additions
and
212 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
Oops, something went wrong.