checks.external-urls #43
Annotations
2 errors
../../tests/checks/external-urls/main.spec.ts:
src/application/Parser/Executable/Validation/ExecutableValidator.ts#L65
Error: Category: 'Disable location access' has disallowed properties: name, recommend, call.
Self: {
"name": "Disable text and handwriting data collection",
"recommend": "standard",
"call": [
{
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Policies\\Microsoft\\InputPersonalization",
"valueName": "RestrictImplicitInkCollection",
"dataType": "REG_DWORD",
"data": "1",
"deleteOnRevert": "true"
}
},
{
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Policies\\Microsoft\\InputPersonalization",
"valueName": "RestrictImplicitTextCollection",
"dataType": "REG_DWORD",
"data": "1",
"deleteOnRevert": "true"
}
},
{
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\HandwritingErrorReports",
"valueName": "PreventHandwritingErrorReports",
"dataType": "REG_DWORD",
"data": "1",
"deleteOnRevert": "true"
}
},
{
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\TabletPC",
"valueName": "PreventHandwritingDataSharing",
"dataType": "REG_DWORD",
"data": "1",
"deleteOnRevert": "true"
}
},
{
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Policies\\Microsoft\\InputPersonalization",
"valueName": "AllowInputPersonalization",
"dataType": "REG_DWORD",
"data": "0",
"deleteOnRevert": "true"
}
},
{
"function": "RunInlineCode",
"parameters": {
"code": "reg add \"HKCU\\SOFTWARE\\Microsoft\\InputPersonalization\\TrainedDataStore\" /v \"HarvestContacts\" /t REG_DWORD /d 0 /f",
"revertCode": "reg add \"HKCU\\SOFTWARE\\Microsoft\\InputPersonalization\\TrainedDataStore\" /v \"HarvestContacts\" /t REG_DWORD /d 1 /f -"
}
}
],
"category": "Disable location access",
"children": [
{
"name": "Disable Windows Location Provider",
"call": {
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
"valueName": "DisableWindowsLocationProvider",
"dataType": "REG_DWORD",
"data": "1",
"deleteOnRevert": "true"
}
}
},
{
"name": "Disable location scripting",
"recommend": "standard",
"call": {
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
"valueName": "DisableLocationScripting",
"dataType": "REG_DWORD",
"data": "1",
"deleteOnRevert": "true"
}
}
},
{
"name": "Disable location",
"recommend": "standard",
"call": [
{
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
"valueName": "DisableLocation",
"dataType": "REG_DWORD",
"data": "1",
"deleteOnRevert": "true"
}
},
{
"function": "SetRegistryValue",
"parameters": {
"keyPath": "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}",
"valueName": "Value",
"dataType": "REG_SZ",
"data": "Deny",
"deleteOnRevert": "true"
}
},
{
"function": "RunInlineCode",
"code": "reg add \"HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}\" /v \"SensorPermissionState\" /d \"0\" /t REG_DWORD /f",
"revertCode": "reg add \"HKLM\\SOFTWARE\\Microsoft\\Windows NT\\Curr
|
run-check
Process completed with exit code 1.
|