safedep / vet

Tool to achieve policy driven vetting of open source dependencies
https://safedep.io
Apache License 2.0
235 stars 22 forks source link

feat: Add support for jar scanning #239

Closed abhisek closed 2 months ago

abhisek commented 2 months ago

This PR actually introduces two non-breaking changes.

  1. Support scanning Java archive
  2. Introduce new --manifest and -M scan flag to evolve beyond just scanning lockfiles

-M also support embedded type so that we can specify different paths with different manifest / lockfile type. Example

./vet scan -M jar:$HOME/demo-client-java/build/libs/demo-client-java-0.0.1-SNAPSHOT.jar

Here we are explicitly stating that the path should be treated as jar (supported parser)

Screenshot 2024-09-05 at 6 01 52 PM

Fix #238

github-actions[bot] commented 2 months ago

vet Summary Report

This report is generated by vet

Policy Checks

cloudflare-workers-and-pages[bot] commented 2 months ago

Deploying safedep-vet with  Cloudflare Pages  Cloudflare Pages

Latest commit: a69cd67
Status: ✅  Deploy successful!
Preview URL: https://4184e618.safedep-vet.pages.dev
Branch Preview URL: https://feat-238-add-jar-scanning-su.safedep-vet.pages.dev

View logs