Does anyone know of a tool (or GitHub Action) that would monitor dependencies to ensure they adhere to a set of approved licenses? #71
Replies: 7 comments 4 replies
-
Chris Aniszczyk replied: I've done this in the past with FOSSA CLI https://github.com/fossas/fossa-action but you can probably do this with Snyk or WhiteSource (and comparable modern SCA tool these days) |
Beta Was this translation helpful? Give feedback.
-
Jordan Harband replied: In the npm ecosystem, npmjs.com/licensee is The Way; it will soon be npm audit licenses. but yes, there’s lots of services like tidelify/snyk/whitesource/etc to do it cross-ecosystem |
Beta Was this translation helpful? Give feedback.
-
Thanks for adding this here @anajsana, very much hoping there's a minimal functionality but free for open source projects as this is a significant concern and not something that's easily achievable manually. |
Beta Was this translation helpful? Give feedback.
-
You can check out https://github.com/marketplace/actions/ghascompliance. Should we consider adding a sub-section to the awesome OSPO list with these? cc: @anajsana |
Beta Was this translation helpful? Give feedback.
-
Note that I ended up solving this with https://github.com/actions/dependency-review-action. You can see it in action here https://github.com/10up/insert-special-characters/actions/workflows/dependency-review.yml. Workflow file is here https://github.com/10up/insert-special-characters/blob/develop/.github/workflows/dependency-review.yml. Org-wide policy that I'm using is here https://github.com/10up/.github/blob/trunk/.github/dependency-review-config.yml. |
Beta Was this translation helpful? Give feedback.
-
hello to scan dependencies we create two workflows in our bpm that use scanoss to scan for dependencies and undeclared licenses in the code. One receives webhooks from github and scans the branch. We also have in development two custom interfaces both for the developer to ask for authorization and for the manager to approve them for large companies. (The latter has not yet been released O.S.). |
Beta Was this translation helpful? Give feedback.
-
The OSS Review Toolkit project now has a GitHub Action to scan a repository and its dependencies. You can add policies to check against, like a set of approved licenses. This is quite an expert-level tool that has a bit of a learning curve. Thankfully there are some default policies provided and there is a great community willing to help. |
Beta Was this translation helpful? Give feedback.
-
Question raised via TODO slack channel by jeffpaul:
Does anyone know of a tool (or GitHub Action) that would monitor dependencies to ensure they adhere to a set of approved licenses (in my case, working with WordPress, that they’re GPL-compatible)? I’m hoping to get something running so all PRs are scanned to ensure no incompatible dependencies are being introduced (while also scanning the existing codebase to ensure things are copacetic).
Beta Was this translation helpful? Give feedback.
All reactions