mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
11 lines
345 B
TOML
11 lines
345 B
TOML
# This is a simple gitleaks config that contains one rule which checks for AWS keys and a file check that will trigger
|
|
# a leak if a .pem file is found
|
|
|
|
[[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"]
|
|
|
|
[Global]
|
|
file = '''(.*)?pem$'''
|