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

Policy 'owner' property has no effect #15

Closed wfg closed 3 years ago

wfg commented 3 years ago

The owner property of a rule does not actually do anything. The Compute user specified in the creds.json is used instead.

resource "prismacloudcompute_policiesruntimecontainer" "ruleset" {
  learningdisabled = false
  rules {
    name = "example container runtime rule 1"
    owner = "foobar"
    collections {
      name = "example collection 1"
    }
    advancedprotection       = true
    cloudmetadataenforcement = true
    wildfireanalysis         = "alert"
    processes = {
      "effect" : "alert"
    }
    network = {
      "effect" : "alert"
    }
    dns = {
      "effect" : "disable"
    }
    filesystem = {
      effect = "alert"
    }
  }
}