Skip to content
Back to skills

Cis Eks V170 5.1.1

ASecurity

Ensure Image Vulnerability Scanning using Amazon ECR image scanning or a third party provider (Automated)

  • 3,723 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 3, 2026
securitygobashdockerkubernetesawsapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-eks-v170-5.1.1 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Eks V170 5.1.1?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cis Eks V170 5.1.1
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-eks-v170-5-1-1/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-eks-v170-5-1-1)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cis-eks-v170-5.1.1
description: "Ensure Image Vulnerability Scanning using Amazon ECR image scanning or a third party provider (Automated)"
category: cis-eks
version: "1.7.0"
author: cyberstrike-official
tags: [cis, eks, kubernetes, aws, ecr, image-scanning, vulnerability-scanning, container-security]
cis_id: "5.1.1"
cis_benchmark: "CIS Amazon Elastic Kubernetes Service (EKS) Benchmark v1.7.0"
tech_stack: [kubernetes, aws, eks]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# 5.1.1 Ensure Image Vulnerability Scanning using Amazon ECR image scanning or a third party provider (Automated)

## Profile Applicability

- Level 1

## Description

Scan images being deployed to Amazon EKS for vulnerabilities.

## Rationale

Vulnerabilities in software packages can be exploited by hackers or malicious users to obtain unauthorized access to local cloud resources. Amazon ECR and other third party products allow images to be scanned for known vulnerabilities.

## Impact

If you are utilizing AWS ECR, the following are common image scan failures. You can view errors like this in the Amazon ECR console by displaying the image details or through the API or AWS CLI by using the DescribeImageScanFindings API.

- **UnsupportedImageError:** You may get an UnsupportedImageError when attempting to scan an image that was built using an operating system that Amazon ECR doesn't support image scanning for. Amazon ECR supports package vulnerability scanning for major versions of Amazon Linux, Amazon Linux 2, Debian, Ubuntu, CentOS, Oracle Linux, Alpine, and RHEL Linux distributions. Amazon ECR does not support scanning images built from the Docker scratch image.
- **An UNDEFINED severity level is returned:** You may receive a scan finding that has a severity level of UNDEFINED. The following are the common causes for this:
  - The vulnerability was not assigned a priority by the CVE source.
  - The vulnerability was assigned a priority that Amazon ECR did not recognize.

To determine the severity and description of a vulnerability, you can view the CVE directly from the source.

## Audit Procedure

Please follow AWS ECR or your 3rd party image scanning provider's guidelines for enabling Image Scanning.

```bash
aws ecr describe-repositories --repository-names $REPO_NAME --region $REGION_CODE
```

## Remediation

To utilize AWS ECR for Image scanning please follow the steps below:

To create a repository configured for scan on push (AWS CLI):

```bash
aws ecr create-repository --repository-name $REPO_NAME --image-scanning-configuration scanOnPush=true --region $REGION_CODE
```

To edit the settings of an existing repository (AWS CLI):

```bash
aws ecr put-image-scanning-configuration --repository-name $REPO_NAME --image-scanning-configuration scanOnPush=true --region $REGION_CODE
```

Use the following steps to start a manual image scan using the AWS Management Console:

1. Open the Amazon ECR console at https://console.aws.amazon.com/ecr/repositories.
2. From the navigation bar, choose the Region to create your repository in.
3. In the navigation pane, choose Repositories.
4. On the Repositories page, choose the repository that contains the image to scan.
5. On the Images page, select the image to scan and then choose Scan.

## Default Value

Images are not scanned by Default.

## References

1. https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html

## CIS Controls

| Controls Version | Control                                                                           | IG 1 | IG 2 | IG 3 |
| ---------------- | --------------------------------------------------------------------------------- | ---- | ---- | ---- |
| v8               | 7.5 Perform Automated Vulnerability Scans of Internal Enterprise Assets           |      | X    | X    |
| v8               | 7.6 Perform Automated Vulnerability Scans of Externally-Exposed Enterprise Assets |      | X    | X    |
| v7               | 3.1 Run Automated Vulnerability Scanning Tools                                    |      | X    | X    |
| v7               | 3.2 Perform Authenticated Vulnerability Scanning                                  |      | X    | X    |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.