mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
17 lines
398 B
TOML
17 lines
398 B
TOML
title = "gitleaks config"
|
|
|
|
[[rules]]
|
|
description = "Asymmetric Private Key"
|
|
regex = '''-----BEGIN ((EC|PGP|DSA|RSA|OPENSSH) )?PRIVATE KEY( BLOCK)?-----'''
|
|
tags = ["key", "AsymmetricPrivateKey"]
|
|
|
|
[[rules]]
|
|
description = "Passwords"
|
|
regex = '''(?i)password=(?i)'''
|
|
tags = ["key", "Generic"]
|
|
|
|
[[rules]]
|
|
description = "secret secret.com"
|
|
regex = '''(?i)secret\.com'''
|
|
tags = ["key", "custom"]
|