Skip to content

Add pii-protection skill - #193

Open
joaovictortinoco wants to merge 1 commit into
awslabs:mainfrom
joaovictortinoco:skill/pii-protection
Open

Add pii-protection skill#193
joaovictortinoco wants to merge 1 commit into
awslabs:mainfrom
joaovictortinoco:skill/pii-protection

Conversation

@joaovictortinoco

Copy link
Copy Markdown

What

Adds a pii-protection skill to aws-dev-toolkit: stop PII leaks in AWS at the
infrastructure layer, no application code change required. Pairs CloudWatch Logs
Data Protection
(real-time masking of sensitive fields in live logs) with Amazon
Macie
(discovery of PII already at rest in S3), routing HIGH-severity findings
through Security Hub -> EventBridge -> SNS.

Why

The existing security skills (security-review, iam, hipaa-assistant,
well-architected) cover IAM, IaC scanning, and compliance frameworks — but none
address runtime data-protection: masking sensitive data already flowing into logs, or
discovering undiscovered PII in storage. Opinionated stance: protect at the infra
layer first, refactor code later.

RFC

Implements #192.

Notes

  • Single flat SKILL.md, dev-toolkit style (two-layer approach -> process -> gotchas
    -> output table). No references/ folder.
  • Gotchas drawn from a real POC: region support for country-specific identifiers,
    Macie's 2-10 min finding lag, cdk destroy not disabling Macie (ongoing billing),
    Macie per-GB cost, and logs:Unmask as the audit escape hatch.
  • Passes markdownlint-cli2 and dprint check locally against repo config.
  • Tested with claude --plugin-dir ./solution-architecture/plugins/aws-dev-toolkit.

Protect PII in AWS logs and storage at the infrastructure layer without
touching application code. Pairs CloudWatch Logs Data Protection (real-time
masking of live logs) with Amazon Macie (PII discovery in S3), routing
HIGH-severity findings through Security Hub -> EventBridge -> SNS.

RFC: awslabs#192
@joaovictortinoco
joaovictortinoco requested a review from a team as a code owner August 3, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant