@snyk/error-catalog-nodejs-public 5.22.5 → 5.24.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snyk/error-catalog-nodejs-public",
3
- "version": "5.22.5",
3
+ "version": "5.24.0",
4
4
  "type": "commonjs",
5
5
  "author": "snyk.io",
6
6
  "license": "Apache-2.0",
@@ -0,0 +1,34 @@
1
+ /*
2
+ * © 2024 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ProblemError } from '../problem-error';
17
+ /**
18
+ * @class
19
+ * @name IntegrationNotFoundError
20
+ * @description Ensure your SCM integration exists and that it is correctly set up.
21
+ *
22
+ * See more:
23
+ * - [https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations](https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations)
24
+ * @summary SCM integration not found
25
+ * @category Integration
26
+ * @param {string} details the specific details that causes this error
27
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
28
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
29
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
30
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
31
+ */
32
+ export declare class IntegrationNotFoundError extends ProblemError {
33
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
34
+ }
@@ -0,0 +1,53 @@
1
+ /*
2
+ * © 2024 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ "use strict";
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.IntegrationNotFoundError = void 0;
19
+ const types_1 = require("../types");
20
+ const problem_error_1 = require("../problem-error");
21
+ /**
22
+ * @class
23
+ * @name IntegrationNotFoundError
24
+ * @description Ensure your SCM integration exists and that it is correctly set up.
25
+ *
26
+ * See more:
27
+ * - [https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations](https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations)
28
+ * @summary SCM integration not found
29
+ * @category Integration
30
+ * @param {string} details the specific details that causes this error
31
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
32
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
33
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
34
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
35
+ */
36
+ class IntegrationNotFoundError extends problem_error_1.ProblemError {
37
+ constructor(details, additionalData, cause, instance, logs) {
38
+ super({
39
+ title: 'SCM integration not found',
40
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-integration-0001',
41
+ status: 404,
42
+ errorCode: 'SNYK-INTEGRATION-0001',
43
+ level: 'error',
44
+ classification: types_1.Classification.ACTIONABLE,
45
+ instance,
46
+ }, details, Object.assign({ links: [
47
+ 'https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations',
48
+ ] }, additionalData), cause, logs);
49
+ this.name = this.constructor.name;
50
+ }
51
+ }
52
+ exports.IntegrationNotFoundError = IntegrationNotFoundError;
53
+ //# sourceMappingURL=Integration-error-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Integration-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Integration-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;GAcG;AACH,MAAa,wBAAyB,SAAQ,4BAAY;IACxD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,yEAAyE;YAC/E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,uBAAuB;YAClC,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,wFAAwF;aACvF,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,4DA8BC"}
@@ -308,3 +308,18 @@ export declare class UndefinedContainerVendorError extends ProblemError {
308
308
  export declare class UnsupportedContainerVendorError extends ProblemError {
309
309
  constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
310
310
  }
311
+ /**
312
+ * @class
313
+ * @name UnsupportedAlpineDistroError
314
+ * @description This Alpine distro is currently not supported.
315
+ * @summary Unsupported Alpine distro
316
+ * @category PurlVulnerabilityFetching
317
+ * @param {string} details the specific details that causes this error
318
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
319
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
320
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
321
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
322
+ */
323
+ export declare class UnsupportedAlpineDistroError extends ProblemError {
324
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
325
+ }
@@ -15,7 +15,7 @@
15
15
  */
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.UnsupportedContainerVendorError = exports.UndefinedContainerVendorError = exports.UnsupportedDebianDistroError = exports.UndefinedContainerDistroError = exports.TooManyIssuesError = exports.TooManyPurlsError = exports.InvalidPaginationParametersError = exports.InternalServerError = exports.VulndbNextError = exports.VulnDBInvalidResponseError = exports.VulnerabilityServiceUnavailableError = exports.PackageNotFoundError = exports.ComponentNotSupportedError = exports.MissingComponentError = exports.UnsupportedEcosystemError = exports.NamespaceNotProvidedError = exports.InvalidPurlError = exports.AuthorizationRequestFailureError = exports.OrganizationNotWhitelistedError = void 0;
18
+ exports.UnsupportedAlpineDistroError = exports.UnsupportedContainerVendorError = exports.UndefinedContainerVendorError = exports.UnsupportedDebianDistroError = exports.UndefinedContainerDistroError = exports.TooManyIssuesError = exports.TooManyPurlsError = exports.InvalidPaginationParametersError = exports.InternalServerError = exports.VulndbNextError = exports.VulnDBInvalidResponseError = exports.VulnerabilityServiceUnavailableError = exports.PackageNotFoundError = exports.ComponentNotSupportedError = exports.MissingComponentError = exports.UnsupportedEcosystemError = exports.NamespaceNotProvidedError = exports.InvalidPurlError = exports.AuthorizationRequestFailureError = exports.OrganizationNotWhitelistedError = void 0;
19
19
  const types_1 = require("../types");
20
20
  const problem_error_1 = require("../problem-error");
21
21
  /**
@@ -546,4 +546,31 @@ class UnsupportedContainerVendorError extends problem_error_1.ProblemError {
546
546
  }
547
547
  }
548
548
  exports.UnsupportedContainerVendorError = UnsupportedContainerVendorError;
549
+ /**
550
+ * @class
551
+ * @name UnsupportedAlpineDistroError
552
+ * @description This Alpine distro is currently not supported.
553
+ * @summary Unsupported Alpine distro
554
+ * @category PurlVulnerabilityFetching
555
+ * @param {string} details the specific details that causes this error
556
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
557
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
558
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
559
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
560
+ */
561
+ class UnsupportedAlpineDistroError extends problem_error_1.ProblemError {
562
+ constructor(details, additionalData, cause, instance, logs) {
563
+ super({
564
+ title: 'Unsupported Alpine distro',
565
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-ossi-2048',
566
+ status: 400,
567
+ errorCode: 'SNYK-OSSI-2048',
568
+ level: 'warn',
569
+ classification: types_1.Classification.UNSUPPORTED,
570
+ instance,
571
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
572
+ this.name = this.constructor.name;
573
+ }
574
+ }
575
+ exports.UnsupportedAlpineDistroError = UnsupportedAlpineDistroError;
549
576
  //# sourceMappingURL=PurlVulnerabilityFetching-error-catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PurlVulnerabilityFetching-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/PurlVulnerabilityFetching-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;GAWG;AACH,MAAa,+BAAgC,SAAQ,4BAAY;IAC/D,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,SAAS,EAAE,gBAAgB;YAC3B,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;Q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pC,CAAC;CACF;AA5BD,sEA4BC;AAED;;;;;;;;;;;GAWG;AACH,MAAa,+BAAgC,SAAQ,4BAAY;IAC/D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,MAAM;YACb,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,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;AA5BD,0EA4BC"}
1
+ {"version":3,"file":"PurlVulnerabilityFetching-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/PurlVulnerabilityFetching-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;GAWG;AACH,MAAa,+BAAgC,SAAQ,4BAAY;IAC/D,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,SAAS,EAAE,gBAAgB;YAC3B,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;AA5BD,0EA4BC;AAED;;;;;;;;;;;GAWG;AACH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KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,oBAAoB;YAC3B,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,MAAM;YACb,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,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;AA5BD,0EA4BC;AAED;;;;;;;;;;;GAWG;AACH,MAAa,4BAA6B,SAAQ,4BAAY;IAC5D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,2BAA2B;YAClC,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,MAAM;YACb,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,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;AA5BD,oEA4BC"}
@@ -0,0 +1,113 @@
1
+ /*
2
+ * © 2024 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ProblemError } from '../problem-error';
17
+ /**
18
+ * @class
19
+ * @name UnsupportedIntegrationTypeError
20
+ * @description The integration you provided does not support SCM repository access.
21
+ *
22
+ * See more:
23
+ * - [https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations](https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations)
24
+ * @summary Integration type not supported
25
+ * @category SCM
26
+ * @param {string} details the specific details that causes this error
27
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
28
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
29
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
30
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
31
+ */
32
+ export declare class UnsupportedIntegrationTypeError extends ProblemError {
33
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
34
+ }
35
+ /**
36
+ * @class
37
+ * @name RevisionNotResolvedError
38
+ * @description Snyk was unable to resolve the SCM revision you provided. Provide a valid revision, either a full commit ID or an existing commit reference.
39
+ * @summary Revision cannot be resolved
40
+ * @category SCM
41
+ * @param {string} details the specific details that causes this error
42
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
43
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
44
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
45
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
46
+ */
47
+ export declare class RevisionNotResolvedError extends ProblemError {
48
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
49
+ }
50
+ /**
51
+ * @class
52
+ * @name IntegrationAuthenticationFailedError
53
+ * @description Snyk was unable to authenticate with your SCM provider. Ensure you are using valid credentials for the Snyk integration.
54
+ * @summary Integration authentication failed
55
+ * @category SCM
56
+ * @param {string} details the specific details that causes this error
57
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
58
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
59
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
60
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
61
+ */
62
+ export declare class IntegrationAuthenticationFailedError extends ProblemError {
63
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
64
+ }
65
+ /**
66
+ * @class
67
+ * @name IntegrationAuthorizationFailedError
68
+ * @description Snyk was unable to authorize with your SCM provider. If your Organization has SAML SSO enabled or enforced, re-authorize the OAuth Application `Snyk`.
69
+ * @summary Integration authorization failed
70
+ * @category SCM
71
+ * @param {string} details the specific details that causes this error
72
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
73
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
74
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
75
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
76
+ */
77
+ export declare class IntegrationAuthorizationFailedError extends ProblemError {
78
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
79
+ }
80
+ /**
81
+ * @class
82
+ * @name FilesLimitExceededError
83
+ * @description Snyk was unable to retrieve the repository because the overall file count exceeds the limit of 40000.
84
+ *
85
+ * To reduce the file count, use a `.snyk` file to ignore certain directories or files. Alternatively, analyze individual work subdirectories separately.
86
+ * @summary Too many files
87
+ * @category SCM
88
+ * @param {string} details the specific details that causes this error
89
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
90
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
91
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
92
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
93
+ */
94
+ export declare class FilesLimitExceededError extends ProblemError {
95
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
96
+ }
97
+ /**
98
+ * @class
99
+ * @name SizeLimitExceededError
100
+ * @description Snyk was unable to retrieve the repository because the size of the repository exceeds 15 GB.
101
+ *
102
+ * To reduce the overall size of the repository, use a a `.snyk` file to ignore certain directories or files. Alternatively, analyze individual work subdirectories separately.
103
+ * @summary Repository size too large
104
+ * @category SCM
105
+ * @param {string} details the specific details that causes this error
106
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
107
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
108
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
109
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
110
+ */
111
+ export declare class SizeLimitExceededError extends ProblemError {
112
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
113
+ }
@@ -0,0 +1,192 @@
1
+ /*
2
+ * © 2024 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ "use strict";
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.SizeLimitExceededError = exports.FilesLimitExceededError = exports.IntegrationAuthorizationFailedError = exports.IntegrationAuthenticationFailedError = exports.RevisionNotResolvedError = exports.UnsupportedIntegrationTypeError = void 0;
19
+ const types_1 = require("../types");
20
+ const problem_error_1 = require("../problem-error");
21
+ /**
22
+ * @class
23
+ * @name UnsupportedIntegrationTypeError
24
+ * @description The integration you provided does not support SCM repository access.
25
+ *
26
+ * See more:
27
+ * - [https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations](https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations)
28
+ * @summary Integration type not supported
29
+ * @category SCM
30
+ * @param {string} details the specific details that causes this error
31
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
32
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
33
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
34
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
35
+ */
36
+ class UnsupportedIntegrationTypeError extends problem_error_1.ProblemError {
37
+ constructor(details, additionalData, cause, instance, logs) {
38
+ super({
39
+ title: 'Integration type not supported',
40
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0001',
41
+ status: 500,
42
+ errorCode: 'SNYK-SCM-0001',
43
+ level: 'error',
44
+ classification: types_1.Classification.UNSUPPORTED,
45
+ instance,
46
+ }, details, Object.assign({ links: [
47
+ 'https://docs.snyk.io/scm-ide-and-ci-cd-workflow-and-integrations/snyk-scm-integrations',
48
+ ] }, additionalData), cause, logs);
49
+ this.name = this.constructor.name;
50
+ }
51
+ }
52
+ exports.UnsupportedIntegrationTypeError = UnsupportedIntegrationTypeError;
53
+ /**
54
+ * @class
55
+ * @name RevisionNotResolvedError
56
+ * @description Snyk was unable to resolve the SCM revision you provided. Provide a valid revision, either a full commit ID or an existing commit reference.
57
+ * @summary Revision cannot be resolved
58
+ * @category SCM
59
+ * @param {string} details the specific details that causes this error
60
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
61
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
62
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
63
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
64
+ */
65
+ class RevisionNotResolvedError extends problem_error_1.ProblemError {
66
+ constructor(details, additionalData, cause, instance, logs) {
67
+ super({
68
+ title: 'Revision cannot be resolved',
69
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0002',
70
+ status: 500,
71
+ errorCode: 'SNYK-SCM-0002',
72
+ level: 'error',
73
+ classification: types_1.Classification.UNSUPPORTED,
74
+ instance,
75
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
76
+ this.name = this.constructor.name;
77
+ }
78
+ }
79
+ exports.RevisionNotResolvedError = RevisionNotResolvedError;
80
+ /**
81
+ * @class
82
+ * @name IntegrationAuthenticationFailedError
83
+ * @description Snyk was unable to authenticate with your SCM provider. Ensure you are using valid credentials for the Snyk integration.
84
+ * @summary Integration authentication failed
85
+ * @category SCM
86
+ * @param {string} details the specific details that causes this error
87
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
88
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
89
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
90
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
91
+ */
92
+ class IntegrationAuthenticationFailedError extends problem_error_1.ProblemError {
93
+ constructor(details, additionalData, cause, instance, logs) {
94
+ super({
95
+ title: 'Integration authentication failed',
96
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0003',
97
+ status: 401,
98
+ errorCode: 'SNYK-SCM-0003',
99
+ level: 'error',
100
+ classification: types_1.Classification.ACTIONABLE,
101
+ instance,
102
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
103
+ this.name = this.constructor.name;
104
+ }
105
+ }
106
+ exports.IntegrationAuthenticationFailedError = IntegrationAuthenticationFailedError;
107
+ /**
108
+ * @class
109
+ * @name IntegrationAuthorizationFailedError
110
+ * @description Snyk was unable to authorize with your SCM provider. If your Organization has SAML SSO enabled or enforced, re-authorize the OAuth Application `Snyk`.
111
+ * @summary Integration authorization failed
112
+ * @category SCM
113
+ * @param {string} details the specific details that causes this error
114
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
115
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
116
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
117
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
118
+ */
119
+ class IntegrationAuthorizationFailedError extends problem_error_1.ProblemError {
120
+ constructor(details, additionalData, cause, instance, logs) {
121
+ super({
122
+ title: 'Integration authorization failed',
123
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0004',
124
+ status: 401,
125
+ errorCode: 'SNYK-SCM-0004',
126
+ level: 'error',
127
+ classification: types_1.Classification.ACTIONABLE,
128
+ instance,
129
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
130
+ this.name = this.constructor.name;
131
+ }
132
+ }
133
+ exports.IntegrationAuthorizationFailedError = IntegrationAuthorizationFailedError;
134
+ /**
135
+ * @class
136
+ * @name FilesLimitExceededError
137
+ * @description Snyk was unable to retrieve the repository because the overall file count exceeds the limit of 40000.
138
+ *
139
+ * To reduce the file count, use a `.snyk` file to ignore certain directories or files. Alternatively, analyze individual work subdirectories separately.
140
+ * @summary Too many files
141
+ * @category SCM
142
+ * @param {string} details the specific details that causes 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
+ class FilesLimitExceededError extends problem_error_1.ProblemError {
149
+ constructor(details, additionalData, cause, instance, logs) {
150
+ super({
151
+ title: 'Too many files',
152
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0005',
153
+ status: 500,
154
+ errorCode: 'SNYK-SCM-0005',
155
+ level: 'error',
156
+ classification: types_1.Classification.UNSUPPORTED,
157
+ instance,
158
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
159
+ this.name = this.constructor.name;
160
+ }
161
+ }
162
+ exports.FilesLimitExceededError = FilesLimitExceededError;
163
+ /**
164
+ * @class
165
+ * @name SizeLimitExceededError
166
+ * @description Snyk was unable to retrieve the repository because the size of the repository exceeds 15 GB.
167
+ *
168
+ * To reduce the overall size of the repository, use a a `.snyk` file to ignore certain directories or files. Alternatively, analyze individual work subdirectories separately.
169
+ * @summary Repository size too large
170
+ * @category SCM
171
+ * @param {string} details the specific details that causes this error
172
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
173
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
174
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
175
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
176
+ */
177
+ class SizeLimitExceededError extends problem_error_1.ProblemError {
178
+ constructor(details, additionalData, cause, instance, logs) {
179
+ super({
180
+ title: 'Repository size too large',
181
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-scm-0006',
182
+ status: 500,
183
+ errorCode: 'SNYK-SCM-0006',
184
+ level: 'error',
185
+ classification: types_1.Classification.UNSUPPORTED,
186
+ instance,
187
+ }, details, Object.assign({ links: [] }, additionalData), cause, logs);
188
+ this.name = this.constructor.name;
189
+ }
190
+ }
191
+ exports.SizeLimitExceededError = SizeLimitExceededError;
192
+ //# sourceMappingURL=SCM-error-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SCM-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/SCM-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;GAcG;AACH,MAAa,+BAAgC,SAAQ,4BAAY;IAC/D,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,gCAAgC;YACvC,IAAI,EAAE,iEAAiE;YACvE,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,eAAe;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,WAAW;YAC1C,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,wFAAwF;aACvF,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CA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AEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA5BD,wDA4BC"}
@@ -0,0 +1,52 @@
1
+ /*
2
+ * © 2024 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { ProblemError } from '../problem-error';
17
+ /**
18
+ * @class
19
+ * @name TargetNotFoundError
20
+ * @description Snyk was unable to resolve the imported target. Ensure that Snyk created the target and try again.
21
+ *
22
+ * See more:
23
+ * - [https://docs.snyk.io/snyk-admin/snyk-projects#target](https://docs.snyk.io/snyk-admin/snyk-projects#target)
24
+ * @summary Target not found
25
+ * @category Target
26
+ * @param {string} details the specific details that causes this error
27
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
28
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
29
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
30
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
31
+ */
32
+ export declare class TargetNotFoundError extends ProblemError {
33
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
34
+ }
35
+ /**
36
+ * @class
37
+ * @name NoUniqueTargetFoundError
38
+ * @description Snyk was unable to resolve a single target. Snyk found multiple targets configured for the same integration and repository URL pair. Ensure a unique target exists.
39
+ *
40
+ * See more:
41
+ * - [https://docs.snyk.io/snyk-admin/snyk-projects#target](https://docs.snyk.io/snyk-admin/snyk-projects#target)
42
+ * @summary No unique target found
43
+ * @category Target
44
+ * @param {string} details the specific details that causes this error
45
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
46
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
47
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
48
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
49
+ */
50
+ export declare class NoUniqueTargetFoundError extends ProblemError {
51
+ constructor(details: string, additionalData?: Record<string, any>, cause?: Error, instance?: string, logs?: string[]);
52
+ }
@@ -0,0 +1,85 @@
1
+ /*
2
+ * © 2024 Snyk Limited
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the 'License');
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an 'AS IS' BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ "use strict";
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.NoUniqueTargetFoundError = exports.TargetNotFoundError = void 0;
19
+ const types_1 = require("../types");
20
+ const problem_error_1 = require("../problem-error");
21
+ /**
22
+ * @class
23
+ * @name TargetNotFoundError
24
+ * @description Snyk was unable to resolve the imported target. Ensure that Snyk created the target and try again.
25
+ *
26
+ * See more:
27
+ * - [https://docs.snyk.io/snyk-admin/snyk-projects#target](https://docs.snyk.io/snyk-admin/snyk-projects#target)
28
+ * @summary Target not found
29
+ * @category Target
30
+ * @param {string} details the specific details that causes this error
31
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
32
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
33
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
34
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
35
+ */
36
+ class TargetNotFoundError extends problem_error_1.ProblemError {
37
+ constructor(details, additionalData, cause, instance, logs) {
38
+ super({
39
+ title: 'Target not found',
40
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-target-0001',
41
+ status: 404,
42
+ errorCode: 'SNYK-TARGET-0001',
43
+ level: 'error',
44
+ classification: types_1.Classification.ACTIONABLE,
45
+ instance,
46
+ }, details, Object.assign({ links: [
47
+ 'https://docs.snyk.io/snyk-admin/snyk-projects#target',
48
+ ] }, additionalData), cause, logs);
49
+ this.name = this.constructor.name;
50
+ }
51
+ }
52
+ exports.TargetNotFoundError = TargetNotFoundError;
53
+ /**
54
+ * @class
55
+ * @name NoUniqueTargetFoundError
56
+ * @description Snyk was unable to resolve a single target. Snyk found multiple targets configured for the same integration and repository URL pair. Ensure a unique target exists.
57
+ *
58
+ * See more:
59
+ * - [https://docs.snyk.io/snyk-admin/snyk-projects#target](https://docs.snyk.io/snyk-admin/snyk-projects#target)
60
+ * @summary No unique target found
61
+ * @category Target
62
+ * @param {string} details the specific details that causes this error
63
+ * @param {Classification} classification the error classification determining if the error is user-actionable or not
64
+ * @param {Record<string, any>} [additionalData] a collection of relevant data specific to this error
65
+ * @param {Error} [cause] the `Error` type that caused this error to be thrown
66
+ * @param {string} [instance] the instance to use for this error. Overrides 'instance' metadata
67
+ */
68
+ class NoUniqueTargetFoundError extends problem_error_1.ProblemError {
69
+ constructor(details, additionalData, cause, instance, logs) {
70
+ super({
71
+ title: 'No unique target found',
72
+ type: 'https://docs.snyk.io/scan-with-snyk/error-catalog#snyk-target-0002',
73
+ status: 422,
74
+ errorCode: 'SNYK-TARGET-0002',
75
+ level: 'error',
76
+ classification: types_1.Classification.ACTIONABLE,
77
+ instance,
78
+ }, details, Object.assign({ links: [
79
+ 'https://docs.snyk.io/snyk-admin/snyk-projects#target',
80
+ ] }, additionalData), cause, logs);
81
+ this.name = this.constructor.name;
82
+ }
83
+ }
84
+ exports.NoUniqueTargetFoundError = NoUniqueTargetFoundError;
85
+ //# sourceMappingURL=Target-error-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Target-error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/Target-error-catalog.ts"],"names":[],"mappings":";;;AAAA,oCAA0C;AAC1C,oDAAgD;AAEhD;;;;;;;;;;;;;;GAcG;AACH,MAAa,mBAAoB,SAAQ,4BAAY;IACnD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,kBAAkB;YAC7B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,sDAAsD;aACrD,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,kDA8BC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAa,wBAAyB,SAAQ,4BAAY;IACxD,YACI,OAAe,EACf,cAAoC,EACpC,KAAa,EACb,QAAiB,EACjB,IAAe;QAEjB,KAAK,CACH;YACE,KAAK,EAAE,wBAAwB;YAC/B,IAAI,EAAE,oEAAoE;YAC1E,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,kBAAkB;YAC7B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,sBAAc,CAAC,UAAU;YACzC,QAAQ;SACT,EACD,OAAO,kBAEL,KAAK,EAAE;gBACP,sDAAsD;aACrD,IACE,cAAc,GAEnB,KAAK,EACL,IAAI,CACL,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AA9BD,4DA8BC"}
@@ -27,3 +27,6 @@ export * as Code from './Code-error-catalog';
27
27
  export * as PRChecks from './PRChecks-error-catalog';
28
28
  export * as CLI from './CLI-error-catalog';
29
29
  export * as CustomBaseImages from './CustomBaseImages-error-catalog';
30
+ export * as Integration from './Integration-error-catalog';
31
+ export * as Target from './Target-error-catalog';
32
+ export * as SCM from './SCM-error-catalog';
@@ -15,7 +15,7 @@
15
15
  */
16
16
  "use strict";
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.CustomBaseImages = exports.CLI = exports.PRChecks = exports.Code = exports.Fix = exports.SbomExport = exports.OpenSourceUnmanaged = exports.OpenAPI = exports.IsolatedBuilds = exports.PurlVulnerabilityFetching = exports.OpenSourceProjectIssues = exports.OpenSourceProjectSnapshots = exports.OpenSourceEcosystems = exports.Snyk = void 0;
18
+ exports.SCM = exports.Target = exports.Integration = exports.CustomBaseImages = exports.CLI = exports.PRChecks = exports.Code = exports.Fix = exports.SbomExport = exports.OpenSourceUnmanaged = exports.OpenAPI = exports.IsolatedBuilds = exports.PurlVulnerabilityFetching = exports.OpenSourceProjectIssues = exports.OpenSourceProjectSnapshots = exports.OpenSourceEcosystems = exports.Snyk = void 0;
19
19
  exports.Snyk = require("./Snyk-error-catalog");
20
20
  exports.OpenSourceEcosystems = require("./OpenSourceEcosystems-error-catalog");
21
21
  exports.OpenSourceProjectSnapshots = require("./OpenSourceProjectSnapshots-error-catalog");
@@ -30,4 +30,7 @@ exports.Code = require("./Code-error-catalog");
30
30
  exports.PRChecks = require("./PRChecks-error-catalog");
31
31
  exports.CLI = require("./CLI-error-catalog");
32
32
  exports.CustomBaseImages = require("./CustomBaseImages-error-catalog");
33
+ exports.Integration = require("./Integration-error-catalog");
34
+ exports.Target = require("./Target-error-catalog");
35
+ exports.SCM = require("./SCM-error-catalog");
33
36
  //# sourceMappingURL=error-catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/error-catalog.ts"],"names":[],"mappings":";;;AAAA,+CAA6C;AAC7C,+EAA6E;AAC7E,2FAAyF;AACzF,qFAAmF;AACnF,yFAAuF;AACvF,mEAAiE;AACjE,qDAAmD;AACnD,6EAA2E;AAC3E,2DAAyD;AACzD,6CAA2C;AAC3C,+CAA6C;AAC7C,uDAAqD;AACrD,6CAA2C;AAC3C,uEAAqE"}
1
+ {"version":3,"file":"error-catalog.js","sourceRoot":"","sources":["../../../../../packages/error-catalog-nodejs-public/src/catalogs/error-catalog.ts"],"names":[],"mappings":";;;AAAA,+CAA6C;AAC7C,+EAA6E;AAC7E,2FAAyF;AACzF,qFAAmF;AACnF,yFAAuF;AACvF,mEAAiE;AACjE,qDAAmD;AACnD,6EAA2E;AAC3E,2DAAyD;AACzD,6CAA2C;AAC3C,+CAA6C;AAC7C,uDAAqD;AACrD,6CAA2C;AAC3C,uEAAqE;AACrE,6DAA2D;AAC3D,mDAAiD;AACjD,6CAA2C"}
@@ -123,6 +123,7 @@ declare const _default: {
123
123
  UnsupportedDebianDistro: string;
124
124
  UndefinedContainerVendor: string;
125
125
  UnsupportedContainerVendor: string;
126
+ UnsupportedAlpineDistro: string;
126
127
  };
127
128
  IsolatedBuilds: {
128
129
  InvalidRequest: string;
@@ -227,5 +228,20 @@ declare const _default: {
227
228
  ImageCollectionRetrievalFailed: string;
228
229
  CreateVersioningSchemaFail: string;
229
230
  };
231
+ Integration: {
232
+ IntegrationNotFound: string;
233
+ };
234
+ Target: {
235
+ TargetNotFound: string;
236
+ NoUniqueTargetFound: string;
237
+ };
238
+ SCM: {
239
+ UnsupportedIntegrationType: string;
240
+ RevisionNotResolved: string;
241
+ IntegrationAuthenticationFailed: string;
242
+ IntegrationAuthorizationFailed: string;
243
+ FilesLimitExceeded: string;
244
+ SizeLimitExceeded: string;
245
+ };
230
246
  };
231
247
  export default _default;
@@ -125,6 +125,7 @@ exports.default = {
125
125
  UnsupportedDebianDistro: 'SNYK-OSSI-2045',
126
126
  UndefinedContainerVendor: 'SNYK-OSSI-2046',
127
127
  UnsupportedContainerVendor: 'SNYK-OSSI-2047',
128
+ UnsupportedAlpineDistro: 'SNYK-OSSI-2048',
128
129
  },
129
130
  IsolatedBuilds: {
130
131
  InvalidRequest: 'SNYK-OS-8001',
@@ -229,5 +230,20 @@ exports.default = {
229
230
  ImageCollectionRetrievalFailed: 'SNYK-CBI-0018',
230
231
  CreateVersioningSchemaFail: 'SNYK-CBI-0019',
231
232
  },
233
+ Integration: {
234
+ IntegrationNotFound: 'SNYK-INTEGRATION-0001',
235
+ },
236
+ Target: {
237
+ TargetNotFound: 'SNYK-TARGET-0001',
238
+ NoUniqueTargetFound: 'SNYK-TARGET-0002',
239
+ },
240
+ SCM: {
241
+ UnsupportedIntegrationType: 'SNYK-SCM-0001',
242
+ RevisionNotResolved: 'SNYK-SCM-0002',
243
+ IntegrationAuthenticationFailed: 'SNYK-SCM-0003',
244
+ IntegrationAuthorizationFailed: 'SNYK-SCM-0004',
245
+ FilesLimitExceeded: 'SNYK-SCM-0005',
246
+ SizeLimitExceeded: 'SNYK-SCM-0006',
247
+ },
232
248
  };
233
249
  //# sourceMappingURL=error-codes.js.map
@@ -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,E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AuB,EAAE,eAAe;QACxC,4BAA4B,EAAE,eAAe;QAC7C,aAAa,EAAE,eAAe;QAC9B,iBAAiB,EAAE,eAAe;QAClC,iBAAiB,EAAE,eAAe;QAClC,yBAAyB,EAAE,eAAe;QAC1C,8BAA8B,EAAE,eAAe;QAC/C,0BAA0B,EAAE,eAAe;KAC5C;CACJ,CAAA"}
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,qBAAqB;QAClD,yBAAyB,EAAE,qBAAqB;QAChD,aAAa,EAAE,iBAAiB;QAChC,gBAAgB,EAAE,iBAAiB;QACnC,iBAAiB,EAAE,iBAAiB;QACpC,iBAAiB,EAAE,iBAAiB;QACpC,qBAA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