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

🛡 Find a better alternative to dependabot ! #1566

Closed
sbernard31 opened this issue Dec 19, 2023 · 1 comment
Closed

🛡 Find a better alternative to dependabot ! #1566

sbernard31 opened this issue Dec 19, 2023 · 1 comment
Labels
build / ci All about Build or Continious Integration enhancement Improvement of existing features

Comments

@sbernard31
Copy link
Contributor

sbernard31 commented Dec 19, 2023

Currently we are using dependabot to check if we depends of libraries affected by known vulnerabilities.

But there is some limitation, like not being able to check vulnerabilities on different branches.
(See https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/3949 for more details )

So this issue aims to centralize research of using better open source alternative.

Without talking about tooling itself there is 3 approach :

  1. The obvious way ? Checking dependencies only.
  2. The more secure way ? Checking whole build file systems. (See : Add trivy for scanning vulnerabilities during PR #1546 (comment))
  3. The more clean way ? Generate standard SBOM (SPDX and CycloneDX) then checking vulnerabilities from it and maybe later checking it with dash-licences. (See : Support for using an SBOM as input eclipse/dash-licenses#191 (comment))

Result :

Alternative Approach Advantage Drawback PR
owasp - dependency-check-maven Dependencies Check ✅ Maven integration ❌ Maven integration not so good with frontend-maven-plugin see jeremylong/DependencyCheck#6325 #1567
trivy FileSystem Check ✅ Easy Jenkins or Github integration ❌ No maven Integration
❌ Only check compile scope dependency for pom.xml aquasecurity/trivy#5874
#1546
#1569
cyclonedx-maven-plugin
+
trivy
SBOM ✅ Easy Jenkins integration
✅ Full controll of SBOM content
✅ Maven tooling for SBOM generation
✅ Proper separating of concerns
✅ Prepare future about using eclipse/dash-licenses#191 (comment)
❌ No maven Integration for vulnerability check
❌ No yarn tooling for SBOM generation yarnpkg/berry#6063
#1570
@sbernard31
Copy link
Contributor Author

It seems that SBOM solution is better, so I integrated it in master and 1.x, jenkins build is available at : https://ci.eclipse.org/leshan/job/leshan-weekly/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build / ci All about Build or Continious Integration enhancement Improvement of existing features
Projects
None yet
Development

No branches or pull requests

1 participant