Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove deprecated managed IaC drift detection #4908

Merged
merged 7 commits into from
Dec 13, 2023

Conversation

chdorner-snyk
Copy link
Contributor

@chdorner-snyk chdorner-snyk commented Oct 17, 2023

What does this PR do?

managed drift detection has been deprecated with e6ad44a and is now being removed after a (more thn) 90-day period, this PR removes support for it. This mainly means:

  • not sending the --deep arg to driftctl anymore
  • removing output parsing and rendering code related to managed drift (changes, differences)
  • upgrading driftctl to v0.40.0 which removes the functionality

Where should the reviewer start?

see next

How should this be manually tested?

Best way is to run a few commands to ensure that the functionality that should still work still works:

  • snyk iac describe --only-unmanaged
  • snyk iac describe --only-unmanaged --json
  • snyk iac describe --only-unmanaged --html
  • snyk iac describe --only-unmanaged --html-file-output=output.html

Since we now only have one mode, so the command now also works without any flags:

  • snyk iac describe

Functionality that changed:

  • snyk iac describe --only-managed - now errors
  • snyk iac describe --deep - still works, but only uses the unmanaged mode

CLI help and the documentation has already changed, i.e. CLI help has changed here.

Any background context you want to provide?

We've deprecated managed drift detection in v1.1190.0, and communicated a 90-day deprecation window. The end of the deprecation period was reached on September 30th, we're now finally fully removing this functionality.

What are the relevant tickets?

IAC-2657

Screenshots

Additional questions

@chdorner-snyk chdorner-snyk force-pushed the IAC-2657/remove-managed-drift-detection branch 3 times, most recently from 0b0f051 to 06584cf Compare December 8, 2023 13:36
@chdorner-snyk chdorner-snyk marked this pull request as ready for review December 12, 2023 09:34
@chdorner-snyk chdorner-snyk requested review from a team as code owners December 12, 2023 09:34
@chdorner-snyk chdorner-snyk requested review from robh-snyk and andreeaneata and removed request for robh-snyk December 12, 2023 09:34
@bastiandoetsch
Copy link
Contributor

Hey @chdorner-snyk , would you please use the PR template? Especially, customer communication both in documentation and updates.snyk.io would need some mentions here :).

@chdorner-snyk
Copy link
Contributor Author

@bastiandoetsch yeah, this PR has been open in draft mode for a very long time. Updated the PR description now.

@bastiandoetsch
Copy link
Contributor

Can't really check the logic features, but that's what @andreeaneata 's review is for ;)

@chdorner-snyk chdorner-snyk force-pushed the IAC-2657/remove-managed-drift-detection branch from 06584cf to aef0823 Compare December 13, 2023 14:58
@chdorner-snyk chdorner-snyk enabled auto-merge (squash) December 13, 2023 15:43
@chdorner-snyk chdorner-snyk merged commit ccd03cc into master Dec 13, 2023
16 checks passed
@chdorner-snyk chdorner-snyk deleted the IAC-2657/remove-managed-drift-detection branch December 13, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants