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

[Bug]: vpc_different_regions check returning false positive #3540

Open
adistasio opened this issue Mar 14, 2024 · 4 comments
Open

[Bug]: vpc_different_regions check returning false positive #3540

adistasio opened this issue Mar 14, 2024 · 4 comments
Assignees
Labels
bug provider/aws Issues/PRs related with the AWS provider severity/low Bug won't result in any noticeable breakdown of the execution.

Comments

@adistasio
Copy link

Steps to Reproduce

prowler aws

Expected behavior

Check Passes.

Actual Result with Screenshots or Logs

Check fails.

How did you install Prowler?

From pip package (pip install prowler)

Environment Resource

Workstation

OS used

MacOS

Prowler version

3.14.0

Pip version

23.3.2

Context

When running the "vpc_different_regions" check for AWS, the check always fails even though I have a VPC in multiple regions (us-east-1 and us-east-2). It's unclear why it's failing so either there is an issue with the check not working or the recommendation section could be updated to be more clear on what the specific configuration should be.

@adistasio adistasio added bug status/needs-triage Issue pending triage labels Mar 14, 2024
@sergargar
Copy link
Member

Hi @adistasio, thanks for reaching us out! I could not reproduce this error, can you share the command that you are using of Prowler?

@sergargar sergargar added severity/low Bug won't result in any noticeable breakdown of the execution. provider/aws Issues/PRs related with the AWS provider and removed status/needs-triage Issue pending triage labels Mar 18, 2024
@sergargar sergargar self-assigned this Mar 18, 2024
@adistasio
Copy link
Author

Hello @sergargar, I run the following command.

prowler aws --profile PROFILE --checks vpc_different_regions

I can also run it without the check flag, but it fails. My credentials file has one entry with my AWS key and secret specified. I also tried this with and with an AWS config file that specified the default region.

Here are the VPC's in my AWS account, one in us-east-1 and one in us-east-2.

vpc-us-east-1
vpc-us-east-2

@sergargar
Copy link
Member

Thanks for the information @adistasio , can you execute it again with --log-level ERROR?

@adistasio
Copy link
Author

@sergargar That didn't result in any more specific logs. Here are screenshots of the command line run and prowler output report.

commandline
prowler output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug provider/aws Issues/PRs related with the AWS provider severity/low Bug won't result in any noticeable breakdown of the execution.
Projects
None yet
Development

No branches or pull requests

2 participants