Skip to content

Commit 6a93b76

Browse files
authored
Merge pull request #234 from rdghe/fix/add-missing-properties
2 parents 75427c8 + 3e0f245 commit 6a93b76

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cyclonedx.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ type Annotation struct {
5454
Annotator *Annotator `json:"annotator,omitempty" xml:"annotator,omitempty"`
5555
Timestamp string `json:"timestamp,omitempty" xml:"timestamp,omitempty"`
5656
Text string `json:"text,omitempty" xml:"text,omitempty"`
57+
Signature *JSFSignature `json:"signature,omitempty" xml:"-"`
5758
}
5859

5960
type Annotator struct {
@@ -125,6 +126,7 @@ type BOM struct {
125126
Formulation *[]Formula `json:"formulation,omitempty" xml:"formulation>formula,omitempty"`
126127
Declarations *Declarations `json:"declarations,omitempty" xml:"declarations,omitempty"`
127128
Definitions *Definitions `json:"definitions,omitempty" xml:"definitions,omitempty"`
129+
Signature *JSFSignature `json:"signature,omitempty" xml:"-"`
128130
}
129131

130132
func NewBOM() *BOM {
@@ -252,6 +254,8 @@ type Component struct {
252254
ModelCard *MLModelCard `json:"modelCard,omitempty" xml:"modelCard,omitempty"`
253255
Data *ComponentData `json:"data,omitempty" xml:"data,omitempty"`
254256
CryptoProperties *CryptoProperties `json:"cryptoProperties,omitempty" xml:"cryptoProperties,omitempty"`
257+
Tags *[]string `json:"tags,omitempty" xml:"tags>tag,omitempty"`
258+
Signature *JSFSignature `json:"signature,omitempty" xml:"-"`
255259
}
256260

257261
type ComponentData struct {
@@ -303,6 +307,7 @@ type Composition struct {
303307
Assemblies *[]BOMReference `json:"assemblies,omitempty" xml:"assemblies>assembly,omitempty"`
304308
Dependencies *[]BOMReference `json:"dependencies,omitempty" xml:"dependencies>dependency,omitempty"`
305309
Vulnerabilities *[]BOMReference `json:"vulnerabilities,omitempty" xml:"vulnerabilities>vulnerability,omitempty"`
310+
Signature *JSFSignature `json:"signature,omitempty" xml:"-"`
306311
}
307312

308313
type CompositionAggregate string
@@ -1291,6 +1296,8 @@ type Service struct {
12911296
Properties *[]Property `json:"properties,omitempty" xml:"properties>property,omitempty"`
12921297
Services *[]Service `json:"services,omitempty" xml:"services>service,omitempty"`
12931298
ReleaseNotes *ReleaseNotes `json:"releaseNotes,omitempty" xml:"releaseNotes,omitempty"`
1299+
Tags *[]string `json:"tags,omitempty" xml:"tags>tag,omitempty"`
1300+
Signature *JSFSignature `json:"signature,omitempty" xml:"-"`
12941301
}
12951302

12961303
type Severity string

0 commit comments

Comments
 (0)