snyk 1.1189.0 → 1.1190.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.
@@ -642,6 +642,17 @@ exports.translateExitCode = translateExitCode;
642
642
  exports.runDriftCTL = async ({ options, driftIgnore, input, stdio, }) => {
643
643
  const path = await findOrDownload();
644
644
  await drift_1.validateArgs(options);
645
+ if (options.kind === 'describe') {
646
+ const descOptions = options;
647
+ if (descOptions.deep ||
648
+ descOptions.all ||
649
+ descOptions['only-managed'] ||
650
+ descOptions.drift) {
651
+ process.stderr.write(`DEPRECATION NOTICE: Drift detection of managed resources,\n` +
652
+ `including --only-managed and --drift has been deprecated.\n` +
653
+ `The end-of-life date for drift detection of managed resources is September 30. 2023.\n\n`);
654
+ }
655
+ }
645
656
  const args = await exports.generateArgs(options, driftIgnore);
646
657
  if (!stdio) {
647
658
  stdio = ['pipe', 'pipe', 'inherit'];