@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
|
@@ -36,6 +36,7 @@ const problem_error_1 = require("../problem-error");
|
|
|
36
36
|
* @summary Error reading manifest
|
|
37
37
|
* @category PRChecks
|
|
38
38
|
* @param {string} details the specific details that causes this error
|
|
39
|
+
* @param {string} description the general description for this error
|
|
39
40
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
40
41
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
41
42
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -47,6 +48,15 @@ class FailedToReadManifestError extends problem_error_1.ProblemError {
|
|
|
47
48
|
title: 'Error reading manifest',
|
|
48
49
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0001',
|
|
49
50
|
status: 500,
|
|
51
|
+
description: `Snyk failed to read 1 or more manifest files.
|
|
52
|
+
Sometimes things go wrong: a flaky connection, 3rd party services go down and Snyk is unable to read the files needed in order to test your project.
|
|
53
|
+
|
|
54
|
+
If this happens, you could try:
|
|
55
|
+
|
|
56
|
+
- Opening and re-opening your Pull Request / Merge Request, to kick off a new test
|
|
57
|
+
- Removing and re-adding the repo to Snyk
|
|
58
|
+
|
|
59
|
+
Ultimately, you should contact support@snyk.io if the issue persists`,
|
|
50
60
|
errorCode: 'SNYK-PR-CHECK-0001',
|
|
51
61
|
level: 'error',
|
|
52
62
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -75,6 +85,7 @@ exports.FailedToReadManifestError = FailedToReadManifestError;
|
|
|
75
85
|
* @summary Manifest not found
|
|
76
86
|
* @category PRChecks
|
|
77
87
|
* @param {string} details the specific details that causes this error
|
|
88
|
+
* @param {string} description the general description for this error
|
|
78
89
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
79
90
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
80
91
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -86,6 +97,14 @@ class ManifestNotFoundError extends problem_error_1.ProblemError {
|
|
|
86
97
|
title: 'Manifest not found',
|
|
87
98
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0002',
|
|
88
99
|
status: 404,
|
|
100
|
+
description: `Snyk uses your project manifest file to analyze your projects for vulnerabilities. When you import a project for monitoring, Snyk scans the project to locate the manifest file and then remembers where that file is.
|
|
101
|
+
When a project manifest file is moved or deleted, we still try to look for in it in the last known location in order to run tests on commit statuses. If we can't find the file, this error can occur.
|
|
102
|
+
|
|
103
|
+
If this happens, you could try the following:
|
|
104
|
+
1. Delete the matching project from your account in the Snyk app (UI or CLI).
|
|
105
|
+
2. Now import the same project from scratch.
|
|
106
|
+
|
|
107
|
+
As during the original import, Snyk scans the project and locates the manifest file.`,
|
|
89
108
|
errorCode: 'SNYK-PR-CHECK-0002',
|
|
90
109
|
level: 'error',
|
|
91
110
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -106,6 +125,7 @@ exports.ManifestNotFoundError = ManifestNotFoundError;
|
|
|
106
125
|
* @summary Rate limit hit while testing project
|
|
107
126
|
* @category PRChecks
|
|
108
127
|
* @param {string} details the specific details that causes this error
|
|
128
|
+
* @param {string} description the general description for this error
|
|
109
129
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
110
130
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
111
131
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -117,6 +137,9 @@ class ThirdPartyRateLimitError extends problem_error_1.ProblemError {
|
|
|
117
137
|
title: 'Rate limit hit while testing project',
|
|
118
138
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0003',
|
|
119
139
|
status: 429,
|
|
140
|
+
description: `Snyk makes requests to your SCM when testing a project, in order to analyze your projects for vulnerabilities. If we need to make a lot of requests in a short time period, we may encounter third party rate limits, and this error can occur.
|
|
141
|
+
|
|
142
|
+
If you receive any of these errors, try re-running the tests, by closing and reopening the pull request.`,
|
|
120
143
|
errorCode: 'SNYK-PR-CHECK-0003',
|
|
121
144
|
level: 'error',
|
|
122
145
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -140,6 +163,7 @@ exports.ThirdPartyRateLimitError = ThirdPartyRateLimitError;
|
|
|
140
163
|
* @summary Out of Sync Error
|
|
141
164
|
* @category PRChecks
|
|
142
165
|
* @param {string} details the specific details that causes this error
|
|
166
|
+
* @param {string} description the general description for this error
|
|
143
167
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
144
168
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
145
169
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -151,6 +175,11 @@ class OutOfSyncError extends problem_error_1.ProblemError {
|
|
|
151
175
|
title: 'Out of Sync Error',
|
|
152
176
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0004',
|
|
153
177
|
status: 422,
|
|
178
|
+
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 lockfile is not.
|
|
179
|
+
|
|
180
|
+
This can be resolved by ensuring the lockfile and manifest file are correctly synced, by executing npm install or yarn install.
|
|
181
|
+
|
|
182
|
+
In some cases, it may be necessary to delete the node_modules folder and the package-lock.json and run npm install again to force a full reinstall. `,
|
|
154
183
|
errorCode: 'SNYK-PR-CHECK-0004',
|
|
155
184
|
level: 'error',
|
|
156
185
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -173,6 +202,7 @@ exports.OutOfSyncError = OutOfSyncError;
|
|
|
173
202
|
* @summary Failed determining project target
|
|
174
203
|
* @category PRChecks
|
|
175
204
|
* @param {string} details the specific details that causes this error
|
|
205
|
+
* @param {string} description the general description for this error
|
|
176
206
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
177
207
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
178
208
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -184,6 +214,11 @@ class FailedDeterminingProjectTargetError extends problem_error_1.ProblemError {
|
|
|
184
214
|
title: 'Failed determining project target',
|
|
185
215
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0005',
|
|
186
216
|
status: 500,
|
|
217
|
+
description: `An internal error occurred, whereby Snyk was unable to determine the correct target for a given project in your PR Check.
|
|
218
|
+
|
|
219
|
+
If you receive this error, try re-running the tests, by closing and reopening the pull request.
|
|
220
|
+
|
|
221
|
+
Ultimately, you should contact support@snyk.io if the issue persists.`,
|
|
187
222
|
errorCode: 'SNYK-PR-CHECK-0005',
|
|
188
223
|
level: 'error',
|
|
189
224
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -207,6 +242,7 @@ exports.FailedDeterminingProjectTargetError = FailedDeterminingProjectTargetErro
|
|
|
207
242
|
* @summary Failed to complete the test
|
|
208
243
|
* @category PRChecks
|
|
209
244
|
* @param {string} details the specific details that causes this error
|
|
245
|
+
* @param {string} description the general description for this error
|
|
210
246
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
211
247
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
212
248
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -218,6 +254,11 @@ class FailedToCompleteTestError extends problem_error_1.ProblemError {
|
|
|
218
254
|
title: 'Failed to complete the test',
|
|
219
255
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0006',
|
|
220
256
|
status: 500,
|
|
257
|
+
description: `A "Failed to complete testing check status" appears in your commit checks when an unknown error occurs while Snyk was trying to test your projects for vulnerabilities or license issues.
|
|
258
|
+
|
|
259
|
+
If you receive this error, try re-running the tests, by closing and reopening the pull request.
|
|
260
|
+
|
|
261
|
+
Ultimately, you should contact support@snyk.io if the issue persists.`,
|
|
221
262
|
errorCode: 'SNYK-PR-CHECK-0006',
|
|
222
263
|
level: 'error',
|
|
223
264
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -241,6 +282,7 @@ exports.FailedToCompleteTestError = FailedToCompleteTestError;
|
|
|
241
282
|
* @summary Failed to fetch merge commit SHA
|
|
242
283
|
* @category PRChecks
|
|
243
284
|
* @param {string} details the specific details that causes this error
|
|
285
|
+
* @param {string} description the general description for this error
|
|
244
286
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
245
287
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
246
288
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -252,6 +294,9 @@ class FailedToFetchMergeCommitShaError extends problem_error_1.ProblemError {
|
|
|
252
294
|
title: 'Failed to fetch merge commit SHA',
|
|
253
295
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0007',
|
|
254
296
|
status: 500,
|
|
297
|
+
description: `In order for snyk test to run, we need the merge commit SHA from the GitHub. For some reason, we couldn’t get it.
|
|
298
|
+
|
|
299
|
+
Try closing and then reopening the pull request, or you can Skip the Pull Request Check if it is consistent.`,
|
|
255
300
|
errorCode: 'SNYK-PR-CHECK-0007',
|
|
256
301
|
level: 'error',
|
|
257
302
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -275,6 +320,7 @@ exports.FailedToFetchMergeCommitShaError = FailedToFetchMergeCommitShaError;
|
|
|
275
320
|
* @summary Merge conflict error
|
|
276
321
|
* @category PRChecks
|
|
277
322
|
* @param {string} details the specific details that causes this error
|
|
323
|
+
* @param {string} description the general description for this error
|
|
278
324
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
279
325
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
280
326
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -286,6 +332,9 @@ class MergeConflictError extends problem_error_1.ProblemError {
|
|
|
286
332
|
title: 'Merge conflict error',
|
|
287
333
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0008',
|
|
288
334
|
status: 422,
|
|
335
|
+
description: `Merge Conflict Error is not a Snyk specific issue but rather some issues on your SCM environment. As an example, merge conflicts could happen when people make different changes to the same line of the same file, or when one person edits a file and another person deletes the same file.
|
|
336
|
+
|
|
337
|
+
To resolve this, you might need to figure out all the merge conflicts on your SCM environment and resolve them to fully remediate these types of errors on Snyk. As a note, this cannot be modified/changed on Snyk's side.`,
|
|
289
338
|
errorCode: 'SNYK-PR-CHECK-0008',
|
|
290
339
|
level: 'error',
|
|
291
340
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -309,6 +358,7 @@ exports.MergeConflictError = MergeConflictError;
|
|
|
309
358
|
* @summary Failed to detect issues
|
|
310
359
|
* @category PRChecks
|
|
311
360
|
* @param {string} details the specific details that causes this error
|
|
361
|
+
* @param {string} description the general description for this error
|
|
312
362
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
313
363
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
314
364
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -320,6 +370,9 @@ class FailedToDetectIssuesError extends problem_error_1.ProblemError {
|
|
|
320
370
|
title: 'Failed to detect issues',
|
|
321
371
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0009',
|
|
322
372
|
status: 500,
|
|
373
|
+
description: `Snyk is always trying to check for new issues and vulnerabilities to keep you safe. We do so by testing on your code on webhook Pull Request events and Push events.
|
|
374
|
+
|
|
375
|
+
Occasionally you might see a "Failed to detect issues" commit status which may block your PR. This means that we tried to run a test against your changes but unfortunately something went wrong / we encountered an internal problem. If this happens to you try recreating the pull request and if it still occurs reach out and let us know which user, organization and project and commit sha you experienced the issue with on support@snyk.io`,
|
|
323
376
|
errorCode: 'SNYK-PR-CHECK-0009',
|
|
324
377
|
level: 'error',
|
|
325
378
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -340,6 +393,7 @@ exports.FailedToDetectIssuesError = FailedToDetectIssuesError;
|
|
|
340
393
|
* @summary No valid credentials to process PR check
|
|
341
394
|
* @category PRChecks
|
|
342
395
|
* @param {string} details the specific details that causes this error
|
|
396
|
+
* @param {string} description the general description for this error
|
|
343
397
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
344
398
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
345
399
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -351,6 +405,9 @@ class InvalidThirdPartyCredentialsError extends problem_error_1.ProblemError {
|
|
|
351
405
|
title: 'No valid credentials to process PR check',
|
|
352
406
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0010',
|
|
353
407
|
status: 401,
|
|
408
|
+
description: `Snyk uses credentials configured on your integration to test your code and to update your PR Check.
|
|
409
|
+
|
|
410
|
+
If this error occurs, please ensure your integration and credentials are correctly set up, by following the instructions for your SCM here: https://docs.snyk.io/integrate-with-snyk/git-repository-scm-integrations`,
|
|
354
411
|
errorCode: 'SNYK-PR-CHECK-0010',
|
|
355
412
|
level: 'error',
|
|
356
413
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -369,6 +426,7 @@ exports.InvalidThirdPartyCredentialsError = InvalidThirdPartyCredentialsError;
|
|
|
369
426
|
* @summary Failed to generate a commit status
|
|
370
427
|
* @category PRChecks
|
|
371
428
|
* @param {string} details the specific details that causes this error
|
|
429
|
+
* @param {string} description the general description for this error
|
|
372
430
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
373
431
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
374
432
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -380,6 +438,9 @@ class FailedToGenerateCommitStatusError extends problem_error_1.ProblemError {
|
|
|
380
438
|
title: 'Failed to generate a commit status',
|
|
381
439
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-pr-check-0011',
|
|
382
440
|
status: 500,
|
|
441
|
+
description: `Snyk is always trying to check for new issues and vulnerabilities to keep you safe. We do so by testing on your code on webhook Pull Request events and Push events.
|
|
442
|
+
|
|
443
|
+
Occasionally you might see a "Failed to generate a commit status" which may block your PR. This means that we tried to run a test against your changes but unfortunately something went wrong / we encountered an internal problem. If this happens to you try recreating the pull request and if it still occurs reach out and let us know which user, organization and project and commit sha you experienced the issue with on support@snyk.io`,
|
|
383
444
|
errorCode: 'SNYK-PR-CHECK-0011',
|
|
384
445
|
level: 'error',
|
|
385
446
|
classification: types_1.Classification.UNEXPECTED,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PRChecks-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/PRChecks-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"PRChecks-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/PRChecks-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,yBAA0B,SAAQ,4BAAY;IACzD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,wBAAwB;YAC/B,IAAI,EAAE,sEAAsE;YAC5E,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;;;;;;;qEAQgD;YAC7D,SAAS,EAAE,oBAAoB;YAC/B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,qFAAqF;aACpF,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAv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,CAAC;CACF;AA/BD,8EA+BC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAa,iCAAkC,SAAQ,4BAAY;IACjE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,sEAAsE;YAC5E,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;kbAE6Z;YAC1a,SAAS,EAAE,oBAAoB;YAC/B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE,EAAE,IACN,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,8EA+BC"}
|
|
@@ -25,6 +25,7 @@ import { ProblemError } from '../problem-error';
|
|
|
25
25
|
* @summary Unable to apply a policy with an invalid configuration
|
|
26
26
|
* @category Policies
|
|
27
27
|
* @param {string} details the specific details that causes this error
|
|
28
|
+
* @param {string} description the general description for this error
|
|
28
29
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
29
30
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
30
31
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -29,6 +29,7 @@ const problem_error_1 = require("../problem-error");
|
|
|
29
29
|
* @summary Unable to apply a policy with an invalid configuration
|
|
30
30
|
* @category Policies
|
|
31
31
|
* @param {string} details the specific details that causes this error
|
|
32
|
+
* @param {string} description the general description for this error
|
|
32
33
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
33
34
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
34
35
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -40,6 +41,8 @@ class InvalidPolicyApplyError extends problem_error_1.ProblemError {
|
|
|
40
41
|
title: 'Unable to apply a policy with an invalid configuration',
|
|
41
42
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-policy-0001',
|
|
42
43
|
status: 422,
|
|
44
|
+
description: `Snyk could not apply a policy whilst executing a test because the configuration for the policy was invalid.
|
|
45
|
+
You may be able to fix the policy and try again.`,
|
|
43
46
|
errorCode: 'SNYK-POLICY-0001',
|
|
44
47
|
level: 'error',
|
|
45
48
|
classification: types_1.Classification.ACTIONABLE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Policies-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Policies-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD
|
|
1
|
+
{"version":3,"file":"Policies-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Policies-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,uBAAwB,SAAQ,4BAAY;IACvD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,wDAAwD;YAC/D,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;iDAC4B;YACzC,SAAS,EAAE,kBAAkB;YAC7B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,2CAA2C;aAC1C,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAhCD,0DAgCC"}
|
|
@@ -21,6 +21,7 @@ import { ProblemError } from '../problem-error';
|
|
|
21
21
|
* @summary Your Organisation is not authorized to perform this action
|
|
22
22
|
* @category PurlVulnerabilityFetching
|
|
23
23
|
* @param {string} details the specific details that causes this error
|
|
24
|
+
* @param {string} description the general description for this error
|
|
24
25
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
25
26
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
26
27
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -36,6 +37,7 @@ export declare class OrganizationNotWhitelistedError extends ProblemError {
|
|
|
36
37
|
* @summary Authorization request failure
|
|
37
38
|
* @category PurlVulnerabilityFetching
|
|
38
39
|
* @param {string} details the specific details that causes this error
|
|
40
|
+
* @param {string} description the general description for this error
|
|
39
41
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
40
42
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
41
43
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -54,6 +56,7 @@ export declare class AuthorizationRequestFailureError extends ProblemError {
|
|
|
54
56
|
* @summary Invalid purl
|
|
55
57
|
* @category PurlVulnerabilityFetching
|
|
56
58
|
* @param {string} details the specific details that causes this error
|
|
59
|
+
* @param {string} description the general description for this error
|
|
57
60
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
58
61
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
59
62
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -72,6 +75,7 @@ export declare class InvalidPurlError extends ProblemError {
|
|
|
72
75
|
* @summary Namespace not specified
|
|
73
76
|
* @category PurlVulnerabilityFetching
|
|
74
77
|
* @param {string} details the specific details that causes this error
|
|
78
|
+
* @param {string} description the general description for this error
|
|
75
79
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
76
80
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
77
81
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -87,6 +91,7 @@ export declare class NamespaceNotProvidedError extends ProblemError {
|
|
|
87
91
|
* @summary Unsupported ecosystem
|
|
88
92
|
* @category PurlVulnerabilityFetching
|
|
89
93
|
* @param {string} details the specific details that causes this error
|
|
94
|
+
* @param {string} description the general description for this error
|
|
90
95
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
91
96
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
92
97
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -102,6 +107,7 @@ export declare class UnsupportedEcosystemError extends ProblemError {
|
|
|
102
107
|
* @summary Purl components required
|
|
103
108
|
* @category PurlVulnerabilityFetching
|
|
104
109
|
* @param {string} details the specific details that causes this error
|
|
110
|
+
* @param {string} description the general description for this error
|
|
105
111
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
106
112
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
107
113
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -117,6 +123,7 @@ export declare class MissingComponentError extends ProblemError {
|
|
|
117
123
|
* @summary Unsupported purl components
|
|
118
124
|
* @category PurlVulnerabilityFetching
|
|
119
125
|
* @param {string} details the specific details that causes this error
|
|
126
|
+
* @param {string} description the general description for this error
|
|
120
127
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
121
128
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
122
129
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -132,6 +139,7 @@ export declare class ComponentNotSupportedError extends ProblemError {
|
|
|
132
139
|
* @summary Requested package not found
|
|
133
140
|
* @category PurlVulnerabilityFetching
|
|
134
141
|
* @param {string} details the specific details that causes this error
|
|
142
|
+
* @param {string} description the general description for this error
|
|
135
143
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
136
144
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
137
145
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -147,6 +155,7 @@ export declare class PackageNotFoundError extends ProblemError {
|
|
|
147
155
|
* @summary Vulnerability service not available
|
|
148
156
|
* @category PurlVulnerabilityFetching
|
|
149
157
|
* @param {string} details the specific details that causes this error
|
|
158
|
+
* @param {string} description the general description for this error
|
|
150
159
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
151
160
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
152
161
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -162,6 +171,7 @@ export declare class VulnerabilityServiceUnavailableError extends ProblemError {
|
|
|
162
171
|
* @summary This issue is unexpected and the service should recover quickly if not please contact support
|
|
163
172
|
* @category PurlVulnerabilityFetching
|
|
164
173
|
* @param {string} details the specific details that causes this error
|
|
174
|
+
* @param {string} description the general description for this error
|
|
165
175
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
166
176
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
167
177
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -177,6 +187,7 @@ export declare class VulnDBInvalidResponseError extends ProblemError {
|
|
|
177
187
|
* @summary This issue is unexpected and the service should recover quickly if not please contact support
|
|
178
188
|
* @category PurlVulnerabilityFetching
|
|
179
189
|
* @param {string} details the specific details that causes this error
|
|
190
|
+
* @param {string} description the general description for this error
|
|
180
191
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
181
192
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
182
193
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -192,6 +203,7 @@ export declare class VulndbNextError extends ProblemError {
|
|
|
192
203
|
* @summary Request not processed due to unexpected error
|
|
193
204
|
* @category PurlVulnerabilityFetching
|
|
194
205
|
* @param {string} details the specific details that causes this error
|
|
206
|
+
* @param {string} description the general description for this error
|
|
195
207
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
196
208
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
197
209
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -207,6 +219,7 @@ export declare class InternalServerError extends ProblemError {
|
|
|
207
219
|
* @summary Invalid pagination parameters
|
|
208
220
|
* @category PurlVulnerabilityFetching
|
|
209
221
|
* @param {string} details the specific details that causes this error
|
|
222
|
+
* @param {string} description the general description for this error
|
|
210
223
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
211
224
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
212
225
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -222,6 +235,7 @@ export declare class InvalidPaginationParametersError extends ProblemError {
|
|
|
222
235
|
* @summary purls exceed limit
|
|
223
236
|
* @category PurlVulnerabilityFetching
|
|
224
237
|
* @param {string} details the specific details that causes this error
|
|
238
|
+
* @param {string} description the general description for this error
|
|
225
239
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
226
240
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
227
241
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -237,6 +251,7 @@ export declare class TooManyPurlsError extends ProblemError {
|
|
|
237
251
|
* @summary Number of issues exceeds limit
|
|
238
252
|
* @category PurlVulnerabilityFetching
|
|
239
253
|
* @param {string} details the specific details that causes this error
|
|
254
|
+
* @param {string} description the general description for this error
|
|
240
255
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
241
256
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
242
257
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -255,6 +270,7 @@ export declare class TooManyIssuesError extends ProblemError {
|
|
|
255
270
|
* @summary Expected distro to be present
|
|
256
271
|
* @category PurlVulnerabilityFetching
|
|
257
272
|
* @param {string} details the specific details that causes this error
|
|
273
|
+
* @param {string} description the general description for this error
|
|
258
274
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
259
275
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
260
276
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -270,6 +286,7 @@ export declare class UndefinedContainerDistroError extends ProblemError {
|
|
|
270
286
|
* @summary Unsupported Debian distro
|
|
271
287
|
* @category PurlVulnerabilityFetching
|
|
272
288
|
* @param {string} details the specific details that causes this error
|
|
289
|
+
* @param {string} description the general description for this error
|
|
273
290
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
274
291
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
275
292
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -285,6 +302,7 @@ export declare class UnsupportedDebianDistroError extends ProblemError {
|
|
|
285
302
|
* @summary Expected namespace to be present
|
|
286
303
|
* @category PurlVulnerabilityFetching
|
|
287
304
|
* @param {string} details the specific details that causes this error
|
|
305
|
+
* @param {string} description the general description for this error
|
|
288
306
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
289
307
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
290
308
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -300,6 +318,7 @@ export declare class UndefinedContainerVendorError extends ProblemError {
|
|
|
300
318
|
* @summary Unsupported vendor
|
|
301
319
|
* @category PurlVulnerabilityFetching
|
|
302
320
|
* @param {string} details the specific details that causes this error
|
|
321
|
+
* @param {string} description the general description for this error
|
|
303
322
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
304
323
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
305
324
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
@@ -315,6 +334,7 @@ export declare class UnsupportedContainerVendorError extends ProblemError {
|
|
|
315
334
|
* @summary Unsupported Alpine distro
|
|
316
335
|
* @category PurlVulnerabilityFetching
|
|
317
336
|
* @param {string} details the specific details that causes this error
|
|
337
|
+
* @param {string} description the general description for this error
|
|
318
338
|
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
319
339
|
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
320
340
|
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|