diff --git a/rule-types/github/gitleaks_github_action.yaml b/rule-types/github/gitleaks_github_action.yaml index e53777e..8b7fbb5 100644 --- a/rule-types/github/gitleaks_github_action.yaml +++ b/rule-types/github/gitleaks_github_action.yaml @@ -35,8 +35,8 @@ def: default message := "Gitleaks GitHub action is not configured" default allow := false - allow if {"gitleaks/gitleaks-action" in actions - } + allow if contains(actions[_], "gitleaks/gitleaks-action") + # Defines the configuration for alerting on the rule alert: type: security_advisory