Skip to content

Conversation

@Khushi-Kalantri-Comprinno

Context

Adding unit tests for the route53_domains_privacy_protection_enabled check to verify proper detection of missing privacy protection on Route 53 domains.

Description

Added a comprehensive test suite for the route53_domains_privacy_protection_enabled check.
-Test scenarios include:
-No Route53 domains exist
-All domains have privacy protection enabled
-Some domains are missing specific privacy protection roles
-get_domain_detail fails with a ClientError
-list_domains fails with a BotoCoreError

Checklist

Checklist

  • Added new checks? If yes, reviewed necessary permissions
  • Code covered by tests
  • Documentation follows Google Python Style Guide
  • Considered if backporting is needed

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant