2023-03-24 02:24:37 +00:00
|
|
|
id: gitlab-personal-accesstoken
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: GitLab Personal Access Token
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/gitlab.yml
|
|
|
|
- https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
|
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-03-24 02:24:37 +00:00
|
|
|
tags: gitlab,token,file
|
|
|
|
|
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- '\b(glpat-[0-9a-zA-Z_-]{20})(?:\b|$)'
|