Skip to content

invalid BOMS generated #781

@madelaney

Description

@madelaney

I installed this tool using cargo install cargo-cyclonedx (which installed v0.5.7). In my rust project, I generated the BOM via: ~/.cargo/bin/cargo-cyclonedx cyclonedx --spec-version 1.5 --format json as per the instruction.

I tried to validate the BOM's via https://cyclonedx.github.io/cyclonedx-web-tool/validate but when I run the aforementioned tool, I get the error: Validation failed: Value does not match format "date-time" #/properties/metadata/$ref/properties/timestamp/format On instance: #/metadata/timestamp: 2025-03-09T20:08:13.303411000Z .

Image

My environment is:
OS

sw_vers
ProductName:            macOS
ProductVersion:         15.3.1
BuildVersion:           24D70

Rust

rustc --version
rustc 1.83.0 (90b35a623 2024-11-26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions