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

Does Dependabot show if it's working? #32

Open
parsley72 opened this issue Apr 23, 2024 · 1 comment
Open

Does Dependabot show if it's working? #32

parsley72 opened this issue Apr 23, 2024 · 1 comment
Assignees

Comments

@parsley72
Copy link

I've added this to my Yocto build:

    - name: SBOM upload 
      uses: advanced-security/[email protected]
      with:
        filePath: "poky/build/tmp/deploy/images/oclea-cv25/"

and it seems to work:

Run advanced-security/[email protected]
  with:
    filePath: poky/build/tmp/deploy/images/oclea-cv25/
    token: ***
    filePattern: *.spdx.json
  
Notice: Submitting snapshot...
Notice: {
    "detector": {
        "name": "spdx-to-dependency-graph-action",
        "version": "0.0.1",
        "url": "https://github.com/advanced-security/spdx-dependency-submission-action"
    },
    "version": 0,
    "job": {
        "correlator": "build",
        "id": "8795676[3](https://github.com/myorg/myrepo/actions/runs/8795676367/job/24137153853#step:12:3)67"
    },
    "sha": "9e4e2051ed5882f2d5cfc876f974438bab7e2602",
    "ref": "refs/pull/56/merge",
    "scanned": "2024-04-23T08:01:55.978Z",
    "manifests": {
        "oclea-image-oclea-cv25-20240423061522": {
            "resolved": {
                "pkg:generic/oclea-image@undefined": {
                    "package_url": "pkg:generic/oclea-image@undefined",
                    "relationship": "direct",
                    "dependencies": []
                }
            },
            "name": "oclea-image-oclea-cv25-20240423061522",
            "file": {
                "source_location": "poky/build/tmp/deploy/images/oclea-cv25/oclea-image-oclea-cv25.spdx.json"
            }
        }
    }
}
Notice: Snapshot successfully created at 2024-04-23T0:01:56.190Z

But Dependabot doesn't show anything. Is there something else I need to do, or a log I can check?
image

@GeekMasher
Copy link
Contributor

@parsley72 This Action submits SPDX files to the Submission API, Dependabot Alerts will only show if the ecosystem is supported. If you upload something like pkg:generic/oclea-image@undefined (generic manager), Dependabot won't be able to create an alert based on that PURL.

Try looking in the tab "Repository -> Insights -> Dependency graph" and see if your data is in there.

@GeekMasher GeekMasher self-assigned this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants