terraform-provider-sysdig icon indicating copy to clipboard operation
terraform-provider-sysdig copied to clipboard

feat(posture_zone): use public api for creating zones

Open vojindj opened this issue 7 months ago • 0 comments
trafficstars

This PR updates the sysdig_secure_posture_zone resource to use the public API for creating zones and then make an additional request to the /api/cspm/v1/policy/zone-policies endpoint to attach the created zone to existing policies. If the second request fails, the created zone is deleted.

vojindj avatar Mar 24 '25 14:03 vojindj