Closed g33kroid closed 2 months ago
I have added the first row manually and its working fine
I am not sure why the bulk upload is not working
Hey @g33kroid, the bulk upload fails when it tries to insert/update rows with the provided columns. Your first column is id
but the values in that column are CVE numbers, which you seem to intend to be the title
value.
For example, here are the first few columns and your first row:
id, severity, cvss_score, cvss_vector, ...
CVE-2023-0001, MEDIUM, 6, CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H, ...
The import tries to interpret CVE-2023-0001
as an id
to lookup an existing row and that string won't convert to an integer as a valid id
value. The other column headers may also be mismatched. Your third column seems to be the id
and the first column seems to be your title
.
Describe the bug Importing Findings CSV File Failed with Errors
To Reproduce Go To Admin Bulk Finding Upload Import CSV File Formated Below
Expected Behavior It Should Update the findings Database
Screenshots
![image](https://github.com/GhostManager/Ghostwriter/assets/16447622/85c8223c-f1b6-4cfa-ae83-6cd08318e441)
Server Specs: