id: databricks-token info: name: Databricks API Token author: DhiyaneshDK severity: info reference: - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/databricks-api-token.yaml - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/databricks-api-token.go metadata: verified: true max-request: 1 tags: databricks,exposure,tokens http: - method: GET path: - "{{BaseURL}}" extractors: - type: regex part: body regex: - (?i)\b(dapi[a-h0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$) # digest: 4a0a00473045022100a0d31d508d570f40ebc0d6412e68d957a35b4e7657bd744c86cd56e7b37574480220288e89c9c95c38aa14bd5065c7111499f1cbf62df6fd26f68b4685a76cd01b37:922c64590222798bb761d5b6d8e72950