fir formatting

patch-1
Dhiyaneshwaran 2024-03-15 09:57:19 +05:30 committed by GitHub
parent b0ba3e4a5d
commit 56d82473dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 23 additions and 11 deletions

View File

@ -31,12 +31,14 @@ file:
name: extracted-uri name: extracted-uri
regex: regex:
- "(?i)([a-z]{2,10}):(//|/)[a-z0-9\\./?&-_=:]+" - "(?i)([a-z]{2,10}):(//|/)[a-z0-9\\./?&-_=:]+"
- type: regex - type: regex
name: AMAZON-ACCES-KEY name: amazon-access-key
regex: regex:
- "(?i)(A3T[A-Z0-9]|AKIA|AGPA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}" - "(?i)(A3T[A-Z0-9]|AKIA|AGPA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}"
- type: regex - type: regex
name: AMAZON-S3-URL name: amazon-s3-url
regex: regex:
- "(?i)([a-z0-9_\\-\\.]+\\.s3\\.amazonaws\\.com)" - "(?i)([a-z0-9_\\-\\.]+\\.s3\\.amazonaws\\.com)"
- "(?i)([a-z0-9\\.-]+\\.s3-[a-z0-9-\\.]+\\.amazonaws\\.com)" - "(?i)([a-z0-9\\.-]+\\.s3-[a-z0-9-\\.]+\\.amazonaws\\.com)"
@ -45,40 +47,50 @@ file:
- "(?i)(s3\\.amazonaws\\.com/[a-z0-9/_\\-\\.]+)" - "(?i)(s3\\.amazonaws\\.com/[a-z0-9/_\\-\\.]+)"
- "(?i)(s3\\.console\\.aws\\.com/s3/buckets/[a-z0-9/_\\-\\.]+)" - "(?i)(s3\\.console\\.aws\\.com/s3/buckets/[a-z0-9/_\\-\\.]+)"
- "(?i)(s3-[a-z0-9-\\.]\\.amazonaws\\.com/[a-z0-9/_\\-\\.]+)" - "(?i)(s3-[a-z0-9-\\.]\\.amazonaws\\.com/[a-z0-9/_\\-\\.]+)"
- type: regex - type: regex
name: Github-Personal-Access-Token name: github-personal-access-token
regex: regex:
- "(?i)(ghp_[a-z0-9]{36}|github_pat_[a-z0-9]{82})" - "(?i)(ghp_[a-z0-9]{36}|github_pat_[a-z0-9]{82})"
- type: regex - type: regex
name: Github-OAuth-Access-Token name: github-oauth-access-token
regex: regex:
- "(?i)(gho_[a-zA-Z0-9]{36})" - "(?i)(gho_[a-zA-Z0-9]{36})"
- type: regex - type: regex
name: Github-App-Token name: github-app-token
regex: regex:
- "\b((?:ghu|ghs)_[a-zA-Z0-9]{36})\b" - "\b((?:ghu|ghs)_[a-zA-Z0-9]{36})\b"
- type: regex - type: regex
name: Authorization-Basic name: authorization-basic
regex: regex:
- "(?i)(Authorization:\\sbasic\\s+[a-z0-9=:_\\-+/]{5,100})" - "(?i)(Authorization:\\sbasic\\s+[a-z0-9=:_\\-+/]{5,100})"
- type: regex - type: regex
name: Authorization-Bearer name: authorization-bearer
regex: regex:
- "(?i)(Authorization:\\sbearer\\s+[a-z0-9=:_\\-\\.+/]{5,100})" - "(?i)(Authorization:\\sbearer\\s+[a-z0-9=:_\\-\\.+/]{5,100})"
- type: regex - type: regex
name: RSA-Private-Key name: rsa-private-key
regex: regex:
- "(?i)(-----BEGIN RSA PRIVATE KEY-----)" - "(?i)(-----BEGIN RSA PRIVATE KEY-----)"
- type: regex - type: regex
name: SSH-DSA-Private-Key name: ssh-dsa-private-key
regex: regex:
- "(?i)(-----BEGIN DSA PRIVATE KEY-----)" - "(?i)(-----BEGIN DSA PRIVATE KEY-----)"
- type: regex - type: regex
name: SSH-EC-Private-Key name: ssh-ec-private-key
regex: regex:
- "(?i)(-----BEGIN EC PRIVATE KEY-----)" - "(?i)(-----BEGIN EC PRIVATE KEY-----)"
- type: regex - type: regex
name: Potential-Ajax-Request name: potential-ajax-request
regex: regex:
- "(?i)(new\\s+xmlhttprequest\\(\\)|\\$\\.ajax\\(\\{)" - "(?i)(new\\s+xmlhttprequest\\(\\)|\\$\\.ajax\\(\\{)"
# digest: 4a0a0047304502200738658ef4985c1261c662fd545a23504b402343ad994af584866d74d37e11ac022100c8213e439b8a574bee55ce0881363c0964830df8255bcd89249d37a778f038ba:922c64590222798bb761d5b6d8e72950 # digest: 4a0a0047304502200738658ef4985c1261c662fd545a23504b402343ad994af584866d74d37e11ac022100c8213e439b8a574bee55ce0881363c0964830df8255bcd89249d37a778f038ba:922c64590222798bb761d5b6d8e72950