add ruleset_v2 loading code

This commit is contained in:
Kevin Pham
2023-12-05 10:50:54 -06:00
parent 692b2a5d17
commit 9d77c63697
4 changed files with 426 additions and 4 deletions

View File

@@ -102,7 +102,6 @@ requestmodifications:
if len(rule.RequestModifications) != 1 {
t.Errorf("expected number of RequestModifications to be 1, got %d", len(rule.RequestModifications))
}
fmt.Println(rule.RequestModifications[0].Name)
}
func TestRuleMarshalYAML(t *testing.T) {