Skip to content

Commit 15970d1

Browse files
committed
go back to repeating package name
Signed-off-by: djcrabhat <djcrabhat@sosimplerecords.com>
1 parent d9a651b commit 15970d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/cyclonedx/contrib/com/lmco/efoss/unix/sbom/generator/RedHatSBomGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public Bom generateSBom() {
113113
}
114114

115115
private String getCpe(String pack, String version) {
116-
return String.format("cpe:2.3:a:*:%s:%s:*:*:*:*:*:*:*", pack, version);
116+
return String.format("cpe:2.3:a:%s:%s:%s:*:*:*:*:*:*:*", pack, pack, version);
117117
}
118118

119119
/**

0 commit comments

Comments
 (0)