@snyk/error-catalog-nodejs-public 5.38.0 → 5.40.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 +150 -0
- package/src/catalogs/CLI-error-catalog.js +271 -1
- package/src/catalogs/CLI-error-catalog.js.map +1 -1
- package/src/catalogs/Code-error-catalog.d.ts +22 -2
- package/src/catalogs/Code-error-catalog.js +42 -5
- package/src/catalogs/Code-error-catalog.js.map +1 -1
- package/src/catalogs/Snyk-error-catalog.d.ts +39 -1
- package/src/catalogs/Snyk-error-catalog.js +71 -3
- package/src/catalogs/Snyk-error-catalog.js.map +1 -1
- package/src/catalogs/error-codes.d.ts +11 -0
- package/src/catalogs/error-codes.js +11 -0
- package/src/catalogs/error-codes.js.map +1 -1
package/package.json
CHANGED
|
@@ -74,6 +74,156 @@ export declare class ConfigEnvironmentFailedError extends ProblemError {
|
|
|
74
74
|
export declare class ConfigEnvironmentConsistencyIssueError extends ProblemError {
|
|
75
75
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
76
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* @class
|
|
79
|
+
* @name EmptyFlagOptionIssueError
|
|
80
|
+
* @description A specified flag is missing an option value. Provide a correct option value and try again.
|
|
81
|
+
*
|
|
82
|
+
* See more:
|
|
83
|
+
* - [https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary](https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary)
|
|
84
|
+
* @summary Empty flag option
|
|
85
|
+
* @category CLI
|
|
86
|
+
* @param {string} details the specific details that causes this error
|
|
87
|
+
* @param {string} description the general description for this error
|
|
88
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
89
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
90
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
91
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
92
|
+
*/
|
|
93
|
+
export declare class EmptyFlagOptionIssueError extends ProblemError {
|
|
94
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @class
|
|
98
|
+
* @name InvalidFlagOptionIssueError
|
|
99
|
+
* @description A specified flag option or combination is invalid. Provide a valid flag option or combination and try again.
|
|
100
|
+
*
|
|
101
|
+
* See more:
|
|
102
|
+
* - [https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary](https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary)
|
|
103
|
+
* @summary Invalid flag option
|
|
104
|
+
* @category CLI
|
|
105
|
+
* @param {string} details the specific details that causes this error
|
|
106
|
+
* @param {string} description the general description for this error
|
|
107
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
108
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
109
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
110
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
111
|
+
*/
|
|
112
|
+
export declare class InvalidFlagOptionIssueError extends ProblemError {
|
|
113
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @class
|
|
117
|
+
* @name GetVulnsFromResourceFailedError
|
|
118
|
+
* @description If you are testing an npm package, check the version and package name and try running `snyk test` again. If you are testing a repository, try testing it at https://snyk.io/test/.For further assistance, run `snyk help` or see the Snyk docs.
|
|
119
|
+
* @summary Unable to get vulnerabilities from resource
|
|
120
|
+
* @category CLI
|
|
121
|
+
* @param {string} details the specific details that causes this error
|
|
122
|
+
* @param {string} description the general description for this error
|
|
123
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
124
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
125
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
126
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
127
|
+
*/
|
|
128
|
+
export declare class GetVulnsFromResourceFailedError extends ProblemError {
|
|
129
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* @class
|
|
133
|
+
* @name AuthConfigIssueError
|
|
134
|
+
* @description When running your command, Snyk requires an authenticated account. You must include your API token as an environment value, or use `snyk auth` to authenticate.
|
|
135
|
+
*
|
|
136
|
+
* See more:
|
|
137
|
+
* - [https://docs.snyk.io/snyk-cli/authenticate-to-use-the-cli](https://docs.snyk.io/snyk-cli/authenticate-to-use-the-cli)
|
|
138
|
+
* - [https://docs.snyk.io/snyk-cli/configure-the-snyk-cli/environment-variables-for-snyk-cli](https://docs.snyk.io/snyk-cli/configure-the-snyk-cli/environment-variables-for-snyk-cli)
|
|
139
|
+
* @summary Missing AUTH token
|
|
140
|
+
* @category CLI
|
|
141
|
+
* @param {string} details the specific details that causes this error
|
|
142
|
+
* @param {string} description the general description for this error
|
|
143
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
144
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
145
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
146
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
147
|
+
*/
|
|
148
|
+
export declare class AuthConfigIssueError extends ProblemError {
|
|
149
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* @class
|
|
153
|
+
* @name CommandArgsIssueError
|
|
154
|
+
* @description The specified CLI command includes missing or misconfigured arguments. Provide the correct arguments and try again.
|
|
155
|
+
*
|
|
156
|
+
* See more:
|
|
157
|
+
* - [https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary](https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary)
|
|
158
|
+
* @summary Incomplete command arguments
|
|
159
|
+
* @category CLI
|
|
160
|
+
* @param {string} details the specific details that causes this error
|
|
161
|
+
* @param {string} description the general description for this error
|
|
162
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
163
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
164
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
165
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
166
|
+
*/
|
|
167
|
+
export declare class CommandArgsIssueError extends ProblemError {
|
|
168
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @class
|
|
172
|
+
* @name NoSupportedFilesFoundFailureError
|
|
173
|
+
* @description Snyk could not detect any supported target files. Ensure the files you are importing are supported, that you are in the right directory, and try again.
|
|
174
|
+
*
|
|
175
|
+
* See more:
|
|
176
|
+
* - [https://docs.snyk.io/supported-languages-package-managers-and-frameworks](https://docs.snyk.io/supported-languages-package-managers-and-frameworks)
|
|
177
|
+
* @summary No supported files found
|
|
178
|
+
* @category CLI
|
|
179
|
+
* @param {string} details the specific details that causes this error
|
|
180
|
+
* @param {string} description the general description for this error
|
|
181
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
182
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
183
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
184
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
185
|
+
*/
|
|
186
|
+
export declare class NoSupportedFilesFoundFailureError extends ProblemError {
|
|
187
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @class
|
|
191
|
+
* @name TooManyVulnerablePathsFailureError
|
|
192
|
+
* @description There are too many vulnerable paths to process the project. If your command supports it, consider the following:pruning repeated subdependencies (`snyk test -p`); excluding directories (`snyk test --all-projects --exclude=dir1,file2`); setting a detection depth (`snyk test --all-projects --detection-depth=3`). If the error still occurs, consider debugging or contact Snyk Support.
|
|
193
|
+
*
|
|
194
|
+
* See more:
|
|
195
|
+
* - [https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary#options-for-multiple-commands](https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary#options-for-multiple-commands)
|
|
196
|
+
* - [https://docs.snyk.io/snyk-cli/commands/test#prune-repeated-subdependencies-p](https://docs.snyk.io/snyk-cli/commands/test#prune-repeated-subdependencies-p)
|
|
197
|
+
* - [https://docs.snyk.io/snyk-cli/commands/test#detection-depth-less-than-depth-greater-than](https://docs.snyk.io/snyk-cli/commands/test#detection-depth-less-than-depth-greater-than)
|
|
198
|
+
* - [https://docs.snyk.io/snyk-cli/commands/test#exclude-less-than-name-greater-than-less-than-name-greater-than-...greater-than](https://docs.snyk.io/snyk-cli/commands/test#exclude-less-than-name-greater-than-less-than-name-greater-than-...greater-than)
|
|
199
|
+
* @summary Too many vulnerable paths to Project
|
|
200
|
+
* @category CLI
|
|
201
|
+
* @param {string} details the specific details that causes this error
|
|
202
|
+
* @param {string} description the general description for this error
|
|
203
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
204
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
205
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
206
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
207
|
+
*/
|
|
208
|
+
export declare class TooManyVulnerablePathsFailureError extends ProblemError {
|
|
209
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* @class
|
|
213
|
+
* @name ValidationFailureError
|
|
214
|
+
* @description CLI was unable to validate the required parameter. Provide the correct parameter and try again. If the error still occurs, consider debugging or contact Snyk Support.
|
|
215
|
+
* @summary CLI validation failure
|
|
216
|
+
* @category CLI
|
|
217
|
+
* @param {string} details the specific details that causes this error
|
|
218
|
+
* @param {string} description the general description for this error
|
|
219
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
220
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
221
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
222
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
223
|
+
*/
|
|
224
|
+
export declare class ValidationFailureError extends ProblemError {
|
|
225
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
226
|
+
}
|
|
77
227
|
/**
|
|
78
228
|
* @class
|
|
79
229
|
* @name ConnectionTimeoutError
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
"use strict";
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ConnectionTimeoutError = exports.ConfigEnvironmentConsistencyIssueError = exports.ConfigEnvironmentFailedError = exports.GeneralCLIFailureError = void 0;
|
|
18
|
+
exports.ConnectionTimeoutError = exports.ValidationFailureError = exports.TooManyVulnerablePathsFailureError = exports.NoSupportedFilesFoundFailureError = exports.CommandArgsIssueError = exports.AuthConfigIssueError = exports.GetVulnsFromResourceFailedError = exports.InvalidFlagOptionIssueError = exports.EmptyFlagOptionIssueError = exports.ConfigEnvironmentConsistencyIssueError = exports.ConfigEnvironmentFailedError = exports.GeneralCLIFailureError = void 0;
|
|
19
19
|
const types_1 = require("../types");
|
|
20
20
|
const problem_error_1 = require("../problem-error");
|
|
21
21
|
/**
|
|
@@ -126,6 +126,276 @@ Review configured environment variables and ensure that everything is intentiona
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
exports.ConfigEnvironmentConsistencyIssueError = ConfigEnvironmentConsistencyIssueError;
|
|
129
|
+
/**
|
|
130
|
+
* @class
|
|
131
|
+
* @name EmptyFlagOptionIssueError
|
|
132
|
+
* @description A specified flag is missing an option value. Provide a correct option value and try again.
|
|
133
|
+
*
|
|
134
|
+
* See more:
|
|
135
|
+
* - [https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary](https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary)
|
|
136
|
+
* @summary Empty flag option
|
|
137
|
+
* @category CLI
|
|
138
|
+
* @param {string} details the specific details that causes this error
|
|
139
|
+
* @param {string} description the general description for this error
|
|
140
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
141
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
142
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
143
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
144
|
+
*/
|
|
145
|
+
class EmptyFlagOptionIssueError extends problem_error_1.ProblemError {
|
|
146
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
147
|
+
super({
|
|
148
|
+
title: 'Empty flag option',
|
|
149
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0003',
|
|
150
|
+
status: 200,
|
|
151
|
+
description: `A specified flag is missing an option value. Provide a correct option value and try again.`,
|
|
152
|
+
errorCode: 'SNYK-CLI-0003',
|
|
153
|
+
level: 'fatal',
|
|
154
|
+
classification: types_1.Classification.ACTIONABLE,
|
|
155
|
+
instance,
|
|
156
|
+
}, details, Object.assign({ links: [
|
|
157
|
+
'https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary',
|
|
158
|
+
] }, additionalData), cause, logs);
|
|
159
|
+
this.name = this.constructor.name;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
exports.EmptyFlagOptionIssueError = EmptyFlagOptionIssueError;
|
|
163
|
+
/**
|
|
164
|
+
* @class
|
|
165
|
+
* @name InvalidFlagOptionIssueError
|
|
166
|
+
* @description A specified flag option or combination is invalid. Provide a valid flag option or combination and try again.
|
|
167
|
+
*
|
|
168
|
+
* See more:
|
|
169
|
+
* - [https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary](https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary)
|
|
170
|
+
* @summary Invalid flag option
|
|
171
|
+
* @category CLI
|
|
172
|
+
* @param {string} details the specific details that causes this error
|
|
173
|
+
* @param {string} description the general description for this error
|
|
174
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
175
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
176
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
177
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
178
|
+
*/
|
|
179
|
+
class InvalidFlagOptionIssueError extends problem_error_1.ProblemError {
|
|
180
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
181
|
+
super({
|
|
182
|
+
title: 'Invalid flag option',
|
|
183
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0004',
|
|
184
|
+
status: 200,
|
|
185
|
+
description: `A specified flag option or combination is invalid. Provide a valid flag option or combination and try again.`,
|
|
186
|
+
errorCode: 'SNYK-CLI-0004',
|
|
187
|
+
level: 'fatal',
|
|
188
|
+
classification: types_1.Classification.ACTIONABLE,
|
|
189
|
+
instance,
|
|
190
|
+
}, details, Object.assign({ links: [
|
|
191
|
+
'https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary',
|
|
192
|
+
] }, additionalData), cause, logs);
|
|
193
|
+
this.name = this.constructor.name;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
exports.InvalidFlagOptionIssueError = InvalidFlagOptionIssueError;
|
|
197
|
+
/**
|
|
198
|
+
* @class
|
|
199
|
+
* @name GetVulnsFromResourceFailedError
|
|
200
|
+
* @description If you are testing an npm package, check the version and package name and try running `snyk test` again. If you are testing a repository, try testing it at https://snyk.io/test/.For further assistance, run `snyk help` or see the Snyk docs.
|
|
201
|
+
* @summary Unable to get vulnerabilities from resource
|
|
202
|
+
* @category CLI
|
|
203
|
+
* @param {string} details the specific details that causes this error
|
|
204
|
+
* @param {string} description the general description for this error
|
|
205
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
206
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
207
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
208
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
209
|
+
*/
|
|
210
|
+
class GetVulnsFromResourceFailedError extends problem_error_1.ProblemError {
|
|
211
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
212
|
+
super({
|
|
213
|
+
title: 'Unable to get vulnerabilities from resource',
|
|
214
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0005',
|
|
215
|
+
status: 200,
|
|
216
|
+
description: `If you are testing an npm package, check the version and package name and try running \`snyk test\` again. If you are testing a repository, try testing it at https://snyk.io/test/.For further assistance, run \`snyk help\` or see the Snyk docs.`,
|
|
217
|
+
errorCode: 'SNYK-CLI-0005',
|
|
218
|
+
level: 'error',
|
|
219
|
+
classification: types_1.Classification.UNEXPECTED,
|
|
220
|
+
instance,
|
|
221
|
+
}, details, Object.assign({ links: [] }, additionalData), cause, logs);
|
|
222
|
+
this.name = this.constructor.name;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.GetVulnsFromResourceFailedError = GetVulnsFromResourceFailedError;
|
|
226
|
+
/**
|
|
227
|
+
* @class
|
|
228
|
+
* @name AuthConfigIssueError
|
|
229
|
+
* @description When running your command, Snyk requires an authenticated account. You must include your API token as an environment value, or use `snyk auth` to authenticate.
|
|
230
|
+
*
|
|
231
|
+
* See more:
|
|
232
|
+
* - [https://docs.snyk.io/snyk-cli/authenticate-to-use-the-cli](https://docs.snyk.io/snyk-cli/authenticate-to-use-the-cli)
|
|
233
|
+
* - [https://docs.snyk.io/snyk-cli/configure-the-snyk-cli/environment-variables-for-snyk-cli](https://docs.snyk.io/snyk-cli/configure-the-snyk-cli/environment-variables-for-snyk-cli)
|
|
234
|
+
* @summary Missing AUTH token
|
|
235
|
+
* @category CLI
|
|
236
|
+
* @param {string} details the specific details that causes this error
|
|
237
|
+
* @param {string} description the general description for this error
|
|
238
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
239
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
240
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
241
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
242
|
+
*/
|
|
243
|
+
class AuthConfigIssueError extends problem_error_1.ProblemError {
|
|
244
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
245
|
+
super({
|
|
246
|
+
title: 'Missing AUTH token',
|
|
247
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0006',
|
|
248
|
+
status: 200,
|
|
249
|
+
description: `When running your command, Snyk requires an authenticated account. You must include your API token as an environment value, or use \`snyk auth\` to authenticate.`,
|
|
250
|
+
errorCode: 'SNYK-CLI-0006',
|
|
251
|
+
level: 'fatal',
|
|
252
|
+
classification: types_1.Classification.ACTIONABLE,
|
|
253
|
+
instance,
|
|
254
|
+
}, details, Object.assign({ links: [
|
|
255
|
+
'https://docs.snyk.io/snyk-cli/authenticate-to-use-the-cli',
|
|
256
|
+
'https://docs.snyk.io/snyk-cli/configure-the-snyk-cli/environment-variables-for-snyk-cli',
|
|
257
|
+
] }, additionalData), cause, logs);
|
|
258
|
+
this.name = this.constructor.name;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
exports.AuthConfigIssueError = AuthConfigIssueError;
|
|
262
|
+
/**
|
|
263
|
+
* @class
|
|
264
|
+
* @name CommandArgsIssueError
|
|
265
|
+
* @description The specified CLI command includes missing or misconfigured arguments. Provide the correct arguments and try again.
|
|
266
|
+
*
|
|
267
|
+
* See more:
|
|
268
|
+
* - [https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary](https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary)
|
|
269
|
+
* @summary Incomplete command arguments
|
|
270
|
+
* @category CLI
|
|
271
|
+
* @param {string} details the specific details that causes this error
|
|
272
|
+
* @param {string} description the general description for this error
|
|
273
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
274
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
275
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
276
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
277
|
+
*/
|
|
278
|
+
class CommandArgsIssueError extends problem_error_1.ProblemError {
|
|
279
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
280
|
+
super({
|
|
281
|
+
title: 'Incomplete command arguments',
|
|
282
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0007',
|
|
283
|
+
status: 200,
|
|
284
|
+
description: `The specified CLI command includes missing or misconfigured arguments. Provide the correct arguments and try again.`,
|
|
285
|
+
errorCode: 'SNYK-CLI-0007',
|
|
286
|
+
level: 'fatal',
|
|
287
|
+
classification: types_1.Classification.ACTIONABLE,
|
|
288
|
+
instance,
|
|
289
|
+
}, details, Object.assign({ links: [
|
|
290
|
+
'https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary',
|
|
291
|
+
] }, additionalData), cause, logs);
|
|
292
|
+
this.name = this.constructor.name;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
exports.CommandArgsIssueError = CommandArgsIssueError;
|
|
296
|
+
/**
|
|
297
|
+
* @class
|
|
298
|
+
* @name NoSupportedFilesFoundFailureError
|
|
299
|
+
* @description Snyk could not detect any supported target files. Ensure the files you are importing are supported, that you are in the right directory, and try again.
|
|
300
|
+
*
|
|
301
|
+
* See more:
|
|
302
|
+
* - [https://docs.snyk.io/supported-languages-package-managers-and-frameworks](https://docs.snyk.io/supported-languages-package-managers-and-frameworks)
|
|
303
|
+
* @summary No supported files found
|
|
304
|
+
* @category CLI
|
|
305
|
+
* @param {string} details the specific details that causes this error
|
|
306
|
+
* @param {string} description the general description for this error
|
|
307
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
308
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
309
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
310
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
311
|
+
*/
|
|
312
|
+
class NoSupportedFilesFoundFailureError extends problem_error_1.ProblemError {
|
|
313
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
314
|
+
super({
|
|
315
|
+
title: 'No supported files found',
|
|
316
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0008',
|
|
317
|
+
status: 422,
|
|
318
|
+
description: `Snyk could not detect any supported target files. Ensure the files you are importing are supported, that you are in the right directory, and try again.`,
|
|
319
|
+
errorCode: 'SNYK-CLI-0008',
|
|
320
|
+
level: 'fatal',
|
|
321
|
+
classification: types_1.Classification.ACTIONABLE,
|
|
322
|
+
instance,
|
|
323
|
+
}, details, Object.assign({ links: [
|
|
324
|
+
'https://docs.snyk.io/supported-languages-package-managers-and-frameworks',
|
|
325
|
+
] }, additionalData), cause, logs);
|
|
326
|
+
this.name = this.constructor.name;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
exports.NoSupportedFilesFoundFailureError = NoSupportedFilesFoundFailureError;
|
|
330
|
+
/**
|
|
331
|
+
* @class
|
|
332
|
+
* @name TooManyVulnerablePathsFailureError
|
|
333
|
+
* @description There are too many vulnerable paths to process the project. If your command supports it, consider the following:pruning repeated subdependencies (`snyk test -p`); excluding directories (`snyk test --all-projects --exclude=dir1,file2`); setting a detection depth (`snyk test --all-projects --detection-depth=3`). If the error still occurs, consider debugging or contact Snyk Support.
|
|
334
|
+
*
|
|
335
|
+
* See more:
|
|
336
|
+
* - [https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary#options-for-multiple-commands](https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary#options-for-multiple-commands)
|
|
337
|
+
* - [https://docs.snyk.io/snyk-cli/commands/test#prune-repeated-subdependencies-p](https://docs.snyk.io/snyk-cli/commands/test#prune-repeated-subdependencies-p)
|
|
338
|
+
* - [https://docs.snyk.io/snyk-cli/commands/test#detection-depth-less-than-depth-greater-than](https://docs.snyk.io/snyk-cli/commands/test#detection-depth-less-than-depth-greater-than)
|
|
339
|
+
* - [https://docs.snyk.io/snyk-cli/commands/test#exclude-less-than-name-greater-than-less-than-name-greater-than-...greater-than](https://docs.snyk.io/snyk-cli/commands/test#exclude-less-than-name-greater-than-less-than-name-greater-than-...greater-than)
|
|
340
|
+
* @summary Too many vulnerable paths to Project
|
|
341
|
+
* @category CLI
|
|
342
|
+
* @param {string} details the specific details that causes this error
|
|
343
|
+
* @param {string} description the general description for this error
|
|
344
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
345
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
346
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
347
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
348
|
+
*/
|
|
349
|
+
class TooManyVulnerablePathsFailureError extends problem_error_1.ProblemError {
|
|
350
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
351
|
+
super({
|
|
352
|
+
title: 'Too many vulnerable paths to Project',
|
|
353
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0009',
|
|
354
|
+
status: 413,
|
|
355
|
+
description: `There are too many vulnerable paths to process the project. If your command supports it, consider the following:pruning repeated subdependencies (\`snyk test -p\`); excluding directories (\`snyk test --all-projects --exclude=dir1,file2\`); setting a detection depth (\`snyk test --all-projects --detection-depth=3\`). If the error still occurs, consider debugging or contact Snyk Support.`,
|
|
356
|
+
errorCode: 'SNYK-CLI-0009',
|
|
357
|
+
level: 'error',
|
|
358
|
+
classification: types_1.Classification.ACTIONABLE,
|
|
359
|
+
instance,
|
|
360
|
+
}, details, Object.assign({ links: [
|
|
361
|
+
'https://docs.snyk.io/snyk-cli/cli-commands-and-options-summary#options-for-multiple-commands',
|
|
362
|
+
'https://docs.snyk.io/snyk-cli/commands/test#prune-repeated-subdependencies-p',
|
|
363
|
+
'https://docs.snyk.io/snyk-cli/commands/test#detection-depth-less-than-depth-greater-than',
|
|
364
|
+
'https://docs.snyk.io/snyk-cli/commands/test#exclude-less-than-name-greater-than-less-than-name-greater-than-...greater-than',
|
|
365
|
+
] }, additionalData), cause, logs);
|
|
366
|
+
this.name = this.constructor.name;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
exports.TooManyVulnerablePathsFailureError = TooManyVulnerablePathsFailureError;
|
|
370
|
+
/**
|
|
371
|
+
* @class
|
|
372
|
+
* @name ValidationFailureError
|
|
373
|
+
* @description CLI was unable to validate the required parameter. Provide the correct parameter and try again. If the error still occurs, consider debugging or contact Snyk Support.
|
|
374
|
+
* @summary CLI validation failure
|
|
375
|
+
* @category CLI
|
|
376
|
+
* @param {string} details the specific details that causes this error
|
|
377
|
+
* @param {string} description the general description for this error
|
|
378
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
379
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
380
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
381
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
382
|
+
*/
|
|
383
|
+
class ValidationFailureError extends problem_error_1.ProblemError {
|
|
384
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
385
|
+
super({
|
|
386
|
+
title: 'CLI validation failure',
|
|
387
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-cli-0010',
|
|
388
|
+
status: 400,
|
|
389
|
+
description: `CLI was unable to validate the required parameter. Provide the correct parameter and try again. If the error still occurs, consider debugging or contact Snyk Support.`,
|
|
390
|
+
errorCode: 'SNYK-CLI-0010',
|
|
391
|
+
level: 'error',
|
|
392
|
+
classification: types_1.Classification.ACTIONABLE,
|
|
393
|
+
instance,
|
|
394
|
+
}, details, Object.assign({ links: [] }, additionalData), cause, logs);
|
|
395
|
+
this.name = this.constructor.name;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
exports.ValidationFailureError = ValidationFailureError;
|
|
129
399
|
/**
|
|
130
400
|
* @class
|
|
131
401
|
* @name ConnectionTimeoutError
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CLI-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CLI-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,sBAAuB,SAAQ,4BAAY;IACtD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,oLAAoL;YACjM,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,wCAAwC;gBACxC,sDAAsD;aACrD,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAhCD,wDAgCC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAa,4BAA6B,SAAQ,4BAA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E;YACtE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,wFAAwF;YACrG,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;aACxB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,wDA+BC"}
|
|
1
|
+
{"version":3,"file":"CLI-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/CLI-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,sBAAuB,SAAQ,4BAAY;IACtD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,oLAAoL;YACjM,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,wCAAwC;gBACxC,sDAAsD;aACrD,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAhCD,wDAgCC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAa,4BAA6B,SAAQ,4BAAY;IAC5D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA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jB,KAAK,CACH;YACE,KAAK,EAAE,wBAAwB;YAC/B,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,wKAAwK;YACrL,SAAS,EAAE,eAAe;YAC1B,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;AA7BD,wDA6BC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAa,sBAAuB,SAAQ,4BAAY;IACtD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,6BAA6B;YACpC,IAAI,EAAE,gEAAgE;YACtE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,wFAAwF;YACrG,SAAS,EAAE,cAAc;YACzB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;aACxB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,wDA+BC"}
|
|
@@ -234,10 +234,10 @@ export declare class RuleExtensionsLimitReachedError extends ProblemError {
|
|
|
234
234
|
/**
|
|
235
235
|
* @class
|
|
236
236
|
* @name UnsupportedOrgError
|
|
237
|
-
* @description The Snyk Sast Rule extensions feature is not enabled for this
|
|
237
|
+
* @description The Snyk Sast Rule extensions feature is not enabled for this Organization ID.
|
|
238
238
|
*
|
|
239
239
|
* Please reach out to the account team to get access.
|
|
240
|
-
* @summary
|
|
240
|
+
* @summary Sast Rule extensions feature is not enabled for this Organization ID
|
|
241
241
|
* @category Code
|
|
242
242
|
* @param {string} details the specific details that causes this error
|
|
243
243
|
* @param {string} description the general description for this error
|
|
@@ -249,3 +249,23 @@ export declare class RuleExtensionsLimitReachedError extends ProblemError {
|
|
|
249
249
|
export declare class UnsupportedOrgError extends ProblemError {
|
|
250
250
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
251
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* @class
|
|
254
|
+
* @name RuleExtensionsDecryptionTimeoutError
|
|
255
|
+
* @description Decrypting the Sast Rule extensions for the requested Organization ID process timed out.
|
|
256
|
+
* You have created too many published rules for the Sast Rule extensions beta.
|
|
257
|
+
*
|
|
258
|
+
* Please remove one or more to try again.
|
|
259
|
+
* If the issue persists, please open a customer support ticket.
|
|
260
|
+
* @summary Decryption time out for the requested Sast Rule extensions
|
|
261
|
+
* @category Code
|
|
262
|
+
* @param {string} details the specific details that causes this error
|
|
263
|
+
* @param {string} description the general description for this error
|
|
264
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
265
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
266
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
267
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
268
|
+
*/
|
|
269
|
+
export declare class RuleExtensionsDecryptionTimeoutError extends ProblemError {
|
|
270
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
271
|
+
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
"use strict";
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.UnsupportedOrgError = exports.RuleExtensionsLimitReachedError = exports.OrgOutsideAdminGroupError = exports.GroupRelationshipMustBeForAdminGroupError = exports.OrgRelationshipsMustBeUniqueError = exports.RuleExtensionAlreadyExistsForGroupError = exports.UnsupportedProjectError = exports.FeatureIsNotEnabledError = exports.AnalysisFileNameLengthLimitExceededError = exports.AnalysisTargetSizeLimitExceededError = exports.AnalysisResultSizeLimitExceededError = exports.AnalysisFileCountLimitExceededError = void 0;
|
|
18
|
+
exports.RuleExtensionsDecryptionTimeoutError = exports.UnsupportedOrgError = exports.RuleExtensionsLimitReachedError = exports.OrgOutsideAdminGroupError = exports.GroupRelationshipMustBeForAdminGroupError = exports.OrgRelationshipsMustBeUniqueError = exports.RuleExtensionAlreadyExistsForGroupError = exports.UnsupportedProjectError = exports.FeatureIsNotEnabledError = exports.AnalysisFileNameLengthLimitExceededError = exports.AnalysisTargetSizeLimitExceededError = exports.AnalysisResultSizeLimitExceededError = exports.AnalysisFileCountLimitExceededError = void 0;
|
|
19
19
|
const types_1 = require("../types");
|
|
20
20
|
const problem_error_1 = require("../problem-error");
|
|
21
21
|
/**
|
|
@@ -416,10 +416,10 @@ exports.RuleExtensionsLimitReachedError = RuleExtensionsLimitReachedError;
|
|
|
416
416
|
/**
|
|
417
417
|
* @class
|
|
418
418
|
* @name UnsupportedOrgError
|
|
419
|
-
* @description The Snyk Sast Rule extensions feature is not enabled for this
|
|
419
|
+
* @description The Snyk Sast Rule extensions feature is not enabled for this Organization ID.
|
|
420
420
|
*
|
|
421
421
|
* Please reach out to the account team to get access.
|
|
422
|
-
* @summary
|
|
422
|
+
* @summary Sast Rule extensions feature is not enabled for this Organization ID
|
|
423
423
|
* @category Code
|
|
424
424
|
* @param {string} details the specific details that causes this error
|
|
425
425
|
* @param {string} description the general description for this error
|
|
@@ -431,10 +431,10 @@ exports.RuleExtensionsLimitReachedError = RuleExtensionsLimitReachedError;
|
|
|
431
431
|
class UnsupportedOrgError extends problem_error_1.ProblemError {
|
|
432
432
|
constructor(details, additionalData, cause, instance, logs) {
|
|
433
433
|
super({
|
|
434
|
-
title: '
|
|
434
|
+
title: 'Sast Rule extensions feature is not enabled for this Organization ID',
|
|
435
435
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0012',
|
|
436
436
|
status: 421,
|
|
437
|
-
description: `The Snyk Sast Rule extensions feature is not enabled for this
|
|
437
|
+
description: `The Snyk Sast Rule extensions feature is not enabled for this Organization ID.
|
|
438
438
|
|
|
439
439
|
Please reach out to the account team to get access.`,
|
|
440
440
|
errorCode: 'SNYK-CODE-0012',
|
|
@@ -446,4 +446,41 @@ Please reach out to the account team to get access.`,
|
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
exports.UnsupportedOrgError = UnsupportedOrgError;
|
|
449
|
+
/**
|
|
450
|
+
* @class
|
|
451
|
+
* @name RuleExtensionsDecryptionTimeoutError
|
|
452
|
+
* @description Decrypting the Sast Rule extensions for the requested Organization ID process timed out.
|
|
453
|
+
* You have created too many published rules for the Sast Rule extensions beta.
|
|
454
|
+
*
|
|
455
|
+
* Please remove one or more to try again.
|
|
456
|
+
* If the issue persists, please open a customer support ticket.
|
|
457
|
+
* @summary Decryption time out for the requested Sast Rule extensions
|
|
458
|
+
* @category Code
|
|
459
|
+
* @param {string} details the specific details that causes this error
|
|
460
|
+
* @param {string} description the general description for this error
|
|
461
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
462
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
463
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
464
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
465
|
+
*/
|
|
466
|
+
class RuleExtensionsDecryptionTimeoutError extends problem_error_1.ProblemError {
|
|
467
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
468
|
+
super({
|
|
469
|
+
title: 'Decryption time out for the requested Sast Rule extensions',
|
|
470
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-code-0013',
|
|
471
|
+
status: 408,
|
|
472
|
+
description: `Decrypting the Sast Rule extensions for the requested Organization ID process timed out.
|
|
473
|
+
You have created too many published rules for the Sast Rule extensions beta.
|
|
474
|
+
|
|
475
|
+
Please remove one or more to try again.
|
|
476
|
+
If the issue persists, please open a customer support ticket.`,
|
|
477
|
+
errorCode: 'SNYK-CODE-0013',
|
|
478
|
+
level: 'error',
|
|
479
|
+
classification: types_1.Classification.ACTIONABLE,
|
|
480
|
+
instance,
|
|
481
|
+
}, details, Object.assign({ links: [] }, additionalData), cause, logs);
|
|
482
|
+
this.name = this.constructor.name;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
exports.RuleExtensionsDecryptionTimeoutError = RuleExtensionsDecryptionTimeoutError;
|
|
449
486
|
//# sourceMappingURL=Code-error-catalog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Code-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Code-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,mCAAoC,SAAQ,4BAAY;IACnE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;0KAEqJ;YAClK,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,oKAAoK;gBACpK,2KAA2K;gBAC3K,4DAA4D;aAC3D,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAnCD,kFAmCC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,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ACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,mCAAmC;YAC1C,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;6EAEwD;YACrE,SAAS,EAAE,gBAAgB;YAC3B,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,0EA+BC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAa,mBAAoB,SAAQ,4BAAY;IACnD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Code-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Code-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,mCAAoC,SAAQ,4BAAY;IACnE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oCAAoC;YAC3C,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;0KAEqJ;YAClK,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,oKAAoK;gBACpK,2KAA2K;gBAC3K,4DAA4D;aAC3D,IACE,cAAc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BAAY;IACpE,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,4DAA4D;YACnE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE;;;;8DAIyC;YACtD,SAAS,EAAE,gBAAgB;YAC3B,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;AAjCD,oFAiCC"}
|
|
@@ -146,6 +146,44 @@ export declare class TestLimitReachedError extends ProblemError {
|
|
|
146
146
|
export declare class TagsForOrganizationWithoutGroupError extends ProblemError {
|
|
147
147
|
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
148
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* @class
|
|
151
|
+
* @name BadGatewayError
|
|
152
|
+
* @description Due to a server gateway error, the server cannot process the request. Check Snyk status and try again.
|
|
153
|
+
*
|
|
154
|
+
* See more:
|
|
155
|
+
* - [https://status.snyk.io/](https://status.snyk.io/)
|
|
156
|
+
* @summary Unable to fulfill the request
|
|
157
|
+
* @category Snyk
|
|
158
|
+
* @param {string} details the specific details that causes this error
|
|
159
|
+
* @param {string} description the general description for this error
|
|
160
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
161
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
162
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
163
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
164
|
+
*/
|
|
165
|
+
export declare class BadGatewayError extends ProblemError {
|
|
166
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* @class
|
|
170
|
+
* @name ServiceUnavailableError
|
|
171
|
+
* @description Due to service availability issues, Snyk cannot process the request. This issue is unexpected, and the service will recover shortly. If the error still occurs, contact Snyk Support.
|
|
172
|
+
*
|
|
173
|
+
* See more:
|
|
174
|
+
* - [https://status.snyk.io/](https://status.snyk.io/)
|
|
175
|
+
* @summary Unable to fulfill the request
|
|
176
|
+
* @category Snyk
|
|
177
|
+
* @param {string} details the specific details that causes this error
|
|
178
|
+
* @param {string} description the general description for this error
|
|
179
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
180
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
181
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
182
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
183
|
+
*/
|
|
184
|
+
export declare class ServiceUnavailableError extends ProblemError {
|
|
185
|
+
constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
|
|
186
|
+
}
|
|
149
187
|
/**
|
|
150
188
|
* @class
|
|
151
189
|
* @name ServerError
|
|
@@ -153,7 +191,7 @@ export declare class TagsForOrganizationWithoutGroupError extends ProblemError {
|
|
|
153
191
|
*
|
|
154
192
|
* See more:
|
|
155
193
|
* - [https://status.snyk.io/](https://status.snyk.io/)
|
|
156
|
-
* @summary
|
|
194
|
+
* @summary Unable to process request
|
|
157
195
|
* @category Snyk
|
|
158
196
|
* @param {string} details the specific details that causes this error
|
|
159
197
|
* @param {string} description the general description for this error
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
"use strict";
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ServerError = exports.TagsForOrganizationWithoutGroupError = exports.TestLimitReachedError = exports.UnauthorisedError = exports.TimeoutError = exports.BadRequestError = exports.NotImplementedError = exports.TooManyRequestsError = void 0;
|
|
18
|
+
exports.ServerError = exports.ServiceUnavailableError = exports.BadGatewayError = exports.TagsForOrganizationWithoutGroupError = exports.TestLimitReachedError = exports.UnauthorisedError = exports.TimeoutError = exports.BadRequestError = exports.NotImplementedError = exports.TooManyRequestsError = void 0;
|
|
19
19
|
const types_1 = require("../types");
|
|
20
20
|
const problem_error_1 = require("../problem-error");
|
|
21
21
|
/**
|
|
@@ -257,6 +257,74 @@ If you want to override this global configuration for individual runs of snyk mo
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
exports.TagsForOrganizationWithoutGroupError = TagsForOrganizationWithoutGroupError;
|
|
260
|
+
/**
|
|
261
|
+
* @class
|
|
262
|
+
* @name BadGatewayError
|
|
263
|
+
* @description Due to a server gateway error, the server cannot process the request. Check Snyk status and try again.
|
|
264
|
+
*
|
|
265
|
+
* See more:
|
|
266
|
+
* - [https://status.snyk.io/](https://status.snyk.io/)
|
|
267
|
+
* @summary Unable to fulfill the request
|
|
268
|
+
* @category Snyk
|
|
269
|
+
* @param {string} details the specific details that causes this error
|
|
270
|
+
* @param {string} description the general description for this error
|
|
271
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
272
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
273
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
274
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
275
|
+
*/
|
|
276
|
+
class BadGatewayError extends problem_error_1.ProblemError {
|
|
277
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
278
|
+
super({
|
|
279
|
+
title: 'Unable to fulfill the request',
|
|
280
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-0008',
|
|
281
|
+
status: 502,
|
|
282
|
+
description: `Due to a server gateway error, the server cannot process the request. Check Snyk status and try again.`,
|
|
283
|
+
errorCode: 'SNYK-0008',
|
|
284
|
+
level: 'error',
|
|
285
|
+
classification: types_1.Classification.UNEXPECTED,
|
|
286
|
+
instance,
|
|
287
|
+
}, details, Object.assign({ links: [
|
|
288
|
+
'https://status.snyk.io/',
|
|
289
|
+
] }, additionalData), cause, logs);
|
|
290
|
+
this.name = this.constructor.name;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
exports.BadGatewayError = BadGatewayError;
|
|
294
|
+
/**
|
|
295
|
+
* @class
|
|
296
|
+
* @name ServiceUnavailableError
|
|
297
|
+
* @description Due to service availability issues, Snyk cannot process the request. This issue is unexpected, and the service will recover shortly. If the error still occurs, contact Snyk Support.
|
|
298
|
+
*
|
|
299
|
+
* See more:
|
|
300
|
+
* - [https://status.snyk.io/](https://status.snyk.io/)
|
|
301
|
+
* @summary Unable to fulfill the request
|
|
302
|
+
* @category Snyk
|
|
303
|
+
* @param {string} details the specific details that causes this error
|
|
304
|
+
* @param {string} description the general description for this error
|
|
305
|
+
* @param {Classification} classification the error classification determining if the error is user-actionable or not
|
|
306
|
+
* @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
|
|
307
|
+
* @param {Error} [cause] the `Error` type that caused this error to be thrown
|
|
308
|
+
* @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
|
|
309
|
+
*/
|
|
310
|
+
class ServiceUnavailableError extends problem_error_1.ProblemError {
|
|
311
|
+
constructor(details, additionalData, cause, instance, logs) {
|
|
312
|
+
super({
|
|
313
|
+
title: 'Unable to fulfill the request',
|
|
314
|
+
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-0009',
|
|
315
|
+
status: 503,
|
|
316
|
+
description: `Due to service availability issues, Snyk cannot process the request. This issue is unexpected, and the service will recover shortly. If the error still occurs, contact Snyk Support.`,
|
|
317
|
+
errorCode: 'SNYK-0009',
|
|
318
|
+
level: 'error',
|
|
319
|
+
classification: types_1.Classification.UNEXPECTED,
|
|
320
|
+
instance,
|
|
321
|
+
}, details, Object.assign({ links: [
|
|
322
|
+
'https://status.snyk.io/',
|
|
323
|
+
] }, additionalData), cause, logs);
|
|
324
|
+
this.name = this.constructor.name;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
260
328
|
/**
|
|
261
329
|
* @class
|
|
262
330
|
* @name ServerError
|
|
@@ -264,7 +332,7 @@ exports.TagsForOrganizationWithoutGroupError = TagsForOrganizationWithoutGroupEr
|
|
|
264
332
|
*
|
|
265
333
|
* See more:
|
|
266
334
|
* - [https://status.snyk.io/](https://status.snyk.io/)
|
|
267
|
-
* @summary
|
|
335
|
+
* @summary Unable to process request
|
|
268
336
|
* @category Snyk
|
|
269
337
|
* @param {string} details the specific details that causes this error
|
|
270
338
|
* @param {string} description the general description for this error
|
|
@@ -276,7 +344,7 @@ exports.TagsForOrganizationWithoutGroupError = TagsForOrganizationWithoutGroupEr
|
|
|
276
344
|
class ServerError extends problem_error_1.ProblemError {
|
|
277
345
|
constructor(details, additionalData, cause, instance, logs) {
|
|
278
346
|
super({
|
|
279
|
-
title: '
|
|
347
|
+
title: 'Unable to process request',
|
|
280
348
|
type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-9999',
|
|
281
349
|
status: 500,
|
|
282
350
|
description: `The server cannot process the request due to an unexpected error. Check Snyk status, then try again.`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Snyk-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Snyk-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAa,oBAAqB,SAAQ,4BAAY;IACpD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,+BAA+B;YACtC,IAAI,EAAE,6DAA6D;YACnE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,+EAA+E;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K,CACH;YACE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Snyk-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Snyk-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAa,oBAAqB,SAAQ,4BAAY;IACpD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,+BAA+B;YACtC,IAAI,EAAE,6DAA6D;YACnE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,+EAA+E;YAC5F,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,MAAM;YACb,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;AA7BD,oDA6BC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAa,mBAAoB,SAAQ,4BAAY;IACnD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,6DAA6D;YACnE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,6GAA6G;YAC1H,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,oCAAoC;aACnC,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CAC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AAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,0DA+BC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAa,WAAY,SAAQ,4BAAY;IAC3C,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,6DAA6D;YACnE,MAAM,EAAE,GAAG;YACX,WAAW,EAAE,sGAAsG;YACnH,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,yBAAyB;aACxB,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA/BD,kCA+BC"}
|
|
@@ -22,6 +22,8 @@ declare const _default: {
|
|
|
22
22
|
Unauthorised: string;
|
|
23
23
|
TestLimitReached: string;
|
|
24
24
|
TagsForOrganizationWithoutGroup: string;
|
|
25
|
+
BadGateway: string;
|
|
26
|
+
ServiceUnavailable: string;
|
|
25
27
|
Server: string;
|
|
26
28
|
};
|
|
27
29
|
OpenSourceEcosystems: {
|
|
@@ -221,6 +223,7 @@ declare const _default: {
|
|
|
221
223
|
OrgOutsideAdminGroup: string;
|
|
222
224
|
RuleExtensionsLimitReached: string;
|
|
223
225
|
UnsupportedOrg: string;
|
|
226
|
+
RuleExtensionsDecryptionTimeout: string;
|
|
224
227
|
};
|
|
225
228
|
PRChecks: {
|
|
226
229
|
FailedToReadManifest: string;
|
|
@@ -239,6 +242,14 @@ declare const _default: {
|
|
|
239
242
|
GeneralCLIFailure: string;
|
|
240
243
|
ConfigEnvironmentFailed: string;
|
|
241
244
|
ConfigEnvironmentConsistencyIssue: string;
|
|
245
|
+
EmptyFlagOptionIssue: string;
|
|
246
|
+
InvalidFlagOptionIssue: string;
|
|
247
|
+
GetVulnsFromResourceFailed: string;
|
|
248
|
+
AuthConfigIssue: string;
|
|
249
|
+
CommandArgsIssue: string;
|
|
250
|
+
NoSupportedFilesFoundFailure: string;
|
|
251
|
+
TooManyVulnerablePathsFailure: string;
|
|
252
|
+
ValidationFailure: string;
|
|
242
253
|
ConnectionTimeout: string;
|
|
243
254
|
};
|
|
244
255
|
CustomBaseImages: {
|
|
@@ -24,6 +24,8 @@ exports.default = {
|
|
|
24
24
|
Unauthorised: 'SNYK-0005',
|
|
25
25
|
TestLimitReached: 'SNYK-0006',
|
|
26
26
|
TagsForOrganizationWithoutGroup: 'SNYK-0007',
|
|
27
|
+
BadGateway: 'SNYK-0008',
|
|
28
|
+
ServiceUnavailable: 'SNYK-0009',
|
|
27
29
|
Server: 'SNYK-9999',
|
|
28
30
|
},
|
|
29
31
|
OpenSourceEcosystems: {
|
|
@@ -223,6 +225,7 @@ exports.default = {
|
|
|
223
225
|
OrgOutsideAdminGroup: 'SNYK-CODE-0010',
|
|
224
226
|
RuleExtensionsLimitReached: 'SNYK-CODE-0011',
|
|
225
227
|
UnsupportedOrg: 'SNYK-CODE-0012',
|
|
228
|
+
RuleExtensionsDecryptionTimeout: 'SNYK-CODE-0013',
|
|
226
229
|
},
|
|
227
230
|
PRChecks: {
|
|
228
231
|
FailedToReadManifest: 'SNYK-PR-CHECK-0001',
|
|
@@ -241,6 +244,14 @@ exports.default = {
|
|
|
241
244
|
GeneralCLIFailure: 'SNYK-CLI-0000',
|
|
242
245
|
ConfigEnvironmentFailed: 'SNYK-CLI-0001',
|
|
243
246
|
ConfigEnvironmentConsistencyIssue: 'SNYK-CLI-0002',
|
|
247
|
+
EmptyFlagOptionIssue: 'SNYK-CLI-0003',
|
|
248
|
+
InvalidFlagOptionIssue: 'SNYK-CLI-0004',
|
|
249
|
+
GetVulnsFromResourceFailed: 'SNYK-CLI-0005',
|
|
250
|
+
AuthConfigIssue: 'SNYK-CLI-0006',
|
|
251
|
+
CommandArgsIssue: 'SNYK-CLI-0007',
|
|
252
|
+
NoSupportedFilesFoundFailure: 'SNYK-CLI-0008',
|
|
253
|
+
TooManyVulnerablePathsFailure: 'SNYK-CLI-0009',
|
|
254
|
+
ValidationFailure: 'SNYK-CLI-0010',
|
|
244
255
|
ConnectionTimeout: 'SNYK-OS-7001',
|
|
245
256
|
},
|
|
246
257
|
CustomBaseImages: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-codes.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/error-codes.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACX,IAAI,EAAE;QACJ,eAAe,EAAE,WAAW;QAC5B,cAAc,EAAE,WAAW;QAC3B,UAAU,EAAE,WAAW;QACvB,OAAO,EAAE,WAAW;QACpB,YAAY,EAAE,WAAW;QACzB,gBAAgB,EAAE,WAAW;QAC7B,+BAA+B,EAAE,WAAW;QAC5C,MAAM,EAAE,WAAW;KACpB;IACD,oBAAoB,EAAE;QACpB,mBAAmB,EAAE,cAAc;QACnC,mBAAmB,EAAE,cAAc;QACnC,wBAAwB,EAAE,cAAc;QACxC,aAAa,EAAE,cAAc;QAC7B,cAAc,EAAE,cAAc;QAC9B,iBAAiB,EAAE,cAAc;QACjC,uBAAuB,EAAE,cAAc;QACvC,0BAA0B,EAAE,cAAc;QAC1C,8BAA8B,EAAE,cAAc;QAC9C,cAAc,EAAE,cAAc;QAC9B,uBAAuB,EAAE,qBAAqB;QAC9C,0BAA0B,EAAE,qBAAqB;QACjD,yBAAyB,EAAE,qBAAqB;QAChD,aAAa,EAAE,qBAAqB;QACpC,kCAAkC,EAAE,qBAAqB;QACzD,uBAAuB,EAAE,qBAAqB;QAC9C,uBAAuB,EAAE,qBAAqB;QAC9C,2BAA2B,EAAE,qBAAq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kB,EAAE,gBAAgB;KACrC;IACD,GAAG,EAAE;QACH,uBAAuB,EAAE,kBAAkB;QAC3C,YAAY,EAAE,kBAAkB;QAChC,kBAAkB,EAAE,kBAAkB;QACtC,oBAAoB,EAAE,oBAAoB;QAC1C,gBAAgB,EAAE,oBAAoB;QACtC,qBAAqB,EAAE,oBAAoB;QAC3C,eAAe,EAAE,oBAAoB;QACrC,oBAAoB,EAAE,oBAAoB;QAC1C,2BAA2B,EAAE,oBAAoB;QACjD,cAAc,EAAE,oBAAoB;QACpC,gCAAgC,EAAE,uBAAuB;QACzD,2BAA2B,EAAE,uBAAuB;QACpD,yBAAyB,EAAE,uBAAuB;QAClD,kCAAkC,EAAE,uBAAuB;QAC3D,wBAAwB,EAAE,uBAAuB;QACjD,oBAAoB,EAAE,uBAAuB;QAC7C,wBAAwB,EAAE,uBAAuB;QACjD,sBAAsB,EAAE,uBAAuB;QAC/C,wBAAwB,EAAE,uBAAuB;QACjD,wBAAwB,EAAE,uBAAuB;QACjD,wBAAwB,EAAE,uBAAuB;QACjD,6BAA6B,EAAE,uBAAuB;KACvD;IACD,IAAI,EAAE;QACJ,8BAA8B,EAAE,gBAAgB;QAChD,+BAA+B,EAAE,gBAAgB;QACjD,+BAA+B,EAAE,gBAAgB;QACjD,mCAAmC,EAAE,gBAAgB;QACrD,mBAAmB,EAAE,gBAAgB;QACrC,kBAAkB,EAAE,gBAAgB;QACpC,kCAAkC,EAAE,gBAAgB;QACpD,4BAA4B,EAAE,gBAAgB;QAC9C,oCAAoC,EAAE,gBAAgB;QACtD,oBAAoB,EAAE,gBAAgB;QACtC,0BAA0B,EAAE,gBAAgB;QAC5C,cAAc,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"error-codes.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/error-codes.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACX,IAAI,EAAE;QACJ,eAAe,EAAE,WAAW;QAC5B,cAAc,EAAE,WAAW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