Skip to content

Commit 0ba6c45

Browse files
committed
adds cisa and epss information to cves table checksum
1 parent 8cad798 commit 0ba6c45

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

vulndb/integrity.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,11 @@ func calculateTotalIntegrityInformation(ctx context.Context, tx pgx.Tx) ([]table
143143
coalesce(id::text, '\0') || '|' ||
144144
coalesce(description, '\0') || '|' ||
145145
coalesce(cvss::text, '\0') || '|' ||
146-
coalesce(vector, '\0')
146+
coalesce(vector, '\0') || '|' ||
147+
coalesce(cisa_required_action, '\0') || '|' ||
148+
coalesce(cisa_vulnerability_name, '\0') || '|' ||
149+
coalesce(epss::text, '\0') || '|' ||
150+
coalesce(percentile::text, '\0')
147151
) AS row_hash FROM cves
148152
) sub
149153
),

0 commit comments

Comments
 (0)