generic.secrets.security.detected-google-gcm-service-account.detected-google-gcm-service-account
Community Favorite

Author
37,965
Download Count*
License
Google (GCM) Service account detected
Run Locally
Run in CI
Defintion
rules:
- id: detected-google-gcm-service-account
pattern-regex: (("|'|`)?type("|'|`)?\s{0,50}(:|=>|=)\s{0,50}("|'|`)?service_account("|'|`)?,?)
languages:
- regex
message: Google (GCM) Service account detected
severity: ERROR
metadata:
cwe:
- "CWE-798: Use of Hard-coded Credentials"
source-rule-url: https://github.com/grab/secret-scanner/blob/master/scanner/signatures/pattern.go
category: security
technology:
- secrets
- google-cloud
confidence: LOW
owasp:
- A07:2021 - Identification and Authentication Failures
references:
- https://owasp.org/Top10/A07_2021-Identification_and_Authentication_Failures
cwe2022-top25: true
cwe2021-top25: true
subcategory:
- audit
likelihood: LOW
impact: MEDIUM
license: Commons Clause License Condition v1.0[LGPL-2.1-only]
Examples
detected-google-gcm-service-account.txt
# ruleid: detected-google-gcm-service-account
"type": "service_account"
Short Link: https://sg.run/6nXj