@@ -43,6 +43,12 @@ export const Overview: React.FC<InfoProps> = ({ sbom }) => {
43
43
{ sbom . document_id }
44
44
</ DescriptionListDescription >
45
45
</ DescriptionListGroup >
46
+ < DescriptionListGroup >
47
+ < DescriptionListTerm > Data License</ DescriptionListTerm >
48
+ < DescriptionListDescription >
49
+ { sbom . data_licenses . join ( ", " ) }
50
+ </ DescriptionListDescription >
51
+ </ DescriptionListGroup >
46
52
</ DescriptionList >
47
53
</ CardBody >
48
54
</ Card >
@@ -58,12 +64,6 @@ export const Overview: React.FC<InfoProps> = ({ sbom }) => {
58
64
{ formatDate ( sbom . published ) }
59
65
</ DescriptionListDescription >
60
66
</ DescriptionListGroup >
61
- < DescriptionListGroup >
62
- < DescriptionListTerm > License List Version</ DescriptionListTerm >
63
- < DescriptionListDescription >
64
- { sbom . data_licenses . join ( ", " ) }
65
- </ DescriptionListDescription >
66
- </ DescriptionListGroup >
67
67
< DescriptionListGroup >
68
68
< DescriptionListTerm > Creator</ DescriptionListTerm >
69
69
< DescriptionListDescription >
@@ -95,6 +95,44 @@ export const Overview: React.FC<InfoProps> = ({ sbom }) => {
95
95
</ CardBody >
96
96
</ Card >
97
97
</ GridItem >
98
+ < GridItem md = { 12 } >
99
+ < Card isFullHeight >
100
+ < CardTitle > Package</ CardTitle >
101
+ < CardBody >
102
+ < DescriptionList >
103
+ < DescriptionListGroup >
104
+ < DescriptionListTerm > Name</ DescriptionListTerm >
105
+ < DescriptionListDescription >
106
+ { sbom . name }
107
+ </ DescriptionListDescription >
108
+ </ DescriptionListGroup >
109
+ < DescriptionListGroup >
110
+ < DescriptionListTerm > Version</ DescriptionListTerm >
111
+ < DescriptionListDescription >
112
+ { sbom . described_by . map ( ( e ) => e . version ) . join ( ", " ) }
113
+ </ DescriptionListDescription >
114
+ </ DescriptionListGroup >
115
+ < DescriptionListGroup >
116
+ < DescriptionListTerm > External References</ DescriptionListTerm >
117
+ < DescriptionListDescription >
118
+ < List >
119
+ { sbom . described_by
120
+ . flatMap ( ( e ) => e . cpe )
121
+ . map ( ( e ) => (
122
+ < ListItem > { e } </ ListItem >
123
+ ) ) }
124
+ < ListItem >
125
+ { sbom . described_by
126
+ . flatMap ( ( e ) => e . purl )
127
+ . map ( ( e ) => e . purl ) }
128
+ </ ListItem >
129
+ </ List >
130
+ </ DescriptionListDescription >
131
+ </ DescriptionListGroup >
132
+ </ DescriptionList >
133
+ </ CardBody >
134
+ </ Card >
135
+ </ GridItem >
98
136
</ Grid >
99
137
) ;
100
138
} ;
0 commit comments