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

bug(query): EC2 Not EBS Optimized False Positive #4968

Closed
cx-joao-reigota opened this issue Mar 11, 2022 · 0 comments · Fixed by #5020
Closed

bug(query): EC2 Not EBS Optimized False Positive #4968

cx-joao-reigota opened this issue Mar 11, 2022 · 0 comments · Fixed by #5020
Labels
bug Something isn't working
Milestone

Comments

@cx-joao-reigota
Copy link
Collaborator

When using a t3.nano instance type in Cloudformation, and not specifying EbsOptimized, KICS is reporting that EC2 is not EBS Optimized, although t3.nano is already EBS Optimized by default and this property will not have any effect.

For more information relating to this issue: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html#ebs-optimization-support

Keep in mind that some instances types do not support EBS Optimization and a filter should be added to this as well

Expected Behavior

Type: AWS::EC2::Instance
    Properties:
      InstanceType: t3.nano

No results related to EBS Optimization

Actual Behavior

Type: AWS::EC2::Instance
    Properties:
      InstanceType: t3.nano

EC2 Not EBS Optimized, Severity: INFO, Results: 1

Steps to Reproduce the Problem

(Command line arguments and flags used)

  1. build a template file with a t3.nano AWS::EC2::Instance resource
  2. scan with KICS

Specifications

  • Version: v1.5.3
  • Platform: Cloudformation
  • Subsystem: linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant