Maintenance updates for which either st_link or report_link does not exist are not properly processed by our pipeline. While they are scraped and recorded in the cert.maintenance_updates variable and displayed on Web, they are not further fetched into CCDatasetMaintenanceUpdates object.
This is due to the fact that the members of CCDatasetMaintenanceUpdates constitute a valid CCCertificate for which both st_link and report_link must be of type str. But this is not the case when either is missing, and so the following method disregards them:
Describe the bug
Maintenance updates for which either
st_link
orreport_link
does not exist are not properly processed by our pipeline. While they are scraped and recorded in thecert.maintenance_updates
variable and displayed on Web, they are not further fetched intoCCDatasetMaintenanceUpdates
object.This is due to the fact that the members of
CCDatasetMaintenanceUpdates
constitute a validCCCertificate
for which bothst_link
andreport_link
must be of typestr
. But this is not the case when either is missing, and so the following method disregards them:https://github.com/crocs-muni/sec-certs/blob/84089f4ec79dfdc537d15be95a4421dd00447764/src/sec_certs/sample/cc_maintenance_update.py#L77