Skip to content

Support Drift Remediation #1011

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

Closed
Constantine19 opened this issue Feb 12, 2025 · 2 comments · Fixed by #1019
Closed

Support Drift Remediation #1011

Constantine19 opened this issue Feb 12, 2025 · 2 comments · Fixed by #1019
Assignees
Labels
enhancement New feature or request

Comments

@Constantine19
Copy link

Constantine19 commented Feb 12, 2025

Image

Is your feature request related to a problem? Please describe.
The new drift remediation feature needs to be supported by the provider

Describe the solution you'd like
having an option to select drift remediation setting,
drift remediation should be available through both 'project_policy' and 'drift_detection' resources.
The relevant APIs should be:
for the drift_detection resource:
'autoDriftRemediation' returned in get drift detection api
new additional 'autoDriftRemediation' in set drift detection api
for the 'project_policy':
new 'autoDriftRemediation' in update project policy api
'autoDriftRemediation' in get project policies api

when no drift remediation settings exists for the drift detection (or none defined) the returned default is 'DISABLED' from the APIs (and not undefined)
Describe alternatives you've considered
Public API

@Cipher-08
Copy link

Hey @TomerHeber, This feature looks important. Happy to take it on and make it happen. Let me know if it's open - will move fast.

@TomerHeber
Copy link
Collaborator

Hey @TomerHeber, This feature looks important. Happy to take it on and make it happen. Let me know if it's open - will move fast.

Hi @Cipher-08 thank you for the offer.
A PR was already done for this. #1019
Therefore, additional work will not be needed.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants