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

Create SBOM #1292

Merged
merged 12 commits into from
Dec 5, 2024
Merged

Create SBOM #1292

merged 12 commits into from
Dec 5, 2024

Conversation

rpoet-jh
Copy link
Contributor

@rpoet-jh rpoet-jh commented Dec 2, 2024

This PR has the following changes:

  • Added cdxgen to create an SBOM and defined create_sbom in package.json scripts.
  • Added command to copy SBOM file into Docker image. I verified the generated SBOM is valid.
  • Created dependencies in package.json and moved "runtime" dependencies to this section. Please review these to ensure I have not missed any from devDependencies or have a dependency that is not a runtime dependency.
  • Updated some dependencies linked in index.html.
  • Changed the github action workflows to use the eclipse-pass/main/.github/actions/node-build@main action instead of the build-pass-ui action. build-pass-ui has been removed.
  • Removed the latest tag from docker images created by github action workflows. This is to be more consistent with other repo action snapshot/release workflows.

The way I have things configured now, an SBOM will be created and copied into the corresponding Docker image whenever a PR is merged and when PASS is released.

Note this PR should be merged after the main PR is merged: eclipse-pass/main#1087

@rpoet-jh rpoet-jh self-assigned this Dec 2, 2024
Copy link
Contributor

@jaredgalanis jaredgalanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I think there are some packages we could talk about moving, but I think in the interest of getting this started it's okay to include them as is for now.

For reference, here's what an app's package.json would look like if you did ember new, which might be instructive for us. https://github.com/ember-cli/ember-new-output/blob/v5.12.0/package.json

@rpoet-jh rpoet-jh merged commit 884fac7 into main Dec 5, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants