Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This file documents all notable changes to https://github.com/devonfw/IDEasy[IDE
Release with new features and bugfixes:

* https://github.com/devonfw/IDEasy/issues/1552[#1552]: Add Commandlet to fix TLS issue
* https://github.com/devonfw/IDEasy/issues/1775[#1775]: validated and updated CPE's for all products

The full list of changes for this release can be found in https://github.com/devonfw/IDEasy/milestone/43?closed=1[milestone 2026.04.002].

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,5 @@ protected Collection<AndroidJsonItem> getVersionItems(AndroidJsonObject jsonObje

return jsonObject.content().item();
}

@Override
public String getCpeVendor() {
return "google";
}

@Override
public String getCpeProduct() {
return "android_studio";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public String getCpeVendor() {

@Override
public String getCpeProduct() {
return "aws";
return "aws_command_line_interface";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ public String getCpeVendor() {

@Override
public String getCpeProduct() {
return "az";
return "azure_command-line_interface";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,5 @@ protected String getPackageName() {

return "corepack";
}

@Override
public String getCpeVendor() {
return "corepack";
}

@Override
public String getCpeProduct() {
return "corepack";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ public String getCpeVendor() {

@Override
public String getCpeProduct() {
return "docker";
return "desktop";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ public String getCpeVendor() {

@Override
public String getCpeProduct() {
return "dotnet";
return ".net";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ public String getCpeVendor() {

@Override
public String getCpeProduct() {
return "eclipse";
return "eclipse_ide";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@ protected void addVersion(UrlVersion urlVersion) {
}
}
}

@Override
public String getCpeVendor() {
return "google";
}

@Override
public String getCpeProduct() {
return "gcloud";
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,4 @@ public String mapVersion(String version) {
return null;
}
}

@Override
public String getCpeVendor() {
return "chewiebug";
}

@Override
public String getCpeProduct() {
return "gcviewer";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ public String getCpeVendor() {

@Override
public String getCpeProduct() {
return "gh";
return "cli";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,15 @@ protected void addVersion(UrlVersion urlVersion) {
protected String getCustomVersionFilter() {
return "rc";
}

@Override
public String getCpeVendor() {
return "golang";
}

@Override
public String getCpeProduct() {
return "go";
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,6 @@ protected String getDownloadBaseUrl() {
return "https://get.helm.sh";
}

@Override
public String getCpeVendor() {

return "helm";
}

@Override
public String getCpeProduct() {

return "helm";
}

@Override
protected void addVersion(UrlVersion urlVersion) {
Expand All @@ -67,5 +56,16 @@ public String mapVersion(String version) {
return super.mapVersion("v" + version);
}

@Override
public String getCpeVendor() {

return "helm";
}

@Override
public String getCpeProduct() {

return "helm";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public String getCpeVendor() {

@Override
public String getCpeProduct() {
return "intellij";
return "intellij_idea";
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ protected String getMavenArtifcatId() {
return "jasypt";
}

@Override
public String getCpeVendor() {
return "jasypt";
}

@Override
public String getCpeProduct() {
return "jasypt";
}

@Override
public boolean isValidVersion(String version) {
Expand All @@ -48,4 +39,14 @@ public boolean isValidVersion(String version) {
return false;
}

@Override
public String getCpeVendor() {
return "jasypt_project";
}

@Override
public String getCpeProduct() {
return "jasypt";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
*
* @see JavaJsonObject#versions()
*/
public record JavaJsonVersion(@JsonProperty("openjdk_version") String openjdkVersion, @JsonProperty("semver") String semver) implements JsonVersionItem {
public record JavaJsonVersion(
@JsonProperty("openjdk_version") String openjdkVersion,
@JsonProperty("semver") String semver) implements JsonVersionItem {

@Override
public String version() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@ public String mapVersion(String version) {
return super.mapVersion(version);
}

@Override
public String getCpeVendor() {

return "eclipse";
}

@Override
public String getCpeProduct() {

return "temurin";
}

@Override
protected void addVersion(UrlVersion urlVersion) {
Expand Down Expand Up @@ -107,4 +96,16 @@ protected Collection<JavaJsonVersion> getVersionItems(JavaJsonObject jsonObject)

return jsonObject.versions();
}

@Override
public String getCpeVendor() {

return "oracle";
}

@Override
public String getCpeProduct() {

return "jdk";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not convinced about this one. See e.g.
https://cveawg.mitre.org/api/cve/CVE-2025-21587

"criteria": "cpe:2.3:a:oracle:java_se:17.0.14:*:*:*:*:*:*:*"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So IMHO here we have two products: jdk and java_se.
Please have a look and see if you can agree with my observation or not.
If we agree, we maybe create a new issue for that (Support multiple values for CPE product), merge this PR and plan a new PR to fix the new issue.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, there is a few cases where two CPEs exist. For now i just chose one of them, but we should definitely consider adding an option to add more than one CPE 0..N for both CPE vendor and product.

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected void addVersion(UrlVersion urlVersion) {

@Override
public String getCpeVendor() {
return "jenkinsci";
return "jenkins";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,4 @@ protected void addVersion(UrlVersion urlVersion) {
doAddVersion(urlVersion, baseUrl + "macosx.cocoa.x86_64.tar.gz", MAC);
doAddVersion(urlVersion, baseUrl + "linux.gtk.x86_64.tar.gz", LINUX);
}

@Override
public String getCpeVendor() {
return "adoptium";
}

@Override
public String getCpeProduct() {
return "jmc-build";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,5 @@ protected Pattern getVersionPattern() {

return Pattern.compile("[0-9]+\\.[0-9]+\\.[0-9]+");
}

@Override
public String getCpeVendor() {
return "jetbrains";
}

@Override
public String getCpeProduct() {
return "kotlin-native";
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,4 @@ protected void addVersion(UrlVersion urlVersion) {
doAddVersion(urlVersion, baseUrl + "Darwin_arm64.tar.gz", MAC, ARM64);
}
}

@Override
public String getCpeVendor() {
return "jesseduffield";
}

@Override
public String getCpeProduct() {
return "lazydocker";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@ public String getTool() {
return "mvn";
}

@Override
public String getCpeVendor() {

return "apache";
}

@Override
public String getCpeProduct() {

return "maven";
}

@Override
protected String getGithubOrganization() {
Expand Down Expand Up @@ -80,4 +69,16 @@ protected void addVersion(UrlVersion urlVersion) {
doAddVersion(urlVersion, getDownloadBaseUrl() + "/dist/maven/" + majorFolder + "/${version}/binaries/apache-maven-${version}-bin.zip");
}
}

@Override
public String getCpeVendor() {

return "apache";
}

@Override
public String getCpeProduct() {

return "maven";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,20 @@ protected void addVersion(UrlVersion urlVersion) {
}
}


@Override
public String getCpeVendor() {
return "nodejs";
public String mapVersion(String version) {

return super.mapVersion("v" + version);
}

@Override
public String getCpeProduct() {
return "node";
public String getCpeVendor() {
return "nodejs";
}

@Override
public String mapVersion(String version) {

return super.mapVersion("v" + version);
public String getCpeProduct() {
return "node.js";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected String getPackageName() {

@Override
public String getCpeVendor() {
return "npm";
return "npmjs";
}

@Override
Expand Down
Loading
Loading