IntelOwl
IntelOwl copied to clipboard
refactor(analyzers): store external datasets in DB tables instead of flat files
Following up on the initial refactoring discussed in #2407 and partially implemented in PR #3427, we need to update more analyzers.
This issue tracks the remaining analyzers that require this refactoring.
Remaining Analyzers to Refactor
- JA4_DB
- Feodo_Tracker
- Greynoise_Labs
- Spamhaus_DROP
- TweetFeed
- MaxMindGeoIP
- Stratosphere_Blacklist
- FireHol_IPList
mlodic, I will continue working on this part as well, so please assign it to me.
Found a bug in JA4_DB
File: api_app/analyzers_manager/observable_analyzers/ja4_db.py
# line 74-77
def run(self):
reason = self.check_ja4_fingerprint(self.observable_name)
if not reason: #--- bug
return {"not_supported": reason}
check_ja4_fingerprint returns "" when the fingerprint is valid and then not reason becomes true so for valid fingerprints we get this
{
"report": {
"not_supported": ""
},
"data_model": null,
"errors": [],
"parameters": {}
}
FIX: change if not reason: to if reason:
will do this while refactoring once assigned...