Skip to content

T3: Create PATTERNS hash with Pattern class #40

@dpaluy

Description

@dpaluy

Task Details

Priority: p1 | Story Points: 3 | Group: A (Foundation)
Depends on: none

Files

  • lib/tracebook/redactors/patterns.rb
  • test/lib/redactors/patterns_test.rb

Acceptance Criteria

  • PATTERNS hash with 16 patterns (email, phone, credit_card, ssn, API keys, private_key, IPs)
  • Pattern class with call(text, audit:) interface
  • Validator integration for credit_card and ssn patterns
  • Unit tests for each pattern

Context

Part of PII Redaction Architecture Refactor - Phase 2: Pattern System

See full plan: docs/plans/260106-02b-pii-redaction-architecture.md

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestin-progressCurrently being worked on

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions