func transformationToLowercase(input string, _ *transformations.Tools) string {
	return strings.ToLower(input)
}
Test transformation, string to lowercase
package seclang
import (
	"strconv"
	"strings"
	"testing"
	"github.com/jptosso/coraza-waf"
	"github.com/jptosso/coraza-waf/plugins"
	"github.com/jptosso/coraza-waf/transformations"
)
func init() {
	plugins.RegisterTransformation("testToLower", transformationToLowercase)
	plugins.RegisterOperator("even", func() coraza.Operator {
		return &opEven{}
	})
	plugins.RegisterAction("id15", func() coraza.RuleAction {
		return &id15{}
	})
}