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

Implement rulesets for testing multiple rules #37

Merged
merged 4 commits into from
Mar 20, 2024

Conversation

tyler-goodwin
Copy link
Collaborator

To enable integration testing of multiple rules this PR adds a new ruleset class. This allows adding an ordered list of rules and actions to take, which aims to follow a simplified version of cloudflares custom waf rules.

@tyler-goodwin tyler-goodwin requested a review from nfowl March 6, 2024 23:02
README.md Outdated Show resolved Hide resolved
src/firewall.ts Outdated Show resolved Hide resolved
src/firewall.ts Outdated Show resolved Hide resolved
src/firewall.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@nfowl nfowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a couple of smallish comments around the terminal helper funcs

src/firewall.ts Outdated Show resolved Hide resolved
src/firewall.ts Outdated Show resolved Hide resolved
@tyler-goodwin tyler-goodwin merged commit bf6a8f4 into SerCeMan:master Mar 20, 2024
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