Skip to main content

πŸ§ͺ test-data.json

  • Contextual name: πŸ§ͺ test-data.json
  • ID: /ce/ca/azure/storage/trusted-azure-services-exceptions/test-data.json

Used In​

LogicPolicyFlags
🧠 prod.logic.yaml πŸŸ’πŸ“ Azure Storage Account Trusted Azure Services are not enabled as networking exceptions 🟒🟒 x3

Content​

Open File

[
{
"expectedResult": {
"status": "DISAPPEARED",
"conditionIndex": "99",
"conditionText": "isDisappeared(CA10__disappearanceTime__c)",
"runtimeError": null
},
"context": {
"snapshotTime": "2024-06-13T04:17:29Z"
},
"Id": "test1",
"RecordTypeId": "recordType",
"CA10__disappearanceTime__c": "2024-06-07T14:13:24Z",
"CA10__networkAclsBypass__c": "AzureServices",
"RecordType": {
"DeveloperName": "StorageAccount",
"Id": "test1_1"
}
},
{
"expectedResult": {
"status": "INCOMPLIANT",
"conditionIndex": "199",
"conditionText": "not(extract('CA10__networkAclsBypass__c').contains('azureservices'))",
"runtimeError": null
},
"context": {
"snapshotTime": "2024-06-13T04:17:29Z"
},
"Id": "test2",
"RecordTypeId": "recordType",
"CA10__disappearanceTime__c": null,
"CA10__networkAclsBypass__c": "Logging, Metrics",
"RecordType": {
"DeveloperName": "StorageAccount",
"Id": "test2_1"
}
},
{
"expectedResult": {
"status": "COMPLIANT",
"conditionIndex": "200",
"conditionText": "otherwise",
"runtimeError": null
},
"context": {
"snapshotTime": "2024-06-13T04:17:29Z"
},
"Id": "test3",
"RecordTypeId": "recordType",
"CA10__disappearanceTime__c": null,
"CA10__networkAclsBypass__c": "AzureServices",
"RecordType": {
"DeveloperName": "StorageAccount",
"Id": "test3_1"
}
},
{
"expectedResult": {
"status": "COMPLIANT",
"conditionIndex": "200",
"conditionText": "otherwise",
"runtimeError": null
},
"context": {
"snapshotTime": "2024-06-13T04:17:29Z"
},
"Id": "test4",
"RecordTypeId": "recordType",
"CA10__disappearanceTime__c": null,
"CA10__networkAclsBypass__c": "AzureServices, Logging, Metrics",
"RecordType": {
"DeveloperName": "StorageAccount",
"Id": "test4_1"
}
},
{
"expectedResult": {
"status": "UNDETERMINED",
"conditionIndex": "101",
"conditionText": "CA10__networkAclsBypass__c.isEmpty()",
"runtimeError": null
},
"context": {
"snapshotTime": "2024-06-13T04:17:29Z"
},
"Id": "test5",
"RecordTypeId": "recordType",
"CA10__disappearanceTime__c": null,
"CA10__networkAclsBypass__c": "",
"RecordType": {
"DeveloperName": "StorageAccount",
"Id": "test5_1"
}
}
]