2023-03-24 02:24:37 +00:00
|
|
|
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:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-03-24 02:24:37 +00:00
|
|
|
tags: segment,token,file
|
|
|
|
|
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- '(sgp_[a-zA-Z0-9]{64})'
|