From 7ea08a0ddb00af8cee9823823d64188add4a636b Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Wed, 1 Apr 2026 16:09:50 +0100 Subject: [PATCH] try to make pattern match something? --- .config/semgrep/review-warnings.yaml | 2 +- .config/semgrep/strict.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/semgrep/review-warnings.yaml b/.config/semgrep/review-warnings.yaml index 50313ea557..d062c9bf45 100644 --- a/.config/semgrep/review-warnings.yaml +++ b/.config/semgrep/review-warnings.yaml @@ -5,7 +5,7 @@ rules: def $FUNC(...): ... - pattern: | - "...profiles..." + "profiles" # - pattern: | # "...user_id..." message: "Function '$FUNC' references both 'profiles' and 'user_id'" diff --git a/.config/semgrep/strict.yaml b/.config/semgrep/strict.yaml index ebd8888404..aa0c8d3c54 100644 --- a/.config/semgrep/strict.yaml +++ b/.config/semgrep/strict.yaml @@ -5,7 +5,7 @@ rules: def $FUNC(...): ... - pattern: | - "...evil..." + "evil" message: "Function '$FUNC' contains evil" languages: [python] severity: ERROR