# The weekly security sweep reads this file in place of the family gitleaks # config, so it extends that config and adds only this repository's # allowlist. The path is where the sweep's image keeps the family rules. # # Every entry says why the matched value is not a secret. [extend] path = "/opt/security-rules/gitleaks-family.toml" [allowlist] description = "Minstrel: test values that look like credentials and are not" regexes = [ # AWS's published SigV4 example credentials ("Examples: Signature # Calculations in AWS Signature Version 4", Amazon S3 API reference). # internal/backup/s3_test.go signs AWS's own worked example with them and # checks the signature AWS prints, so they must stay exactly as published. '''AKIAIOSFODNN7EXAMPLE''', '''wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY''', # An invite token that a register test inserts into the throwaway test # database and then redeems (internal/api/auth_register_test.go). '''test-invite-abc123''', ]