try to make pattern match something?

This commit is contained in:
Olivier 'reivilibre committed 2026-04-01 16:09:50 +01:00
1 parent 766e578355
commit 7ea08a0ddb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ rules:
def $FUNC(...):
...
- pattern: |
"...profiles..."
"profiles"
# - pattern: |
# "...user_id..."
message: "Function '$FUNC' references both 'profiles' and 'user_id'"
+1 -1
View File
@@ -5,7 +5,7 @@ rules:
def $FUNC(...):
...
- pattern: |
"...evil..."
"evil"
message: "Function '$FUNC' contains evil"
languages: [python]
severity: ERROR