snyk 1.970.0 → 1.971.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.
@@ -220,7 +220,26 @@ export declare enum IaCErrorCodes {
220
220
  InvalidUserPolicyEnginePathError = 1140,
221
221
  FailedToDownloadPolicyEngineError = 1141,
222
222
  FailedToCachePolicyEngineError = 1142,
223
- PolicyEngineScanError = 1150
223
+ PolicyEngineScanError = 1150,
224
+ NoPaths = 2000,
225
+ CwdTraversal = 2003,
226
+ NoBundle = 2004,
227
+ OpenBundle = 2005,
228
+ Scan = 2100,
229
+ UnableToRecognizeInputType = 2101,
230
+ UnsupportedInputType = 2102,
231
+ UnableToResolveLocation = 2103,
232
+ UnrecognizedFileExtension = 2104,
233
+ FailedToParseInput = 2105,
234
+ InvalidInput = 2106,
235
+ UnableToReadFile = 2107,
236
+ UnableToReadDir = 2108,
237
+ UnableToReadStdin = 2109,
238
+ FailedToLoadRegoAPI = 2110,
239
+ FailedToLoadRules = 2111,
240
+ FailedToCompile = 2112,
241
+ UnableToReadPath = 2113,
242
+ NoLoadableInput = 2114
224
243
  }
225
244
  export interface TestReturnValue {
226
245
  results: TestResult | TestResult[];
package/dist/cli/index.js CHANGED
@@ -27186,6 +27186,26 @@ var IaCErrorCodes;
27186
27186
  IaCErrorCodes[IaCErrorCodes["FailedToCachePolicyEngineError"] = 1142] = "FailedToCachePolicyEngineError";
27187
27187
  // Scan errors
27188
27188
  IaCErrorCodes[IaCErrorCodes["PolicyEngineScanError"] = 1150] = "PolicyEngineScanError";
27189
+ // snyk-iac-test errors
27190
+ IaCErrorCodes[IaCErrorCodes["NoPaths"] = 2000] = "NoPaths";
27191
+ IaCErrorCodes[IaCErrorCodes["CwdTraversal"] = 2003] = "CwdTraversal";
27192
+ IaCErrorCodes[IaCErrorCodes["NoBundle"] = 2004] = "NoBundle";
27193
+ IaCErrorCodes[IaCErrorCodes["OpenBundle"] = 2005] = "OpenBundle";
27194
+ IaCErrorCodes[IaCErrorCodes["Scan"] = 2100] = "Scan";
27195
+ IaCErrorCodes[IaCErrorCodes["UnableToRecognizeInputType"] = 2101] = "UnableToRecognizeInputType";
27196
+ IaCErrorCodes[IaCErrorCodes["UnsupportedInputType"] = 2102] = "UnsupportedInputType";
27197
+ IaCErrorCodes[IaCErrorCodes["UnableToResolveLocation"] = 2103] = "UnableToResolveLocation";
27198
+ IaCErrorCodes[IaCErrorCodes["UnrecognizedFileExtension"] = 2104] = "UnrecognizedFileExtension";
27199
+ IaCErrorCodes[IaCErrorCodes["FailedToParseInput"] = 2105] = "FailedToParseInput";
27200
+ IaCErrorCodes[IaCErrorCodes["InvalidInput"] = 2106] = "InvalidInput";
27201
+ IaCErrorCodes[IaCErrorCodes["UnableToReadFile"] = 2107] = "UnableToReadFile";
27202
+ IaCErrorCodes[IaCErrorCodes["UnableToReadDir"] = 2108] = "UnableToReadDir";
27203
+ IaCErrorCodes[IaCErrorCodes["UnableToReadStdin"] = 2109] = "UnableToReadStdin";
27204
+ IaCErrorCodes[IaCErrorCodes["FailedToLoadRegoAPI"] = 2110] = "FailedToLoadRegoAPI";
27205
+ IaCErrorCodes[IaCErrorCodes["FailedToLoadRules"] = 2111] = "FailedToLoadRules";
27206
+ IaCErrorCodes[IaCErrorCodes["FailedToCompile"] = 2112] = "FailedToCompile";
27207
+ IaCErrorCodes[IaCErrorCodes["UnableToReadPath"] = 2113] = "UnableToReadPath";
27208
+ IaCErrorCodes[IaCErrorCodes["NoLoadableInput"] = 2114] = "NoLoadableInput";
27189
27209
  })(IaCErrorCodes = exports.IaCErrorCodes || (exports.IaCErrorCodes = {}));
27190
27210
  var PerformanceAnalyticsKey;
27191
27211
  (function (PerformanceAnalyticsKey) {