|
| 1 | +{"level":"info","ts":1769523987.8245344,"caller":"cmca-verify/main.go:61","msg":"Initializing CMCA provider..."} |
| 2 | +{"level":"info","ts":1769523987.8247242,"caller":"cloudmetadata/factory.go:25","msg":"Detected cloud provider: Azure"} |
| 3 | +{"level":"info","ts":1769523987.8560004,"caller":"cloudmetadata/global.go:60","msg":"[cloudmetadata] Cloud provider detected","cloud":"Azure"} |
| 4 | +{"level":"info","ts":1769523987.8715389,"caller":"cloudmetadata/global.go:68","msg":"[cloudmetadata] Provider initialized successfully","cloud":"Azure","available":true,"instanceId":"0a98...","region":"eastus2"} |
| 5 | +{"level":"info","ts":1769523987.871566,"caller":"cmca-verify/main.go:74","msg":"CMCA provider initialized successfully"} |
| 6 | +{"level":"info","ts":1769523987.871687,"caller":"cmca-verify/main.go:80","msg":"Detected Azure environment"} |
| 7 | +{"level":"info","ts":1769523987.8717084,"caller":"cmca-verify/main.go:140","msg":"Fetching Azure IMDS metadata..."} |
| 8 | + |
| 9 | +=== CMCA Provider Verification Results === |
| 10 | + |
| 11 | +InstanceId (cloud:InstanceId) ✅ PASS |
| 12 | + Expected: 0a98be80-67e5-4960-95ee-8d4f749fd463 |
| 13 | + Actual: 0a98be80-67e5-4960-95ee-8d4f749fd463 |
| 14 | + Source: Azure IMDS compute.vmId |
| 15 | + |
| 16 | +Region (cloud:Region) ✅ PASS |
| 17 | + Expected: eastus2 |
| 18 | + Actual: eastus2 |
| 19 | + Source: Azure IMDS compute.location |
| 20 | + |
| 21 | +AccountId (cloud:AccountId) ✅ PASS |
| 22 | + Expected: 0027d8d7-92fe-41c4-b8ce-ced3a125a9a8 |
| 23 | + Actual: 0027d8d7-92fe-41c4-b8ce-ced3a125a9a8 |
| 24 | + Source: Azure IMDS compute.subscriptionId |
| 25 | + |
| 26 | +InstanceType (cloud:InstanceType) ✅ PASS |
| 27 | + Expected: Standard_D2s_v3 |
| 28 | + Actual: Standard_D2s_v3 |
| 29 | + Source: Azure IMDS compute.vmSize |
| 30 | + |
| 31 | +PrivateIp (cloud:PrivateIp) ✅ PASS |
| 32 | + Expected: 172.16.0.4 |
| 33 | + Actual: 172.16.0.4 |
| 34 | + Source: Azure IMDS network.interface[0].ipv4.ipAddress[0].privateIpAddress |
| 35 | + |
| 36 | +AvailabilityZone (cloud:AvailabilityZone) ✅ PASS |
| 37 | + Expected: |
| 38 | + Actual: |
| 39 | + Source: N/A (Azure doesn't have AZs) |
| 40 | + |
| 41 | +ImageId (cloud:ImageId) ✅ PASS |
| 42 | + Expected: |
| 43 | + Actual: 0a98be80-67e5-4960-95ee-8d4f749fd463 |
| 44 | + Source: N/A (not in Azure IMDS) |
| 45 | + |
| 46 | +=== Summary: 7 passed, 0 failed === |
| 47 | + |
0 commit comments