mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
15 lines
400 B
TOML
15 lines
400 B
TOML
[[rules]]
|
|
description = "AWS Secret Key"
|
|
regex = '''(?i)aws(.{0,20})?(?-i)['\"][0-9a-zA-Z\/+]{40}['\"]'''
|
|
tags = ["key", "AWS"]
|
|
|
|
[[rules]]
|
|
description = "AWS Manager ID"
|
|
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
|
|
tags = ["key", "AWS"]
|
|
|
|
## this is an example of a rule that won't work
|
|
[[rules]]
|
|
description = "Python files"
|
|
fileRegex = "(?i)*.py"
|