tftsr-devops_investigation/src-tauri/src/pii
Shaun Arman fbd6aab7fe
All checks were successful
Test / rust-fmt-check (pull_request) Successful in 1m20s
Test / frontend-typecheck (pull_request) Successful in 1m37s
Test / frontend-tests (pull_request) Successful in 1m35s
Test / rust-clippy (pull_request) Successful in 3m11s
PR Review Automation / review (pull_request) Successful in 4m22s
Test / rust-tests (pull_request) Successful in 4m28s
fix(security): expand Password PII patterns; add regression tests
Two credential patterns were missing from the PiiDetector, confirmed
by live audit log showing was_pii_redacted: false with plaintext creds:

1. Abbreviated key form (pass: abc123!!): the pattern only matched
   password|passwd|pwd. Added pass, passphrase, secret with a word
   boundary to prevent substring false positives (bypass:, compass:).

2. Natural language form (Is the password password123 good): added a
   second Password sub-pattern for keyword-adjacent values without a
   key separator. Value must contain a digit or special char to avoid
   flagging plain words (password strength, password policy).

5 new regression tests added. 233/233 Rust tests pass.
2026-05-31 20:47:59 -05:00
..
detector.rs fix(security): expand Password PII patterns; add regression tests 2026-05-31 20:47:59 -05:00
mod.rs fix: inline format args for Rust 1.88 clippy compatibility 2026-03-15 13:28:59 -05:00
patterns.rs fix(security): expand Password PII patterns; add regression tests 2026-05-31 20:47:59 -05:00
redactor.rs feat: initial implementation of TFTSR IT Triage & RCA application 2026-03-14 22:36:25 -05:00