Skip to content

Commit

Permalink
fix: regexp changed to catch all urls and u/e-numbers (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev authored Oct 21, 2024
1 parent 8de1d51 commit aff0166
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ repos:
hooks:
- id: sensitive-data-leak-urls
name: Sensitive data leak - URLs
entry: sbb\.ch\b
entry: (?<!polarion-opensource@)(?<!www\.)sbb\.ch
language: pygrep
types: [text]
exclude: \b(www\.|polarion-opensource@)sbb\.ch\b
- id: sensitive-data-leak-ue-numbers
name: Sensitive data leak - UE numbers
entry: ([uUeE]{1,2})\d{5,6}
entry: \b([uUeE]{1,2})\d{5,6}\b
language: pygrep
types: [text]
- repo: https://github.com/zricethezav/gitleaks
Expand Down

0 comments on commit aff0166

Please sign in to comment.