Skip to content

Commit

Permalink
fix: use componentEvidence array for Evidence.Identity field
Browse files Browse the repository at this point in the history
Signed-off-by: DmitriyLewen <dmitriy.lewen@smartforce.io>
  • Loading branch information
DmitriyLewen committed Oct 25, 2024
1 parent 8508cc1 commit ff9cc28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cyclonedx.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,11 +623,11 @@ type Event struct {
}

type Evidence struct {
Identity *EvidenceIdentity `json:"identity,omitempty" xml:"identity,omitempty"`
Occurrences *[]EvidenceOccurrence `json:"occurrences,omitempty" xml:"occurrences>occurrence,omitempty"`
Callstack *Callstack `json:"callstack,omitempty" xml:"callstack,omitempty"`
Licenses *Licenses `json:"licenses,omitempty" xml:"licenses,omitempty"`
Copyright *[]Copyright `json:"copyright,omitempty" xml:"copyright>text,omitempty"`
Identity *[]EvidenceIdentity `json:",omitempty" xml:"-"`
Occurrences *[]EvidenceOccurrence `json:"occurrences,omitempty" xml:"-"`
Callstack *Callstack `json:"callstack,omitempty" xml:"-"`
Licenses *Licenses `json:"licenses,omitempty" xml:"-"`
Copyright *[]Copyright `json:"copyright,omitempty" xml:"-"`
}

type EvidenceIdentity struct {
Expand Down

0 comments on commit ff9cc28

Please sign in to comment.