mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
For #31055. - [X] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. - [X] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) ## Testing - [X] Added/updated automated tests - [x] QA'd all new/changed functionality manually
48 lines
1.2 KiB
XML
48 lines
1.2 KiB
XML
<Replace>
|
|
<!-- Enforce screenlock -->
|
|
<Item>
|
|
<Meta>
|
|
<Format xmlns="syncml:metinf">int</Format>
|
|
</Meta>
|
|
<Target>
|
|
<LocURI>./Device/Vendor/MSFT/Policy/Config/DeviceLock/DevicePasswordEnabled</LocURI>
|
|
</Target>
|
|
<Data>0</Data>
|
|
</Item>
|
|
</Replace>
|
|
<Replace>
|
|
<!-- Enforce screenlock after 15 minutes -->
|
|
<Item>
|
|
<Meta>
|
|
<Format xmlns="syncml:metinf">int</Format>
|
|
</Meta>
|
|
<Target>
|
|
<LocURI>./Device/Vendor/MSFT/Policy/Config/DeviceLock/MaxInactivityTimeDeviceLock</LocURI>
|
|
</Target>
|
|
<Data>15</Data>
|
|
</Item>
|
|
</Replace>
|
|
<Replace>
|
|
<!-- Enforce PIN or password length (10 characters) -->
|
|
<Item>
|
|
<Meta>
|
|
<Format xmlns="syncml:metinf">int</Format>
|
|
</Meta>
|
|
<Target>
|
|
<LocURI>./Device/Vendor/MSFT/Policy/Config/DeviceLock/MinDevicePasswordLength</LocURI>
|
|
</Target>
|
|
<Data>${FLEET_SECRET_LENGTH}</Data>
|
|
</Item>
|
|
</Replace>
|
|
<Replace>
|
|
<!-- Enforce PIN or password has at least one lowercase letter and at least one number -->
|
|
<Item>
|
|
<Meta>
|
|
<Format xmlns="syncml:metinf">int</Format>
|
|
</Meta>
|
|
<Target>
|
|
<LocURI>./Device/Vendor/MSFT/Policy/Config/DeviceLock/MinDevicePasswordComplexCharacters</LocURI>
|
|
</Target>
|
|
<Data>2</Data>
|
|
</Item>
|
|
</Replace>
|