verify-layer: cloud exports (AWS ECS/EC2/Lambda, Azure VMs/Container Instances/Container Apps/Web Apps, GCP Compute Engine/Cloud Run) read from the operator's own CLI export, never from an account; fixtures derived from the vendors' documented examples; a real account is unmeasured and the README says so
This commit is contained in:
1 parent
ea695dcf32
commit
ac14880703
49 files changed
+10080
-17
No files matched your search
@@ -0,0 +1,158 @@
|
||||
[
|
||||
{
|
||||
"name": "demo1",
|
||||
"type": "Microsoft.ContainerInstance/containerGroups",
|
||||
"id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1",
|
||||
"location": "WestUs",
|
||||
"zones": [
|
||||
"1"
|
||||
],
|
||||
"containers": [
|
||||
{
|
||||
"name": "demo1",
|
||||
"command": [],
|
||||
"environmentVariables": [],
|
||||
"image": "nginx",
|
||||
"ports": [
|
||||
{
|
||||
"port": 80
|
||||
}
|
||||
],
|
||||
"resources": {
|
||||
"requests": {
|
||||
"cpu": 1,
|
||||
"memoryInGB": 1.5
|
||||
}
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"name": "volume1",
|
||||
"mountPath": "/mnt/volume1",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"instanceView": {
|
||||
"currentState": {
|
||||
"state": "Running",
|
||||
"startTime": "2026-10-18T06:00:00Z",
|
||||
"detailStatus": ""
|
||||
},
|
||||
"events": [],
|
||||
"restartCount": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"imageRegistryCredentials": [
|
||||
{
|
||||
"server": "azcloudconsoleregistry.azurecr.io",
|
||||
"username": "azcloudconsoleregistry"
|
||||
}
|
||||
],
|
||||
"ipAddress": {
|
||||
"type": "Public",
|
||||
"ip": "10.0.0.1",
|
||||
"ports": [
|
||||
{
|
||||
"port": 80,
|
||||
"protocol": "TCP"
|
||||
}
|
||||
]
|
||||
},
|
||||
"osType": "Linux",
|
||||
"provisioningState": "Succeeded",
|
||||
"volumes": [
|
||||
{
|
||||
"name": "volume1",
|
||||
"azureFile": {
|
||||
"readOnly": false,
|
||||
"shareName": "share1",
|
||||
"storageAccountName": "storage1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"resourceGroup": "demo",
|
||||
"instanceView": {
|
||||
"state": "Running",
|
||||
"events": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "demo2",
|
||||
"type": "Microsoft.ContainerInstance/containerGroups",
|
||||
"id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo2",
|
||||
"location": "WestUs",
|
||||
"zones": [
|
||||
"1"
|
||||
],
|
||||
"containers": [
|
||||
{
|
||||
"name": "demo1",
|
||||
"command": [],
|
||||
"environmentVariables": [],
|
||||
"image": "nginx",
|
||||
"ports": [
|
||||
{
|
||||
"port": 80
|
||||
}
|
||||
],
|
||||
"resources": {
|
||||
"requests": {
|
||||
"cpu": 1,
|
||||
"memoryInGB": 1.5
|
||||
}
|
||||
},
|
||||
"volumeMounts": [
|
||||
{
|
||||
"name": "volume1",
|
||||
"mountPath": "/mnt/volume1",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"instanceView": {
|
||||
"currentState": {
|
||||
"state": "Terminated",
|
||||
"startTime": "2026-10-18T06:00:00Z",
|
||||
"detailStatus": "",
|
||||
"exitCode": 0,
|
||||
"finishTime": "2026-10-18T06:05:00Z"
|
||||
},
|
||||
"events": [],
|
||||
"restartCount": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"imageRegistryCredentials": [
|
||||
{
|
||||
"server": "azcloudconsoleregistry.azurecr.io",
|
||||
"username": "azcloudconsoleregistry"
|
||||
}
|
||||
],
|
||||
"ipAddress": {
|
||||
"type": "Public",
|
||||
"ip": "10.0.0.1",
|
||||
"ports": [
|
||||
{
|
||||
"port": 80,
|
||||
"protocol": "TCP"
|
||||
}
|
||||
]
|
||||
},
|
||||
"osType": "Linux",
|
||||
"provisioningState": "Succeeded",
|
||||
"volumes": [
|
||||
{
|
||||
"name": "volume1",
|
||||
"azureFile": {
|
||||
"readOnly": false,
|
||||
"shareName": "share1",
|
||||
"storageAccountName": "storage1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"resourceGroup": "demo",
|
||||
"instanceView": {
|
||||
"state": "Stopped",
|
||||
"events": []
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user