Closed hi-artem closed 2 years ago
We should have a way to get ID for Custom Rules. It will be particularly useful for the Rules that pre-exist in Prisma Cloud Compute.
data "prismacloudcompute_custom_rule" "rule" { name = "Block log4j" } resource "prismacloudcompute_container_runtime_policy" "ruleset" { custom_rule { action = "incident" effect = "block" id = data.prismacloudcompute_custom_rule.rule } }
In v0.3.0. Thanks for the contributions @hi-artem!
Is your feature request related to a problem?
We should have a way to get ID for Custom Rules. It will be particularly useful for the Rules that pre-exist in Prisma Cloud Compute.
Describe the solution you'd like