mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-19 18:04:17 +00:00
feat: pat and oauth authentication with and without flags
This commit is contained in:
5 files changed
+99
-42
No files matched your search
@@ -14,7 +14,7 @@ TOKEN = "github-token"
|
||||
|
||||
# Mocked GitHub Provider
|
||||
def set_mocked_github_provider(
|
||||
auth_method: str = "personal_access_token",
|
||||
auth_method: str = "personal_access",
|
||||
credentials: GithubSession = GithubSession(token=TOKEN),
|
||||
identity: GithubIdentityInfo = GithubIdentityInfo(
|
||||
account_name=ACCOUNT_NAME,
|
||||
|
||||
Reference in new issue
Block a user