TheHive4py
TheHive4py copied to clipboard
[Feature Request] Add function to run all analyzers or get the list of analyzers available
Add function to run all analyzers or get the list of analyzers available
Request Type
Feature Request
Work Environment
| Question | Answer |
|---|---|
| OS version (server) | CentOS |
| OS version (client) | 7 |
| TheHive4py version / git hash | latest |
Problem Description
The function run_analyzer(self, cortex_id, artifact_id, analyzer_id), only allows to run one analyzer, and we need to manually set the "analyzer_id". So if we try to automate it, we would need the list of the available analyzer for that artifact/type
Steps to Reproduce
....
Possible Solutions
-
In TheHive UI we have a button called "Run all" that executes all analyzers for that artifact, the idea would be to have a function that could do the same as "Run all", e.g.: run_all_analyzers(self, cortex_id, artifact_id) And in the backend the function runs all analyzers.
-
Other option would be a function that outputs the list of available analyzer_id's for that artifact. So this way the user be able to from this list do a loop and run all analyzers at the same time, E.g.: get_available_analyzers(self, cortex_id)
Complementary information
The first option would be great.