secret-scanning-custom-patterns
secret-scanning-custom-patterns copied to clipboard
Examples of Custom Secret Scanning Patterns
New patterns to cover test secrets provided by a customer
I added patterns for Temporal API keys. Every Temporal API key has a prefix "tmprl_" follow by two alphanumeric ids. Pending tests passing.
We have some patterns here that are now supported as vendor partner patterns in Secret Scanning. We should explain that these patterns were written before they were supported in Secret...
Point clearly to the [secret scaning documentation](https://docs.github.com/en/enterprise-cloud@latest/code-security/secret-scanning/defining-custom-patterns-for-secret-scanning) and to the [hyperscan pattern docs](https://intel.github.io/hyperscan/dev-reference/compilation.html#pattern-support).
For patterns we have defined that use anchors in the additional matches, we need to communicate that GitHub Enterprise server v 3.7 and below do not support anchors. Those additional...
### Name / Description Social Security Numbers ### Sample Snippets **True Positives** ``` 123-45-6789 ``` **False Positives** Based on a real UK area code, giving the country code beforehand. We...
### Name / Description SHA Family hashing functions outputs ### Sample Snippets - https://emn178.github.io/online-tools/sha1.html **True Positives** ``` # SHA1 a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 # SHA224 90a3ed9e32b2aaf4c61c410eb925426119e1a9dc53d4286ade99a809 # SHA256 f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2 # SHA384 768412320f7b0aa5812fce428dc4706b3cae50e02a64caa16a782249bfe8efc4b7ef1ccb126255d196047dfedf17a0a9 #...
### Name / Description Message-Digest family of hash functions, in the hex-digits output format ### Sample Snippets - https://emn178.github.io/online-tools/md2.html **True Positives** ``` # MD2 dd34716876364a02d0195e2fb9ae2d1b # MD4 db346d691d7acc4dc2625db19f9e3f52 # MD5...