PaloAltoNetworks / terraform-provider-prismacloudcompute

Terraform provider for Prisma Cloud Compute
https://registry.terraform.io/providers/PaloAltoNetworks/prismacloudcompute/latest
Mozilla Public License 2.0
24 stars 28 forks source link

Add graceDaysPolicy for Vulnerability Policies #41

Closed hi-artem closed 2 years ago

hi-artem commented 2 years ago

Describe the problem

It is currently a limitation of the provider. The prismacloudcompute_host_vulnerability_policy and prismacloudcompute_ci_image_vulnerability_policy resources only support graceDays directive, but not graceDaysPolicy.

One common issue here is for users implementing FedRAMP, there is no way to define the recommended policy using just graceDays. Since the period for various severity should be different.

Suggested fix

Add graceDaysPolicy directive to the affected resources.

hi-artem commented 2 years ago

I mislabeled this one - it should be enhancement

hi-artem commented 2 years ago

i will work on this issue since it is currently a blocker for us

wfg commented 2 years ago

Added with #42