Image Metadata (b597a220-6510-4397-b0d8-342cd2c58827)
contextual information associated with a virtual machine image, such as its name, resource group, status (active or inactive), type (custom or prebuilt), size, creation date, and permissions. This metadata is critical for understanding the state and configuration of virtual machine images in cloud environments. Examples:
- Azure Compute Service Image Metadata Example:
- Name: MyCustomImage
- Resource Group: MyResourceGroup
- State: Available
- Type: Managed Image
- AWS EC2 AMI Metadata Example:
- Image ID: ami-1234567890abcdef0
- Name: ProdImage
- State: Available
- Platform: Windows
- Google Cloud Compute Engine Image Metadata Example:
- Image Name: webserver-image
- Project: my-project-id
- Family: webserver
- Source Disk: my-disk-id
- VMware vSphere Template Metadata Example:
- Name: LinuxTemplate
- Disk Size: 40GB
- Network Adapter: VM Network
This data component can be collected through the following measures:
Cloud Platform-Specific Tools
- Azure:
- Use Azure CLI to query metadata:
az image show --name MyCustomImage --resource-group MyResourceGroup
- Use Azure CLI to query metadata:
- AWS:
- Use AWS CLI to describe AMI metadata:
aws ec2 describe-images --image-ids ami-1234567890abcdef0
- Use AWS CLI to describe AMI metadata:
- Google Cloud:
- Use Google Cloud SDK to retrieve image metadata:
gcloud compute images describe webserver-image
- Use Google Cloud SDK to retrieve image metadata:
APIs
- Azure:
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}
- AWS:
DescribeImages
API. - Google Cloud:
GET https://compute.googleapis.com/compute/v1/projects/{project}/global/images/{image}.
Cloud Management Portals
- View metadata directly from the cloud provider's management console or dashboard.
SIEM Integration
- Aggregate metadata into SIEM platforms for centralized monitoring: