-
Notifications
You must be signed in to change notification settings - Fork 577
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
fix(java): improve identification for org.elasticsearch artifacts #2383
Merged
westonsteimel
merged 1 commit into
main
from
improve-org.elasticsearch-java-artifact-identification
Dec 1, 2023
Merged
fix(java): improve identification for org.elasticsearch artifacts #2383
westonsteimel
merged 1 commit into
main
from
improve-org.elasticsearch-java-artifact-identification
Dec 1, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
westonsteimel
force-pushed
the
improve-org.elasticsearch-java-artifact-identification
branch
from
December 1, 2023 12:08
98a1e0e
to
ffbbad6
Compare
westonsteimel
force-pushed
the
improve-org.elasticsearch-java-artifact-identification
branch
3 times, most recently
from
December 1, 2023 12:32
e829696
to
130dfc9
Compare
westonsteimel
force-pushed
the
improve-org.elasticsearch-java-artifact-identification
branch
from
December 1, 2023 12:37
130dfc9
to
828a955
Compare
Signed-off-by: Weston Steimel <[email protected]>
westonsteimel
force-pushed
the
improve-org.elasticsearch-java-artifact-identification
branch
from
December 1, 2023 13:02
828a955
to
4ed4957
Compare
willmurphyscode
approved these changes
Dec 1, 2023
westonsteimel
deleted the
improve-org.elasticsearch-java-artifact-identification
branch
December 1, 2023 14:22
spiffcs
added a commit
to coheigea/syft
that referenced
this pull request
Dec 5, 2023
* main: (40 commits) chore(deps): bump anchore/sbom-action from 0.15.0 to 0.15.1 (anchore#2392) Retrieve remote licenses using pom.properties when there is no pom.xml (anchore#2315) fix(java): improve identification for org.apache.tapestry artifacts (anchore#2384) fix(java): improve identification for io.ratpack artifacts (anchore#2379) fix(java): improve identification for org.apache.cassandra artifacts (anchore#2386) fix(java): improve identification for org.neo4j.procedure artifacts (anchore#2388) fix: bump fangs for ptr summarize fix (anchore#2387) fix(java): improve identification for org.elasticsearch artifacts (anchore#2383) fix(java): improve identification for org.apache.geode artifacts (anchore#2382) fix(java): improve identification for org.apache.tomcat.embed artifacts (anchore#2381) fix(java): improve identification for io.projectreactor.netty artifacts (anchore#2378) fix(java): improve identification for org.eclipse.platform artifacts (anchore#2349) Generalize UI events for cataloging tasks (anchore#2369) chore(deps): update tools to latest versions (anchore#2376) chore(deps): bump github.com/google/go-containerregistry (anchore#2377) chore: fix tests failing due to Mac Rosetta cache (anchore#2374) fix: improve dotnet portable executable identification (anchore#2133) fix file metadata cataloger to use resolved locations (anchore#2370) fix: logging level for parsing potential PE files (anchore#2367) only remove breaking-change label when there are schema changes (anchore#2371) ... Signed-off-by: Christopher Phillips <[email protected]>
GijsCalis
pushed a commit
to GijsCalis/syft
that referenced
this pull request
Feb 19, 2024
…chore#2383) Signed-off-by: Weston Steimel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Elasticsearch jars currently end up with incorrect groupids because syft ends up taking the groupid from the
Implementation-Title
field in the manifest, and those contain a#
suffix on them likeorg.elasticsearch.plugin#lang-mustache;6.8.15
. Syft strips off the component after the;
, but this enhances the logic to also strip off the part after the#
An example jar that can be used to demonstrate this is https://repo1.maven.org/maven2/org/elasticsearch/elasticsearch/8.10.2/elasticsearch-8.10.2.jar
This also adds manual mapping for the major elasticsearch components which are named uniquely enough to go in the map as a fallback in any scenarios where the other logic fails