Open kir-b opened 1 year ago
I could be wrong here but I'm pretty sure the async finding import was an experimental feature and should really only be used if you're having performance issues that cannot be addressed by any other means - consider turning it on as a hail mary.
If you're running on insufficient resources turning on that feature won't really make a difference.
Are you getting the same or similar errors when async is off?
Yes, I know that asynchronous imports are experimental. But I've been using this feature for over a year and had no problems before. However, this feature helps us solve problems with importing reports with a large number of findings. I don't know how we can import such reports in another way. As I wrote this problem occurs only if asynchronous import is used. I found this exception source here, but I'm not familiar enough with django and dojo to offer a fix.
Bug description Hi! Some reports are imported with an error if the parser parses the dates from the report. This issue occurs only if async finding import is enabled (DD_ASYNC_FINDING_IMPORT=true) and the report parser supports date parsing. I have tested with nuclei and detect_secret reports.
Error message in UI:
Exceptions in logs:
However, in the end the report is imported. If DD_ASYNC_FINDING_IMPORT is 'false' no error occurs.
Steps to reproduce Steps to reproduce the behavior:
Expected behavior Successful import without errors.
Deployment method (select with an
X
)Environment information