feat(license): add struct with types for licenses
Description
Add new License struct to exclude prefixes for licenses.
TODO:
- add filePath for licenses (https://github.com/aquasecurity/trivy/discussions/6117#discussioncomment-8463597)
Related issues
- Close #5204
Related PRs
- [ ] aquasecurity/go-dep-parser/pull/256
Checklist
- [x] I've read the guidelines for contributing to this repository.
- [x] I've followed the conventions in the PR title.
- [x] I've added tests that prove my fix is effective or that my feature works.
- [ ] I've updated the documentation with the relevant information (if needed).
- [ ] I've added usage information (if the PR introduces new options)
- [ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).
@DmitriyLewen is this PR stale or do you intend to continue with it in the near future?
Hello @lior-orca This PR is ready, but https://github.com/aquasecurity/go-dep-parser/pull/256 needs to be merged first.
This PR is stale because it has been labeled with inactivity.
Please check my comments in #5204
Hello @DmitriyLewen I would like to ask is there any estimation when this can be delivered ? My team is strongly interested in ignoring python packages by their paths as it was discussed under: https://github.com/aquasecurity/trivy/discussions/6117. Thank you in advance, Regards Rafał :)
Hello @Rafcu90 Unfortunately, I can't give a time frame.
This PR changes base structure (I mean Package). The necessary time to review and test these changes.
We've also combined go-dep-parser with Trivy. I need time to move https://github.com/aquasecurity/go-dep-parser/pull/256 to this PR.
This PR is stale because it has been labeled with inactivity.
This PR is stale because it has been labeled with inactivity.