22 lines
508 B
YAML
22 lines
508 B
YAML
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:
|
|
verified: "true"
|
|
tags: gitlab,token,file
|
|
|
|
file:
|
|
- extensions:
|
|
- all
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '\b(glpat-[0-9a-zA-Z_-]{20})(?:\b|$)' |