NAME

Text::Redact::Secrets::Rules::Dist - rules of Text::Redact::Secrets' own

DESCRIPTION

The rules Text::Redact::Secrets finds secrets by, beside gitleaks', for secrets gitleaks has no rule for. Each is written as gitleaks writes its rules, and run as they are, after them, with gitleaks' global allowlists. Their ids are Text::Redact::Secrets' own:

url-userinfo-password

A password in a URL's user information, as in postgres://user:password@host/db, whatever the scheme. gitleaks won't add one: its maintainer said in 2026 that no more rules would be added, in its issue 2089.

FUNCTIONS

rules

A reference to a list of the rules, each a hash of its id, its regex, and its keywords, as "rules" in Text::Redact::Secrets::Rules::Gitleaks gives gitleaks'.

LICENSE

Copyright (c) 2026 by Iain Campbell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.