-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Importing snyk test scans produces error: An exception error occurred during the report import:'priority' #9843
Comments
Could you please provide a sample file to reproduce the issue? |
The short answer is that I can't right now. I can't send the file as is, as I would have to sanitize the fields that contain some confidential information. Since I have over 100 vulns in that file, it would take me some time. In the meantime it would be helpful if you can help me understand where the string "priority" that is part of the error message comes from. Is it related to the Jira "priority" field? Also, I deleted all the imports for the Snyk organization I was having issues with, and re-imported the same file that was giving me the above error message and this time it worked fine. Not clear why. Thanks. |
I have to figure out which vulnerability is causing the issue. I deleted the test for which the import was failing and re-import the same file with no errors this time. I can try to re-import it again and see if the issue persist or if it is gone. Regardless, I have seen many instances of this issue in syslog. Here is an example: 2024/03/28 21:24:03 [28/Mar/2024 21:24:03] ERROR [dojo.api_v2.exception_handler:36] 'priority' Thanks again. |
@AlBellom The AMI uses godojo to do the initial install. You can use the instructions at https://github.com/DefectDojo/godojo/blob/master/docs-and-scripts/upgrading.md to upgrade an existing AMI install. |
@mtesauro @manuel-sommer It appears the AMI doesn't have any Update Also, what is |
@AlBellom sysdojod is used to bring up DefectDojo as a Systemd service. You can use first-install.service is exactly what it's named - its the service that brings up the website used to do the initial install of DefectDojo when you first launch the AMI. Once the first install is done, it's no longer needed and should just exit immediately if it is still being started on boot. |
Thanks @mtesauro. When I run Running migrations: It is not clear if this message is just a notice that there are no migrations or if there are further actions to be taken. |
@AlBellom |
@mtesauro
Suggestions? Thanks. Update |
I am importing manually snyk scans created using
snyk test
. Occasionally I get the following error message:An exception error occurred during the report import:'priority'
After I get the above error message, the remaining vulnerabilities are not imported.
I am using DefectDojo v. 2.29.4 hosted on an EC2 in AWS using the DefectDojo AMI.
I have some scan files that I could potentially share, however I would have to sanitize them first.
I took a look at the DD code, however since I am not familiar with the code and for amount of time I spent on it, I went as far as figuring out that the issue probably occurs in engagements/views.py, but I didn't determine where the "priority" string in the error message comes from.
Any help is greatly appreciated. Thank you.
The text was updated successfully, but these errors were encountered: