Working on the retention system.

This commit is contained in:
charlesgauthereau
2025-08-28 09:45:22 +02:00
parent a0c8d1fb68
commit 1920b29a55
2 changed files with 13 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
title = "Custom gitleaks config"
[allowlist]
# Global allowlist patterns (wont be flagged)
regexes = [
"s3SecretAccessKey: env.S3_SECRET_KEY ?? null",
"smtpPassword: env.SMTP_PASSWORD ?? null"
]
paths = [
"src/utils/init.ts"
]
+2 -1
View File
@@ -34,7 +34,8 @@ async function createSettingsIfNotExist() {
smtpUser: env.SMTP_USER ?? null,
s3EndPointUrl: env.S3_ENDPOINT ?? null,
s3AccessKeyId: env.S3_ACCESS_KEY ?? null,
s3SecretAccessKey: "ok",
// gitleaks:allow
s3SecretAccessKey: env.S3_SECRET_KEY ?? null,
S3BucketName: env.S3_BUCKET_NAME ?? null,
};