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: waf tests and integration test framework #10

Merged
merged 48 commits into from
Mar 28, 2024
Merged

Conversation

matt-FFFFFF
Copy link
Member

@matt-FFFFFF matt-FFFFFF commented Mar 25, 2024

Adds two new kinds of rule:

  1. SimpleRule - uses generics to check simple values from a resource, also supports nested blocks
  2. NullRule - ensures that the default value of a supplied attribute is null, or references a variabel with no default value.

Adds integration test framework to ensure plugin works with compiled rules.

@matt-FFFFFF matt-FFFFFF requested a review from lonegunmanb March 25, 2024 17:05
@matt-FFFFFF
Copy link
Member Author

@lonegunmanb please can you review

attrvalue/set.go Outdated Show resolved Hide resolved
@matt-FFFFFF matt-FFFFFF merged commit 546d015 into main Mar 28, 2024
6 checks passed
@matt-FFFFFF matt-FFFFFF deleted the waf-refactor branch March 28, 2024 14:17
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