trufflehog/pkg/analyzer/analyzers/gitlab
Abdul Basit 9b2cef55c0
[analyze] Add Analyzer interface for Gitlab (#3232)
* implement analyzer interface for gitlab

* generated permissions, added unit test for gitlab analyzer

* revert deletion of scopes.go

* appending domain in resource names

* [chore]
moved expected output of test in json file to neat the code.

* updated the test for gitlab analyzer
to make more unique FullyQualifiedName, Ids are added for resources.

* remove unnecessary metadata field and fix github -> gitlab

* extract user id from access token json, make user as resource

* link analyzer with gitlab v2 detector

* fixed code breaking changes due to analyzer protobuf removal.

---------

Co-authored-by: Abdul Basit <abasit@folio3.com>
2024-10-30 18:46:50 +05:00
..
expected_output.json [analyze] Add Analyzer interface for Gitlab (#3232) 2024-10-30 18:46:50 +05:00
gitlab.go [analyze] Add Analyzer interface for Gitlab (#3232) 2024-10-30 18:46:50 +05:00
gitlab_test.go [analyze] Add Analyzer interface for Gitlab (#3232) 2024-10-30 18:46:50 +05:00
permissions.go [analyze] Add Analyzer interface for Gitlab (#3232) 2024-10-30 18:46:50 +05:00
permissions.yaml [analyze] Add Analyzer interface for Gitlab (#3232) 2024-10-30 18:46:50 +05:00
scopes.go Analyze (#3099) 2024-07-25 12:06:05 -07:00