Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Service Account impersonation in GCP as a new authentication method #4006

Open
sergargar opened this issue May 15, 2024 · 0 comments
Open
Assignees
Labels
feature-request New feature request for Prowler. provider/gcp Issues/PRs related with the Google Cloud Platform provider severity/low Bug won't result in any noticeable breakdown of the execution. status/needs-triage Issue pending triage

Comments

@sergargar
Copy link
Member

sergargar commented May 15, 2024

New feature motivation

Add service account impersonation in GCP as a new authentication method in Prowler.

Solution Proposed

Adding the flag --impersonate-service-account <target service account email>

Describe alternatives you've considered

Instead of saving credentials file or run prowler inside GCP workload (for the metadata server option), add the mentioned authentication method.
This is actually security best practice so it should be high priority because now the credentials.json approach have private keys on the machines which is not a good idea.

Additional context

Thanks to Ben Lahav via Slack for the idea!

@sergargar sergargar added feature-request New feature request for Prowler. status/needs-triage Issue pending triage provider/gcp Issues/PRs related with the Google Cloud Platform provider labels May 15, 2024
@sergargar sergargar self-assigned this May 15, 2024
@sergargar sergargar changed the title Add Service Account impersonation in GCP as a new authentication method in Prowler. Add Service Account impersonation in GCP as a new authentication method May 20, 2024
@sergargar sergargar added the severity/low Bug won't result in any noticeable breakdown of the execution. label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request for Prowler. provider/gcp Issues/PRs related with the Google Cloud Platform provider severity/low Bug won't result in any noticeable breakdown of the execution. status/needs-triage Issue pending triage
Projects
None yet
Development

No branches or pull requests

1 participant