forked from microsoft/hve-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitleaks.toml
More file actions
23 lines (20 loc) · 823 Bytes
/
Copy path.gitleaks.toml
File metadata and controls
23 lines (20 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Gitleaks configuration for hve-core.
#
# Extends the built-in gitleaks ruleset and allowlists the fake secrets that
# live in security test fixtures. These fixtures intentionally embed
# secret-shaped strings to exercise secret-detection logic, so they are not
# real credentials.
#
# Using a path-based allowlist keeps this durable: editing, moving, or removing
# a fixture no longer requires a new commit-pinned entry in .gitleaksignore,
# because allowlisting is matched against the file path rather than a
# commitSHA:file:rule:line fingerprint.
title = "hve-core gitleaks config"
[extend]
useDefault = true
[[allowlists]]
description = "Fake secrets in security test fixtures (PowerShell + Python skill tests)"
paths = [
'''scripts/tests/security/.*\.Tests\.ps1$''',
'''\.github/skills/.*/tests/.*\.py$''',
]