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

chore(aws): cleanup aws test cases #4049

Merged
merged 3 commits into from
May 21, 2024

Conversation

madereddy
Copy link
Contributor

Context

Clean up AWS test cases to meet prowler standards.

Description

Fix SNS Topic check for KMS at rest by replacing SNS Topic arn with SNS Topic Name for report.status_extended.

Fix Workspaces encrypted volume check to remove the double negative when root and user data volumes are encrypted.

Cleanup AWS test cases to remove assert search for SageMaker, SNS, SQS, Well Architected, and Workspaces.

License

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

@madereddy madereddy requested review from a team May 21, 2024 03:46
@github-actions github-actions bot added the provider/aws Issues/PRs related with the AWS provider label May 21, 2024
Copy link

codecov bot commented May 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.25%. Comparing base (bf1616d) to head (f325dac).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4049      +/-   ##
==========================================
- Coverage   86.34%   86.25%   -0.10%     
==========================================
  Files         778      778              
  Lines       24368    24368              
==========================================
- Hits        21041    21018      -23     
- Misses       3327     3350      +23     

☔ 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.

Many thanks @madereddy for taking care of the tests removing the search 👏

I left just one question about a change in one status_extended.

Copy link
Member

Choose a reason for hiding this comment

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

Why this file is changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently the report status extended sends the topic arn. To keep it consistent it should be switched to topic name. The topic arn is still reported.

@jfagoagas jfagoagas self-assigned this May 21, 2024
@jfagoagas jfagoagas self-requested a review May 21, 2024 11:36
@jfagoagas jfagoagas merged commit 3eb95a3 into prowler-cloud:master May 21, 2024
10 of 11 checks passed
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.

None yet

2 participants