We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f1a2de commit 5fe4c70Copy full SHA for 5fe4c70
.gitleaks.toml
@@ -0,0 +1,9 @@
1
+title = "DASG Standard"
2
+
3
+[extend]
4
+ useDefault = true
5
6
+[[rules]]
7
+ id = "mbi-detection"
8
+ description = "Detects a potential MBI pattern based on https://www.cms.gov/medicare/new-medicare-card/understanding-the-mbi.pdf"
9
+ regex = '''\b((?i)[1-9][ACDEFGHJKMNPQRTUVWXY][ACDEFGHJKMNPQRTUVWXY\d]-?\d[ACDEFGHJKMNPQRTUVWXY][ACDEFGHJKMNPQRTUVWXY\d]\d-?[ACDEFGHJKMNPQRTUVWXY]{2}\d{2})\b'''
.pre-commit-config.yaml
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
- rev: v8.16.1
+ rev: v8.19.2
hooks:
- id: gitleaks
0 commit comments