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

Variable assignments in filters #106

Open
CoreyD97 opened this issue Jul 14, 2020 · 0 comments
Open

Variable assignments in filters #106

CoreyD97 opened this issue Jul 14, 2020 · 0 comments
Assignees

Comments

@CoreyD97
Copy link
Contributor

Feature description:
I want to be able to define variables (static, assignments from filter fields, using regex on filter fields) to use the variables within the filters.

Scenario example:
This would allow complex filtering operations such as identifying cross-origin requests for example:
$origin = request.headers | "Origin: (.*?)\n"; request.host != $origin
Where | could indicate a regex filtering operation on the data of the Request.Headers field.

@CoreyD97 CoreyD97 self-assigned this Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant