23 lines
737 B
YAML
23 lines
737 B
YAML
id: segment-public-api
|
|
|
|
info:
|
|
name: Segment Public API Token
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
reference:
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/segment.yml
|
|
- https://segment.com/docs/api/public-api/
|
|
- https://segment.com/blog/how-segment-proactively-protects-customer-api-tokens/
|
|
metadata:
|
|
verified: true
|
|
tags: keys,file,segment,token
|
|
file:
|
|
- extensions:
|
|
- all
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '(sgp_[a-zA-Z0-9]{64})'
|
|
# digest: 4a0a0047304502202853fa0be0aad155b1bf710601dcb5443ebc8151a5852ae0e2c70357f8106f7c022100ab93a75342e2a408aa930452457c8bd908f297beb34396cf97af7ed89e76cf38:922c64590222798bb761d5b6d8e72950 |