Skip to content

Submit sbt dependencies to GitHub for vulnerability monitoring#64

Merged
kelvin-chappell merged 2 commits intomainfrom
sbt-dependency-graph-7194ff641fd63ccc
Jan 21, 2025
Merged

Submit sbt dependencies to GitHub for vulnerability monitoring#64
kelvin-chappell merged 2 commits intomainfrom
sbt-dependency-graph-7194ff641fd63ccc

Conversation

@gu-dependency-graph-integrator
Copy link
Contributor

@gu-dependency-graph-integrator gu-dependency-graph-integrator bot commented Nov 22, 2024

What does this change?

This PR sends your sbt dependencies to GitHub for vulnerability monitoring via Dependabot. The submitted dependencies will appear in the Dependency Graph on merge to main (it might take a few minutes to update).

What do I need to do?

  • Ensure that the version of sbt in the project is v1.5 or above in order for the dependency submission action to run.
  • A run of this action (Update Dependency Graph for sbt) should have been triggered (see the checks below) when the branch sbt-dependency-graph-7194ff641fd63ccc was created. Sense check the output of the step "Log snapshot for user validation", and make sure that your dependencies look okay.
  • When you are happy the action works, remove the branch name trigger sbt-dependency-graph-7194ff641fd63ccc from the file sbt-dependency-graph.yaml (aka delete line 6), approve this PR, and merge.

Why?

If a repository is in production, we need to track its third party dependencies for vulnerabilities. Historically, we have done this using Snyk, but we are now moving to GitHub’s native Dependabot. Scala is not a language that Dependabot supports out of the box, this workflow is required to make it happen. As a result, we have raised this PR on your behalf to add it to the Dependency Graph.

How has it been verified?

We have tested this workflow, and the process of raising a PR on DevX repos, and have verified that it works. However, we have included some instructions above to help you verify that it works for you. Please do not hesitate to contact DevX Security if you have any questions or concerns.

Further information for sbt

See the sbt workflow documentation for further information and configuration options.

@kelvin-chappell kelvin-chappell merged commit efa6f30 into main Jan 21, 2025
1 check passed
@kelvin-chappell kelvin-chappell deleted the sbt-dependency-graph-7194ff641fd63ccc branch January 21, 2025 16:18
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