Skip to content

Commit

Permalink
Update semgrep.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jndamito authored Jul 25, 2024
1 parent f9ca047 commit 6fdf741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Matching_scripts/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ rules:
message: Duplicate uncaught exception found by Snyk and CodeQL
severity: WARNING
languages:
- json # Semgrep will apply this rule to JSON files
- json
pattern-either:
- pattern-inside: snyk-results.json
pattern: vulnerability.title
regex: '.*Uncaught Exception.*'
- pattern-inside: codeql-results.json
pattern: $.check_name
regex: '.*uncaught-.*exception.*' # Broad pattern for uncaught exceptions
pattern-regex: '.*uncaught-.*exception.*' # Use pattern-regex for regex

0 comments on commit 6fdf741

Please sign in to comment.