Prowler App
Walkthrough video onboarding a GitHub Account using GitHub App.
Step 1: Access Prowler Cloud/App
- Navigate to Prowler Cloud or launch Prowler App
-
Go to “Configuration” > “Cloud Providers”

-
Click “Add Cloud Provider”

-
Select “GitHub”

-
Add the GitHub Account ID (username or organization name) and an optional alias, then click “Next”

Step 2: Choose the preferred authentication method
-
Choose the preferred authentication method:

- Configure the authentication method:
- Personal Access Token
- OAuth App Token
- GitHub App

Prowler CLI
Authentication
If no login method is explicitly provided, Prowler will automatically attempt to authenticate using environment variables in the following order of precedence:GITHUB_PERSONAL_ACCESS_TOKENGITHUB_OAUTH_APP_TOKENGITHUB_APP_IDandGITHUB_APP_KEY(where the key is the content of the private key file)
Ensure the corresponding environment variables are set up before running Prowler for automatic detection when not specifying the login method.
Personal Access Token (PAT)
Use this method by providing a personal access token directly.OAuth App Token
Authenticate using an OAuth app token.GitHub App Credentials
Use GitHub App credentials by specifying the App ID and the private key path.Scan Scoping
Scan scoping controls which repositories and organizations Prowler includes in a security assessment. By default, Prowler scans all repositories accessible to the authenticated user or organization. To limit the scan to specific repositories or organizations, use the following flags.Scanning Specific Repositories
To restrict the scan to one or more repositories, use the--repository flag followed by the repository name(s) in owner/repo-name format:
Scanning Specific Organizations
To restrict the scan to one or more organizations or user accounts, use the--organization flag:
Scanning Specific Repositories Within an Organization
To scan specific repositories within an organization, combine the--organization and --repository flags. The --organization flag qualifies unqualified repository names automatically:
my-organization/my-repo. Fully qualified repository names (owner/repo-name) are also supported alongside --organization:
my-repo is qualified as my-org/my-repo, while other-owner/other-repo is used as-is.
The
--repository and --organization flags can be combined with any authentication method.


