diff --git a/spog/ui/src/pages/scanner/mod.rs b/spog/ui/src/pages/scanner/mod.rs index ea7fbb735..613935db0 100644 --- a/spog/ui/src/pages/scanner/mod.rs +++ b/spog/ui/src/pages/scanner/mod.rs @@ -70,7 +70,7 @@ pub fn parse(data: &[u8]) -> Result { let spec_version = json.as_ref().and_then(|json| json["specVersion"].as_str()); match spec_version { - Some("1.3") | Some("1.4") => {} + Some("1.3") | Some("1.4") | Some("1.5") => {} Some(other) => bail!("Unsupported CycloneDX version: {other}"), None => bail!("Unable to detect CycloneDX version"), } diff --git a/spog/ui/src/pages/uploader/mod.rs b/spog/ui/src/pages/uploader/mod.rs index 7378ed80c..996035f38 100644 --- a/spog/ui/src/pages/uploader/mod.rs +++ b/spog/ui/src/pages/uploader/mod.rs @@ -92,7 +92,7 @@ fn common_header(props: &CommonHeaderProperties) -> Html { {"Upload an SBOM"}

- {"Load an existing CycloneDX 1.4 or SPDX 2.2 file"} + {"Load an existing CycloneDX (1.3, 1.4, 1.5) or SPDX 2.2 file"} if let Some(url) = &config.scanner.documentation_url { {" or "}