scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

Highlight if the updated dependency have known vulnerabilities

Open plokhotnyuk opened this issue 6 years ago • 10 comments

Please consider adding integration with Dependabot.

plokhotnyuk avatar May 31 '19 06:05 plokhotnyuk

Why?

fthomas avatar May 31 '19 06:05 fthomas

It can speed up bringing of security updates and provide support of Scala in GitHub for wider communities or enterprises: https://github.blog/2019-05-23-building-an-interconnected-community-together

plokhotnyuk avatar May 31 '19 07:05 plokhotnyuk

Do you mean I should extend Dependabot so that it can also create PRs for Scala projects or is there some other integration where scala-steward could better work with Dependabot? If it is the former, I don't see me doing it unless someone pays me to do this. Creating scala-steward has been a great adventure so far and I'm not abandoning it to make GitHub better.

fthomas avatar Jun 01 '19 18:06 fthomas

Possible Dependabot or GitHub API are opened to query security related info to highlight that in a PRs if they fix known vulnerabilities...

Another option is to use sbt-dependency-check for that.

plokhotnyuk avatar Jun 14 '19 08:06 plokhotnyuk

Ok, this sounds interesting but it is unlikely I'll be doing this.

fthomas avatar Jun 22 '19 14:06 fthomas

I think the goal of this ticket is unclear from title. I suggest it should be Highlight if the updated dependency have known vulnerabilities or something like that. That may attract potential contributors.

exoego avatar Jul 23 '19 10:07 exoego

Hello @fthomas, would you be interested in a contribution based on GitHub Security Advisory API?

gontard avatar Dec 23 '21 09:12 gontard

Utilizing that API sounds reasonable to me. It seems that SecurityAdvisory object contains useful information from developer perspective.

exoego avatar Dec 23 '21 09:12 exoego

Relevant item on the GitHub Roadmap: https://github.com/github/roadmap/issues/467

laughedelic avatar Mar 01 '22 20:03 laughedelic

GitHub's security advisories are now available via a REST API: https://github.blog/changelog/2023-07-28-get-global-security-advisories-via-rest-api/

This should make it easier to integrate it in Scala Steward.

fthomas avatar Jul 31 '23 17:07 fthomas