mirror of
https://github.com/awatertrevi/xamarin-neo4j.git
synced 2026-09-22 09:05:29 +00:00
Install gitleaks
This commit is contained in:
13
.gitleaks.toml
Normal file
13
.gitleaks.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
title = "Gitleaks Configuration"
|
||||
|
||||
[[rules]]
|
||||
id = "generic-api-key" # Add a unique ID for the rule
|
||||
description = "Generic API Key"
|
||||
regex = '''(?i)(api_key|apikey|auth_token|access_token|secret)[:=]["']?[a-z0-9]{32,}'''
|
||||
tags = ["apikey", "secret"]
|
||||
|
||||
[allowlist]
|
||||
paths = [
|
||||
".env", # Matches .env file in any directory
|
||||
".gitignore" # Matches .gitignore file
|
||||
]
|
||||
Reference in New Issue
Block a user