@@ -5,6 +5,17 @@ import "github.com/aquasecurity/trivy/pkg/dependency/types"
5
5
var (
6
6
// execute go mod tidy in normal folder
7
7
GoModNormal = []types.Library {
8
+ {
9
+ ID : "github.com/org/repo" ,
10
+ Name : "github.com/org/repo" ,
11
+ Relationship : types .RelationshipRoot ,
12
+ ExternalReferences : []types.ExternalRef {
13
+ {
14
+ Type : types .RefVCS ,
15
+ URL : "https://github.com/org/repo" ,
16
+ },
17
+ },
18
+ },
8
19
{
9
20
ID :
"github.com/aquasecurity/[email protected] " ,
10
21
Name : "github.com/aquasecurity/go-dep-parser" ,
39
50
40
51
// execute go mod tidy in replaced folder
41
52
GoModReplaced = []types.Library {
53
+ {
54
+ ID : "github.com/org/repo" ,
55
+ Name : "github.com/org/repo" ,
56
+ Relationship : types .RelationshipRoot ,
57
+ ExternalReferences : []types.ExternalRef {
58
+ {
59
+ Type : types .RefVCS ,
60
+ URL : "https://github.com/org/repo" ,
61
+ },
62
+ },
63
+ },
42
64
{
43
65
ID :
"github.com/aquasecurity/[email protected] " ,
44
66
Name : "github.com/aquasecurity/go-dep-parser" ,
61
83
62
84
// execute go mod tidy in replaced folder
63
85
GoModUnreplaced = []types.Library {
86
+ {
87
+ ID : "github.com/org/repo" ,
88
+ Name : "github.com/org/repo" ,
89
+ Relationship : types .RelationshipRoot ,
90
+ ExternalReferences : []types.ExternalRef {
91
+ {
92
+ Type : types .RefVCS ,
93
+ URL : "https://github.com/org/repo" ,
94
+ },
95
+ },
96
+ },
64
97
{
65
98
ID :
"github.com/aquasecurity/[email protected] " ,
66
99
Name : "github.com/aquasecurity/go-dep-parser" ,
@@ -83,6 +116,17 @@ var (
83
116
84
117
// execute go mod tidy in replaced-with-version folder
85
118
GoModReplacedWithVersion = []types.Library {
119
+ {
120
+ ID : "github.com/org/repo" ,
121
+ Name : "github.com/org/repo" ,
122
+ Relationship : types .RelationshipRoot ,
123
+ ExternalReferences : []types.ExternalRef {
124
+ {
125
+ Type : types .RefVCS ,
126
+ URL : "https://github.com/org/repo" ,
127
+ },
128
+ },
129
+ },
86
130
{
87
131
ID :
"github.com/aquasecurity/[email protected] " ,
88
132
Name : "github.com/aquasecurity/go-dep-parser" ,
@@ -105,6 +149,17 @@ var (
105
149
106
150
// execute go mod tidy in replaced-with-version-mismatch folder
107
151
GoModReplacedWithVersionMismatch = []types.Library {
152
+ {
153
+ ID : "github.com/org/repo" ,
154
+ Name : "github.com/org/repo" ,
155
+ Relationship : types .RelationshipRoot ,
156
+ ExternalReferences : []types.ExternalRef {
157
+ {
158
+ Type : types .RefVCS ,
159
+ URL : "https://github.com/org/repo" ,
160
+ },
161
+ },
162
+ },
108
163
{
109
164
ID :
"github.com/aquasecurity/[email protected] " ,
110
165
Name : "github.com/aquasecurity/go-dep-parser" ,
@@ -139,6 +194,17 @@ var (
139
194
140
195
// execute go mod tidy in replaced-with-local-path folder
141
196
GoModReplacedWithLocalPath = []types.Library {
197
+ {
198
+ ID : "github.com/org/repo" ,
199
+ Name : "github.com/org/repo" ,
200
+ Relationship : types .RelationshipRoot ,
201
+ ExternalReferences : []types.ExternalRef {
202
+ {
203
+ Type : types .RefVCS ,
204
+ URL : "https://github.com/org/repo" ,
205
+ },
206
+ },
207
+ },
142
208
{
143
209
ID :
"github.com/aquasecurity/[email protected] " ,
144
210
Name : "github.com/aquasecurity/go-dep-parser" ,
@@ -167,6 +233,17 @@ var (
167
233
168
234
// execute go mod tidy in replaced-with-local-path-and-version folder
169
235
GoModReplacedWithLocalPathAndVersion = []types.Library {
236
+ {
237
+ ID : "github.com/org/repo" ,
238
+ Name : "github.com/org/repo" ,
239
+ Relationship : types .RelationshipRoot ,
240
+ ExternalReferences : []types.ExternalRef {
241
+ {
242
+ Type : types .RefVCS ,
243
+ URL : "https://github.com/org/repo" ,
244
+ },
245
+ },
246
+ },
170
247
{
171
248
ID :
"github.com/aquasecurity/[email protected] " ,
172
249
Name : "github.com/aquasecurity/go-dep-parser" ,
@@ -195,6 +272,17 @@ var (
195
272
196
273
// execute go mod tidy in replaced-with-local-path-and-version-mismatch folder
197
274
GoModReplacedWithLocalPathAndVersionMismatch = []types.Library {
275
+ {
276
+ ID : "github.com/org/repo" ,
277
+ Name : "github.com/org/repo" ,
278
+ Relationship : types .RelationshipRoot ,
279
+ ExternalReferences : []types.ExternalRef {
280
+ {
281
+ Type : types .RefVCS ,
282
+ URL : "https://github.com/org/repo" ,
283
+ },
284
+ },
285
+ },
198
286
{
199
287
ID :
"github.com/aquasecurity/[email protected] " ,
200
288
Name : "github.com/aquasecurity/go-dep-parser" ,
@@ -229,6 +317,17 @@ var (
229
317
230
318
// execute go mod tidy in go116 folder
231
319
GoMod116 = []types.Library {
320
+ {
321
+ ID : "github.com/org/repo" ,
322
+ Name : "github.com/org/repo" ,
323
+ Relationship : types .RelationshipRoot ,
324
+ ExternalReferences : []types.ExternalRef {
325
+ {
326
+ Type : types .RefVCS ,
327
+ URL : "https://github.com/org/repo" ,
328
+ },
329
+ },
330
+ },
232
331
{
233
332
ID :
"github.com/aquasecurity/[email protected] " ,
234
333
Name : "github.com/aquasecurity/go-dep-parser" ,
@@ -245,6 +344,17 @@ var (
245
344
246
345
// execute go mod tidy in no-go-version folder
247
346
GoModNoGoVersion = []types.Library {
347
+ {
348
+ ID : "github.com/org/repo" ,
349
+ Name : "github.com/org/repo" ,
350
+ Relationship : types .RelationshipRoot ,
351
+ ExternalReferences : []types.ExternalRef {
352
+ {
353
+ Type : types .RefVCS ,
354
+ URL : "https://github.com/org/repo" ,
355
+ },
356
+ },
357
+ },
248
358
{
249
359
ID :
"github.com/aquasecurity/[email protected] " ,
250
360
Name : "github.com/aquasecurity/go-dep-parser" ,
0 commit comments