[high] gdpr-patterns: PII data potentially logged #35

Open
opened 2026-03-18 16:01:24 +00:00 by sharang · 0 comments
Owner

high Finding

Scanner: gdpr-patterns
Severity: high
Rule: gdpr-pii-logging

Description

Logging statements that may contain personally identifiable information (email, SSN, phone, IP address).

Location

File: compliance-agent/src/pipeline/patterns.rs (line 290)

Code

        assert!(pattern.pattern.is_match("print(phone_number)"));

Fingerprint: 08ebc250273589d4c4eeaf773486650b4f6a4ef1a54fa9cbf1444f4b2e31e018
Generated by compliance-scanner

Labels: severity:high, scanner:gdpr-patterns, compliance-scanner

## high Finding **Scanner:** gdpr-patterns **Severity:** high **Rule:** gdpr-pii-logging ### Description Logging statements that may contain personally identifiable information (email, SSN, phone, IP address). ### Location **File:** `compliance-agent/src/pipeline/patterns.rs` (line 290) ### Code ``` assert!(pattern.pattern.is_match("print(phone_number)")); ``` --- *Fingerprint:* `08ebc250273589d4c4eeaf773486650b4f6a4ef1a54fa9cbf1444f4b2e31e018` *Generated by compliance-scanner* **Labels:** severity:high, scanner:gdpr-patterns, compliance-scanner
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sharang/compliance-scanner-agent#35