From 8b897da03c0edaf3c2128e7f219c5c48407d25be Mon Sep 17 00:00:00 2001 From: Frankie Gallina-Jones Date: Fri, 5 Aug 2022 15:00:54 -0400 Subject: [PATCH] deprecate CPE in buildpack.toml --- postal/buildpack.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postal/buildpack.go b/postal/buildpack.go index 1ce68a3a..78050a3a 100644 --- a/postal/buildpack.go +++ b/postal/buildpack.go @@ -12,6 +12,8 @@ import ( type Dependency struct { // CPE is the Common Platform Enumerator for the dependency. Used in legacy // image label SBOM (GenerateBillOfMaterials). + // + // Deprecated: use CPEs instead. CPE string `toml:"cpe"` // CPEs are the Common Platform Enumerators for the dependency. Used in Syft