Files
gitleaks/testdata/config/valid/allowlist_rule_commit.toml

10 lines
292 B
TOML

title = "simple config with allowlist for a specific commit"
[[rules]]
description = "AWS Access Key"
id = "aws-access-key"
regex = '''(?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z0-9]{16}'''
tags = ["key", "AWS"]
[[rules.allowlists]]
commits = ['''allowthiscommit''']