{"version":"2.1.321","anchor":"secret-scanner-regex-rules-get-prefilter-hints","canonical_anchor":"secret-scanner-regex-rules-get-prefilter-hints","heading":"Secret redaction skips checks that cannot match","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/secret-scanner-regex-rules-get-prefilter-hints","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Secret redaction skips checks that cannot match\n\nClaude Code's secret-hiding rules can now skip text that lacks the piece each rule needs, so redaction does less work\n\n**What**\n\nClaude Code has rules that find secrets such as passwords and keys in text and hide them. This is called redaction. Each rule can now name a piece of text it needs to find before it can match anything. When that piece is missing, Claude Code skips the rule. The rule that finds a username and password written inside a web address now also requires the text to contain a web address.\n\n**Why**\n\nThis makes redaction faster. It does not change what gets hidden.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}