-
Notifications
You must be signed in to change notification settings - Fork 84
Persist pii_scrubber decisions with retention policy #274
Copy link
Copy link
Closed
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26area:ai-serviceAI service (FastAPI) areaAI service (FastAPI) areakind:complianceBacklog label: kind:complianceBacklog label: kind:compliancekind:dataBacklog label: kind:dataBacklog label: kind:data
Description
Activity
Metadata
Metadata
Assignees
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26area:ai-serviceAI service (FastAPI) areaAI service (FastAPI) areakind:complianceBacklog label: kind:complianceBacklog label: kind:compliancekind:dataBacklog label: kind:dataBacklog label: kind:data
Problem Statement.
anonymize()returns a result; that result is logged (potentiallyexposing anonymized text) or dropped. Long-term, the audit trail of "we removed PII X
from doc Y" is important.
Technical Context.
app/ai-service/services/pii_scrubber.py.Expected Outcome. Successful anonymizations are persisted to a periodic store
(
pii_decisionstable or Postgres), with apii_decisions_retention_daysconfig.Acceptance Criteria.
/v1/ai/pii-decisions) returns recent decisions for auditors.Files or modules likely to be affected.
app/ai-service/services/pii_scrubber.py,new
app/ai-service/persistence/pii_decisions.py.Difficulty. Medium
Estimated effort. M
Test Coverage — Issues 67–74
Backlog item #66 from `docs/maintainer-issue-backlog.md.