Skip to main content

πŸ§ͺ test-data.json

  • Contextual name: πŸ§ͺ test-data.json
  • ID: /ce/ca/azure/storage/snb-protocol-version/test-data.json

Used In​

LogicPolicyFlags
🧠 prod.logic.yaml πŸŸ’πŸ“ Azure Storage File Shares SMB Protocol Version is not set to SMB 3.1.1 or higher 🟒🟒 x3

Content​

Open File

[
{
"expectedResult": {
"status": "INCOMPLIANT",
"conditionIndex": "200",
"conditionText": "otherwise",
"runtimeError": null
},
"context": { "snapshotTime": "2025-07-07T09:01:03Z" },
"Id": "001",
"CA10Z1__protocolSettingsSmbVersions__c": ""
},
{
"expectedResult": {
"status": "INCOMPLIANT",
"conditionIndex": "200",
"conditionText": "otherwise",
"runtimeError": null
},
"context": { "snapshotTime": "2025-07-07T09:01:03Z" },
"Id": "002",
"CA10Z1__protocolSettingsSmbVersions__c": "SMB2.1"
},
{
"expectedResult": {
"status": "INCOMPLIANT",
"conditionIndex": "200",
"conditionText": "otherwise",
"runtimeError": null
},
"context": { "snapshotTime": "2025-07-07T09:01:03Z" },
"Id": "004",
"CA10Z1__protocolSettingsSmbVersions__c": "SMB2.1; SMB3.1.1"
},
{
"expectedResult": {
"status": "COMPLIANT",
"conditionIndex": "199",
"conditionText": "extract('CA10Z1__protocolSettingsSmbVersions__c').contains('SMB3.1.1') && not(extract('CA10Z1__protocolSettingsSmbVersions__c').contains('SMB2.1')) && not(extract('CA10Z1__protocolSettingsSmbVersions__c').contains('SMB3.0'))",
"runtimeError": null
},
"context": { "snapshotTime": "2025-07-07T09:01:03Z" },
"Id": "003",
"CA10Z1__protocolSettingsSmbVersions__c": "SMB3.1.1"
}
]