You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Violation Details -
Description : Ensure S3 buckets have access logging enabled.
File : .terraform/modules/backup_operator_s3_bucket/main.tf
Module Name : backup_operator_s3_bucket
Plan Root : ./
Line : 5
Severity : MEDIUM
Rule Name : s3BucketAccessLoggingDisabled
Rule ID : AC_AWS_0497
Resource Name : this
Resource Type : aws_s3_bucket
Category : Logging and Monitoring
-----------------------------------------------------------------------
Description : Ensure that S3 Buckets have server side encryption at rest enabled with KMS key to protect sensitive data.
File : .terraform/modules/backup_operator_s3_bucket/main.tf
Module Name : backup_operator_s3_bucket
Plan Root : ./
Line : 5
Severity : HIGH
Rule Name : s3BucketSseRulesWithKmsNull
Rule ID : AC_AWS_0207
Resource Name : this
Resource Type : aws_s3_bucket
Category : Data Protection
-----------------------------------------------------------------------
Description : Enabling S3 versioning will enable easy recovery from both unintended user actions, like deletes and overwrites
File : .terraform/modules/backup_operator_s3_bucket/main.tf
Module Name : backup_operator_s3_bucket
Plan Root : ./
Line : 5
Severity : HIGH
Rule Name : s3Versioning
Rule ID : AC_AWS_0214
Resource Name : this
Resource Type : aws_s3_bucket
Category : Resilience
-----------------------------------------------------------------------
So, seems included module's resources don't inherit "skip" labels. Is there any possibility to make it workable?
The text was updated successfully, but these errors were encountered:
Currently rule skipping doesn't work within Terraform modules unless it's performed using the skip-rules flag, but that would also skip the rules for all other resources in your template. Here's an example:
Description
I'm trying to ignore some rules for specific module included into my IaC
What I Did
Here is my HCL file s3.tf
And every time i got next failures:
So, seems included module's resources don't inherit "skip" labels. Is there any possibility to make it workable?
The text was updated successfully, but these errors were encountered: