Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions cyclonedx.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,13 @@ type SecuredBy struct {
}

type DataClassification struct {
Flow DataFlow `json:"flow" xml:"flow,attr"`
Classification string `json:"classification" xml:",chardata"`
Flow DataFlow `json:"flow" xml:"flow,attr"`
Classification string `json:"classification" xml:",chardata"`
Name string `json:"name,omitempty" xml:"name,omitempty"`
Description string `json:"description,omitempty" xml:"description,omitempty"`
Governance *DataGovernance `json:"governance,omitempty" xml:"governance,omitempty"`
Source []string `json:"source,omitempty" xml:"source>url,omitempty"`
Destination []string `json:"destination,omitempty" xml:"destination>url,omitempty"`
}

type DataFlow string
Expand Down