-
Notifications
You must be signed in to change notification settings - Fork 63
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
ebs_attached_volume_encryption_enabled should validate all EBS volume without where condition Closes #503 #504
Conversation
… without where condition Closes #503
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.
@khushboo9024 Please see comment, thanks!
@@ -2,17 +2,17 @@ select | |||
-- Required Columns | |||
arn as resource, | |||
case | |||
when state != 'in-use' then 'info' |
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.
when state != 'in-use' then 'info' | |
when state != 'in-use' then 'skip' |
If we're not evaluating them, should it be in skip
state instead? What does the original query/config rule say about evaluating unattached volumes (or doesn't say)?
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.
@cbruno10 this is what it says below; non-attached ones we can skip
This control checks whether the EBS volumes that are in an attached state are encrypted. To pass this check, EBS volumes must be in use and encrypted. If the EBS volume is not attached, then it is not subject to this check.
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.
LGTM
Checklist