CredSweeper Credential Analyzer Configuration

  1{
  2    "exclude": {
  3        "pattern": [],
  4        "containers": [
  5            ".apk",
  6            ".bz2",
  7            ".gz",
  8            ".tar",
  9            ".zip"
 10        ],
 11        "documents": [
 12            ".xlsx",
 13            ".docx",
 14            ".pptx",
 15            ".pdf"
 16        ],
 17        "extension": [
 18            ".7z",
 19            ".aac",
 20            ".aar",
 21            ".avi",
 22            ".bmp",
 23            ".class",
 24            ".css",
 25            ".dmg",
 26            ".ear",
 27            ".eot",
 28            ".exe",
 29            ".gif",
 30            ".ico",
 31            ".img",
 32            ".info",
 33            ".jar",
 34            ".jpeg",
 35            ".jpg",
 36            ".map",
 37            ".m4a",
 38            ".mat",
 39            ".mo",
 40            ".mp3",
 41            ".mp4",
 42            ".npy",
 43            ".npz",
 44            ".ogg",
 45            ".pak",
 46            ".png",
 47            ".psd",
 48            ".pyc",
 49            ".pyd",
 50            ".pyo",
 51            ".rc",
 52            ".rc2",
 53            ".rar",
 54            ".realm",
 55            ".s7z",
 56            ".scss",
 57            ".so",
 58            ".sum",
 59            ".svg",
 60            ".tif",
 61            ".tiff",
 62            ".ttf",
 63            ".vcxproj",
 64            ".vdproj",
 65            ".war",
 66            ".wav",
 67            ".webm",
 68            ".webp",
 69            ".woff",
 70            ".xls",
 71            ".yuv"
 72        ],
 73        "path": [
 74            "/.git/",
 75            "/.idea/",
 76            "/.svn/",
 77            "/__pycache__/",
 78            "/node_modules/",
 79            "/target/",
 80            "/.venv/",
 81            "/venv/"
 82        ],
 83        "lines": [],
 84        "values": []
 85    },
 86    "source_ext": [
 87        ".aspx",
 88        ".cs",
 89        ".cshtml",
 90        ".ejs",
 91        ".erb",
 92        ".go",
 93        ".html",
 94        ".ipynb",
 95        ".jsp",
 96        ".jsx",
 97        ".php",
 98        ".phtml",
 99        ".rb",
100        ".sh",
101        ".swift",
102        ".ts",
103        ".twig",
104        ".vue",
105        ".xhtml",
106        ".java",
107        ".js",
108        ".py",
109        ".cpp",
110        ".c",
111        ".h",
112        ".hpp",
113        ".mm",
114        ".cu",
115        ".y",
116        ".vb",
117        ".m",
118        ".cu"
119    ],
120    "source_quote_ext": [
121        ".cs",
122        ".cc",
123        ".php",
124        ".tf",
125        ".kt",
126        ".go",
127        ".ipynb",
128        ".ts",
129        ".java",
130        ".js",
131        ".py",
132        ".cpp",
133        ".c",
134        ".h",
135        ".hpp"
136    ],
137    "find_by_ext_list": [
138        ".pem",
139        ".cer",
140        ".csr",
141        ".der",
142        ".pfx",
143        ".p12",
144        ".key",
145        ".jks"
146    ],
147    "check_for_literals": true,
148    "min_pattern_value_length": 12,
149    "min_keyword_value_length": 4,
150    "line_data_output": [
151        "line",
152        "line_num",
153        "path",
154        "info",
155        "value",
156        "value_start",
157        "value_end",
158        "variable",
159        "variable_start",
160        "variable_end",
161        "entropy_validation"
162    ],
163    "candidate_output": [
164        "rule",
165        "severity",
166        "confidence",
167        "api_validation",
168        "ml_validation",
169        "ml_probability",
170        "line_data_list"
171    ]
172}