You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This check ensures that Amazon EKS clusters are configured to use AWS Key Management Service (KMS) for encryption of Kubernetes secrets. By default, EKS uses a default KMS key for encryption, but organizations can create and manage their own customer-managed keys (CMKs) for enhanced security and compliance.
136
+
137
+
**Why this matters**
138
+
139
+
Using KMS for encryption provides several benefits:
140
+
141
+
- **Data protection:** Secrets are encrypted at rest using strong encryption algorithms.
142
+
- **Access control:** Organizations can manage access to the KMS key using IAM policies.
143
+
- **Auditability:** AWS CloudTrail logs all KMS key usage, providing a detailed audit trail.
144
+
145
+
**Risk mitigation:**
146
+
147
+
- **Prevents unauthorized access:** Only authorized users and services can decrypt secrets.
148
+
- **Ensures compliance:** Meets regulatory requirements for data protection and encryption.
149
+
- **Enhances security posture:** Reduces the risk of data breaches and unauthorized access to sensitive information.
150
+
remediation:
151
+
- id: console
152
+
desc: |
153
+
**Using AWS Console**
154
+
155
+
1. Navigate to the Amazon EKS Console.
156
+
2. Select the EKS cluster you want to configure.
157
+
3. In the Configuration tab, select Secrets Encryption.
158
+
4. Choose the option to use a custom KMS key.
159
+
5. Select or create a new KMS key for encryption.
160
+
6. Save the changes to apply the new configuration.
161
+
- id: cli
162
+
desc: |
163
+
**Using AWS CLI**
164
+
165
+
To check if your EKS cluster is using a custom KMS key:
This check ensures that Amazon EKS clusters are configured with private endpoint access. By default, EKS clusters are accessible over the public internet, which can expose them to potential attacks. Configuring private endpoint access restricts access to the cluster's API server to resources within the VPC.
242
+
243
+
**Why this matters**
244
+
245
+
- **Security:** Reduces the attack surface by preventing public access to the EKS control plane.
246
+
- **Compliance:** Meets security standards and best practices for cloud-native applications.
247
+
- **Network isolation:** Enhances network security by limiting access to trusted networks.
248
+
249
+
**Risk mitigation:**
250
+
251
+
- **Prevents unauthorized access:** Only resources within the VPC can communicate with the EKS control plane.
252
+
- **Enhances security posture:** Reduces the risk of data breaches and unauthorized access to sensitive information.
253
+
- **Improves compliance:** Aligns with security frameworks and regulations that require network isolation.
254
+
remediation:
255
+
- id: console
256
+
desc: |
257
+
**Using AWS Console**
258
+
259
+
1. Navigate to the Amazon EKS Console.
260
+
2. Select the EKS cluster you want to configure.
261
+
3. In the Configuration tab, select Networking.
262
+
4. Under Cluster Endpoint Access, choose Private.
263
+
5. Save the changes to apply the new configuration.
264
+
- id: cli
265
+
desc: |
266
+
**Using AWS CLI**
267
+
268
+
To check if your EKS cluster is using private endpoint access:
0 commit comments