32 lines
559 B
TOML
32 lines
559 B
TOML
# Gitleaks configuration for Agent Orchestrator
|
|
# Prevents accidental commits of secrets, API keys, tokens, etc.
|
|
|
|
title = "Agent Orchestrator Secret Scanning"
|
|
|
|
# Use all default gitleaks rules
|
|
[extend]
|
|
useDefault = true
|
|
|
|
# Allowlist to ignore false positives
|
|
[allowlist]
|
|
description = "Allowlisted patterns"
|
|
|
|
paths = [
|
|
"node_modules/",
|
|
"dist/",
|
|
".next/",
|
|
"coverage/",
|
|
"pnpm-lock.yaml",
|
|
]
|
|
|
|
regexes = [
|
|
# Environment variable references
|
|
"\\$\\{[A-Z_]+\\}",
|
|
|
|
# Placeholder values
|
|
"your-api-key-here",
|
|
"your-token-here",
|
|
"example\\.com",
|
|
|
|
]
|