-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZIA DLP Engine Predefined Engine not found #216
Comments
Hi @tiwari3010 This functionally (Search By name) is not currently supported by the provider due to API limitations. We are exploring other options to allow for search methods; however, at the moment you can search based on ID. data "zia_dlp_engines" "id" {
id = 62
}
output "zia_dlp_engines" {
value = data.zia_dlp_engines.id
} |
Thank you Will for your response. I will keep using I'd for now.
Unrelated question, are you aware when we will be able to create dlp engine
using API and terrafrom? I am aware post/put API for creating/updating dlp
engine is not yet available. Or there is a reason this functionality does
exist?
Currently, we can create dlp policy and dictionary but dictionary needs to
reference engine for creating engine someone has to go in admin UI.
…On Tue, Mar 28, 2023, 02:58 William Guilherme ***@***.***> wrote:
Hi @tiwari3010 <https://github.com/tiwari3010> This functionally (Search
By name) is not currently supported by the provider due to API limitations.
We are exploring other options to allow for search methods; however, at the
moment you can search based on ID.
The recommended way currently is to retrieve the IDs via Postman and use
those attributes in your HCL in the following form:
data "zia_dlp_engines" "id" {
id = 62
}
output "zia_dlp_engines" {
value = data.zia_dlp_engines.id
}
—
Reply to this email directly, view it on GitHub
<#216 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHSMVPW5NLMB33UJJAOT3BLW6KD2FANCNFSM6AAAAAAWJUUPNM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @tiwari3010 We've deployed a fix for the dlp predefined engine search and it will be available in the next minor release v2.5.1 in upcoming weeks. Regards |
Not sure if this is bug, I am opening this as a question:
Affected Resource(s)
trying to create DLP policy using predefined engine (HIPAA or GBLA).
Use below code for getting the ID from name:
Terraform provider version:
Got error
Expected Behavior
Terraform should be able to resolve predefined engine to ID to be used in policy.
Actual Behavior
Terraform is able to add custom created DLP Engines but not predefined engines.
When using the Actual ID, terraform is able to Add the engine to the policy.
The text was updated successfully, but these errors were encountered: