turbot/terraform_aws_compliance

GitHub
Loading controls...

Control: ECR repository should use image scanning

Description

One of the best practices when making containers available through AWS ECR is to scan them for vulnerabilities before sharing or using them.

Usage

Run the control in your terminal:

steampipe check terraform_aws_compliance.control.ecr_repository_use_image_scanning

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share terraform_aws_compliance.control.ecr_repository_use_image_scanning

SQL

This control uses a named query:

ecr_repository_use_image_scanning

Tags