IntelOwl icon indicating copy to clipboard operation
IntelOwl copied to clipboard

[Bug] Recent Scans panel does not show file scan jobs

Open sanjib2006 opened this issue 9 months ago • 2 comments

https://github.com/user-attachments/assets/b417bff9-3909-431b-a5d9-b854b61f287c

What happened

  • the "Recent Scans" panel on the frontend /scan page always displays recent observable jobs instead of recent file jobs
  • this happens because the frontend sends a boolean True and it is compared with a string "True" which returns false so
  • line : 436 in api_app/views.py: if is_sample == "True":

Environment

  1. OS: Any
  2. IntelOwl version: 6.5.1

What did you expect to happen

On clicking the file scan option recent file scan jobs should be visible required edit - change line 436 of the above file to if is_sample is True:

How to reproduce your issue

  • add a file to scan then click on the file scan option it wont show in recent scans

Error messages and logs

  • no error messages

sanjib2006 avatar Feb 27 '26 15:02 sanjib2006

@mlodic I can open a pr for this if you like :)

sanjib2006 avatar Feb 27 '26 15:02 sanjib2006

good finding

mlodic avatar Feb 27 '26 15:02 mlodic