diff --git a/internal/seclang/directives.go b/internal/seclang/directives.go index b45220c8c..7d02b89d8 100644 --- a/internal/seclang/directives.go +++ b/internal/seclang/directives.go @@ -1053,7 +1053,7 @@ func updateTargetBySingleID(id int, variables string, options *DirectiveOptions) // It has two limitations: it cannot be used to change the ID or phase of a rule. // Only the actions that can appear only once are overwritten. // The actions that are allowed to appear multiple times in a list, will be appended to the end of the list. -// The following example demonstrates how `SecAuditEngine` is used: +// The following example demonstrates how `SecRuleUpdateActionById` is used: // ```apache // SecRuleUpdateActionById 12345 "deny,status:403" // ``` @@ -1067,7 +1067,7 @@ func directiveSecRuleUpdateActionByID(options *DirectiveOptions) error { if idsOrRangesLen < 2 { return errors.New("syntax error: SecRuleUpdateActionById id \"ACTION1,ACTION2,...\"") } - // The last element is expected to be the actions(s) + // The last element is expected to be the action(s) actions := idsOrRanges[idsOrRangesLen-1] for _, idOrRange := range idsOrRanges[:idsOrRangesLen-1] { if idx := strings.Index(idOrRange, "-"); idx == -1 { diff --git a/renovate.json b/renovate.json index f1b6d2387..9d89bab52 100644 --- a/renovate.json +++ b/renovate.json @@ -1,9 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:best-practices" - ], - "constraints": { - "go": "1.22" - } + "local>corazawaf/renovate-config" + ] }