22 lines
704 B
YAML
22 lines
704 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: file,keys,gitlab,token
|
|
file:
|
|
- extensions:
|
|
- all
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '\b(glpat-[0-9a-zA-Z_-]{20})(?:\b|$)'
|
|
# digest: 4a0a00473045022100d8f81a139d1a55d53b48483cf5f37388a5aa00533518f37e62262ce7d746a8e30220645f888c251b51c3e07bb926d8f51c1bc02d0e34e1970911c9aa95395364078b:922c64590222798bb761d5b6d8e72950 |