From 96aeb7c0c98e92ab8a6f56a6171013bcbfa32fdf Mon Sep 17 00:00:00 2001 From: Alex Alzate Date: Mon, 4 Mar 2024 10:57:38 -0500 Subject: [PATCH] Identity info --- src/main/java/org/cyclonedx/model/Evidence.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/cyclonedx/model/Evidence.java b/src/main/java/org/cyclonedx/model/Evidence.java index 3d1fc8d01..ca5a22868 100644 --- a/src/main/java/org/cyclonedx/model/Evidence.java +++ b/src/main/java/org/cyclonedx/model/Evidence.java @@ -25,6 +25,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; +import org.cyclonedx.CycloneDxSchema.Version; import org.cyclonedx.model.component.evidence.Callstack; import org.cyclonedx.model.component.evidence.Identity; import org.cyclonedx.model.component.evidence.Occurrence; @@ -45,8 +46,12 @@ public class Evidence private List copyright; @VersionFilter(versions = {"1.0", "1.1", "1.2", "1.3", "1.4"}) + @Deprecated private Identity identity; + @VersionFilter(versions = {"1.0", "1.1", "1.2", "1.3", "1.4", "1.5"}) + private List identities; + @VersionFilter(versions = {"1.0", "1.1", "1.2", "1.3", "1.4"}) private List occurrences;