Azure DevOps App Secret
Detects Azure DevOps application secret patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
- Type
- regex
- Engine
- universal
- Confidence
- high
- Confidence justification
- High confidence: structurally constrained pattern with DevOps-specific context keywords reduces false positive rates significantly. Added context gating and exclusion rules improve precision and reduce incidental matches.
- Detection quality
- Verified
- Jurisdictions
- global
- Regulations
- Criminal Code Act 1995 (Cth)
- Frameworks
- CIS Controls, ISO 27001, NIST CSF, PCI-DSS, SOC 2
- Data categories
- credentials, security
- Scope
- specific
- Risk rating
- 10
- Platform compatibility
- Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Degraded, Netskope: Unsupported
Pattern
(?i)(?:devops[._-]?app[._-]?secret|vsts[._-]?secret|ado[._-]?secret|client[._-]?secret)\s*[:=]\s*"?[A-Za-z0-9_.\-]{20,50}"?
Corroborative evidence keywords
Azure DevOps, DevOps, VSTS, app secret, client secret, OAuth, service connection, app registration, api key, api_key, apikey, access key, access token, auth token, authorization, bearer, conn str, connection string, connectionstring, cookie (+45 more)
Proximity: 300 characters
Should match
devops_app_secret=AAAA0000BBBB1111CCCC2222DDDD3333EEEE— Azure DevOps app secretclient_secret: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef"— DevOps OAuth client secretado_secret="00000000000000000000000000000000"— ADO secret with placeholder value
Should not match
devops_app_secret=""— Empty secret valueorganization=my-org— Organization name, not a secrettemplate example placeholder record identifier— Template/sample context should be excluded even when anchor words are present
Known false positives
- Azure DevOps documentation and pipeline templates with placeholder application secrets. Mitigation: Check for common placeholder patterns and template indicators.
- Generic client secrets for non-DevOps applications. Mitigation: Require proximity to DevOps-specific keywords like VSTS, ADO, or Azure DevOps.