I'd like to select all enabled policies, but then filter out the ones that have "build" as policySubType included.
Afterward I like to add all of the still selected policies to an alert rule.
Currently I get the following error for some rules in our setup:
Error(msg:compute_policy_only_allowed_for_cag_rule severity:error subject:) which is because the policy is a "build" subtype policy.
Is your feature request related to a problem?
I'd like the
prismacloud_policies
data source https://registry.terraform.io/providers/PaloAltoNetworks/prismacloud/latest/docs/data-sources/policies to include thepolicySubTypes
.Describe the solution you'd like
I'd like to select all enabled policies, but then filter out the ones that have "build" as policySubType included. Afterward I like to add all of the still selected policies to an alert rule.
Currently I get the following error for some rules in our setup:
Error(msg:compute_policy_only_allowed_for_cag_rule severity:error subject:)
which is because the policy is a "build" subtype policy.