UNPKG

@ziul285/gitleaks

Version:

A custom Gitleaks-like scanner for detecting sensitive data.

10 lines (8 loc) 278 B
const defaultPatterns = { awsAccessKey: "AKIA[0-9A-Z]{16}", githubToken: "ghp_[A-Za-z0-9]{36}", openAiSecretKey: "sk-[A-Za-z0-9]{48}", genericApiKey: "\\b[A-Za-z0-9]{40}\\b", googleApiKey: "AIzaSy[a-zA-Z0-9\\-_]{33}", }; module.exports = {defaultPatterns};