-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(AWS): New Storage Gateway FileShare KMS CMK Check #4082
Conversation
Codecov ReportAttention: Patch coverage is
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. |
prowler/providers/aws/services/storagegateway/storagegateway_service.py
Outdated
Show resolved
Hide resolved
prowler/providers/aws/services/storagegateway/storagegateway_service.py
Outdated
Show resolved
Hide resolved
prowler/providers/aws/services/storagegateway/storagegateway_service.py
Outdated
Show resolved
Hide resolved
prowler/providers/aws/services/storagegateway/storagegateway_service.py
Outdated
Show resolved
Hide resolved
file_share_arn: str | ||
gateway_arn: str | ||
region: str | ||
file_share_type: str |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file_share_type: str | |
_type: str |
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
prowler/providers/aws/services/storagegateway/storagegateway_service.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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
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.