Identifying CIS Hardened Image Versions
Product Name
CIS Hardened ImagesĀ®
Product Version
(all)
Date
Feb 28, 2024
Problem
The approach to determine the version number of a currently deployed CIS Hardened Image varies by Cloud Service Provider. This article provides the unique steps for each major vendor.
General information regarding CIS version numbering can be referenced in the following KB article:
https://cisecurity.atlassian.net/wiki/spaces/STPS/pages/375849227
Solution
CIS Hardened Images on Amazon Web Services (AWS)
GUI | Using the AWS EC2 Dashboard, navigate to the running instance and reference the āAMI nameā or āAMI locationā property fields. Hardened Images in AWS released after March 2024 are identified by a two-digit number representing the month that the image was published in; for example, In the below example screenshot, the image version is |
CLI | Using the AWS CLI, run the following command, replacing aws ec2 describe-instances --instance-ids MY-INSTANCE-ID --query 'Reservations[*].Instances[*].ImageId' --output text | xargs -I {} aws ec2 describe-images --image-ids {} --query 'Images[*].Name' --output text The output will contain the full AMI name and version indicator of your CIS Hardened Image: |
CIS Hardened Images on Microsoft Azure
CLI | Using the Azure CLI, run the following command, replacing az disk show --resource-group MY-RESOURCE-GROUP --name MY-DISK-ID The output will contain the image version under the |
Due to platform requirements, CIS Hardened Images on Azure feature three version points (ex. 3.0.2
) instead of the four present on other CSPs (ex. 3.0.0.2
). The last digit indicates OS-level updates, while the first two indicate changes to the CIS Benchmark on which the Hardened Image is based.
CIS Hardened Images on Google Cloud Platform (GCP)
GUI | Using the Compute Engine dashboard, select the CIS Hardened Image instance. The version number will be displayed under the āStorageā ā āBoot Diskā section in the āImageā column. In the below example screenshot, the CIS Hardened Image version number is |
CLI | Using Google Cloud Shell, run the following command, replacing gcloud compute instances describe MY-INSTANCE-ID --zone=MY-ZONE --format='value(disks[0].source)' | xargs gcloud compute disks describe --format='value(sourceImage)' The output will contain the image version at the end of the returned URL: |
CIS Hardened Images on Oracle Cloud Infrastructure (OCI)
GUI | The Hardened Image version is displayed on the OCI dashboard, or as a drop-down selector when first instantiating a new Hardened Image. In the below example screenshot, the CIS Hardened Image version number is |
Keywords; hardened image version number aws gcp azure oci
Content by Label
Ā