Composite rules (#1905)

* composite rules

* add test config

* tests

* taking care of some pr comments

* naming
This commit is contained in:
Zachary Rice authored and GitHub committed 2025-07-20 11:13:38 -05:00
1 parent 72977e41b6
commit b1c9c7ecbe
9 files changed
+473 -21

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
title = "Fragment level composite rule"
[[rules]]
id = "primary-rule"
description = "Primary rule"
regex = 'password\s*=\s*"([^"]+)"'
[[rules.required]]
id = "username-rule"
[[rules]]
id = "username-rule"
description = "Username rule"
regex = 'username\s*=\s*"([^"]+)"'
skipReport = true