1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
|
# This file is auto-generated, do not edit.
# See the README.md of the secrets analyzer for more info: https://gitlab.com/gitlab-org/security-products/analyzers/secrets/-/blob/master/README.md#syncing-tags
title = "gitleaks config"
[[rules]]
description = "GitLab Personal Access Token"
id = "gitlab_personal_access_token"
keywords = ["glpat"]
regex = "\\bglpat-[0-9a-zA-Z_\\-]{20}\\b"
tags = ["gitlab", "revocation_type", "gitlab_blocking"]
[[rules]]
description = "GitLab Pipeline Trigger Token"
id = "gitlab_pipeline_trigger_token"
keywords = ["glptt"]
regex = "\\bglptt-[0-9a-zA-Z_\\-]{40}\\b"
tags = ["gitlab", "gitlab_blocking"]
[[rules]]
description = "GitLab Runner Registration Token"
id = "gitlab_runner_registration_token"
keywords = ["GR1348941"]
regex = "\\bGR1348941[0-9a-zA-Z_\\-]{20}\\b"
tags = ["gitlab", "gitlab_blocking"]
[[rules]]
description = "GitLab Runner Authentication Token"
id = "gitlab_runner_auth_token"
keywords = ["glrt"]
regex = "\\bglrt-[0-9a-zA-Z_\\-]{20}\\b"
tags = ["gitlab", "gitlab_blocking"]
[[rules]]
description = "GitLab OAuth Application Secrets"
id = "gitlab_oauth_app_secret"
keywords = ["gloas"]
regex = "\\bgloas-[0-9a-zA-Z_\\-]{64}\\b"
tags = ["gitlab", "gitlab_blocking"]
[[rules]]
description = "GitLab Feed token"
id = "gitlab_feed_token_v2"
keywords = ["glft"]
regex = "\\bglft-[0-9a-zA-Z_\\-]{20}\\b"
tags = ["gitlab", "gitlab_blocking"]
[[rules]]
description = "GitLab Agent for Kubernetes token"
id = "gitlab_kubernetes_agent_token"
keywords = ["glagent"]
regex = "\\bglagent-[0-9a-zA-Z_\\-]{50}\\b"
tags = ["gitlab", "gitlab_blocking"]
[[rules]]
description = "GitLab Incoming email token"
id = "gitlab_incoming_email_token"
keywords = ["glimt"]
regex = "\\bglimt-[0-9a-zA-Z_\\-]{25}\\b"
tags = ["gitlab", "gitlab_blocking"]
[[rules]]
description = "AWS Access Token"
id = "AWS"
keywords = ["AKIA"]
regex = "\\bAKIA[0-9A-Z]{16}\\b"
tags = ["aws", "revocation_type", "gitlab_blocking"]
[[rules]]
description = "Github Personal Access Token"
id = "Github Personal Access Token"
keywords = ["ghp_"]
regex = "ghp_[0-9a-zA-Z]{36}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Github OAuth Access Token"
id = "Github OAuth Access Token"
keywords = ["gho_"]
regex = "gho_[0-9a-zA-Z]{36}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Github App Token"
id = "Github App Token"
keywords = ["ghu_", "ghs_"]
regex = "(ghu|ghs)_[0-9a-zA-Z]{36}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Github Refresh Token"
id = "Github Refresh Token"
keywords = ["ghr_"]
regex = "ghr_[0-9a-zA-Z]{76}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Shopify shared secret"
id = "Shopify shared secret"
keywords = ["shpss_"]
regex = "shpss_[a-fA-F0-9]{32}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Shopify access token"
id = "Shopify access token"
keywords = ["shpat_"]
regex = "shpat_[a-fA-F0-9]{32}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Shopify custom app access token"
id = "Shopify custom app access token"
keywords = ["shpca_"]
regex = "shpca_[a-fA-F0-9]{32}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Shopify private app access token"
id = "Shopify private app access token"
keywords = ["shppa_"]
regex = "shppa_[a-fA-F0-9]{32}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Slack token"
id = "Slack token"
keywords = ["xoxb", "xoxa", "xoxp", "xoxr", "xoxs"]
regex = "xox[baprs]-([0-9a-zA-Z]{10,48})"
tags = ["gitlab_blocking"]
[[rules]]
description = "Stripe"
id = "Stripe"
keywords = ["sk_test", "pk_test", "sk_live", "pk_live"]
regex = "(?i)(sk|pk)_(test|live)_[0-9a-z]{10,32}"
tags = ["gitlab_blocking"]
[[rules]]
description = "PyPI upload token"
id = "PyPI upload token"
keywords = ["pypi-AgEIcHlwaS5vcmc"]
regex = "pypi-AgEIcHlwaS5vcmc[A-Za-z0-9-_]{50,1000}"
tags = ["pypi", "revocation_type", "gitlab_blocking"]
[[rules]]
description = "Google (GCP) Service-account"
id = "Google (GCP) Service-account"
keywords = ["service_account"]
regex = "\\\"private_key\\\":\\s*\\\"-{5}BEGIN PRIVATE KEY-{5}[\\s\\S]*?\","
tags = ["gitlab_partner_token", "revocation_type", "gitlab_blocking"]
[[rules]]
description = "GCP API keys can be misused to gain API quota from billed projects"
id = "GCP API key"
keywords = ["AIza"]
regex = "(?i)\\b(AIza[0-9A-Za-z-_]{35})(?:['|\\\"|\\n|\\r|\\s|\\x60|;]|$)"
secretGroup = 1
tags = ["gitlab_partner_token", "revocation_type", "gitlab_blocking"]
[[rules]]
description = "GCP OAuth client secrets can be misused to spoof your application"
id = "GCP OAuth client secret"
keywords = ["GOCSPX-"]
regex = "GOCSPX-[a-zA-Z0-9_-]{28}"
tags = ["gitlab_partner_token", "revocation_type", "gitlab_blocking"]
[[rules]]
description = "Grafana API token"
id = "Grafana API token"
keywords = ["grafana"]
regex = "['\\\"]eyJrIjoi(?i)[a-z0-9-_=]{72,92}['\\\"]"
tags = ["gitlab_blocking"]
[[rules]]
description = "Hashicorp Terraform user/org API token"
id = "Hashicorp Terraform user/org API token"
keywords = ["atlasv1", "hashicorp", "terraform"]
regex = "['\\\"](?i)[a-z0-9]{14}\\.atlasv1\\.[a-z0-9-_=]{60,70}['\\\"]"
tags = ["gitlab_blocking"]
[[rules]]
description = "Hashicorp Vault batch token"
id = "Hashicorp Vault batch token"
keywords = ["hashicorp", "AAAAAQ", "vault"]
regex = "b\\.AAAAAQ[0-9a-zA-Z_-]{156}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Mailchimp API key"
id = "Mailchimp API key"
keywords = ["mailchimp"]
regex = "(?i)(mailchimp[a-z0-9_ .\\-,]{0,25})(=|>|:=|\\|\\|:|<=|=>|:).{0,5}['\\\"]([a-f0-9]{32}-us20)['\\\"]"
secretGroup = 3
tags = ["gitlab_blocking"]
[[rules]]
description = "Mailgun private API token"
id = "Mailgun private API token"
keywords = ["mailgun"]
regex = "(?i)(mailgun[a-z0-9_ .\\-,]{0,25})(=|>|:=|\\|\\|:|<=|=>|:).{0,5}['\\\"](key-[a-f0-9]{32})['\\\"]"
secretGroup = 3
tags = ["gitlab_blocking"]
[[rules]]
description = "Mailgun webhook signing key"
id = "Mailgun webhook signing key"
keywords = ["mailgun"]
regex = "(?i)(mailgun[a-z0-9_ .\\-,]{0,25})(=|>|:=|\\|\\|:|<=|=>|:).{0,5}['\\\"]([a-h0-9]{32}-[a-h0-9]{8}-[a-h0-9]{8})['\\\"]"
secretGroup = 3
tags = ["gitlab_blocking"]
[[rules]]
description = "New Relic user API Key"
id = "New Relic user API Key"
keywords = ["NRAK"]
regex = "['\\\"](NRAK-[A-Z0-9]{27})['\\\"]"
tags = ["gitlab_blocking"]
[[rules]]
description = "New Relic user API ID"
id = "New Relic user API ID"
keywords = ["newrelic"]
regex = "(?i)(newrelic[a-z0-9_ .\\-,]{0,25})(=|>|:=|\\|\\|:|<=|=>|:).{0,5}['\\\"]([A-Z0-9]{64})['\\\"]"
secretGroup = 3
tags = ["gitlab_blocking"]
[[rules]]
description = "npm access token"
id = "npm access token"
keywords = ["npm_"]
regex = "['\\\"](npm_(?i)[a-z0-9]{36})['\\\"]"
tags = ["gitlab_blocking"]
[[rules]]
description = "Rubygem API token"
id = "Rubygem API token"
keywords = ["rubygems_"]
regex = "rubygems_[a-f0-9]{48}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Segment Public API token"
id = "Segment Public API token"
keywords = ["sgp_"]
regex = "sgp_[a-zA-Z0-9]{64}"
tags = ["gitlab_blocking"]
[[rules]]
description = "Sendgrid API token"
id = "Sendgrid API token"
keywords = ["sendgrid"]
regex = "SG\\.(?i)[a-z0-9_\\-\\.]{66}"
tags = ["gitlab_blocking"]
|