File: allowlist_rule_commit.toml

package info (click to toggle)
gitleaks 8.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,368 kB
  • sloc: makefile: 22; python: 19; xml: 13
file content (9 lines) | stat: -rw-r--r-- 292 bytes parent folder | download
1
2
3
4
5
6
7
8
9
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''']