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

PLT-639: Adding gitleaks MBI scanning & updating gitleaks pre-commit version #2268

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

ildesenesence
Copy link
Contributor

🎫 Ticket

https://jira.cms.gov/browse/...

🛠 Changes

Gitleaks custom config extension was added (.gitleaks.toml) allowing for a regex-based MBI filter to be run against new commits, and the gitleaks pre-commit version was updated to 8.19.x which doesn't affect us at this time.

ℹ️ Context

Bulk API Platform Team has an ongoing goal of improving security and safeguarding PHI/PII for our members, to that end we are applying a belt-and-suspenders approach to preventing leakage of data (such as Medicare Beneficiary Identifiers) in github.

Validation

These changes were tested locally and automatically as they make modifications to the pre-commit functionality, and were initially tested and validated against a pregenerated file with MBI data in PLT-532.

@ildesenesence ildesenesence self-assigned this Sep 17, 2024
@ildesenesence ildesenesence requested review from a team September 17, 2024 20:25
Copy link
Contributor

@jdettmannnava jdettmannnava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ildesenesence ildesenesence merged commit b5b62a0 into main Sep 18, 2024
5 checks passed
@ildesenesence ildesenesence deleted the PLT-639-gitleaks-precommit-for-mbi-scanning branch September 18, 2024 14:14
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.

2 participants