27 lines
907 B
YAML
27 lines
907 B
YAML
id: datadog-accesstoken
|
|
|
|
info:
|
|
name: Datadog Access Token
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
reference:
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/datadog-access-token.yaml
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/datadog-access-token.go
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: datadog,exposure,tokens
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- (?i)(?:datadog)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)
|
|
|
|
# digest: 490a00463044022030afac1b52d8e4d9af988820436a8dfe6ebdbd479c2171ca7e4704d190f272ce022022229e5b192535bbea1ca192bfd1edd8f1092ceba1a193b159803018bd0308f5:922c64590222798bb761d5b6d8e72950
|