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(AWS): New Storage Gateway FileShare KMS CMK Check #4082

Merged
merged 3 commits into from
May 27, 2024

Conversation

madereddy
Copy link
Contributor

Context

Add Storage Gateway Service with FileShare KMS CMK check

Description

Default Storage Gateway FileShares uses default keys instead of KMS CMK which does not have fine grained control.

Added Storage Gateway Service and Test checks to support this additional service.

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 as code owners May 24, 2024 00:25
@github-actions github-actions bot added the provider/aws Issues/PRs related with the AWS provider label May 24, 2024
Copy link

codecov bot commented May 24, 2024

Codecov Report

Attention: Patch coverage is 91.89189% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 86.30%. Comparing base (aa42507) to head (97c42a1).
Report is 4 commits behind head on master.

Files Patch % Lines
.../services/storagegateway/storagegateway_service.py 88.67% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4082      +/-   ##
==========================================
+ Coverage   86.26%   86.30%   +0.03%     
==========================================
  Files         790      793       +3     
  Lines       24729    24803      +74     
==========================================
+ Hits        21333    21406      +73     
- Misses       3396     3397       +1     

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

file_share_arn: str
gateway_arn: str
region: str
file_share_type: str
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
file_share_type: str
_type: str

Copy link
Contributor Author

Choose a reason for hiding this comment

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

_type caused some errors so changed it to fs_type and that worked. Hopefully that solves comment.

Copy link
Member

@sergargar sergargar left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @madereddy ! Please, review my comments.

@sergargar sergargar self-assigned this May 24, 2024
Copy link
Member

@sergargar sergargar left a comment

Choose a reason for hiding this comment

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

Thanks for the changes and the PR! @madereddy

@sergargar sergargar merged commit ca554ad into prowler-cloud:master May 27, 2024
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