It adds initial support for vulnerabilities data by means of:
A management command to perform ingestion. (For now) this command assumes that the vulnerabilities data has already been imported into the HEV-E database. It only creates records of type gfdrr_det.models.HeveDetails from each vulnerability record. This ingestion saves some data directly in the HeveDetails' details field, which is a JSON blob. This adds a bit of data redundancy but also enables much better runtime performance
An API endpoint for vulnerabilities. It is accessible at:
/gfdrr_det/api/v1/vulnerabilities
For now, it is only possible to list vulnerabilities, no filtering is implemented yet.
This PR is connected to #112
It adds initial support for vulnerabilities data by means of:
A management command to perform ingestion. (For now) this command assumes that the vulnerabilities data has already been imported into the HEV-E database. It only creates records of type
gfdrr_det.models.HeveDetails
from each vulnerability record. This ingestion saves some data directly in the HeveDetails'details
field, which is a JSON blob. This adds a bit of data redundancy but also enables much better runtime performanceAn API endpoint for vulnerabilities. It is accessible at:
For now, it is only possible to list vulnerabilities, no filtering is implemented yet.