Deprecate and remove TalosReputation analyzer
What happened
I am currently assigned working on refactoring the analyzers so that the external datasets are stored in DB #3427
while doing it i found out that
in file api_app/analyzers_manager/observable_analyzers/talos.py, line 42-44
url = "https://snort.org/downloads/ip-block-list"
r = requests.get(url)
r.raise_for_status()
This url requires accepting t&c and then redirects to amazonaws hosted file. read online that cisco updated to add this page in between in 2024.
So what should we do about it, use some other source or what?
Environment
- OS: Any
- IntelOwl version: 6.5.1
What did you expect to happen
The file should have been downloaded as .txt
How to reproduce your issue
Just visit the url here
Error messages and logs
I think we should just remove the analyzer instead because it can't be mantained anymore. thanks for reporting this
As @mlodic suggested, the best approach here is to disable the TalosReputation analyzer since the upstream URL (https://snort.org/downloads/ip-block-list) now requires T&C acceptance and can no longer be fetched programmatically.
I'm working on a PR that:
- Adds a Django migration to set
disabled=Trueon the TalosReputation analyzer config (following the same pattern as migration 0169 for GuardDog) - Removes the Talos visualization from the IP Reputation Services visualizer
- Removes the Talos updater test from
test_crons.py
The analyzer code itself (talos.py) is kept in place so existing data/reports remain accessible, but it will no longer be run or scheduled for updates.
this issue can be transformed in the removal of the mentioned analyzer and can be assigned
I have updated the issue title. I am currently working on another issue, so if anyone would like to take this up in the meantime, feel free to do so.
Hi @mlodic I am looking for my next task to tackle as part of my GSOC preparation. Could you please assign this issue to me? I would love to take care of deprecating and removing the TalosReputation analyzer.
This issue has been marked as stale because it has had no activity for 30 days. If you are still working on this, please provide some updates.
This issue has been marked as stale because it has had no activity for 30 days. If you are still working on this, please provide some updates.