Skip to content

Conversation

@Khushi-Kalantri-Comprinno

Context

This is a testcase for securityhub_enabled

Description

Refactored and corrected test cases for the securityhub_enabled check.
-Aligned structure, mocking, exception handling, and assertion style with the reference check iam_password_policy_lowercase.
-Ensured coverage for:
Security Hub enabled with valid ARN
Missing ARN in response
ResourceNotFoundException
InvalidAccessException
Generic ClientError

Checklist

  • Code covered by tests (if not, explain why)
    -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