Skip to content

Commit

Permalink
feat: track DCv1 settings and error descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
pl4nty authored Mar 11, 2024
2 parents 7fe6fc4 + e55b6cb commit 68c44d4
Show file tree
Hide file tree
Showing 1,214 changed files with 317,431 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"id": "ComplianceAOSPDeviceOwner_DeviceHealth_complianceRootedAllowedName_10719",
"dataType": 0,
"category": 39,
"nameResourceKey": "complianceRootedAllowedName",
"descriptionResourceKey": "complianceRootedAllowedDescription",
"inputControlLength": 0,
"validation": [],
"childSettings": [],
"options": [],
"isRequired": false,
"entityKey": "securityBlockJailbrokenDevices",
"booleanActions": 3,
"defaultValue": false,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"multiItemIncludeSelectAll": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"disableTopPadding": false,
"isSettingDescription": false,
"showAsSectionHeader": false,
"id": "ComplianceAOSPDeviceOwner_DeviceProperties_complianceOsVersionRestrictionHeader_10715",
"dataType": 8,
"category": 43,
"nameResourceKey": "complianceOsVersionRestrictionHeader",
"inputControlLength": 0,
"validation": [],
"childSettings": [
{
"id": "ComplianceAOSPDeviceOwner_DeviceProperties_complianceOsVersionRestrictionMinimumName_10716",
"dataType": 20,
"category": 43,
"nameResourceKey": "complianceOsVersionRestrictionMinimumName",
"descriptionResourceKey": "complianceOsVersionRestrictionMinimumAndroidDescription",
"inputControlLength": 0,
"validation": [
{
"validationType": 2,
"validationArguments": "^(([0-9]{0,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])\\.){0,3}([0-9]{0,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$",
"failureMessage": "mustBeValidVersionFormat"
}
],
"childSettings": [],
"options": [],
"isRequired": false,
"entityKey": "osMinimumVersion",
"booleanActions": 0,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"linkedValidation": {
"entityKey": "osMaximumVersion",
"linkedValidationType": 1,
"validationMessageKey": "mustBeSmallerThanOsMaximumVersion"
},
"multiItemIncludeSelectAll": false
},
{
"id": "ComplianceAOSPDeviceOwner_DeviceProperties_complianceOsVersionRestrictionMaximumName_10717",
"dataType": 20,
"category": 43,
"nameResourceKey": "complianceOsVersionRestrictionMaximumName",
"descriptionResourceKey": "complianceOsVersionRestrictionMaximumAndroidDescription",
"inputControlLength": 0,
"validation": [
{
"validationType": 2,
"validationArguments": "^(([0-9]{0,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])\\.){0,3}([0-9]{0,4}|[0-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$",
"failureMessage": "mustBeValidVersionFormat"
}
],
"childSettings": [],
"options": [],
"isRequired": false,
"entityKey": "osMaximumVersion",
"booleanActions": 0,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"linkedValidation": {
"entityKey": "osMinimumVersion",
"linkedValidationType": 2,
"validationMessageKey": "mustBeGreaterThanOsMinimumVersion"
},
"multiItemIncludeSelectAll": false
},
{
"id": "ComplianceAOSPDeviceOwner_DeviceProperties_complianceMinimumSecurityPatchLevelName_10718",
"dataType": 20,
"category": 43,
"nameResourceKey": "complianceMinimumSecurityPatchLevelName",
"descriptionResourceKey": "complianceMinimumSecurityPatchLevelDescription",
"inputControlLength": 0,
"validation": [
{
"validationType": 2,
"validationArguments": "^([0-9]{4}[-/]?((0[13-9]|1[012])[-/]?(0[1-9]|[12][0-9]|30)|(0[13578]|1[02])[-/]?31|02[-/]?(0[1-9]|1[0-9]|2[0-8]))|([0-9]{2}(([2468][048]|[02468][48])|[13579][26])|([13579][26]|[02468][048]|0[0-9]|1[0-6])00)[-/]?02[-/]?29)$",
"failureMessage": "mustBeValidDateFormat"
}
],
"childSettings": [],
"options": [],
"isRequired": false,
"entityKey": "minAndroidSecurityPatchLevel",
"booleanActions": 0,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"multiItemIncludeSelectAll": false
}
],
"options": [],
"isRequired": false,
"booleanActions": 0,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"multiItemIncludeSelectAll": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"disableTopPadding": false,
"isSettingDescription": false,
"showAsSectionHeader": false,
"id": "ComplianceAOSPDeviceOwner_SystemSecurity_androidPasswordHeader_10720",
"dataType": 8,
"category": 113,
"nameResourceKey": "androidPasswordHeader",
"inputControlLength": 0,
"validation": [],
"childSettings": [
{
"textLink": "https://go.microsoft.com/fwlink/?linkid=2034306",
"ariaLabelResourceKey": "systemSecurity",
"disableTopPadding": false,
"isSettingDescription": false,
"showAsSectionHeader": false,
"id": "ComplianceAOSPDeviceOwner_SystemSecurity_learnMore_10721",
"dataType": 8,
"category": 113,
"nameResourceKey": "learnMore",
"inputControlLength": 0,
"validation": [],
"childSettings": [],
"options": [],
"isRequired": false,
"booleanActions": 0,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"multiItemIncludeSelectAll": false
}
],
"options": [],
"isRequired": false,
"booleanActions": 0,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"multiItemIncludeSelectAll": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"disableTopPadding": false,
"isSettingDescription": false,
"showAsSectionHeader": false,
"id": "ComplianceAOSPDeviceOwner_SystemSecurity_complianceEncryptionHeader_10730",
"dataType": 8,
"category": 113,
"nameResourceKey": "complianceEncryptionHeader",
"inputControlLength": 0,
"validation": [],
"childSettings": [
{
"id": "ComplianceAOSPDeviceOwner_SystemSecurity_complianceRequireEncryptionName_10731",
"dataType": 0,
"category": 113,
"nameResourceKey": "complianceRequireEncryptionName",
"descriptionResourceKey": "complianceRequireEncryptionDescription",
"inputControlLength": 0,
"validation": [],
"childSettings": [],
"options": [],
"isRequired": false,
"entityKey": "storageRequireEncryption",
"booleanActions": 9,
"defaultValue": false,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"multiItemIncludeSelectAll": false
}
],
"options": [],
"isRequired": false,
"booleanActions": 0,
"policyType": 32,
"flipChildrenEnabledLogic": false,
"readOnly": false,
"writeOnce": false,
"enabled": true,
"multiItemIncludeSelectAll": false
}
Loading

0 comments on commit 68c44d4

Please sign in to comment.