trustification / trustify

Apache License 2.0
8 stars 15 forks source link

Vuln pk try 2 #486

Closed bobmcwhirter closed 2 days ago

bobmcwhirter commented 2 days ago
Move vulnerability table to use the identifier as the natural primary key.
Adjust API service to vuln.identifier-centricism.
Fix queries since vulnerabilities table may not have a related row.
Fix up other queries.
Rename vuln.identifier -> vuln.id
Use two-stage search for vulnerabilities.

Fixes #471

bobmcwhirter commented 2 days ago

fwiw, doing migrations really helps me, at least, grok our datamodel a bit more. I like understanding where I went wrong, and exactly how wrong I was.