Skip to content

Data Import from NVD data Script Added - #1610

Closed
Rishi-source wants to merge 1 commit into
aboutcode-org:mainfrom
Rishi-source:Data_Import
Closed

Data Import from NVD data Script Added#1610
Rishi-source wants to merge 1 commit into
aboutcode-org:mainfrom
Rishi-source:Data_Import

Conversation

@Rishi-source

@Rishi-source Rishi-source commented Oct 11, 2024

Copy link
Copy Markdown

Summary

This pull request enhances the vulnerability data import by allowing data to be imported from a json data stored in the local directory NVD_Data. It also considers robust error handling to manage duplicate package entries and missing data. Additionally, the code supports storing a simplified "plain" package URL without qualifiers or subpaths.

Related Issues

#1437

Testing Instructions

Run the import process with the following command:

python manage.py import_data

Test importing data from a local folder i.e NVD_Data.

Check that duplicate package entries are gracefully handled and skipped.
Review the logs to ensure they accurately reflect each step of the process, including any errors or skipped files.
Verify that plain package URLs (without qualifiers and subpaths) are being correctly stored in the database.

@Rishi-source
Rishi-source deleted the Data_Import branch October 11, 2024 10:18
@Rishi-source
Rishi-source restored the Data_Import branch October 11, 2024 10:18
@Rishi-source
Rishi-source deleted the Data_Import branch October 11, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant