Skip to content

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

@davidhenar

Description

@davidhenar

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions