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

False positive on AWS.EBS.EKM.Medium.0682 #1726

Open
davidhenar opened this issue Feb 3, 2025 · 0 comments
Open

False positive on AWS.EBS.EKM.Medium.0682 #1726

davidhenar opened this issue Feb 3, 2025 · 0 comments

Comments

@davidhenar
Copy link

I have the following:

Violation Details -

    Description    :        Enable AWS EBS Snapshot Encryption
    File           :        main.tf
    Module Name    :        root
    Plan Root      :        .\
    Line           :        1
    Severity       :        HIGH
    Rule Name      :        ebsSnapshotDisabled
    Rule ID        :        AC_AWS_0459
    Resource Name  :        main
    Resource Type  :        aws_ebs_volume
    Category       :        Data Protection

I get this error in the following module:

resource "aws_ebs_volume" "main" {
  availability_zone = var.availability_zone
}

resource "aws_ebs_snapshot" "snapshot" {
  volume_id = aws_ebs_volume.main.id
}

Am I missing something?

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

No branches or pull requests

1 participant