Skip to content

The Condition block is not handled properly when Operator is OR #464

@aamplugin

Description

@aamplugin

The following statement will not be handled properly due to incorrectly resolved logical operation between two distinct groups:

{
    "Statement": [
        {
            "Effect": "deny",
            "Resource": "Url:/website-page",
            "Condition": {
                "Operator": "OR",
                "NotEquals": {
                    "${HTTP_GET.ref}": "xxx"
                },
                "NotIn": {
                    "${USER.ip}": [
                        "1.1.1.1",
                        "8.8.8.8"
                    ]
                }
            }
        }
    ]
}

Metadata

Metadata

Assignees

Labels

Projects

Status

Ready For Release

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions