Skip to content

Commit

Permalink
Add field deb_version_fixed to cvedetails view
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe authored Nov 25, 2024
1 parent 657ce05 commit 7add713
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extra-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ CREATE OR REPLACE VIEW public.cvedetails
array_agg(deb_cve.debsec_vulnerable) AS is_vulnerable,
array_agg(deb_cve.deb_source) AS source_package_name,
array_agg(deb_cve.deb_version::text) AS source_package_version,
array_agg(deb_cve.deb_version_fixed::text) AS version_fixed,
((all_cve.data -> 'descriptions'::text) -> 0) -> 'value'::text AS description,
(((((all_cve.data -> 'metrics'::text) -> 'cvssMetricV40'::text) -> 0) -> 'cvssData'::text) ->> 'baseScore'::text)::numeric AS base_score_v40,
(((((all_cve.data -> 'metrics'::text) -> 'cvssMetricV31'::text) -> 0) -> 'cvssData'::text) ->> 'baseScore'::text)::numeric AS base_score_v31,
Expand Down

0 comments on commit 7add713

Please sign in to comment.