Skip to content

Commit

Permalink
TC-1750 spog-ui
Browse files Browse the repository at this point in the history
Signed-off-by: mrizzi <[email protected]>
  • Loading branch information
mrizzi committed Sep 6, 2024
1 parent 6943af2 commit aee88ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spog/ui/src/pages/scanner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn parse(data: &[u8]) -> Result<SBOM, anyhow::Error> {
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"),
}
Expand Down
2 changes: 1 addition & 1 deletion spog/ui/src/pages/uploader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fn common_header(props: &CommonHeaderProperties) -> Html {
<Content>
<Title>{"Upload an SBOM"}</Title>
<p>
{"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 "}
<a
Expand Down

0 comments on commit aee88ab

Please sign in to comment.