Skip to content

Generate and store an NPM SBOM on the Enterprise image#660

Merged
jviotti merged 1 commit intomainfrom
npm-sbom
Feb 24, 2026
Merged

Generate and store an NPM SBOM on the Enterprise image#660
jviotti merged 1 commit intomainfrom
npm-sbom

Conversation

@jviotti
Copy link
Member

@jviotti jviotti commented Feb 24, 2026

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

@augmentcode
Copy link

augmentcode bot commented Feb 24, 2026

🤖 Augment PR Summary

Summary: Updates the Enterprise Docker image build to install Node.js from NodeSource so npm is new enough to support npm sbom.

Changes:

  • Switches Node.js installation to the NodeSource LTS setup script (to get npm >= 10)
  • Runs npm sbom after npm ci and stores the generated SPDX JSON under /usr/share/sourcemeta/one (copied into the final image)

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. 1 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 1 file

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="enterprise/Dockerfile">

<violation number="1" location="enterprise/Dockerfile:7">
P1: Avoid piping a remote setup script directly into `bash` without integrity verification; it exposes the build to supply‑chain injection if the endpoint is compromised or intercepted.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@jviotti jviotti merged commit 147dca3 into main Feb 24, 2026
5 checks passed
@jviotti jviotti deleted the npm-sbom branch February 24, 2026 15:34
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.

1 participant