Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

[BUG] The policy FG_R00093 doesn't handle the Serverless RDS Cluster properly #375

Open
rsareth opened this issue Nov 14, 2022 · 0 comments

Comments

@rsareth
Copy link

rsareth commented Nov 14, 2022

Describe the bug
The policy FG_R00093 doesn't handled properly the serverless RDS Cluster. In the code, I don't see anything telling that if the rds cluster has the engine serverless, it shouldn't raise an alert.

It is based on this documentation: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#storage_encrypted

How you're running Regula

  • I'm using Regula v2.9.1

Operating System
Mac OS and Linux

Steps to reproduce

  • Step 1 - Create this TF file with this content:
resource "aws_rds_cluster" "serverless_cluster" {
  engine_mode             = "serverless"
}
  • Step 2 - Run regula:
$ regula run .

FG_R00093: RDS instances should be encrypted [High]
           https://docs.fugue.co/FG_R00093.html

  [1]: aws_rds_cluster.serverless_cluster
       in rds.tf:1:1
[...]

Thank you by advance to look at that.

Rasmey

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant