Skip to content

GSA/odp-code-repository-commit-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project

The objective of this repository is to warehouse common rules and patterns for identifying sensitive information in source code.

Rules and Patterns

The examples in the table below are Regular Expression patterns that match sensitive information that should not be committed to code repository.

Name Value
Social Security Numbers [0-9]{3}[\.\-][0-9]{2}[\.\-][0-9]{4}
IPv4 Addresses [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}
Credit Cards [0-9]{12}(?:[0-9]{3})?

Repository contents

gitleaks/rules.toml contains an up-to-date list of rules and patterns for projects using gitleaks.

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

This repository maintains a list of rules for finding secrets in a repository. These rules can be used for pre-commit hooks and post-commit repository scanning.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published