-
Notifications
You must be signed in to change notification settings - Fork 238
Sd16 analysis blacklist system #157
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #157 +/- ##
==========================================
+ Coverage 95.75% 95.76% +<.01%
==========================================
Files 307 307
Lines 15115 15115
==========================================
+ Hits 14474 14475 +1
+ Misses 641 640 -1
Continue to review full report at Codecov.
|
| <ul> | ||
| <li>Added software components statistics</li> | ||
| <li>Added REST endpoint for binary search (YARA)</li> | ||
| <li>Added unified mime-type-based analysis blacklist feature</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about the white lists
| {% if firmware.processed_analysis[selected_analysis]['skipped'] %} | ||
| <tr> | ||
| <td class="warning">Analysis was skipped</td> | ||
| <td class="active">Reason: {{ firmware.processed_analysis[selected_analysis]['skipped'] }}</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove "Reason:"
src/scheduler/Analysis.py
Outdated
| return blacklist, whitelist | ||
|
|
||
| def _get_blacklist_and_whitelist_from_config(self, analysis_plugin: str) -> Tuple[List, List]: | ||
| blacklist = self.config.get(analysis_plugin, 'mime_blacklist', fallback='').split(', ') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a helper function parsing the list
"a,b" should be as valid as "a, b"
Sd16 analysis blacklist system
No description provided.