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

feat(elb): add new check elb_is_in_multiple_az #4829

Conversation

puchy22
Copy link
Member

@puchy22 puchy22 commented Aug 22, 2024

Context

Checks that Classic Load Balancers are configured with registered instances from at least the specified number of Availability Zones (AZs). The control fails if the load balancer does not span the minimum number of AZs specified.

Description

  • Modify service to add AZs to ELB
  • Test service changes
  • Add configurable parameter for the check
  • Add check logic
  • Add unit testing for the check

Checklist

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@puchy22 puchy22 requested review from a team as code owners August 22, 2024 09:56
@github-actions github-actions bot added the provider/aws Issues/PRs related with the AWS provider label Aug 22, 2024
@puchy22 puchy22 changed the title Prwlr 4520 classic load balancer should span multiple availability zones feat(elb): add new check elb_is_in_multiple_az Aug 22, 2024
Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.18%. Comparing base (79f1cf8) to head (b43d575).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4829      +/-   ##
==========================================
+ Coverage   89.15%   89.18%   +0.03%     
==========================================
  Files         935      936       +1     
  Lines       28591    28614      +23     
==========================================
+ Hits        25489    25520      +31     
+ Misses       3102     3094       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

…vailability-zones' of github.com:prowler-cloud/prowler into PRWLR-4520-classic-load-balancer-should-span-multiple-availability-zones
Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

@jfagoagas jfagoagas self-requested a review August 26, 2024 10:39
Copy link
Contributor

You can check the documentation for this PR here -> Prowler Documentation

@jfagoagas jfagoagas merged commit bcb63d0 into master Aug 26, 2024
12 checks passed
@jfagoagas jfagoagas deleted the PRWLR-4520-classic-load-balancer-should-span-multiple-availability-zones branch August 26, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation provider/aws Issues/PRs related with the AWS provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants