[detector]
id = "google-forms-api-credentials"
name = "Google Forms API Credentials"
service = "google"
severity = "critical"
keywords = ["google_forms", "GOOGLE_FORMS", "forms.googleapis.com"]
[[detector.patterns]]
regex = "(?:google[_\\s]*forms?|GOOGLE[_\\s]*FORMS)[\\s\"'':=]+[^}]*(?:private[_\\s]*key|private_key)[\\s\"'':=]+([A-Za-z0-9+/=]{100,})"
description = "Google Forms API private key in service account JSON"
group = 1
[[detector.patterns]]
regex = "(?:google[_\\s]*forms?|GOOGLE[_\\s]*FORMS)[_.\\s]*(?:api[_\\s]*key|API[_\\s]*KEY)[\\s\"'':=]+([A-Za-z0-9_-]{30,})"
description = "Google Forms API key with context anchor"
group = 1