Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(aws): add new check cloudwatch_log_group_no_critical_pii_in_logs #5494

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sergargar
Copy link
Member

Context

This PR adds a new check, cloudwatch_log_group_no_critical_pii_in_logs, to detect critical Personally Identifiable Information (PII) in CloudWatch logs using Microsoft Presidio. The goal is to enhance security by ensuring no sensitive PII (e.g., SSNs, credit card numbers) is logged, reducing the risk of privacy violations and compliance issues.

Description

  • New Check: cloudwatch_log_group_no_critical_pii_in_logs detects critical PII such as Social Security Numbers (SSNs), credit card numbers, and email addresses.

Checklist

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

@github-actions github-actions bot added the provider/aws Issues/PRs related with the AWS provider label Oct 21, 2024
Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

Attention: Patch coverage is 96.61017% with 2 lines in your changes missing coverage. Please review.

Project coverage is 89.59%. Comparing base (2ef9e27) to head (876e84e).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...gs/cloudwatch_log_group_no_critical_pii_in_logs.py 96.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5494      +/-   ##
==========================================
- Coverage   89.60%   89.59%   -0.02%     
==========================================
  Files        1072     1074       +2     
  Lines       33219    33296      +77     
==========================================
+ Hits        29767    29832      +65     
- Misses       3452     3464      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation provider/aws Issues/PRs related with the AWS provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant