Skip to content

Support Drift Remediation #1011

@Constantine19

Description

@Constantine19

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions