Skip to content

Commit

Permalink
fix: handle unset serial number (#4440)
Browse files Browse the repository at this point in the history
Signed-off-by: Terri Oda <terri.oda@intel.comm>
  • Loading branch information
terriko committed Sep 13, 2024
1 parent 3d2aad3 commit 5c3e103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cve_bin_tool/output_engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ def output_cves(self, outfile, output_type="console"):
self.vex_type,
self.all_cve_data,
self.vex_product_info["revision_reason"],
self.vex_product_info["sbom_serial_number"],
self.vex_product_info.get("sbom_serial_number", ""),
logger=self.logger,
)
vexgen.generate_vex()
Expand Down

0 comments on commit 5c3e103

Please sign in to comment.