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

feat: Create custom rules #101

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amontalban
Copy link

what

This PR provides a way to create custom rules (In my particular case I needed to whitelist a particular user-agent) so the example and the code so far is just to cover such case.

I would say it is a very initial approach that would need to be extended because it is hard to cover all cases.

why

We need to create a custom rule to whitelist bot traffic coming from a special user-agent where we couldn't use other rules like IP whitelisting. Without this PR the traffic was blocked by AWSManagedRulesBotControlRuleSet rule.

references

@amontalban amontalban requested review from a team as code owners September 25, 2024 20:02
@mergify mergify bot added the triage Needs triage label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant