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

Add support for multiple custom rule match_conditions #83

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

ayeshajay
Copy link
Contributor

Purpose

Add support for multiple custom rule match_conditions

Goals

We need to give support for the multiple match conditions with custom WAF rules.

Release note

Existing users need to update the existing condition to the following.

Existing

match_condition = {
            match_variable     = "Testing condition"
            match_values       = ["/test"]
            operator           = "contains"
            negation_condition = false
            transforms         = []
          }

New

match_condition = [{
            match_variable     = "Testing condition"
            match_values       = ["/test"]
            operator           = "contains"
            negation_condition = false
            transforms         = []
          }]

@ayeshajay ayeshajay merged commit b016599 into wso2:main Jul 29, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants