go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/id/azcompute/testdata/metadata_windows.toml (about) 1 [commands] 2 [commands.4eaa1aadc1d75f75433a5f414826d30902818c2a2b857752a4f625b12ea73efb] 3 command = "powershell.exe -NoProfile -EncodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACcAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAnADsASQBuAHYAbwBrAGUALQBSAGUAcwB0AE0AZQB0AGgAbwBkACAALQBUAGkAbQBlAG8AdQB0AFMAZQBjACAAMQAgAC0ASABlAGEAZABlAHIAcwAgAEAAewAiAE0AZQB0AGEAZABhAHQAYQAiAD0AIgB0AHIAdQBlACIAfQAgAC0ATQBlAHQAaABvAGQAIABHAEUAVAAgAC0AVQBSAEkAIABoAHQAdABwADoALwAvADEANgA5AC4AMgA1ADQALgAxADYAOQAuADIANQA0AC8AbQBlAHQAYQBkAGEAdABhAC8AaQBuAHMAdABhAG4AYwBlAD8AYQBwAGkALQB2AGUAcgBzAGkAbwBuAD0AMgAwADIAMQAtADAAMgAtADAAMQAgAC0AVQBzAGUAQgBhAHMAaQBjAFAAYQByAHMAaQBuAGcAIAB8ACAAQwBvAG4AdgBlAHIAdABUAG8ALQBKAHMAbwBuAA==" 4 exit_status = 0 5 stdout = """ 6 { 7 "compute": { 8 "azEnvironment": "AZUREPUBLICCLOUD", 9 "extendedLocation": { 10 "type": "edgeZone", 11 "name": "microsoftlosangeles" 12 }, 13 "evictionPolicy": "", 14 "isHostCompatibilityLayerVm": "true", 15 "licenseType": "Windows_Client", 16 "location": "westus", 17 "name": "examplevmname", 18 "offer": "WindowsServer", 19 "osProfile": { 20 "adminUsername": "admin", 21 "computerName": "examplevmname", 22 "disablePasswordAuthentication": "true" 23 }, 24 "osType": "Windows", 25 "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", 26 "plan": { 27 "name": "planName", 28 "product": "planProduct", 29 "publisher": "planPublisher" 30 }, 31 "platformFaultDomain": "36", 32 "platformUpdateDomain": "42", 33 "priority": "Regular", 34 "publicKeys": [{ 35 "keyData": "ssh-rsa 0", 36 "path": "/home/user/.ssh/authorized_keys0" 37 }, 38 { 39 "keyData": "ssh-rsa 1", 40 "path": "/home/user/.ssh/authorized_keys1" 41 } 42 ], 43 "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", 44 "resourceGroupName": "macikgo-test-may-23", 45 "resourceId": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", 46 "securityProfile": { 47 "secureBootEnabled": "true", 48 "virtualTpmEnabled": "false" 49 }, 50 "sku": "2019-Datacenter", 51 "storageProfile": { 52 "dataDisks": [{ 53 "bytesPerSecondThrottle": "979202048", 54 "caching": "None", 55 "createOption": "Empty", 56 "diskCapacityBytes": "274877906944", 57 "diskSizeGB": "1024", 58 "image": { 59 "uri": "" 60 }, 61 "isSharedDisk": "false", 62 "isUltraDisk": "true", 63 "lun": "0", 64 "managedDisk": { 65 "id": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname", 66 "storageAccountType": "Standard_LRS" 67 }, 68 "name": "exampledatadiskname", 69 "opsPerSecondThrottle": "65280", 70 "vhd": { 71 "uri": "" 72 }, 73 "writeAcceleratorEnabled": "false" 74 }], 75 "imageReference": { 76 "id": "", 77 "offer": "WindowsServer", 78 "publisher": "MicrosoftWindowsServer", 79 "sku": "2019-Datacenter", 80 "version": "latest" 81 }, 82 "osDisk": { 83 "caching": "ReadWrite", 84 "createOption": "FromImage", 85 "diskSizeGB": "30", 86 "diffDiskSettings": { 87 "option": "Local" 88 }, 89 "encryptionSettings": { 90 "enabled": "false" 91 }, 92 "image": { 93 "uri": "" 94 }, 95 "managedDisk": { 96 "id": "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname", 97 "storageAccountType": "Standard_LRS" 98 }, 99 "name": "exampleosdiskname", 100 "osType": "Windows", 101 "vhd": { 102 "uri": "" 103 }, 104 "writeAcceleratorEnabled": "false" 105 }, 106 "resourceDisk": { 107 "size": "4096" 108 } 109 }, 110 "subscriptionId": "xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx", 111 "tags": "baz:bash;foo:bar", 112 "userData": "Zm9vYmFy", 113 "version": "15.05.22", 114 "virtualMachineScaleSet": { 115 "id": "/subscriptions/xxxxxxxx-xxxxx-xxx-xxx-xxxx/resourceGroups/resource-group-name/providers/Microsoft.Compute/virtualMachineScaleSets/virtual-machine-scale-set-name" 116 }, 117 "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", 118 "vmScaleSetName": "crpteste9vflji9", 119 "vmSize": "Standard_A3", 120 "zone": "" 121 }, 122 "network": { 123 "interface": [{ 124 "ipv4": { 125 "ipAddress": [{ 126 "privateIpAddress": "10.144.133.132", 127 "publicIpAddress": "" 128 }], 129 "subnet": [{ 130 "address": "10.144.133.128", 131 "prefix": "26" 132 }] 133 }, 134 "ipv6": { 135 "ipAddress": [ 136 ] 137 }, 138 "macAddress": "0011AAFFBB22" 139 }] 140 } 141 } 142 """ 143 [commands.7063dece7cccf374d9fa1ee30ff23300fa42477e064e69be7bb6d01c0cfff682] 144 command = "hostname" 145 stdout = "examplevmname\r\n" 146 stderr = "" 147 exit_status = 0 148 149 [commands.7ce30b85e14a034d16c5c90a783f09e0533e1fdf0369223c97c93913ccf1586a] 150 command = "wmic os get * /format:csv" 151 stdout = "\r\r\nNode,BootDevice,BuildNumber,BuildType,Caption,CodeSet,CountryCode,CreationClassName,CSCreationClassName,CSDVersion,CSName,CurrentTimeZone,DataExecutionPrevention_32BitApplications,DataExecutionPrevention_Available,DataExecutionPrevention_Drivers,DataExecutionPrevention_SupportPolicy,Debug,Description,Distributed,EncryptionLevel,ForegroundApplicationBoost,FreePhysicalMemory,FreeSpaceInPagingFiles,FreeVirtualMemory,InstallDate,LargeSystemCache,LastBootUpTime,LocalDateTime,Locale,Manufacturer,MaxNumberOfProcesses,MaxProcessMemorySize,MUILanguages,Name,NumberOfLicensedUsers,NumberOfProcesses,NumberOfUsers,OperatingSystemSKU,Organization,OSArchitecture,OSLanguage,OSProductSuite,OSType,OtherTypeDescription,PAEEnabled,PlusProductID,PlusVersionNumber,PortableOperatingSystem,Primary,ProductType,RegisteredUser,SerialNumber,ServicePackMajorVersion,ServicePackMinorVersion,SizeStoredInPagingFiles,Status,SuiteMask,SystemDevice,SystemDirectory,SystemDrive,TotalSwapSpaceSize,TotalVirtualMemorySize,TotalVisibleMemorySize,Version,WindowsDirectory\r\r\njay-win1,\\Device\\HarddiskVolume3,17763,Multiprocessor Free,Microsoft Windows Server 2019 Datacenter,1252,1,Win32_OperatingSystem,Win32_ComputerSystem,,jay-win1,0,TRUE,TRUE,TRUE,3,FALSE,,FALSE,256,2,3245476,1048316,4414472,20211122143902.000000+000,,20211122155931.295112+000,20211122160459.536000+000,0409,Microsoft Corporation,4294967295,137438953344,{en-US},Microsoft Windows Server 2019 Datacenter|C:\\Windows|\\Device\\Harddisk0\\Partition4,0,92,3,8,,64-bit,1033,400,18,,,,,FALSE,TRUE,3,,00430-00000-00000-AA288,0,0,1048316,OK,400,\\Device\\HarddiskVolume4,C:\\Windows\\system32,C:,,5241540,4193224,10.0.17763,C:\\Windows\r\r\n" 152 stderr = "" 153 exit_status = 0