diff --git a/argocd/utils.go b/argocd/utils.go index 86b05feb..6cd2bb6e 100644 --- a/argocd/utils.go +++ b/argocd/utils.go @@ -87,7 +87,7 @@ func isValidPolicyAction(action string) bool { "*": true, } validActionPatterns := []*regexp.Regexp{ - regexp.MustCompile("action/.*"), + regexp.MustCompile("(action|update|delete)/.*"), } if validActions[action] {