Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid purl/bom-ref field when contains '?' or ':' chars? #154

Closed
bruegth opened this issue May 25, 2022 · 3 comments
Closed

Invalid purl/bom-ref field when contains '?' or ':' chars? #154

bruegth opened this issue May 25, 2022 · 3 comments
Labels
question Further information is requested

Comments

@bruegth
Copy link

bruegth commented May 25, 2022

When purl/bom-ref field contains a '?' char like this:

{
    "bomFormat": "CycloneDX",
    "specVersion": "1.4",
    "serialNumber": "urn:uuid:151b045d-ef9c-47e8-9943-7b325834a13b",
    "version": 1,
    "metadata": {
        "timestamp": "2022-05-25T11:38:14.899573013Z",
        "tools": [
            {
                "vendor": "aquasecurity",
                "name": "trivy",
                "version": "0.25.2"
            }
        ],
        "component": {
            "bom-ref": "pkg:oci/isp_aggregationdatahandler@sha256:4a5986dc98d7d899fa2fce87626862aed7bec168b44f83ffca2c5d179f917823?repository_url=...

then dependency graph not working. Maybe this can be an Issue in Trivy output otherwise? see here https://aquasecurity.github.io/trivy/v0.28.0/docs/sbom/cyclonedx/

image

@bruegth bruegth added the question Further information is requested label May 25, 2022
@stevespringett
Copy link
Member

Do you have a bom from trivy that you can attach to the ticket?

@bruegth
Copy link
Author

bruegth commented May 30, 2022

Do you have a bom from trivy that you can attach to the ticket?

Test-sbom.zip

@bruegth
Copy link
Author

bruegth commented May 30, 2022

Duplicate of #85

@bruegth bruegth closed this as completed May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants