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

add PURLs when scanning Gradle lock files #2278

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

robbiev
Copy link
Contributor

@robbiev robbiev commented Nov 1, 2023

This adds PURLs when scanning Gradle lock files.

Unintuitively the correct PURL type appears to be maven as opposed to gradle. See https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst

  • gradle for Gradle plugins
  • maven for Maven JARs and related artifacts

This adds PURLs when scanning Gradle lock files.

Unintuitively the correct PURL type appears to be `maven` as opposed to
`gradle`. See https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst

- `gradle` for Gradle plugins
- `maven` for Maven JARs and related artifacts

Signed-off-by: Robbie Vanbrabant <robbie@monzo.com>
@robbiev robbiev marked this pull request as ready for review November 1, 2023 09:20
@spiffcs spiffcs merged commit dc9bc58 into anchore:main Nov 1, 2023
10 checks passed
@spiffcs
Copy link
Contributor

spiffcs commented Nov 1, 2023

Thanks for the updates test cases and fix @robbiev!

GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
This adds PURLs when scanning Gradle lock files.

Unintuitively the correct PURL type appears to be `maven` as opposed to
`gradle`. See https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst

- `gradle` for Gradle plugins
- `maven` for Maven JARs and related artifacts

Signed-off-by: Robbie Vanbrabant <robbie@monzo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants