@snyk/error-catalog-nodejs-public 5.32.2 → 5.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/catalogs/CLI-error-catalog.d.ts +3 -0
- package/src/catalogs/CLI-error-catalog.js +8 -0
- package/src/catalogs/CLI-error-catalog.js.map +1 -1
- package/src/catalogs/Code-error-catalog.d.ts +98 -0
- package/src/catalogs/Code-error-catalog.js +190 -1
- package/src/catalogs/Code-error-catalog.js.map +1 -1
- package/src/catalogs/CustomBaseImages-error-catalog.d.ts +19 -0
- package/src/catalogs/CustomBaseImages-error-catalog.js +43 -0
- package/src/catalogs/CustomBaseImages-error-catalog.js.map +1 -1
- package/src/catalogs/Fix-error-catalog.d.ts +22 -0
- package/src/catalogs/Fix-error-catalog.js +44 -0
- package/src/catalogs/Fix-error-catalog.js.map +1 -1
- package/src/catalogs/Integration-error-catalog.d.ts +1 -0
- package/src/catalogs/Integration-error-catalog.js +2 -0
- package/src/catalogs/Integration-error-catalog.js.map +1 -1
- package/src/catalogs/IsolatedBuilds-error-catalog.d.ts +4 -0
- package/src/catalogs/IsolatedBuilds-error-catalog.js +13 -0
- package/src/catalogs/IsolatedBuilds-error-catalog.js.map +1 -1
- package/src/catalogs/OpenAPI-error-catalog.d.ts +8 -0
- package/src/catalogs/OpenAPI-error-catalog.js +16 -0
- package/src/catalogs/OpenAPI-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceEcosystems-error-catalog.d.ts +77 -0
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js +352 -0
- package/src/catalogs/OpenSourceEcosystems-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceProjectIssues-error-catalog.d.ts +5 -0
- package/src/catalogs/OpenSourceProjectIssues-error-catalog.js +10 -0
- package/src/catalogs/OpenSourceProjectIssues-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.d.ts +5 -0
- package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js +10 -0
- package/src/catalogs/OpenSourceProjectSnapshots-error-catalog.js.map +1 -1
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.d.ts +2 -0
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.js +4 -0
- package/src/catalogs/OpenSourceUnmanaged-error-catalog.js.map +1 -1
- package/src/catalogs/PRChecks-error-catalog.d.ts +11 -0
- package/src/catalogs/PRChecks-error-catalog.js +61 -0
- package/src/catalogs/PRChecks-error-catalog.js.map +1 -1
- package/src/catalogs/Policies-error-catalog.d.ts +1 -0
- package/src/catalogs/Policies-error-catalog.js +3 -0
- package/src/catalogs/Policies-error-catalog.js.map +1 -1
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.d.ts +20 -0
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js +40 -0
- package/src/catalogs/PurlVulnerabilityFetching-error-catalog.js.map +1 -1
- package/src/catalogs/SCM-error-catalog.d.ts +6 -0
- package/src/catalogs/SCM-error-catalog.js +16 -0
- package/src/catalogs/SCM-error-catalog.js.map +1 -1
- package/src/catalogs/SbomExport-error-catalog.d.ts +9 -0
- package/src/catalogs/SbomExport-error-catalog.js +18 -0
- package/src/catalogs/SbomExport-error-catalog.js.map +1 -1
- package/src/catalogs/SbomTest-error-catalog.d.ts +10 -0
- package/src/catalogs/SbomTest-error-catalog.js +29 -0
- package/src/catalogs/SbomTest-error-catalog.js.map +1 -1
- package/src/catalogs/Snyk-error-catalog.d.ts +8 -0
- package/src/catalogs/Snyk-error-catalog.js +23 -1
- package/src/catalogs/Snyk-error-catalog.js.map +1 -1
- package/src/catalogs/Target-error-catalog.d.ts +2 -0
- package/src/catalogs/Target-error-catalog.js +4 -0
- package/src/catalogs/Target-error-catalog.js.map +1 -1
- package/src/catalogs/error-codes.d.ts +5 -0
- package/src/catalogs/error-codes.js +5 -0
- package/src/catalogs/error-codes.js.map +1 -1
- package/src/problem-error.js +1 -1
- package/src/problem-error.js.map +1 -1
- package/src/types.d.ts +2 -1
- package/src/types.js.map +1 -1
|
@@ -26,6 +26,7 @@ const problem_error_1 = require("../problem-error");
|
|
|
26
26
|
* @summary Unable to parse manifest file
|
|
27
27
|
* @category OpenSourceEcosystems
|
|
28
28
|
* @param {string} details the specific details that causes this error
|
|
29
|
+
* @param {string} description the general description for this error
|
|
29
30
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
30
31
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
31
32
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -37,6 +38,7 @@ class UnparseableManifestError extends problem_error_1.ProblemError {
|
|
|
37
38
|
title: 'Unable to parse manifest file',
|
|
38
39
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0001',
|
|
39
40
|
status: 400,
|
|
41
|
+
description: `The provided manifest file could not be parsed as it has invalid syntax or does not match the expected schema. Review the manifest file, then try again.`,
|
|
40
42
|
errorCode: 'SNYK-OS-0001',
|
|
41
43
|
level: 'error',
|
|
42
44
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -53,6 +55,7 @@ exports.UnparseableManifestError = UnparseableManifestError;
|
|
|
53
55
|
* @summary Unable to parse lock file
|
|
54
56
|
* @category OpenSourceEcosystems
|
|
55
57
|
* @param {string} details the specific details that causes this error
|
|
58
|
+
* @param {string} description the general description for this error
|
|
56
59
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
57
60
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
58
61
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -64,6 +67,7 @@ class UnparseableLockFileError extends problem_error_1.ProblemError {
|
|
|
64
67
|
title: 'Unable to parse lock file',
|
|
65
68
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0002',
|
|
66
69
|
status: 400,
|
|
70
|
+
description: `The provided lock file could not be parsed as it has invalid syntax or does not match the expected schema. Review the lock file, then try again.`,
|
|
67
71
|
errorCode: 'SNYK-OS-0002',
|
|
68
72
|
level: 'error',
|
|
69
73
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -83,6 +87,7 @@ exports.UnparseableLockFileError = UnparseableLockFileError;
|
|
|
83
87
|
* @summary Unknown dependency version
|
|
84
88
|
* @category OpenSourceEcosystems
|
|
85
89
|
* @param {string} details the specific details that causes this error
|
|
90
|
+
* @param {string} description the general description for this error
|
|
86
91
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
87
92
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
88
93
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -94,6 +99,7 @@ class UnknownDependencyVersionError extends problem_error_1.ProblemError {
|
|
|
94
99
|
title: 'Unknown dependency version',
|
|
95
100
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0003',
|
|
96
101
|
status: 404,
|
|
102
|
+
description: `Dependency version could not be resolved.`,
|
|
97
103
|
errorCode: 'SNYK-OS-0003',
|
|
98
104
|
level: 'warn',
|
|
99
105
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -112,6 +118,7 @@ exports.UnknownDependencyVersionError = UnknownDependencyVersionError;
|
|
|
112
118
|
* @summary Missing required request header
|
|
113
119
|
* @category OpenSourceEcosystems
|
|
114
120
|
* @param {string} details the specific details that causes this error
|
|
121
|
+
* @param {string} description the general description for this error
|
|
115
122
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
116
123
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
117
124
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -123,6 +130,7 @@ class MissingHeaderError extends problem_error_1.ProblemError {
|
|
|
123
130
|
title: 'Missing required request header',
|
|
124
131
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0004',
|
|
125
132
|
status: 422,
|
|
133
|
+
description: `The server encountered a request that is missing a mandatory request header.`,
|
|
126
134
|
errorCode: 'SNYK-OS-0004',
|
|
127
135
|
level: 'error',
|
|
128
136
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -139,6 +147,7 @@ exports.MissingHeaderError = MissingHeaderError;
|
|
|
139
147
|
* @summary Payload missing required elements
|
|
140
148
|
* @category OpenSourceEcosystems
|
|
141
149
|
* @param {string} details the specific details that causes this error
|
|
150
|
+
* @param {string} description the general description for this error
|
|
142
151
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
143
152
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
144
153
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -150,6 +159,7 @@ class MissingPayloadError extends problem_error_1.ProblemError {
|
|
|
150
159
|
title: 'Payload missing required elements',
|
|
151
160
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0005',
|
|
152
161
|
status: 422,
|
|
162
|
+
description: `The server could not process the request.`,
|
|
153
163
|
errorCode: 'SNYK-OS-0005',
|
|
154
164
|
level: 'error',
|
|
155
165
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -166,6 +176,7 @@ exports.MissingPayloadError = MissingPayloadError;
|
|
|
166
176
|
* @summary Files cannot be processed
|
|
167
177
|
* @category OpenSourceEcosystems
|
|
168
178
|
* @param {string} details the specific details that causes this error
|
|
179
|
+
* @param {string} description the general description for this error
|
|
169
180
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
170
181
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
171
182
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -177,6 +188,7 @@ class UnprocessableFileError extends problem_error_1.ProblemError {
|
|
|
177
188
|
title: 'Files cannot be processed',
|
|
178
189
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0006',
|
|
179
190
|
status: 422,
|
|
191
|
+
description: `The dependency service could not process the files.`,
|
|
180
192
|
errorCode: 'SNYK-OS-0006',
|
|
181
193
|
level: 'error',
|
|
182
194
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -193,6 +205,7 @@ exports.UnprocessableFileError = UnprocessableFileError;
|
|
|
193
205
|
* @summary Cannot get file from source
|
|
194
206
|
* @category OpenSourceEcosystems
|
|
195
207
|
* @param {string} details the specific details that causes this error
|
|
208
|
+
* @param {string} description the general description for this error
|
|
196
209
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
197
210
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
198
211
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -204,6 +217,7 @@ class CannotGetFileFromSourceError extends problem_error_1.ProblemError {
|
|
|
204
217
|
title: 'Cannot get file from source',
|
|
205
218
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0007',
|
|
206
219
|
status: 500,
|
|
220
|
+
description: `Could not get the file from the source URL.`,
|
|
207
221
|
errorCode: 'SNYK-OS-0007',
|
|
208
222
|
level: 'error',
|
|
209
223
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -220,6 +234,7 @@ exports.CannotGetFileFromSourceError = CannotGetFileFromSourceError;
|
|
|
220
234
|
* @summary Missing environment variable
|
|
221
235
|
* @category OpenSourceEcosystems
|
|
222
236
|
* @param {string} details the specific details that causes this error
|
|
237
|
+
* @param {string} description the general description for this error
|
|
223
238
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
224
239
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
225
240
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -231,6 +246,7 @@ class MissingEnvironmentVariableError extends problem_error_1.ProblemError {
|
|
|
231
246
|
title: 'Missing environment variable',
|
|
232
247
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0008',
|
|
233
248
|
status: 500,
|
|
249
|
+
description: `The server encountered a critical operation that requires a specific environment variable, but the variable is not set or is not accessible within the current environment.`,
|
|
234
250
|
errorCode: 'SNYK-OS-0008',
|
|
235
251
|
level: 'error',
|
|
236
252
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -247,6 +263,7 @@ exports.MissingEnvironmentVariableError = MissingEnvironmentVariableError;
|
|
|
247
263
|
* @summary Brokered connections not currently supported
|
|
248
264
|
* @category OpenSourceEcosystems
|
|
249
265
|
* @param {string} details the specific details that causes this error
|
|
266
|
+
* @param {string} description the general description for this error
|
|
250
267
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
251
268
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
252
269
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -258,6 +275,7 @@ class BrokeredConnectionNotSupportedError extends problem_error_1.ProblemError {
|
|
|
258
275
|
title: 'Brokered connections not currently supported',
|
|
259
276
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0009',
|
|
260
277
|
status: 500,
|
|
278
|
+
description: `The service encountered a permissions or credentials error most likely related to an import through a brokered connection for a scanner that does not yet support that.`,
|
|
261
279
|
errorCode: 'SNYK-OS-0009',
|
|
262
280
|
level: 'error',
|
|
263
281
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -280,6 +298,7 @@ exports.BrokeredConnectionNotSupportedError = BrokeredConnectionNotSupportedErro
|
|
|
280
298
|
* @summary Snyk failed to clone your repository
|
|
281
299
|
* @category OpenSourceEcosystems
|
|
282
300
|
* @param {string} details the specific details that causes this error
|
|
301
|
+
* @param {string} description the general description for this error
|
|
283
302
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
284
303
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
285
304
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -291,6 +310,13 @@ class GitCloneFailedError extends problem_error_1.ProblemError {
|
|
|
291
310
|
title: 'Snyk failed to clone your repository',
|
|
292
311
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-0010',
|
|
293
312
|
status: 422,
|
|
313
|
+
description: `We encountered a fatal error from Git while trying to clone your code using your provided credentials. Please verify that:
|
|
314
|
+
|
|
315
|
+
* Your provided credentials are correct or not scoped too narrowly.
|
|
316
|
+
* The branch you've asked us to clone exists.
|
|
317
|
+
* The repository you've provided is accessible from the internet and you are not connected through a broker.
|
|
318
|
+
|
|
319
|
+
And try the operation again.`,
|
|
294
320
|
errorCode: 'SNYK-OS-0010',
|
|
295
321
|
level: 'error',
|
|
296
322
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -310,6 +336,7 @@ exports.GitCloneFailedError = GitCloneFailedError;
|
|
|
310
336
|
* @summary Unsupported manifest file type for remediation
|
|
311
337
|
* @category OpenSourceEcosystems
|
|
312
338
|
* @param {string} details the specific details that causes this error
|
|
339
|
+
* @param {string} description the general description for this error
|
|
313
340
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
314
341
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
315
342
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -321,6 +348,7 @@ class UnsupportedManifestFileError extends problem_error_1.ProblemError {
|
|
|
321
348
|
title: 'Unsupported manifest file type for remediation',
|
|
322
349
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0001',
|
|
323
350
|
status: 400,
|
|
351
|
+
description: `The provided manifest file is not supported by Snyk for .NET.`,
|
|
324
352
|
errorCode: 'SNYK-OS-DOTNET-0001',
|
|
325
353
|
level: 'error',
|
|
326
354
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -339,6 +367,7 @@ exports.UnsupportedManifestFileError = UnsupportedManifestFileError;
|
|
|
339
367
|
* @summary Target framework not supported
|
|
340
368
|
* @category OpenSourceEcosystems
|
|
341
369
|
* @param {string} details the specific details that causes this error
|
|
370
|
+
* @param {string} description the general description for this error
|
|
342
371
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
343
372
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
344
373
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -350,6 +379,7 @@ class UnsupportedTargetFrameworkError extends problem_error_1.ProblemError {
|
|
|
350
379
|
title: 'Target framework not supported',
|
|
351
380
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0002',
|
|
352
381
|
status: 422,
|
|
382
|
+
description: `The provided manifest file defines a \`<TargetFramework>\` or \`<TargetFrameworks>\` that is not currently supported by Snyk's .NET scanning solution.`,
|
|
353
383
|
errorCode: 'SNYK-OS-DOTNET-0002',
|
|
354
384
|
level: 'error',
|
|
355
385
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -384,6 +414,7 @@ exports.UnsupportedTargetFrameworkError = UnsupportedTargetFrameworkError;
|
|
|
384
414
|
* @summary Your C# code is missing a static Main function
|
|
385
415
|
* @category OpenSourceEcosystems
|
|
386
416
|
* @param {string} details the specific details that causes this error
|
|
417
|
+
* @param {string} description the general description for this error
|
|
387
418
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
388
419
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
389
420
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -395,6 +426,22 @@ class MissingStaticMainFunctionError extends problem_error_1.ProblemError {
|
|
|
395
426
|
title: 'Your C# code is missing a static Main function',
|
|
396
427
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0003',
|
|
397
428
|
status: 422,
|
|
429
|
+
description: `This error occurs when no static Main method with a correct signature is found in the code that produces an executable file.
|
|
430
|
+
It also occurs if the entry point function, \`Main\`, is defined with the wrong case, such as lower-case main.
|
|
431
|
+
|
|
432
|
+
In order to fix this issue, ensure that your program has a .cs file that contains a main function, such as
|
|
433
|
+
\`\`\`c#
|
|
434
|
+
namespace Example
|
|
435
|
+
{
|
|
436
|
+
class Program
|
|
437
|
+
{
|
|
438
|
+
static void Main(string[] args)
|
|
439
|
+
{
|
|
440
|
+
Console.WriteLine("hello world");
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
\`\`\``,
|
|
398
445
|
errorCode: 'SNYK-OS-DOTNET-0003',
|
|
399
446
|
level: 'error',
|
|
400
447
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -426,6 +473,7 @@ exports.MissingStaticMainFunctionError = MissingStaticMainFunctionError;
|
|
|
426
473
|
* @summary The dotnet CLI is unable to generate a self-contained binary
|
|
427
474
|
* @category OpenSourceEcosystems
|
|
428
475
|
* @param {string} details the specific details that causes this error
|
|
476
|
+
* @param {string} description the general description for this error
|
|
429
477
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
430
478
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
431
479
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -437,6 +485,15 @@ class PublishFailedError extends problem_error_1.ProblemError {
|
|
|
437
485
|
title: 'The dotnet CLI is unable to generate a self-contained binary',
|
|
438
486
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0004',
|
|
439
487
|
status: 422,
|
|
488
|
+
description: `This error occurs when running \`dotnet publish --sc --framework <your-target-framework>\` fails to generate a
|
|
489
|
+
self-contained binary. Snyk needs to run this command in order to adequately determine the dependency tree for your project. If this command fails, Snyk cannot continue.
|
|
490
|
+
|
|
491
|
+
Steps to determine why this happened:
|
|
492
|
+
|
|
493
|
+
* Checkout a clean version of your project in a temporary folder
|
|
494
|
+
* Run \`dotnet publish --sc --framework <your-target-framework> \` on your project, and confirm this step fails.
|
|
495
|
+
|
|
496
|
+
If this step is successful locally, it is possible that Snyk is running another version of the .NET SDK. To tell Snyk which version of the .NET SDK to use, consider using the [global.json](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json) solution provided by Microsoft.`,
|
|
440
497
|
errorCode: 'SNYK-OS-DOTNET-0004',
|
|
441
498
|
level: 'error',
|
|
442
499
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -477,6 +534,7 @@ exports.PublishFailedError = PublishFailedError;
|
|
|
477
534
|
* @summary The dotnet CLI was unable to restore from private package sources
|
|
478
535
|
* @category OpenSourceEcosystems
|
|
479
536
|
* @param {string} details the specific details that causes this error
|
|
537
|
+
* @param {string} description the general description for this error
|
|
480
538
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
481
539
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
482
540
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -488,6 +546,24 @@ class FailedToAccessPrivatePackageSourceError extends problem_error_1.ProblemErr
|
|
|
488
546
|
title: 'The dotnet CLI was unable to restore from private package sources',
|
|
489
547
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0005',
|
|
490
548
|
status: 401,
|
|
549
|
+
description: `This error occurs when running \`dotnet restore\` fails to access dependencies stored in a private package source that Snyk does not have access to.
|
|
550
|
+
|
|
551
|
+
This means that your \`.csproj\` file or files refer to a dependency hosted on a private package store or Nuget Artifact Registry defined in your \`NuGet.config\` file, such as:
|
|
552
|
+
|
|
553
|
+
\`\`\`xml
|
|
554
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
555
|
+
<configuration>
|
|
556
|
+
<packageSources>
|
|
557
|
+
<clear />
|
|
558
|
+
<add key="AzureFeed" value="https://pkgs.dev.azure.com/your-org/_packaging/your-repo/nuget/v3/index.json" />
|
|
559
|
+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
|
560
|
+
</packageSources>
|
|
561
|
+
</configuration>
|
|
562
|
+
\`\`\`
|
|
563
|
+
|
|
564
|
+
In order to allow Snyk to access your private dependency package source, you must supply Snyk with a valid JSON object as a private registry token in the .NET language settings.
|
|
565
|
+
|
|
566
|
+
You can set up a connection to your private Nuget repository in your Snyk integration settings.`,
|
|
491
567
|
errorCode: 'SNYK-OS-DOTNET-0005',
|
|
492
568
|
level: 'error',
|
|
493
569
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -546,6 +622,7 @@ exports.FailedToAccessPrivatePackageSourceError = FailedToAccessPrivatePackageSo
|
|
|
546
622
|
* @summary Missing MSBuild Condition Construct in project file
|
|
547
623
|
* @category OpenSourceEcosystems
|
|
548
624
|
* @param {string} details the specific details that causes this error
|
|
625
|
+
* @param {string} description the general description for this error
|
|
549
626
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
550
627
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
551
628
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -557,6 +634,44 @@ class MissingMSBuildConditionError extends problem_error_1.ProblemError {
|
|
|
557
634
|
title: 'Missing MSBuild Condition Construct in project file',
|
|
558
635
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0006',
|
|
559
636
|
status: 422,
|
|
637
|
+
description: `The \`dotnet\` tool was unable to locate the \`.targets\`, \`.csproj\` or \`.props\` file responsible for one or more MSBuild conditions in your project file.
|
|
638
|
+
|
|
639
|
+
The tool encountered an error like
|
|
640
|
+
\`\`\`
|
|
641
|
+
/path/to/file/project.csproj(33,13): error MSB4100: Expected "$(SomeCondition)" to evaluate to a boolean instead of "", in condition "!$(SomeCondition)".
|
|
642
|
+
\`\`\`
|
|
643
|
+
|
|
644
|
+
This means the condition definition is missing in the project file that is currently being restored and in any project linked to it from there.
|
|
645
|
+
|
|
646
|
+
Snyk can scan only the project files accessible in the current repository or the private dependencies available to Snyk.
|
|
647
|
+
|
|
648
|
+
For example, if your code has the following structure:
|
|
649
|
+
|
|
650
|
+
\`\`\`title=project.targets
|
|
651
|
+
<Project>
|
|
652
|
+
<PropertyGroup>
|
|
653
|
+
<SomeCondition Condition="'$(SomeCondition)' == ''">false</SomeCondition>
|
|
654
|
+
</PropertyGroup>
|
|
655
|
+
</Project>
|
|
656
|
+
\`\`\`
|
|
657
|
+
|
|
658
|
+
And
|
|
659
|
+
|
|
660
|
+
\`\`\`title=project.csproj
|
|
661
|
+
<Project Sdk='Microsoft.NET.Sdk'>
|
|
662
|
+
<Import Project='..\\external-libraries\\some-library\\project.targets' />
|
|
663
|
+
<PropertyGroup>
|
|
664
|
+
<TargetFrameworks>net8.0</TargetFrameworks>
|
|
665
|
+
</PropertyGroup>
|
|
666
|
+
<ItemGroup Condition='!$(SomeCondition)'>
|
|
667
|
+
<PackageReference Include='Newtonsoft.Json' Version='13.0.3' />
|
|
668
|
+
</ItemGroup>
|
|
669
|
+
</Project>
|
|
670
|
+
\`\`\`
|
|
671
|
+
|
|
672
|
+
And \`external-libraries\` is not a part of your repository currently being scanned, Snyk is not able to find it.
|
|
673
|
+
|
|
674
|
+
This error occurs when your code depends on external libraries that are added to or generated from your source code using external tools unknown to Snyk or as part of a build step in your build or a deployment pipeline.`,
|
|
560
675
|
errorCode: 'SNYK-OS-DOTNET-0006',
|
|
561
676
|
level: 'error',
|
|
562
677
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -580,6 +695,7 @@ exports.MissingMSBuildConditionError = MissingMSBuildConditionError;
|
|
|
580
695
|
* @summary No target frameworks found in manifest files
|
|
581
696
|
* @category OpenSourceEcosystems
|
|
582
697
|
* @param {string} details the specific details that causes this error
|
|
698
|
+
* @param {string} description the general description for this error
|
|
583
699
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
584
700
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
585
701
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -591,6 +707,9 @@ class NoTargetFrameworksFoundError extends problem_error_1.ProblemError {
|
|
|
591
707
|
title: 'No target frameworks found in manifest files',
|
|
592
708
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0007',
|
|
593
709
|
status: 422,
|
|
710
|
+
description: `Snyk was unable to detect any \`<TargetFramework>\`s in the supplied manifest files.
|
|
711
|
+
|
|
712
|
+
If you are using \`Directory.Build.props\` files to determine the target framework, ensure that it is named as such. Due to performance considerations on the customer's SCM network, Snyk does not perform case-insensitive searches for \`.props\` files.`,
|
|
594
713
|
errorCode: 'SNYK-OS-DOTNET-0007',
|
|
595
714
|
level: 'error',
|
|
596
715
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -671,6 +790,7 @@ exports.NoTargetFrameworksFoundError = NoTargetFrameworksFoundError;
|
|
|
671
790
|
* @summary Your global.json is targeting an outdated SDK version
|
|
672
791
|
* @category OpenSourceEcosystems
|
|
673
792
|
* @param {string} details the specific details that causes this error
|
|
793
|
+
* @param {string} description the general description for this error
|
|
674
794
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
675
795
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
676
796
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -682,6 +802,64 @@ class OutdatedSDKVersionRequestedError extends problem_error_1.ProblemError {
|
|
|
682
802
|
title: 'Your global.json is targeting an outdated SDK version',
|
|
683
803
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0008',
|
|
684
804
|
status: 422,
|
|
805
|
+
description: `Snyk supports the latest channels of .NET which is currently [supported by Microsoft](https://dotnet.microsoft.com/en-us/download/dotnet), but does **not** guarantee to support all SDK versions within each currently supported channel.
|
|
806
|
+
|
|
807
|
+
Within the supported channels, Snyk aims to support most, if not all, of the SDK versions currently released under the **newest** of the channels.
|
|
808
|
+
|
|
809
|
+
If the channels currently supported by Microsoft are \`8.0\`, \`7.0\` and \`6.0\`, Snyk **will** support all of the *latest* SDKs released for these channels.
|
|
810
|
+
|
|
811
|
+
If the SDK versions released under \`8.0.3\` are: \`8.0.203\`, \`8.0.202\` and \`8.0.103\`, Snyk **cannot** guarantee to support *all* of them, but makes an effort to do so. Snyk **will** support the latest of the SDK versions currently released by Microsoft.
|
|
812
|
+
|
|
813
|
+
If channel \`8.0\` is the newest channel currently supported, Snyk **cannot** guarantee that multiple, specific SDK versions for older, still supported channels such as .NET 6.
|
|
814
|
+
|
|
815
|
+
### Example support matrix
|
|
816
|
+
|
|
817
|
+
If:
|
|
818
|
+
|
|
819
|
+
* .NET channels currently supported by Microsoft are \`.NET 8.0\`, \`.NET 7.0\` and \`.NET 6.0\`
|
|
820
|
+
* Newest SDK version under \`.NET 8.0\` is \`8.0.203\`
|
|
821
|
+
|
|
822
|
+
Then:
|
|
823
|
+
|
|
824
|
+
| Channel | SDK | End-of-Life | Supported |
|
|
825
|
+
|:-------:|:----------------------------:|:-----------:|:-----------:|
|
|
826
|
+
| 8.0 | 8.0.203 (latest in channel) | No | Yes |
|
|
827
|
+
| 8.0 | 8.0.202 | No | Yes |
|
|
828
|
+
| 8.0 | 8.0.103 | No | Yes |
|
|
829
|
+
| | (...) | | |
|
|
830
|
+
| 7.0 | 7.0.407 (latest in channel) | No | Yes |
|
|
831
|
+
| 7.0 | 7.0.314 | No | No |
|
|
832
|
+
| | (...) | | |
|
|
833
|
+
| 6.0 | 6.0.420 | No | Yes |
|
|
834
|
+
| 6.0 | 6.0.128 | No | No |
|
|
835
|
+
| | (..) | | |
|
|
836
|
+
| 5.0 | 5.0.408 (latest in channel) | Yes | No |
|
|
837
|
+
| 5.0 | 5.0.214 | Yes | No |
|
|
838
|
+
| | (..) | | |
|
|
839
|
+
|
|
840
|
+
### Workarounds
|
|
841
|
+
|
|
842
|
+
This limitation can lead to scan failures for customers that are pinning SDK versions in their \`global.json\` files without a [rollForward](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json#rollforward) directive, such as:
|
|
843
|
+
\`\`\`json
|
|
844
|
+
{
|
|
845
|
+
"sdk": {
|
|
846
|
+
"version": "6.0.101"
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
\`\`\`
|
|
850
|
+
Since as \`6.0\` is not the newest .NET channel.
|
|
851
|
+
|
|
852
|
+
To work around this issue, we recommend that customers employ some flexibility in their \`global.json\` file by employing the \`rollFoward\` directive to be \`latestMajor\`, as such:
|
|
853
|
+
\`\`\`json
|
|
854
|
+
{
|
|
855
|
+
"sdk": {
|
|
856
|
+
"version": "6.0.101",
|
|
857
|
+
"rollForward": "latestMajor"
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
\`\`\`
|
|
861
|
+
|
|
862
|
+
Which will allow Snyk to scan your code using a newer version of the SDK, despite your version pinning.`,
|
|
685
863
|
errorCode: 'SNYK-OS-DOTNET-0008',
|
|
686
864
|
level: 'error',
|
|
687
865
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -709,6 +887,7 @@ exports.OutdatedSDKVersionRequestedError = OutdatedSDKVersionRequestedError;
|
|
|
709
887
|
* @summary Project failed to build due to missing type or namespace references
|
|
710
888
|
* @category OpenSourceEcosystems
|
|
711
889
|
* @param {string} details the specific details that causes this error
|
|
890
|
+
* @param {string} description the general description for this error
|
|
712
891
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
713
892
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
714
893
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -720,6 +899,11 @@ class ProjectSkippedAndNotFoundError extends problem_error_1.ProblemError {
|
|
|
720
899
|
title: 'Project failed to build due to missing type or namespace references',
|
|
721
900
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-dotnet-0009',
|
|
722
901
|
status: 422,
|
|
902
|
+
description: `While attempting to build your solution for scanning, the \`dotnet\` SDK was unable to restore one or more projects referenced in your manifest files.
|
|
903
|
+
|
|
904
|
+
Please note that Snyk runs these builds on a **case-sensitive** filesystem, meaning that \`<ProjectReference>../src/NS.Project.csproj</ProjectReference>\` and \`<ProjectReference>../src/ns.project.csproj</ProjectReference>\` are not referring to the same thing.
|
|
905
|
+
|
|
906
|
+
This can present itself as a problem for customers that are using Mac or Windows build pipeline where file systems are not case-sensitive. In this case, verify you're referring to the right manifest files and check the Snyk import logs for more details.`,
|
|
723
907
|
errorCode: 'SNYK-OS-DOTNET-0009',
|
|
724
908
|
level: 'error',
|
|
725
909
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -741,6 +925,7 @@ exports.ProjectSkippedAndNotFoundError = ProjectSkippedAndNotFoundError;
|
|
|
741
925
|
* @summary Failed to access private module
|
|
742
926
|
* @category OpenSourceEcosystems
|
|
743
927
|
* @param {string} details the specific details that causes this error
|
|
928
|
+
* @param {string} description the general description for this error
|
|
744
929
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
745
930
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
746
931
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -752,6 +937,7 @@ class PrivateModuleError extends problem_error_1.ProblemError {
|
|
|
752
937
|
title: 'Failed to access private module',
|
|
753
938
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0001',
|
|
754
939
|
status: 400,
|
|
940
|
+
description: `Snyk could not access the private modules within your go.mod files.`,
|
|
755
941
|
errorCode: 'SNYK-OS-GO-0001',
|
|
756
942
|
level: 'error',
|
|
757
943
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -773,6 +959,7 @@ exports.PrivateModuleError = PrivateModuleError;
|
|
|
773
959
|
* @summary Go mod file not found
|
|
774
960
|
* @category OpenSourceEcosystems
|
|
775
961
|
* @param {string} details the specific details that causes this error
|
|
962
|
+
* @param {string} description the general description for this error
|
|
776
963
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
777
964
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
778
965
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -784,6 +971,7 @@ class GoModFileMissingError extends problem_error_1.ProblemError {
|
|
|
784
971
|
title: 'Go mod file not found',
|
|
785
972
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0002',
|
|
786
973
|
status: 400,
|
|
974
|
+
description: `A go.mod file was not found in the current directory or any parent directory.`,
|
|
787
975
|
errorCode: 'SNYK-OS-GO-0002',
|
|
788
976
|
level: 'error',
|
|
789
977
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -810,6 +998,7 @@ exports.GoModFileMissingError = GoModFileMissingError;
|
|
|
810
998
|
* @summary OAuth re-authorization required
|
|
811
999
|
* @category OpenSourceEcosystems
|
|
812
1000
|
* @param {string} details the specific details that causes this error
|
|
1001
|
+
* @param {string} description the general description for this error
|
|
813
1002
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
814
1003
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
815
1004
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -822,6 +1011,12 @@ class SsoReAuthRequiredError extends problem_error_1.ProblemError {
|
|
|
822
1011
|
title: 'OAuth re-authorization required',
|
|
823
1012
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0003',
|
|
824
1013
|
status: 422,
|
|
1014
|
+
description: `Your code is cloned on an isolated environment using Git as it is required by Snyk to analyze its dependencies.
|
|
1015
|
+
|
|
1016
|
+
Your Organization has enabled or enforced SAML SSO after you authorized Snyk to access your code, and a re-authentication is therefore required.
|
|
1017
|
+
|
|
1018
|
+
The error you're seeing is usually reproducible by attempting to do a \`git clone\` of your repository with incorrectly configured credentials.
|
|
1019
|
+
Verify your authentication configuration with your Git cloud provider and try again.`,
|
|
825
1020
|
errorCode: 'SNYK-OS-GO-0003',
|
|
826
1021
|
level: 'error',
|
|
827
1022
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -851,6 +1046,7 @@ exports.SsoReAuthRequiredError = SsoReAuthRequiredError;
|
|
|
851
1046
|
* @summary Your project repository is missing required files
|
|
852
1047
|
* @category OpenSourceEcosystems
|
|
853
1048
|
* @param {string} details the specific details that causes this error
|
|
1049
|
+
* @param {string} description the general description for this error
|
|
854
1050
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
855
1051
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
856
1052
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -862,6 +1058,13 @@ class IncompleteProjectError extends problem_error_1.ProblemError {
|
|
|
862
1058
|
title: 'Your project repository is missing required files',
|
|
863
1059
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0004',
|
|
864
1060
|
status: 422,
|
|
1061
|
+
description: `Generating the dependency graph requires Snyk to run go list \`go list -deps -json\` inside the project. If the operation fails, creating a full dependency graph cannot continue.
|
|
1062
|
+
|
|
1063
|
+
This error means that you need some cleanup, (such as \`go mod tidy\`) or your project deployment process contains a code generation step such as \`protobuf\` or similar that is not currently supported by Snyk.
|
|
1064
|
+
|
|
1065
|
+
To verify if this is the case, clone your project in a clean environment, run go list \`go list -deps -json\` and verify whether the operation fails.
|
|
1066
|
+
|
|
1067
|
+
If Snyk cannot process your code successfully, insert the Snyk CLI as part of your deployment pipeline.`,
|
|
865
1068
|
errorCode: 'SNYK-OS-GO-0004',
|
|
866
1069
|
level: 'error',
|
|
867
1070
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -895,6 +1098,7 @@ exports.IncompleteProjectError = IncompleteProjectError;
|
|
|
895
1098
|
* @summary Your project repository has inconsistent vendoring information
|
|
896
1099
|
* @category OpenSourceEcosystems
|
|
897
1100
|
* @param {string} details the specific details that causes this error
|
|
1101
|
+
* @param {string} description the general description for this error
|
|
898
1102
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
899
1103
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
900
1104
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -906,6 +1110,17 @@ class InconsistentVendoringError extends problem_error_1.ProblemError {
|
|
|
906
1110
|
title: 'Your project repository has inconsistent vendoring information',
|
|
907
1111
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0005',
|
|
908
1112
|
status: 422,
|
|
1113
|
+
description: `Generating the dependency graph requires Snyk to run \`go list -deps -json\` inside the project. If the operation fails, creating a full dependency graph cannot continue.
|
|
1114
|
+
|
|
1115
|
+
This error means that there is inconsistency between your \`vendor/modules.txt\` file and your \`go.mod\` file. To remediate, you need to:
|
|
1116
|
+
|
|
1117
|
+
* \`go mod vendor\`
|
|
1118
|
+
* \`go mod tidy\`
|
|
1119
|
+
|
|
1120
|
+
Next, commit those changes to your repo. Snyk does not manipulate with your code on our end by design, which is why this is not done automatically.
|
|
1121
|
+
|
|
1122
|
+
To verify if this is the case, clone your project in a clean environment, run go list \`go list -deps -json\` and verify whether the operation fails.
|
|
1123
|
+
Then try and run the above mentioned commands and see if your SCM system reports changes in files.`,
|
|
909
1124
|
errorCode: 'SNYK-OS-GO-0005',
|
|
910
1125
|
level: 'error',
|
|
911
1126
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -926,6 +1141,7 @@ exports.InconsistentVendoringError = InconsistentVendoringError;
|
|
|
926
1141
|
* @summary Unsupported external file generation
|
|
927
1142
|
* @category OpenSourceEcosystems
|
|
928
1143
|
* @param {string} details the specific details that causes this error
|
|
1144
|
+
* @param {string} description the general description for this error
|
|
929
1145
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
930
1146
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
931
1147
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -937,6 +1153,9 @@ class UnsupportedExternalFileGenerationSCMError extends problem_error_1.ProblemE
|
|
|
937
1153
|
title: 'Unsupported external file generation',
|
|
938
1154
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0006',
|
|
939
1155
|
status: 422,
|
|
1156
|
+
description: `Snyk currently does not support external file generation in your project. This limitation is due to Snyk's lack of visibility into the third-party generator tools you may be using and the specific commands required to generate these files.
|
|
1157
|
+
|
|
1158
|
+
Snyk can only work with the files available in your repository and does not have insight into the generation process for external files.`,
|
|
940
1159
|
errorCode: 'SNYK-OS-GO-0006',
|
|
941
1160
|
level: 'error',
|
|
942
1161
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -961,6 +1180,7 @@ exports.UnsupportedExternalFileGenerationSCMError = UnsupportedExternalFileGener
|
|
|
961
1180
|
* @summary Unable to access private dependencies
|
|
962
1181
|
* @category OpenSourceEcosystems
|
|
963
1182
|
* @param {string} details the specific details that causes this error
|
|
1183
|
+
* @param {string} description the general description for this error
|
|
964
1184
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
965
1185
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
966
1186
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -972,6 +1192,12 @@ class UnableToAccessPrivateDepsError extends problem_error_1.ProblemError {
|
|
|
972
1192
|
title: 'Unable to access private dependencies',
|
|
973
1193
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0007',
|
|
974
1194
|
status: 422,
|
|
1195
|
+
description: `The Go tool encountered a \`DepsError\` while trying to download a private dependency. Private repositories that are not accessible to the public internet and are not available on the official Go proxy mirror are cloned with a version control system and built on demand.
|
|
1196
|
+
This requires the VCS to have the correct access rights to that repository.
|
|
1197
|
+
|
|
1198
|
+
Snyk supports private repositories that are hosted in the same Organization and on the same Project that is scanned for vulnerabilities. The authentication to the private repository is the same as the authentication used to integrate that repository with Snyk.
|
|
1199
|
+
|
|
1200
|
+
This error appears when the authorization credentials do not allow access to the requested private dependency. `,
|
|
975
1201
|
errorCode: 'SNYK-OS-GO-0007',
|
|
976
1202
|
level: 'error',
|
|
977
1203
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -994,6 +1220,7 @@ exports.UnableToAccessPrivateDepsError = UnableToAccessPrivateDepsError;
|
|
|
994
1220
|
* @summary Unable to fetch private dependencies
|
|
995
1221
|
* @category OpenSourceEcosystems
|
|
996
1222
|
* @param {string} details the specific details that causes this error
|
|
1223
|
+
* @param {string} description the general description for this error
|
|
997
1224
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
998
1225
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
999
1226
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1005,6 +1232,11 @@ class UnableToUseCredentialsError extends problem_error_1.ProblemError {
|
|
|
1005
1232
|
title: 'Unable to fetch private dependencies',
|
|
1006
1233
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0008',
|
|
1007
1234
|
status: 401,
|
|
1235
|
+
description: `The Go tool encountered a permissions error while fetching one of the private dependencies. Ensure that the integration token you used to sign in to Snyk is properly configured so that Snyk can access the private dependencies.
|
|
1236
|
+
|
|
1237
|
+
The Snyk Go integration only supports private dependencies that are used inside the same Organization as the Project you are scanning.
|
|
1238
|
+
|
|
1239
|
+
This error appears when Snyk is unable to properly access the authorization credentials for the requested private dependency. `,
|
|
1008
1240
|
errorCode: 'SNYK-OS-GO-0008',
|
|
1009
1241
|
level: 'error',
|
|
1010
1242
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1021,6 +1253,7 @@ exports.UnableToUseCredentialsError = UnableToUseCredentialsError;
|
|
|
1021
1253
|
* @summary Toolchain not available
|
|
1022
1254
|
* @category OpenSourceEcosystems
|
|
1023
1255
|
* @param {string} details the specific details that causes this error
|
|
1256
|
+
* @param {string} description the general description for this error
|
|
1024
1257
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1025
1258
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1026
1259
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1032,6 +1265,7 @@ class ToolchainNotAvailableError extends problem_error_1.ProblemError {
|
|
|
1032
1265
|
title: 'Toolchain not available',
|
|
1033
1266
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-go-0009',
|
|
1034
1267
|
status: 500,
|
|
1268
|
+
description: `Could not download Go toolchain.`,
|
|
1035
1269
|
errorCode: 'SNYK-OS-GO-0009',
|
|
1036
1270
|
level: 'error',
|
|
1037
1271
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1048,6 +1282,7 @@ exports.ToolchainNotAvailableError = ToolchainNotAvailableError;
|
|
|
1048
1282
|
* @summary Missing property
|
|
1049
1283
|
* @category OpenSourceEcosystems
|
|
1050
1284
|
* @param {string} details the specific details that causes this error
|
|
1285
|
+
* @param {string} description the general description for this error
|
|
1051
1286
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1052
1287
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1053
1288
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1059,6 +1294,7 @@ class MissingRequirementFromPomError extends problem_error_1.ProblemError {
|
|
|
1059
1294
|
title: 'Missing property',
|
|
1060
1295
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0001',
|
|
1061
1296
|
status: 422,
|
|
1297
|
+
description: `The required property is missing from the pom object.`,
|
|
1062
1298
|
errorCode: 'SNYK-OS-MAVEN-0001',
|
|
1063
1299
|
level: 'error',
|
|
1064
1300
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1075,6 +1311,7 @@ exports.MissingRequirementFromPomError = MissingRequirementFromPomError;
|
|
|
1075
1311
|
* @summary Unable to resolve value for property
|
|
1076
1312
|
* @category OpenSourceEcosystems
|
|
1077
1313
|
* @param {string} details the specific details that causes this error
|
|
1314
|
+
* @param {string} description the general description for this error
|
|
1078
1315
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1079
1316
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1080
1317
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1086,6 +1323,7 @@ class UnableToResolveValueForPropertyError extends problem_error_1.ProblemError
|
|
|
1086
1323
|
title: 'Unable to resolve value for property',
|
|
1087
1324
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0002',
|
|
1088
1325
|
status: 422,
|
|
1326
|
+
description: `The targeted property could not be resolved with a valid value.`,
|
|
1089
1327
|
errorCode: 'SNYK-OS-MAVEN-0002',
|
|
1090
1328
|
level: 'error',
|
|
1091
1329
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1102,6 +1340,7 @@ exports.UnableToResolveValueForPropertyError = UnableToResolveValueForPropertyEr
|
|
|
1102
1340
|
* @summary Unable to resolve version for property
|
|
1103
1341
|
* @category OpenSourceEcosystems
|
|
1104
1342
|
* @param {string} details the specific details that causes this error
|
|
1343
|
+
* @param {string} description the general description for this error
|
|
1105
1344
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1106
1345
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1107
1346
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1113,6 +1352,7 @@ class UnableToResolveVersionForPropertyError extends problem_error_1.ProblemErro
|
|
|
1113
1352
|
title: 'Unable to resolve version for property',
|
|
1114
1353
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0003',
|
|
1115
1354
|
status: 500,
|
|
1355
|
+
description: `The targeted property could not be resolved with a valid version.`,
|
|
1116
1356
|
errorCode: 'SNYK-OS-MAVEN-0003',
|
|
1117
1357
|
level: 'error',
|
|
1118
1358
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1129,6 +1369,7 @@ exports.UnableToResolveVersionForPropertyError = UnableToResolveVersionForProper
|
|
|
1129
1369
|
* @summary Cyclic property detected in POM file
|
|
1130
1370
|
* @category OpenSourceEcosystems
|
|
1131
1371
|
* @param {string} details the specific details that causes this error
|
|
1372
|
+
* @param {string} description the general description for this error
|
|
1132
1373
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1133
1374
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1134
1375
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1140,6 +1381,7 @@ class CyclicPropertyDetectedInPomFileError extends problem_error_1.ProblemError
|
|
|
1140
1381
|
title: 'Cyclic property detected in POM file',
|
|
1141
1382
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0004',
|
|
1142
1383
|
status: 422,
|
|
1384
|
+
description: `There is circular dependency among properties in the Maven project's configuration file (POM), preventing proper resolution and causing an error.`,
|
|
1143
1385
|
errorCode: 'SNYK-OS-MAVEN-0004',
|
|
1144
1386
|
level: 'error',
|
|
1145
1387
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1156,6 +1398,7 @@ exports.CyclicPropertyDetectedInPomFileError = CyclicPropertyDetectedInPomFileEr
|
|
|
1156
1398
|
* @summary Error parsing the XML file
|
|
1157
1399
|
* @category OpenSourceEcosystems
|
|
1158
1400
|
* @param {string} details the specific details that causes this error
|
|
1401
|
+
* @param {string} description the general description for this error
|
|
1159
1402
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1160
1403
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1161
1404
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1167,6 +1410,7 @@ class UnableToParseXMLError extends problem_error_1.ProblemError {
|
|
|
1167
1410
|
title: 'Error parsing the XML file',
|
|
1168
1411
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0005',
|
|
1169
1412
|
status: 422,
|
|
1413
|
+
description: `There is an error parsing the XML file. This could be referring to either pom.xml or maven-metadata.xml.`,
|
|
1170
1414
|
errorCode: 'SNYK-OS-MAVEN-0005',
|
|
1171
1415
|
level: 'error',
|
|
1172
1416
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1183,6 +1427,7 @@ exports.UnableToParseXMLError = UnableToParseXMLError;
|
|
|
1183
1427
|
* @summary Invalid coordinates provided
|
|
1184
1428
|
* @category OpenSourceEcosystems
|
|
1185
1429
|
* @param {string} details the specific details that causes this error
|
|
1430
|
+
* @param {string} description the general description for this error
|
|
1186
1431
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1187
1432
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1188
1433
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1194,6 +1439,7 @@ class InvalidCoordinatesError extends problem_error_1.ProblemError {
|
|
|
1194
1439
|
title: 'Invalid coordinates provided',
|
|
1195
1440
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0006',
|
|
1196
1441
|
status: 422,
|
|
1442
|
+
description: `The coordinates provided for a project were invalid.`,
|
|
1197
1443
|
errorCode: 'SNYK-OS-MAVEN-0006',
|
|
1198
1444
|
level: 'error',
|
|
1199
1445
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1210,6 +1456,7 @@ exports.InvalidCoordinatesError = InvalidCoordinatesError;
|
|
|
1210
1456
|
* @summary Skipping group
|
|
1211
1457
|
* @category OpenSourceEcosystems
|
|
1212
1458
|
* @param {string} details the specific details that causes this error
|
|
1459
|
+
* @param {string} description the general description for this error
|
|
1213
1460
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1214
1461
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1215
1462
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1221,6 +1468,7 @@ class SkippedGroupError extends problem_error_1.ProblemError {
|
|
|
1221
1468
|
title: 'Skipping group',
|
|
1222
1469
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0007',
|
|
1223
1470
|
status: 422,
|
|
1471
|
+
description: `Skipping a specific groupId starting due to remapped coordinates.`,
|
|
1224
1472
|
errorCode: 'SNYK-OS-MAVEN-0007',
|
|
1225
1473
|
level: 'error',
|
|
1226
1474
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1237,6 +1485,7 @@ exports.SkippedGroupError = SkippedGroupError;
|
|
|
1237
1485
|
* @summary Pom file not found
|
|
1238
1486
|
* @category OpenSourceEcosystems
|
|
1239
1487
|
* @param {string} details the specific details that causes this error
|
|
1488
|
+
* @param {string} description the general description for this error
|
|
1240
1489
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1241
1490
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1242
1491
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1248,6 +1497,7 @@ class PomFileNotFoundError extends problem_error_1.ProblemError {
|
|
|
1248
1497
|
title: 'Pom file not found',
|
|
1249
1498
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0008',
|
|
1250
1499
|
status: 422,
|
|
1500
|
+
description: `The pom file was not found in Maven repository.`,
|
|
1251
1501
|
errorCode: 'SNYK-OS-MAVEN-0008',
|
|
1252
1502
|
level: 'error',
|
|
1253
1503
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1264,6 +1514,7 @@ exports.PomFileNotFoundError = PomFileNotFoundError;
|
|
|
1264
1514
|
* @summary Missing project from POM
|
|
1265
1515
|
* @category OpenSourceEcosystems
|
|
1266
1516
|
* @param {string} details the specific details that causes this error
|
|
1517
|
+
* @param {string} description the general description for this error
|
|
1267
1518
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1268
1519
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1269
1520
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1275,6 +1526,7 @@ class MissingProjectFromPomError extends problem_error_1.ProblemError {
|
|
|
1275
1526
|
title: 'Missing project from POM',
|
|
1276
1527
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0009',
|
|
1277
1528
|
status: 422,
|
|
1529
|
+
description: `A project element is missing from POM.`,
|
|
1278
1530
|
errorCode: 'SNYK-OS-MAVEN-0009',
|
|
1279
1531
|
level: 'error',
|
|
1280
1532
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1291,6 +1543,7 @@ exports.MissingProjectFromPomError = MissingProjectFromPomError;
|
|
|
1291
1543
|
* @summary Cannot resolve the target POM from the input XML
|
|
1292
1544
|
* @category OpenSourceEcosystems
|
|
1293
1545
|
* @param {string} details the specific details that causes this error
|
|
1546
|
+
* @param {string} description the general description for this error
|
|
1294
1547
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1295
1548
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1296
1549
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1302,6 +1555,7 @@ class CannotResolveTargetPomFromXmlError extends problem_error_1.ProblemError {
|
|
|
1302
1555
|
title: 'Cannot resolve the target POM from the input XML',
|
|
1303
1556
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0010',
|
|
1304
1557
|
status: 422,
|
|
1558
|
+
description: `Cannot resolve the targeted POM from the input XML.`,
|
|
1305
1559
|
errorCode: 'SNYK-OS-MAVEN-0010',
|
|
1306
1560
|
level: 'error',
|
|
1307
1561
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1318,6 +1572,7 @@ exports.CannotResolveTargetPomFromXmlError = CannotResolveTargetPomFromXmlError;
|
|
|
1318
1572
|
* @summary Cannot resolve the target POM from the repository
|
|
1319
1573
|
* @category OpenSourceEcosystems
|
|
1320
1574
|
* @param {string} details the specific details that causes this error
|
|
1575
|
+
* @param {string} description the general description for this error
|
|
1321
1576
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1322
1577
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1323
1578
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1329,6 +1584,7 @@ class CannotResolveTargetPomFromRepoError extends problem_error_1.ProblemError {
|
|
|
1329
1584
|
title: 'Cannot resolve the target POM from the repository',
|
|
1330
1585
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0011',
|
|
1331
1586
|
status: 404,
|
|
1587
|
+
description: `Cannot resolve the targeted POM from the repository.`,
|
|
1332
1588
|
errorCode: 'SNYK-OS-MAVEN-0011',
|
|
1333
1589
|
level: 'error',
|
|
1334
1590
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1345,6 +1601,7 @@ exports.CannotResolveTargetPomFromRepoError = CannotResolveTargetPomFromRepoErro
|
|
|
1345
1601
|
* @summary Cannot get the build file repository
|
|
1346
1602
|
* @category OpenSourceEcosystems
|
|
1347
1603
|
* @param {string} details the specific details that causes this error
|
|
1604
|
+
* @param {string} description the general description for this error
|
|
1348
1605
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1349
1606
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1350
1607
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1356,6 +1613,7 @@ class CannotGetBuildFileFromRepoError extends problem_error_1.ProblemError {
|
|
|
1356
1613
|
title: 'Cannot get the build file repository',
|
|
1357
1614
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0012',
|
|
1358
1615
|
status: 404,
|
|
1616
|
+
description: `Cannot get the build file repository.`,
|
|
1359
1617
|
errorCode: 'SNYK-OS-MAVEN-0012',
|
|
1360
1618
|
level: 'error',
|
|
1361
1619
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1372,6 +1630,7 @@ exports.CannotGetBuildFileFromRepoError = CannotGetBuildFileFromRepoError;
|
|
|
1372
1630
|
* @summary Unable to create hosted git info
|
|
1373
1631
|
* @category OpenSourceEcosystems
|
|
1374
1632
|
* @param {string} details the specific details that causes this error
|
|
1633
|
+
* @param {string} description the general description for this error
|
|
1375
1634
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1376
1635
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1377
1636
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1383,6 +1642,7 @@ class CannotCreateGitHostError extends problem_error_1.ProblemError {
|
|
|
1383
1642
|
title: 'Unable to create hosted git info',
|
|
1384
1643
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0013',
|
|
1385
1644
|
status: 500,
|
|
1645
|
+
description: `Cannot create source URL.`,
|
|
1386
1646
|
errorCode: 'SNYK-OS-MAVEN-0013',
|
|
1387
1647
|
level: 'error',
|
|
1388
1648
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1399,6 +1659,7 @@ exports.CannotCreateGitHostError = CannotCreateGitHostError;
|
|
|
1399
1659
|
* @summary No released version for versions range
|
|
1400
1660
|
* @category OpenSourceEcosystems
|
|
1401
1661
|
* @param {string} details the specific details that causes this error
|
|
1662
|
+
* @param {string} description the general description for this error
|
|
1402
1663
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1403
1664
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1404
1665
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1410,6 +1671,7 @@ class NoReleasedVersionForVersionsRangeError extends problem_error_1.ProblemErro
|
|
|
1410
1671
|
title: 'No released version for versions range',
|
|
1411
1672
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0014',
|
|
1412
1673
|
status: 422,
|
|
1674
|
+
description: `There was no version released for the specified versions range.`,
|
|
1413
1675
|
errorCode: 'SNYK-OS-MAVEN-0014',
|
|
1414
1676
|
level: 'error',
|
|
1415
1677
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1426,6 +1688,7 @@ exports.NoReleasedVersionForVersionsRangeError = NoReleasedVersionForVersionsRan
|
|
|
1426
1688
|
* @summary Source is not supported
|
|
1427
1689
|
* @category OpenSourceEcosystems
|
|
1428
1690
|
* @param {string} details the specific details that causes this error
|
|
1691
|
+
* @param {string} description the general description for this error
|
|
1429
1692
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1430
1693
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1431
1694
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1437,6 +1700,7 @@ class SourceNotSupportedError extends problem_error_1.ProblemError {
|
|
|
1437
1700
|
title: 'Source is not supported',
|
|
1438
1701
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0015',
|
|
1439
1702
|
status: 422,
|
|
1703
|
+
description: `The source used is not supported by fetcher. The supported sources are: github, bitbucket, gitlab.`,
|
|
1440
1704
|
errorCode: 'SNYK-OS-MAVEN-0015',
|
|
1441
1705
|
level: 'error',
|
|
1442
1706
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -1453,6 +1717,7 @@ exports.SourceNotSupportedError = SourceNotSupportedError;
|
|
|
1453
1717
|
* @summary Timeout when processing the dependency tree
|
|
1454
1718
|
* @category OpenSourceEcosystems
|
|
1455
1719
|
* @param {string} details the specific details that causes this error
|
|
1720
|
+
* @param {string} description the general description for this error
|
|
1456
1721
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1457
1722
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1458
1723
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1464,6 +1729,7 @@ class TimeoutWhenProcessingTheDepTreeError extends problem_error_1.ProblemError
|
|
|
1464
1729
|
title: 'Timeout when processing the dependency tree',
|
|
1465
1730
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0016',
|
|
1466
1731
|
status: 422,
|
|
1732
|
+
description: `There was an timeout when processing the dependency tree.`,
|
|
1467
1733
|
errorCode: 'SNYK-OS-MAVEN-0016',
|
|
1468
1734
|
level: 'error',
|
|
1469
1735
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1490,6 +1756,7 @@ exports.TimeoutWhenProcessingTheDepTreeError = TimeoutWhenProcessingTheDepTreeEr
|
|
|
1490
1756
|
* @summary Cannot reach one or more Maven repositories configured under your Snyk organisations language settings
|
|
1491
1757
|
* @category OpenSourceEcosystems
|
|
1492
1758
|
* @param {string} details the specific details that causes this error
|
|
1759
|
+
* @param {string} description the general description for this error
|
|
1493
1760
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1494
1761
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1495
1762
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1501,6 +1768,14 @@ class CannotReachConfiguredRepositoryError extends problem_error_1.ProblemError
|
|
|
1501
1768
|
title: 'Cannot reach one or more Maven repositories configured under your Snyk organisations language settings',
|
|
1502
1769
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-maven-0017',
|
|
1503
1770
|
status: 404,
|
|
1771
|
+
description: `One or more of the Maven repositories configured under your organisations language settings cannot be reached.
|
|
1772
|
+
|
|
1773
|
+
This error can happen for a variety of reasons:
|
|
1774
|
+
|
|
1775
|
+
* If using broker it could be a misconfiguration in your broker client. Double check the username and password.
|
|
1776
|
+
* It could be network connectivity between the broker client and Snyk or between the broker client and the configured repository, check your firewall rules.
|
|
1777
|
+
|
|
1778
|
+
In order to solve this issue, refer to the specific details of this error message to identify which repository is causing issues. `,
|
|
1504
1779
|
errorCode: 'SNYK-OS-MAVEN-0017',
|
|
1505
1780
|
level: 'error',
|
|
1506
1781
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1519,6 +1794,7 @@ exports.CannotReachConfiguredRepositoryError = CannotReachConfiguredRepositoryEr
|
|
|
1519
1794
|
* @summary No repository found for A NPM package
|
|
1520
1795
|
* @category OpenSourceEcosystems
|
|
1521
1796
|
* @param {string} details the specific details that causes this error
|
|
1797
|
+
* @param {string} description the general description for this error
|
|
1522
1798
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1523
1799
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1524
1800
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1530,6 +1806,7 @@ class NoRepoFoundForTheNPMPackageError extends problem_error_1.ProblemError {
|
|
|
1530
1806
|
title: 'No repository found for A NPM package',
|
|
1531
1807
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0001',
|
|
1532
1808
|
status: 422,
|
|
1809
|
+
description: `No repository found for the NPM package.`,
|
|
1533
1810
|
errorCode: 'SNYK-OS-NODEJS-0001',
|
|
1534
1811
|
level: 'error',
|
|
1535
1812
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1546,6 +1823,7 @@ exports.NoRepoFoundForTheNPMPackageError = NoRepoFoundForTheNPMPackageError;
|
|
|
1546
1823
|
* @summary Could not parse NPM registry URL
|
|
1547
1824
|
* @category OpenSourceEcosystems
|
|
1548
1825
|
* @param {string} details the specific details that causes this error
|
|
1826
|
+
* @param {string} description the general description for this error
|
|
1549
1827
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1550
1828
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1551
1829
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1557,6 +1835,7 @@ class CouldNotParseNPMRegistryURLError extends problem_error_1.ProblemError {
|
|
|
1557
1835
|
title: 'Could not parse NPM registry URL',
|
|
1558
1836
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0002',
|
|
1559
1837
|
status: 422,
|
|
1838
|
+
description: `Could not parse NPM registry URL.`,
|
|
1560
1839
|
errorCode: 'SNYK-OS-NODEJS-0002',
|
|
1561
1840
|
level: 'error',
|
|
1562
1841
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1573,6 +1852,7 @@ exports.CouldNotParseNPMRegistryURLError = CouldNotParseNPMRegistryURLError;
|
|
|
1573
1852
|
* @summary Could not find a broker resolved URL
|
|
1574
1853
|
* @category OpenSourceEcosystems
|
|
1575
1854
|
* @param {string} details the specific details that causes this error
|
|
1855
|
+
* @param {string} description the general description for this error
|
|
1576
1856
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1577
1857
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1578
1858
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1584,6 +1864,7 @@ class CouldNotFindBrokerURLError extends problem_error_1.ProblemError {
|
|
|
1584
1864
|
title: 'Could not find a broker resolved URL',
|
|
1585
1865
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0003',
|
|
1586
1866
|
status: 422,
|
|
1867
|
+
description: `Could not find a broker resolved URL.`,
|
|
1587
1868
|
errorCode: 'SNYK-OS-NODEJS-0003',
|
|
1588
1869
|
level: 'error',
|
|
1589
1870
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1600,6 +1881,7 @@ exports.CouldNotFindBrokerURLError = CouldNotFindBrokerURLError;
|
|
|
1600
1881
|
* @summary Unable to replace broker URL
|
|
1601
1882
|
* @category OpenSourceEcosystems
|
|
1602
1883
|
* @param {string} details the specific details that causes this error
|
|
1884
|
+
* @param {string} description the general description for this error
|
|
1603
1885
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1604
1886
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1605
1887
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1611,6 +1893,7 @@ class UnableToReplaceBrokerURLError extends problem_error_1.ProblemError {
|
|
|
1611
1893
|
title: 'Unable to replace broker URL',
|
|
1612
1894
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0004',
|
|
1613
1895
|
status: 422,
|
|
1896
|
+
description: `Unable to replace all broker urls in lock file.`,
|
|
1614
1897
|
errorCode: 'SNYK-OS-NODEJS-0004',
|
|
1615
1898
|
level: 'error',
|
|
1616
1899
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1627,6 +1910,7 @@ exports.UnableToReplaceBrokerURLError = UnableToReplaceBrokerURLError;
|
|
|
1627
1910
|
* @summary Bad NPM version
|
|
1628
1911
|
* @category OpenSourceEcosystems
|
|
1629
1912
|
* @param {string} details the specific details that causes this error
|
|
1913
|
+
* @param {string} description the general description for this error
|
|
1630
1914
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1631
1915
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1632
1916
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1638,6 +1922,7 @@ class BadNPMVersionError extends problem_error_1.ProblemError {
|
|
|
1638
1922
|
title: 'Bad NPM version',
|
|
1639
1923
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0005',
|
|
1640
1924
|
status: 422,
|
|
1925
|
+
description: `The NPM version is not supported.`,
|
|
1641
1926
|
errorCode: 'SNYK-OS-NODEJS-0005',
|
|
1642
1927
|
level: 'error',
|
|
1643
1928
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -1654,6 +1939,7 @@ exports.BadNPMVersionError = BadNPMVersionError;
|
|
|
1654
1939
|
* @summary Unknown blob encoding on Github
|
|
1655
1940
|
* @category OpenSourceEcosystems
|
|
1656
1941
|
* @param {string} details the specific details that causes this error
|
|
1942
|
+
* @param {string} description the general description for this error
|
|
1657
1943
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1658
1944
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1659
1945
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1665,6 +1951,7 @@ class UnknownBlobEncodingOnGithubError extends problem_error_1.ProblemError {
|
|
|
1665
1951
|
title: 'Unknown blob encoding on Github',
|
|
1666
1952
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0006',
|
|
1667
1953
|
status: 422,
|
|
1954
|
+
description: `Unknown blob encoding on Github.`,
|
|
1668
1955
|
errorCode: 'SNYK-OS-NODEJS-0006',
|
|
1669
1956
|
level: 'error',
|
|
1670
1957
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1681,6 +1968,7 @@ exports.UnknownBlobEncodingOnGithubError = UnknownBlobEncodingOnGithubError;
|
|
|
1681
1968
|
* @summary No result from forked process
|
|
1682
1969
|
* @category OpenSourceEcosystems
|
|
1683
1970
|
* @param {string} details the specific details that causes this error
|
|
1971
|
+
* @param {string} description the general description for this error
|
|
1684
1972
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1685
1973
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1686
1974
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1692,6 +1980,7 @@ class NoResultsFromForkerProcessesError extends problem_error_1.ProblemError {
|
|
|
1692
1980
|
title: 'No result from forked process',
|
|
1693
1981
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0007',
|
|
1694
1982
|
status: 500,
|
|
1983
|
+
description: `No result from forked process.`,
|
|
1695
1984
|
errorCode: 'SNYK-OS-NODEJS-0007',
|
|
1696
1985
|
level: 'error',
|
|
1697
1986
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1708,6 +1997,7 @@ exports.NoResultsFromForkerProcessesError = NoResultsFromForkerProcessesError;
|
|
|
1708
1997
|
* @summary Child Process Execution Error
|
|
1709
1998
|
* @category OpenSourceEcosystems
|
|
1710
1999
|
* @param {string} details the specific details that causes this error
|
|
2000
|
+
* @param {string} description the general description for this error
|
|
1711
2001
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1712
2002
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1713
2003
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1719,6 +2009,7 @@ class ChildProcessExecutionError extends problem_error_1.ProblemError {
|
|
|
1719
2009
|
title: 'Child Process Execution Error',
|
|
1720
2010
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0008',
|
|
1721
2011
|
status: 500,
|
|
2012
|
+
description: `The child process encountered an error during execution.`,
|
|
1722
2013
|
errorCode: 'SNYK-OS-NODEJS-0008',
|
|
1723
2014
|
level: 'error',
|
|
1724
2015
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1735,6 +2026,7 @@ exports.ChildProcessExecutionError = ChildProcessExecutionError;
|
|
|
1735
2026
|
* @summary No valid package upgrades
|
|
1736
2027
|
* @category OpenSourceEcosystems
|
|
1737
2028
|
* @param {string} details the specific details that causes this error
|
|
2029
|
+
* @param {string} description the general description for this error
|
|
1738
2030
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1739
2031
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1740
2032
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1746,6 +2038,7 @@ class NoValidPackageUpgradesError extends problem_error_1.ProblemError {
|
|
|
1746
2038
|
title: 'No valid package upgrades',
|
|
1747
2039
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0009',
|
|
1748
2040
|
status: 422,
|
|
2041
|
+
description: `The system attempted to find valid upgrades for the packages specified in the lock file, but none were available.`,
|
|
1749
2042
|
errorCode: 'SNYK-OS-NODEJS-0009',
|
|
1750
2043
|
level: 'error',
|
|
1751
2044
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1762,6 +2055,7 @@ exports.NoValidPackageUpgradesError = NoValidPackageUpgradesError;
|
|
|
1762
2055
|
* @summary No dependency updates
|
|
1763
2056
|
* @category OpenSourceEcosystems
|
|
1764
2057
|
* @param {string} details the specific details that causes this error
|
|
2058
|
+
* @param {string} description the general description for this error
|
|
1765
2059
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1766
2060
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1767
2061
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1773,6 +2067,7 @@ class NoDependencyUpdatesError extends problem_error_1.ProblemError {
|
|
|
1773
2067
|
title: 'No dependency updates',
|
|
1774
2068
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0010',
|
|
1775
2069
|
status: 422,
|
|
2070
|
+
description: `There are no available updates for the dependencies.`,
|
|
1776
2071
|
errorCode: 'SNYK-OS-NODEJS-0010',
|
|
1777
2072
|
level: 'error',
|
|
1778
2073
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1789,6 +2084,7 @@ exports.NoDependencyUpdatesError = NoDependencyUpdatesError;
|
|
|
1789
2084
|
* @summary Could not parse JSON file
|
|
1790
2085
|
* @category OpenSourceEcosystems
|
|
1791
2086
|
* @param {string} details the specific details that causes this error
|
|
2087
|
+
* @param {string} description the general description for this error
|
|
1792
2088
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1793
2089
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1794
2090
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1800,6 +2096,7 @@ class CouldNotParseJSONFileError extends problem_error_1.ProblemError {
|
|
|
1800
2096
|
title: 'Could not parse JSON file',
|
|
1801
2097
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0011',
|
|
1802
2098
|
status: 422,
|
|
2099
|
+
description: `An error occurred while attempting to parse a JSON file.`,
|
|
1803
2100
|
errorCode: 'SNYK-OS-NODEJS-0011',
|
|
1804
2101
|
level: 'error',
|
|
1805
2102
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1816,6 +2113,7 @@ exports.CouldNotParseJSONFileError = CouldNotParseJSONFileError;
|
|
|
1816
2113
|
* @summary Could not Base64 encode
|
|
1817
2114
|
* @category OpenSourceEcosystems
|
|
1818
2115
|
* @param {string} details the specific details that causes this error
|
|
2116
|
+
* @param {string} description the general description for this error
|
|
1819
2117
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1820
2118
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1821
2119
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1827,6 +2125,7 @@ class Base64EncodeError extends problem_error_1.ProblemError {
|
|
|
1827
2125
|
title: 'Could not Base64 encode',
|
|
1828
2126
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0012',
|
|
1829
2127
|
status: 422,
|
|
2128
|
+
description: `An error occurred while attempting to perform Base64 encoding.`,
|
|
1830
2129
|
errorCode: 'SNYK-OS-NODEJS-0012',
|
|
1831
2130
|
level: 'error',
|
|
1832
2131
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1843,6 +2142,7 @@ exports.Base64EncodeError = Base64EncodeError;
|
|
|
1843
2142
|
* @summary Could not Base64 decode
|
|
1844
2143
|
* @category OpenSourceEcosystems
|
|
1845
2144
|
* @param {string} details the specific details that causes this error
|
|
2145
|
+
* @param {string} description the general description for this error
|
|
1846
2146
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1847
2147
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1848
2148
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1854,6 +2154,7 @@ class Base64DecodeError extends problem_error_1.ProblemError {
|
|
|
1854
2154
|
title: 'Could not Base64 decode',
|
|
1855
2155
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0013',
|
|
1856
2156
|
status: 422,
|
|
2157
|
+
description: `An error occurred while attempting to perform Base64 decoding.`,
|
|
1857
2158
|
errorCode: 'SNYK-OS-NODEJS-0013',
|
|
1858
2159
|
level: 'error',
|
|
1859
2160
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1870,6 +2171,7 @@ exports.Base64DecodeError = Base64DecodeError;
|
|
|
1870
2171
|
* @summary Missing supported file
|
|
1871
2172
|
* @category OpenSourceEcosystems
|
|
1872
2173
|
* @param {string} details the specific details that causes this error
|
|
2174
|
+
* @param {string} description the general description for this error
|
|
1873
2175
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1874
2176
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1875
2177
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1881,6 +2183,7 @@ class MissingSupportedFileError extends problem_error_1.ProblemError {
|
|
|
1881
2183
|
title: 'Missing supported file',
|
|
1882
2184
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0014',
|
|
1883
2185
|
status: 400,
|
|
2186
|
+
description: `Could not find supported file.`,
|
|
1884
2187
|
errorCode: 'SNYK-OS-NODEJS-0014',
|
|
1885
2188
|
level: 'error',
|
|
1886
2189
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1897,6 +2200,7 @@ exports.MissingSupportedFileError = MissingSupportedFileError;
|
|
|
1897
2200
|
* @summary Invalid configuration
|
|
1898
2201
|
* @category OpenSourceEcosystems
|
|
1899
2202
|
* @param {string} details the specific details that causes this error
|
|
2203
|
+
* @param {string} description the general description for this error
|
|
1900
2204
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1901
2205
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1902
2206
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1908,6 +2212,7 @@ class InvalidConfigurationError extends problem_error_1.ProblemError {
|
|
|
1908
2212
|
title: 'Invalid configuration',
|
|
1909
2213
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0015',
|
|
1910
2214
|
status: 400,
|
|
2215
|
+
description: `The configuration parameter does not meet the expected data type. Please ensure the provided value is of the correct data type.`,
|
|
1911
2216
|
errorCode: 'SNYK-OS-NODEJS-0015',
|
|
1912
2217
|
level: 'warn',
|
|
1913
2218
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1931,6 +2236,7 @@ exports.InvalidConfigurationError = InvalidConfigurationError;
|
|
|
1931
2236
|
* @summary Out of Sync Error
|
|
1932
2237
|
* @category OpenSourceEcosystems
|
|
1933
2238
|
* @param {string} details the specific details that causes this error
|
|
2239
|
+
* @param {string} description the general description for this error
|
|
1934
2240
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1935
2241
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1936
2242
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1942,6 +2248,11 @@ class PnpmOutOfSyncError extends problem_error_1.ProblemError {
|
|
|
1942
2248
|
title: 'Out of Sync Error',
|
|
1943
2249
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0016',
|
|
1944
2250
|
status: 422,
|
|
2251
|
+
description: `Sometimes a project may become out of sync between the lockfile and the manifest file. This might happen if the package.json is modified or updated but the pnpm-lock.yaml is not.
|
|
2252
|
+
|
|
2253
|
+
This can be resolved by ensuring the lockfile and manifest file are correctly synced, by executing pnpm install.
|
|
2254
|
+
|
|
2255
|
+
In some cases, it may be necessary to delete the node_modules folder and the pnpm-lock.yaml and run pnpm install again to force a full reinstall. `,
|
|
1945
2256
|
errorCode: 'SNYK-OS-NODEJS-0016',
|
|
1946
2257
|
level: 'error',
|
|
1947
2258
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1960,6 +2271,7 @@ exports.PnpmOutOfSyncError = PnpmOutOfSyncError;
|
|
|
1960
2271
|
* @summary Unsupported pnpm lockfile version
|
|
1961
2272
|
* @category OpenSourceEcosystems
|
|
1962
2273
|
* @param {string} details the specific details that causes this error
|
|
2274
|
+
* @param {string} description the general description for this error
|
|
1963
2275
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1964
2276
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1965
2277
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1971,6 +2283,7 @@ class PnpmUnsupportedLockfileVersionError extends problem_error_1.ProblemError {
|
|
|
1971
2283
|
title: 'Unsupported pnpm lockfile version',
|
|
1972
2284
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0017',
|
|
1973
2285
|
status: 422,
|
|
2286
|
+
description: `The lockfile version is not supported. Supported lockfile versions for pnpm include v5 and v6.`,
|
|
1974
2287
|
errorCode: 'SNYK-OS-NODEJS-0017',
|
|
1975
2288
|
level: 'error',
|
|
1976
2289
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -1987,6 +2300,7 @@ exports.PnpmUnsupportedLockfileVersionError = PnpmUnsupportedLockfileVersionErro
|
|
|
1987
2300
|
* @summary Yarn package not found
|
|
1988
2301
|
* @category OpenSourceEcosystems
|
|
1989
2302
|
* @param {string} details the specific details that causes this error
|
|
2303
|
+
* @param {string} description the general description for this error
|
|
1990
2304
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
1991
2305
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
1992
2306
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -1998,6 +2312,7 @@ class YarnPackageNotFoundError extends problem_error_1.ProblemError {
|
|
|
1998
2312
|
title: 'Yarn package not found',
|
|
1999
2313
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0019',
|
|
2000
2314
|
status: 404,
|
|
2315
|
+
description: `Snyk could not find the package in the Yarn registry.`,
|
|
2001
2316
|
errorCode: 'SNYK-OS-NODEJS-0019',
|
|
2002
2317
|
level: 'error',
|
|
2003
2318
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2014,6 +2329,7 @@ exports.YarnPackageNotFoundError = YarnPackageNotFoundError;
|
|
|
2014
2329
|
* @summary Unable to reach package registry
|
|
2015
2330
|
* @category OpenSourceEcosystems
|
|
2016
2331
|
* @param {string} details the specific details that causes this error
|
|
2332
|
+
* @param {string} description the general description for this error
|
|
2017
2333
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2018
2334
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2019
2335
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2025,6 +2341,7 @@ class UnableToReachRegistryError extends problem_error_1.ProblemError {
|
|
|
2025
2341
|
title: 'Unable to reach package registry',
|
|
2026
2342
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0020',
|
|
2027
2343
|
status: 503,
|
|
2344
|
+
description: `Snyk could not reach the node package registry.`,
|
|
2028
2345
|
errorCode: 'SNYK-OS-NODEJS-0020',
|
|
2029
2346
|
level: 'error',
|
|
2030
2347
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2041,6 +2358,7 @@ exports.UnableToReachRegistryError = UnableToReachRegistryError;
|
|
|
2041
2358
|
* @summary Lock file is outdated
|
|
2042
2359
|
* @category OpenSourceEcosystems
|
|
2043
2360
|
* @param {string} details the specific details that causes this error
|
|
2361
|
+
* @param {string} description the general description for this error
|
|
2044
2362
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2045
2363
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2046
2364
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2052,6 +2370,7 @@ class OutdatedYarnLockFileError extends problem_error_1.ProblemError {
|
|
|
2052
2370
|
title: 'Lock file is outdated',
|
|
2053
2371
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0021',
|
|
2054
2372
|
status: 409,
|
|
2373
|
+
description: `The lock file is outdated. Update the lock file and try again.`,
|
|
2055
2374
|
errorCode: 'SNYK-OS-NODEJS-0021',
|
|
2056
2375
|
level: 'error',
|
|
2057
2376
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2068,6 +2387,7 @@ exports.OutdatedYarnLockFileError = OutdatedYarnLockFileError;
|
|
|
2068
2387
|
* @summary Unable to read from remote repository
|
|
2069
2388
|
* @category OpenSourceEcosystems
|
|
2070
2389
|
* @param {string} details the specific details that causes this error
|
|
2390
|
+
* @param {string} description the general description for this error
|
|
2071
2391
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2072
2392
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2073
2393
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2079,6 +2399,7 @@ class PermissionDeniedError extends problem_error_1.ProblemError {
|
|
|
2079
2399
|
title: 'Unable to read from remote repository',
|
|
2080
2400
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-nodejs-0022',
|
|
2081
2401
|
status: 401,
|
|
2402
|
+
description: `Snyk does not have sufficient permissions to access the repository, or the repository does not exist.`,
|
|
2082
2403
|
errorCode: 'SNYK-OS-NODEJS-0022',
|
|
2083
2404
|
level: 'error',
|
|
2084
2405
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2098,6 +2419,7 @@ exports.PermissionDeniedError = PermissionDeniedError;
|
|
|
2098
2419
|
* @summary Unsupported manifest file type for remediation
|
|
2099
2420
|
* @category OpenSourceEcosystems
|
|
2100
2421
|
* @param {string} details the specific details that causes this error
|
|
2422
|
+
* @param {string} description the general description for this error
|
|
2101
2423
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2102
2424
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2103
2425
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2109,6 +2431,7 @@ class UnsupportedRequirementsFileError extends problem_error_1.ProblemError {
|
|
|
2109
2431
|
title: 'Unsupported manifest file type for remediation',
|
|
2110
2432
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0001',
|
|
2111
2433
|
status: 422,
|
|
2434
|
+
description: `The provided requirements file is not supported by Snyk for Python.`,
|
|
2112
2435
|
errorCode: 'SNYK-OS-PYTHON-0001',
|
|
2113
2436
|
level: 'error',
|
|
2114
2437
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -2127,6 +2450,7 @@ exports.UnsupportedRequirementsFileError = UnsupportedRequirementsFileError;
|
|
|
2127
2450
|
* @summary Received more manifests than expected
|
|
2128
2451
|
* @category OpenSourceEcosystems
|
|
2129
2452
|
* @param {string} details the specific details that causes this error
|
|
2453
|
+
* @param {string} description the general description for this error
|
|
2130
2454
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2131
2455
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2132
2456
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2138,6 +2462,7 @@ class TooManyManifestFilesError extends problem_error_1.ProblemError {
|
|
|
2138
2462
|
title: 'Received more manifests than expected',
|
|
2139
2463
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0002',
|
|
2140
2464
|
status: 422,
|
|
2465
|
+
description: `Too many manifest files were provided in the request body.`,
|
|
2141
2466
|
errorCode: 'SNYK-OS-PYTHON-0002',
|
|
2142
2467
|
level: 'error',
|
|
2143
2468
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -2154,6 +2479,7 @@ exports.TooManyManifestFilesError = TooManyManifestFilesError;
|
|
|
2154
2479
|
* @summary Failed to apply dependency updates
|
|
2155
2480
|
* @category OpenSourceEcosystems
|
|
2156
2481
|
* @param {string} details the specific details that causes this error
|
|
2482
|
+
* @param {string} description the general description for this error
|
|
2157
2483
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2158
2484
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2159
2485
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2165,6 +2491,7 @@ class FailedToApplyDependencyUpdatesError extends problem_error_1.ProblemError {
|
|
|
2165
2491
|
title: 'Failed to apply dependency updates',
|
|
2166
2492
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0003',
|
|
2167
2493
|
status: 422,
|
|
2494
|
+
description: `An error occurred while updating dependencies.`,
|
|
2168
2495
|
errorCode: 'SNYK-OS-PYTHON-0003',
|
|
2169
2496
|
level: 'error',
|
|
2170
2497
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -2182,6 +2509,7 @@ exports.FailedToApplyDependencyUpdatesError = FailedToApplyDependencyUpdatesErro
|
|
|
2182
2509
|
* @summary Python package not found
|
|
2183
2510
|
* @category OpenSourceEcosystems
|
|
2184
2511
|
* @param {string} details the specific details that causes this error
|
|
2512
|
+
* @param {string} description the general description for this error
|
|
2185
2513
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2186
2514
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2187
2515
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2193,6 +2521,8 @@ class PythonPackageNotFoundError extends problem_error_1.ProblemError {
|
|
|
2193
2521
|
title: 'Python package not found',
|
|
2194
2522
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0004',
|
|
2195
2523
|
status: 422,
|
|
2524
|
+
description: `A package listed in the manifest file cannot be found in the Python Package Index(PyPI).
|
|
2525
|
+
Make sure all packages included in the manifest file are public existing ones.`,
|
|
2196
2526
|
errorCode: 'SNYK-OS-PYTHON-0004',
|
|
2197
2527
|
level: 'error',
|
|
2198
2528
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2210,6 +2540,7 @@ exports.PythonPackageNotFoundError = PythonPackageNotFoundError;
|
|
|
2210
2540
|
* @summary Syntax errors found in manifest file
|
|
2211
2541
|
* @category OpenSourceEcosystems
|
|
2212
2542
|
* @param {string} details the specific details that causes this error
|
|
2543
|
+
* @param {string} description the general description for this error
|
|
2213
2544
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2214
2545
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2215
2546
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2221,6 +2552,8 @@ class SyntaxIssuesError extends problem_error_1.ProblemError {
|
|
|
2221
2552
|
title: 'Syntax errors found in manifest file',
|
|
2222
2553
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0005',
|
|
2223
2554
|
status: 422,
|
|
2555
|
+
description: `The manifest file has syntax issues like incorrect package names or unsupported characters.
|
|
2556
|
+
Make sure the manifest file follows the syntax stardards and can be installed locally as well.`,
|
|
2224
2557
|
errorCode: 'SNYK-OS-PYTHON-0005',
|
|
2225
2558
|
level: 'error',
|
|
2226
2559
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2239,6 +2572,7 @@ exports.SyntaxIssuesError = SyntaxIssuesError;
|
|
|
2239
2572
|
* @summary Python version not supported
|
|
2240
2573
|
* @category OpenSourceEcosystems
|
|
2241
2574
|
* @param {string} details the specific details that causes this error
|
|
2575
|
+
* @param {string} description the general description for this error
|
|
2242
2576
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2243
2577
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2244
2578
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2250,6 +2584,9 @@ class PipUnsupportedPythonVersionError extends problem_error_1.ProblemError {
|
|
|
2250
2584
|
title: 'Python version not supported',
|
|
2251
2585
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0006',
|
|
2252
2586
|
status: 422,
|
|
2587
|
+
description: `At least one of the packages requires a Python version that doesn't match the one used in the project scan.
|
|
2588
|
+
Make sure to select a suitable Python version from the organization Python language settings.
|
|
2589
|
+
Alternatively, add a \`.snyk\` file for Python version selection override.`,
|
|
2253
2590
|
errorCode: 'SNYK-OS-PYTHON-0006',
|
|
2254
2591
|
level: 'error',
|
|
2255
2592
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2267,6 +2604,7 @@ exports.PipUnsupportedPythonVersionError = PipUnsupportedPythonVersionError;
|
|
|
2267
2604
|
* @summary Packages versions caused conflicts
|
|
2268
2605
|
* @category OpenSourceEcosystems
|
|
2269
2606
|
* @param {string} details the specific details that causes this error
|
|
2607
|
+
* @param {string} description the general description for this error
|
|
2270
2608
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2271
2609
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2272
2610
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2278,6 +2616,8 @@ class PythonVersionConfictError extends problem_error_1.ProblemError {
|
|
|
2278
2616
|
title: 'Packages versions caused conflicts',
|
|
2279
2617
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0007',
|
|
2280
2618
|
status: 422,
|
|
2619
|
+
description: `Two or more packages have conflicting version requirements that cannot be resolved.
|
|
2620
|
+
Make sure no two packages and their requirements cause conflicts and that the manifest file can be installed locally.`,
|
|
2281
2621
|
errorCode: 'SNYK-OS-PYTHON-0007',
|
|
2282
2622
|
level: 'error',
|
|
2283
2623
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2296,6 +2636,7 @@ exports.PythonVersionConfictError = PythonVersionConfictError;
|
|
|
2296
2636
|
* @summary No matching distribution found for one or more of the packages
|
|
2297
2637
|
* @category OpenSourceEcosystems
|
|
2298
2638
|
* @param {string} details the specific details that causes this error
|
|
2639
|
+
* @param {string} description the general description for this error
|
|
2299
2640
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2300
2641
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2301
2642
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2307,6 +2648,9 @@ class PipNoMatchingPythonDistributionError extends problem_error_1.ProblemError
|
|
|
2307
2648
|
title: 'No matching distribution found for one or more of the packages',
|
|
2308
2649
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0008',
|
|
2309
2650
|
status: 422,
|
|
2651
|
+
description: `At least one of the packages requires a Python version that doesn't match the one used in the project scan.
|
|
2652
|
+
Make sure to select a suitable Python version from the organization Python language settings.
|
|
2653
|
+
Alternatively, add a \`.snyk\` file for Python version selection override.`,
|
|
2310
2654
|
errorCode: 'SNYK-OS-PYTHON-0008',
|
|
2311
2655
|
level: 'error',
|
|
2312
2656
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2323,6 +2667,7 @@ exports.PipNoMatchingPythonDistributionError = PipNoMatchingPythonDistributionEr
|
|
|
2323
2667
|
* @summary Packages installation failed
|
|
2324
2668
|
* @category OpenSourceEcosystems
|
|
2325
2669
|
* @param {string} details the specific details that causes this error
|
|
2670
|
+
* @param {string} description the general description for this error
|
|
2326
2671
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2327
2672
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2328
2673
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2334,6 +2679,7 @@ class InstallationFailureError extends problem_error_1.ProblemError {
|
|
|
2334
2679
|
title: 'Packages installation failed',
|
|
2335
2680
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0009',
|
|
2336
2681
|
status: 422,
|
|
2682
|
+
description: `Some packages failed during installation due to missing system dependencies, compilation errors, or other package-specific issues.`,
|
|
2337
2683
|
errorCode: 'SNYK-OS-PYTHON-0009',
|
|
2338
2684
|
level: 'error',
|
|
2339
2685
|
classification: types_1.Classification.UNSUPPORTED,
|
|
@@ -2351,6 +2697,7 @@ exports.InstallationFailureError = InstallationFailureError;
|
|
|
2351
2697
|
* @summary Python version not supported
|
|
2352
2698
|
* @category OpenSourceEcosystems
|
|
2353
2699
|
* @param {string} details the specific details that causes this error
|
|
2700
|
+
* @param {string} description the general description for this error
|
|
2354
2701
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2355
2702
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2356
2703
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2362,6 +2709,8 @@ class PipenvUnsupportedPythonVersionError extends problem_error_1.ProblemError {
|
|
|
2362
2709
|
title: 'Python version not supported',
|
|
2363
2710
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0010',
|
|
2364
2711
|
status: 422,
|
|
2712
|
+
description: `At least one of the packages requires a Python version that doesn't match the one used in the project scan.
|
|
2713
|
+
Make sure to use the correct python version in the requires section of the Pipfile.`,
|
|
2365
2714
|
errorCode: 'SNYK-OS-PYTHON-0010',
|
|
2366
2715
|
level: 'error',
|
|
2367
2716
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -2379,6 +2728,7 @@ exports.PipenvUnsupportedPythonVersionError = PipenvUnsupportedPythonVersionErro
|
|
|
2379
2728
|
* @summary No matching distribution found for one or more of the packages
|
|
2380
2729
|
* @category OpenSourceEcosystems
|
|
2381
2730
|
* @param {string} details the specific details that causes this error
|
|
2731
|
+
* @param {string} description the general description for this error
|
|
2382
2732
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
2383
2733
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
2384
2734
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -2390,6 +2740,8 @@ class PipenvNoMatchingPythonDistributionError extends problem_error_1.ProblemErr
|
|
|
2390
2740
|
title: 'No matching distribution found for one or more of the packages',
|
|
2391
2741
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-os-python-0011',
|
|
2392
2742
|
status: 422,
|
|
2743
|
+
description: `At least one of the packages requires a Python version that doesn't match the one used in the project scan.
|
|
2744
|
+
Make sure to use the correct python version in the requires section of the Pipfile.`,
|
|
2393
2745
|
errorCode: 'SNYK-OS-PYTHON-0011',
|
|
2394
2746
|
level: 'error',
|
|
2395
2747
|
classification: types_1.Classification.ACTIONABLE,
|