CredSweeper Credential Analyzer Configuration

  1{
  2    "exclude": {
  3        "containers": [
  4            ".pak",
  5            ".aar",
  6            ".apk",
  7            ".bz2",
  8            ".class",
  9            ".dex",
 10            ".gz",
 11            ".jar",
 12            ".img",
 13            ".lzma",
 14            ".nupkg",
 15            ".rpm",
 16            ".tar",
 17            ".tbz2",
 18            ".tgz",
 19            ".txz",
 20            ".tzst",
 21            ".vsdx",
 22            ".war",
 23            ".whl",
 24            ".xz",
 25            ".zip"
 26        ],
 27        "documents": [
 28            ".doc",
 29            ".docx",
 30            ".odp",
 31            ".ods",
 32            ".odt",
 33            ".pdf",
 34            ".ppt",
 35            ".pptx",
 36            ".xls",
 37            ".xlsx"
 38        ],
 39        "extension": [
 40            ".3gp",
 41            ".7z",
 42            ".a",
 43            ".aac",
 44            ".avi",
 45            ".bin",
 46            ".bmp",
 47            ".css",
 48            ".dll",
 49            ".dmg",
 50            ".ear",
 51            ".edj",
 52            ".eot",
 53            ".elf",
 54            ".exe",
 55            ".gif",
 56            ".gmo",
 57            ".ico",
 58            ".info",
 59            ".jpeg",
 60            ".jpg",
 61            ".lib",
 62            ".map",
 63            ".m4a",
 64            ".m4b",
 65            ".m4p",
 66            ".m4r",
 67            ".mat",
 68            ".mo",
 69            ".mov",
 70            ".mp3",
 71            ".mp4",
 72            ".mpg",
 73            ".mkv",
 74            ".npy",
 75            ".npz",
 76            ".obj",
 77            ".oga",
 78            ".ogg",
 79            ".ogv",
 80            ".ops",
 81            ".opus",
 82            ".png",
 83            ".psd",
 84            ".pyc",
 85            ".pyd",
 86            ".pyo",
 87            ".rar",
 88            ".rc",
 89            ".rc2",
 90            ".realm",
 91            ".res",
 92            ".s7z",
 93            ".scss",
 94            ".so",
 95            ".sum",
 96            ".svg",
 97            ".swf",
 98            ".tif",
 99            ".tiff",
100            ".tlb",
101            ".ttf",
102            ".typelib",
103            ".vcxproj",
104            ".vdproj",
105            ".wav",
106            ".webm",
107            ".webp",
108            ".wma",
109            ".woff",
110            ".woff2",
111            ".yuv"
112        ],
113        "path": [
114            "/.git/",
115            "/.idea/",
116            "/.svn/",
117            "/__pycache__/",
118            "/node_modules/",
119            "/target/",
120            "/.venv/",
121            "/venv/"
122        ],
123        "path_pattern": [
124            ".*\\.min\\.js",
125            ".*message.*\\.properties",
126            ".*locale.*\\.properties",
127            ".*makefile.*",
128            ".*package-lock\\.json",
129            ".*package\\.json",
130            ".*\\.css",
131            ".*\\.scss"
132        ],
133        "lines": [],
134        "patterns": [],
135        "values": []
136    },
137    "source_ext": [
138        ".aspx",
139        ".cs",
140        ".cshtml",
141        ".ejs",
142        ".erb",
143        ".go",
144        ".html",
145        ".ipynb",
146        ".jsp",
147        ".jsx",
148        ".php",
149        ".phtml",
150        ".rb",
151        ".sh",
152        ".swift",
153        ".ts",
154        ".twig",
155        ".vue",
156        ".xhtml",
157        ".java",
158        ".js",
159        ".py",
160        ".cpp",
161        ".c",
162        ".h",
163        ".hpp",
164        ".mm",
165        ".cu",
166        ".y",
167        ".vb",
168        ".m",
169        ".cu"
170    ],
171    "source_quote_ext": [
172        ".cs",
173        ".cc",
174        ".php",
175        ".tf",
176        ".kt",
177        ".go",
178        ".ipynb",
179        ".ts",
180        ".java",
181        ".js",
182        ".py",
183        ".cpp",
184        ".c",
185        ".h",
186        ".hpp"
187    ],
188    "find_by_ext_list": [
189        ".cer",
190        ".csr",
191        ".der",
192        ".jks",
193        ".key",
194        ".p12",
195        ".pem",
196        ".pfx",
197        ".snk"
198    ],
199    "bruteforce_list": [
200        "",
201        "changeit",
202        "changeme",
203        "tizen"
204    ],
205    "check_for_literals": true,
206    "max_password_value_length": 64,
207    "max_url_cred_value_length": 80,
208    "line_data_output": [
209        "line",
210        "line_num",
211        "path",
212        "info",
213        "variable",
214        "variable_start",
215        "variable_end",
216        "value",
217        "value_start",
218        "value_end",
219        "entropy"
220    ],
221    "candidate_output": [
222        "rule",
223        "severity",
224        "confidence",
225        "ml_probability",
226        "line_data_list"
227    ]
228}