snyk 1.1017.0 → 1.1018.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.
@@ -5205,6 +5205,7 @@ const strip_ansi_1 = __webpack_require__(76003);
5205
5205
  const path = __webpack_require__(85622);
5206
5206
  const error_utils_1 = __webpack_require__(36401);
5207
5207
  const output_1 = __webpack_require__(39313);
5208
+ const utils_1 = __webpack_require__(9176);
5208
5209
  function buildOutput({ scanResult, testSpinner, orgSettings, options, }) {
5209
5210
  if (scanResult.results) {
5210
5211
  testSpinner === null || testSpinner === void 0 ? void 0 : testSpinner.succeed(text_1.spinnerSuccessMessage);
@@ -5292,6 +5293,23 @@ function buildTextOutput({ scanResult, projectName, orgSettings, options, }) {
5292
5293
  if (output_1.shouldPrintShareResultsTip(options)) {
5293
5294
  response += SEPARATOR + os_1.EOL + text_1.shareResultsTip + os_1.EOL;
5294
5295
  }
5296
+ response += os_1.EOL;
5297
+ response += utils_1.colors.title('Info') + os_1.EOL;
5298
+ response += os_1.EOL;
5299
+ response +=
5300
+ utils_1.contentPadding +
5301
+ `Your organization ${orgSettings.meta.org} is using Integrated IaC. To switch to Current IaC,` +
5302
+ os_1.EOL;
5303
+ response +=
5304
+ utils_1.contentPadding +
5305
+ `use --org=<ORG_ID> to select a different organization. For more information about Integrated IaC, see:` +
5306
+ os_1.EOL;
5307
+ response += os_1.EOL;
5308
+ response +=
5309
+ utils_1.contentPadding +
5310
+ utils_1.contentPadding +
5311
+ 'https://docs.snyk.io/products/snyk-infrastructure-as-code/snyk-cli-for-infrastructure-as-code/integrated-infrastructure-as-code' +
5312
+ os_1.EOL;
5295
5313
  return response;
5296
5314
  }
5297
5315
  function assertHasSuccessfulScans(scanResult, responseData, options) {