Skip to content

Commit

Permalink
Fix web dlp rule ocr validation (zscaler#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr authored Feb 13, 2023
1 parent a47b5dc commit 6ebd6e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zia/resource_zia_dlp_web_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6ebd6e4

Please sign in to comment.