feat(secret): add support of GitHub fine-grained tokens #5650
Closed
Description
Discussed in #5649
We only support classic GitHub token format.
But GitHub also uses a new format: ^github_pat...
We only support classic GitHub token format.
But GitHub also uses a new format: ^github_pat...
Activity
knqyf263 commentedon Nov 26, 2023
It is defined here.
https://github.com/aquasecurity/trivy/blob/ad977a4256920d6269e84c82e4f42bbe244a2c5a/pkg/fanal/secret/builtin-rules.go
add support of GitHub fine-grained tokens
sourav977 commentedon Dec 6, 2023
created PR: #5740 , please review.
renamed ID, added test case