From 6ebd6e4aec31103b909b6bf010d64e977a8a2bea Mon Sep 17 00:00:00 2001 From: William Guilherme Date: Mon, 13 Feb 2023 11:24:32 -0800 Subject: [PATCH] Fix web dlp rule ocr validation (#184) --- zia/resource_zia_dlp_web_rules.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/zia/resource_zia_dlp_web_rules.go b/zia/resource_zia_dlp_web_rules.go index 40521f4f..40bafd00 100644 --- a/zia/resource_zia_dlp_web_rules.go +++ b/zia/resource_zia_dlp_web_rules.go @@ -420,8 +420,6 @@ func validateDlpWebRules(dlp dlp_web_rules.WebDLPRules) error { return fmt.Errorf("web dlp rule file types must be a subset of %v when OcrEnabled is disabled", fileTypes) } } - } else if len(dlp.FileTypes) > 0 { - return fmt.Errorf("web dlp rule file types must not be set when OcrEnabled is enabled") } return nil }