Skip to main content

🧪 test-data.json

  • ID: /ce/ca/azure/virtual-network/nat-gateway-without-subnet/test-data.json

Used In

LogicPolicyFlags
🧠 prod.logic.yaml🟢🛡️ Azure NAT Gateway has no subnet🟢🟢 x3

Content

Open File

[
{
"RecordType": {
"Id": "nat-gateway"
},
"RecordTypeId": "nat-gateway",
"expectedResult": {
"status": "DISAPPEARED",
"conditionIndex": "99",
"conditionText": "isDisappeared(CA10Z1__disappearanceTime__c)",
"runtimeError": null
},
"context": {
"snapshotTime": "2026-09-14T00:00:00Z"
},
"Id": "gone",
"CA10Z1__disappearanceTime__c": "2026-09-13T00:00:00Z",
"CA10Z1__provisioningState__c": "Succeeded",
"CA10Z1__Azure_Network_Subnets__r": []
},
{
"RecordType": {
"Id": "nat-gateway"
},
"RecordTypeId": "nat-gateway",
"expectedResult": {
"status": "INAPPLICABLE",
"conditionIndex": "199",
"conditionText": "extract('CA10Z1__provisioningState__c') != 'Succeeded'",
"runtimeError": null
},
"context": {
"snapshotTime": "2026-09-14T00:00:00Z"
},
"Id": "deleting",
"CA10Z1__disappearanceTime__c": null,
"CA10Z1__provisioningState__c": "Deleting",
"CA10Z1__Azure_Network_Subnets__r": []
},
{
"RecordType": {
"Id": "nat-gateway"
},
"RecordTypeId": "nat-gateway",
"expectedResult": {
"status": "INAPPLICABLE",
"conditionIndex": "199",
"conditionText": "extract('CA10Z1__provisioningState__c') != 'Succeeded'",
"runtimeError": null
},
"context": {
"snapshotTime": "2026-09-14T00:00:00Z"
},
"Id": "updating",
"CA10Z1__disappearanceTime__c": null,
"CA10Z1__provisioningState__c": "Updating",
"CA10Z1__Azure_Network_Subnets__r": []
},
{
"RecordType": {
"Id": "nat-gateway"
},
"RecordTypeId": "nat-gateway",
"expectedResult": {
"status": "UNDETERMINED",
"conditionIndex": "101",
"conditionText": "CA10Z1__provisioningState__c.isEmpty()",
"runtimeError": null
},
"context": {
"snapshotTime": "2026-09-14T00:00:00Z"
},
"Id": "unknown-state",
"CA10Z1__disappearanceTime__c": null,
"CA10Z1__provisioningState__c": "",
"CA10Z1__Azure_Network_Subnets__r": []
},
{
"RecordType": {
"Id": "nat-gateway"
},
"RecordTypeId": "nat-gateway",
"expectedResult": {
"status": "INCOMPLIANT",
"conditionIndex": "399",
"conditionText": "CA10Z1__Azure_Network_Subnets__r.hasNo(COMPLIANT)",
"runtimeError": null
},
"context": {
"snapshotTime": "2026-09-14T00:00:00Z"
},
"Id": "empty",
"CA10Z1__disappearanceTime__c": null,
"CA10Z1__provisioningState__c": "Succeeded",
"CA10Z1__Azure_Network_Subnets__r": []
},
{
"RecordType": {
"Id": "nat-gateway"
},
"RecordTypeId": "nat-gateway",
"expectedResult": {
"status": "UNDETERMINED",
"conditionIndex": "299",
"conditionText": "CA10Z1__Azure_Network_Subnets__r.has(UNDETERMINED)",
"runtimeError": null
},
"context": {
"snapshotTime": "2026-09-14T00:00:00Z"
},
"Id": "unknown-subnet",
"CA10Z1__disappearanceTime__c": null,
"CA10Z1__provisioningState__c": "Succeeded",
"CA10Z1__Azure_Network_Subnets__r": [
{
"Id": "subnet-unknown",
"RecordType": {
"Id": "subnet",
"DeveloperName": "caAzureRMVirtualNetworkSubnet"
},
"RecordTypeId": "subnet",
"CA10Z1__natGateway__c": "unknown-subnet",
"CA10__disappearanceTime__c": null,
"CA10__provisioningState__c": ""
}
]
},
{
"RecordType": {
"Id": "nat-gateway"
},
"RecordTypeId": "nat-gateway",
"expectedResult": {
"status": "INCOMPLIANT",
"conditionIndex": "399",
"conditionText": "CA10Z1__Azure_Network_Subnets__r.hasNo(COMPLIANT)",
"runtimeError": null
},
"context": {
"snapshotTime": "2026-09-14T00:00:00Z"
},
"Id": "gone-subnet",
"CA10Z1__disappearanceTime__c": null,
"CA10Z1__provisioningState__c": "Succeeded",
"CA10Z1__Azure_Network_Subnets__r": [
{
"Id": "subnet-gone",
"RecordType": {
"Id": "subnet",
"DeveloperName": "caAzureRMVirtualNetworkSubnet"
},
"RecordTypeId": "subnet",
"CA10Z1__natGateway__c": "gone-subnet",
"CA10__disappearanceTime__c": "2026-09-13T00:00:00Z",
"CA10__provisioningState__c": "Succeeded"
}
]
},
{
"RecordType": {
"Id": "nat-gateway"
},
"RecordTypeId": "nat-gateway",
"expectedResult": {
"status": "COMPLIANT",
"conditionIndex": "400",
"conditionText": "otherwise",
"runtimeError": null
},
"context": {
"snapshotTime": "2026-09-14T00:00:00Z"
},
"Id": "attached",
"CA10Z1__disappearanceTime__c": null,
"CA10Z1__provisioningState__c": "Succeeded",
"CA10Z1__Azure_Network_Subnets__r": [
{
"Id": "subnet-active",
"RecordType": {
"Id": "subnet",
"DeveloperName": "caAzureRMVirtualNetworkSubnet"
},
"RecordTypeId": "subnet",
"CA10Z1__natGateway__c": "attached",
"CA10__disappearanceTime__c": null,
"CA10__provisioningState__c": "Succeeded"
}
]
}
]