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

fix(aws): Include record names for dangling IPs #3821

Merged
merged 2 commits into from
Apr 19, 2024
Merged

fix(aws): Include record names for dangling IPs #3821

merged 2 commits into from
Apr 19, 2024

Conversation

rieck-srlabs
Copy link
Contributor

@rieck-srlabs rieck-srlabs commented Apr 19, 2024

Context

Fixes #3820

Improves the "Status Extended" output field for the route53_dangling_ip_subdomain_takeover check.

Description

This PR adds record set names to the "Status Extended" output of the check that identifies dangling IPs in AWS Route 53. It fixes an issue where currently identical findings are produced if one dangling IP is mapped to multiple record names in Route 53 and improves the rule's output in all cases. See #3820 for more information.

License

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

@rieck-srlabs rieck-srlabs requested review from a team April 19, 2024 08:44
@github-actions github-actions bot added the provider/aws Issues/PRs related with the AWS provider label Apr 19, 2024
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.50%. Comparing base (e4652d4) to head (e28ad91).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3821      +/-   ##
==========================================
+ Coverage   85.45%   85.50%   +0.04%     
==========================================
  Files         737      737              
  Lines       22811    22810       -1     
==========================================
+ Hits        19494    19503       +9     
+ Misses       3317     3307      -10     

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

Copy link
Member

@jfagoagas jfagoagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great addition @rieck-srlabs 👏 Thanks for this contribution.

I've made some changes in the tests since I expected them to fail and the I realised the asserts wasn't good enough.

@jfagoagas jfagoagas changed the title fix(aws): Include record names for dangling IPs (#3820) fix(aws): Include record names for dangling IPs Apr 19, 2024
@jfagoagas jfagoagas merged commit 7a1762b into prowler-cloud:master Apr 19, 2024
11 checks passed
MrCloudSec pushed a commit that referenced this pull request Apr 22, 2024
MrCloudSec pushed a commit that referenced this pull request Apr 22, 2024
@rieck-srlabs rieck-srlabs deleted the feature/aws-record-names-dangling-ips branch May 28, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
provider/aws Issues/PRs related with the AWS provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AWS] Include record name in Route 53 dangling IP Status Extended output
3 participants