Product Name
CIS Hardened Images®
Product Version
(all)
Date
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:
How are new versions and updates visually represented for each CIS Hardened Images®?
Solution
CIS Hardened Images on Amazon Web Services (AWS)
Using the AWS EC2 Dashboard, navigate to the running instance and reference the “AMI name“ or “AMI location” property fields. In the below example screenshot, the image version is
1.0.0.16
:Using the AWS CLI, run the following command, replacing
MY-INSTANCE-ID
with your image instance ID: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 number of your CIS Hardened Image:
CIS Hardened Images on Microsoft Azure
Using the Azure CLI, run the following command, replacing
MY-DISK-ID
andMY-RESOURCE-GROUP
with their respective values:az disk show --resource-group MY-RESOURCE-GROUP --name MY-DISK-ID
The output will contain the image version under theimageReference
→id
property.
In the below example screenshot, the image version is3.0.2
:
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)
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 is1.0.0.11
:Using Google Cloud Shell, run the following command, replacing
MY-INSTANCE-ID
andMY-ZONE
with their respective values: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)
??????
????????????????
0 Comments