implicit SSH access from 0.0.0.0/0 for AWS EKS node group is detected. Make sure that AWS EKS node group doesn't have implicit SSH access from 0.0.0.0/0.
1Resources:
2 Resource:
3 Type: 'AWS::EKS::Nodegroup'
4 Properties:
5 ClusterName: test
6 NodeRole: 'arn:aws:iam::012345678910:role/eksInstanceRole'
7 ScalingConfig:
8 MinSize: 3
9 DesiredSize: 5
10 MaxSize: 7
11 Labels:
12 Key1: Value1
13 Key2: Value2
14 Subnets:
15 - subnet-6782e71e
16 - subnet-e7e761ac
17 # Noncompliant: `SourceSecurityGroups` is not mentioned.
18 RemoteAccess:
19 Ec2SshKey: SshKeyString
1Resources:
2 Resource:
3 Type: 'AWS::EKS::Nodegroup'
4 Properties:
5 ClusterName: test
6 NodeRole: 'arn:aws:iam::012345678910:role/eksInstanceRole'
7 ScalingConfig:
8 MinSize: 3
9 DesiredSize: 5
10 MaxSize: 7
11 Labels:
12 Key1: Value1
13 Key2: Value2
14 Subnets:
15 - subnet-6782e71e
16 - subnet-e7e761ac
17 RemoteAccess:
18 Ec2SshKey: SshKeyString
19 # Compliant: `SourceSecurityGroups` is mentioned here.
20 SourceSecurityGroups:
21 - sg-0