ruleset: add support for http_response_headers_transform phase
@@ -25,6 +25,7 @@ const (
RulesetPhaseHTTPRequestMain RulesetPhase = "http_request_main"
RulesetPhaseHTTPRequestSanitize RulesetPhase = "http_request_sanitize"
RulesetPhaseHTTPRequestTransform RulesetPhase = "http_request_transform"
+ RulesetPhaseHTTPResponseHeadersTransform RulesetPhase = "http_response_headers_transform"
RulesetPhaseHTTPResponseFirewallManaged RulesetPhase = "http_response_firewall_managed"
RulesetPhaseMagicTransit RulesetPhase = "magic_transit"
RulesetPhaseRateLimit RulesetPhase = "http_ratelimit"
@@ -76,6 +77,7 @@ func RulesetPhaseValues() []string {
string(RulesetPhaseHTTPRequestMain),
string(RulesetPhaseHTTPRequestSanitize),
string(RulesetPhaseHTTPRequestTransform),
+ string(RulesetPhaseHTTPResponseHeadersTransform),
string(RulesetPhaseHTTPResponseFirewallManaged),
string(RulesetPhaseMagicTransit),
string(RulesetPhaseRateLimit),
