Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/appsec/waf: remove appsec rule size limitations (#1189) #1189

Merged
merged 4 commits into from Mar 1, 2022

Conversation

Julio-Guerra
Copy link
Contributor

The size of the WAF rules were limited like regular WAF values, leading
to truncated WAF rules. This patch changes the limits to the max int
values when encoding the WAF rules. It is considered a simpler change
to achieve compared to the introduction of new "disabled limit" values
that would have introduced more advanced and complex conditions in the
encoder.

The size of the WAF rules were limited like regular WAF values, leading
to truncated WAF rules. This patch changes the limits to the max int
values when encoding the WAF rules. It is considered a simpler change
to achieve compared to the introduction of new "disabled limit" values
that would have introduced more advanced and complex conditions in the
encoder.
@Julio-Guerra Julio-Guerra added this to the 1.37.0 milestone Mar 1, 2022
@Julio-Guerra Julio-Guerra requested a review from Hellzy March 1, 2022 12:34
@Julio-Guerra Julio-Guerra requested a review from a team as a code owner March 1, 2022 12:34
@Julio-Guerra Julio-Guerra changed the title internal/appsec/waf: do not limit the size of WAF rules internal/appsec/waf: remove appsec rule size limitations (#1189) Mar 1, 2022
@Julio-Guerra Julio-Guerra merged commit c5d3ff2 into v1 Mar 1, 2022
@Julio-Guerra Julio-Guerra deleted the julio.guerra/unlimited-waf-rules branch March 1, 2022 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants