Skip to content

Commit

Permalink
Fix EPSS filtering in CVE aggregates
Browse files Browse the repository at this point in the history
The get_aggregates command can now handle the EPSS fields added to CVEs.
  • Loading branch information
timopollmeier committed May 29, 2024
1 parent b2df122 commit 23f3bb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -57795,6 +57795,8 @@ type_opts_table (const char *type, const char *filter)
{
if (type == NULL)
return NULL;
if (strcasecmp (type, "CVE") == 0)
return g_strdup (" LEFT JOIN scap.epss_scores ON cve = cves.uuid");
if (strcasecmp (type, "TASK") == 0)
return task_iterator_opts_table (filter_term_apply_overrides (filter),
filter_term_min_qod (filter), 0);
Expand Down

0 comments on commit 23f3bb9

Please sign in to comment.