/
githubmirror
/
gitleaks
Обзор
Документация
Войти
/
githubmirror
/
gitleaks
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
testdata/config/archives.toml
21 строка
518 B
bplaxco
Archive support (#1872)
01 июн 2025, 19:29
Не верифицирован
01 июн 2025, 19:29
782f310
Код
Авторство
О чём код?
title = "gitleaks config" # https://learnxinyminutes.com/docs/toml/ for toml reference [[rules]] id = "aws-access-key" description = "AWS Access Key" regex = '''(?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z0-9]{16}''' tags = ["key", "AWS"] # Here to confirm that allowlists work in archives [[rules]] id = 'password' description = "Find the DB password in .env.prod" path = '''\.env\.prod$''' regex = '''(?i)password=([^\s]+)''' # Now ignore it to confirm allowlists work [[allowlists]] paths = [ '''\.env\.prod$''', ]