|
1656 | 1656 | "name": "standards.StaleEntraDevices", |
1657 | 1657 | "cat": "Entra (AAD) Standards", |
1658 | 1658 | "tag": ["Essential 8 (1501)", "NIST CSF 2.0 (ID.AM-08)", "NIST CSF 2.0 (PR.PS-03)"], |
1659 | | - "helpText": "**Remediate is currently not available**. Cleans up Entra devices that have not connected/signed in for the specified number of days.", |
1660 | | - "docsDescription": "Remediate is currently not available. Cleans up Entra devices that have not connected/signed in for the specified number of days. First disables and later deletes the devices. More info can be found in the [Microsoft documentation](https://learn.microsoft.com/en-us/entra/identity/devices/manage-stale-devices)", |
| 1659 | + "helpText": "Cleans up Entra devices that have not connected/signed in for the specified number of days. Remediation first disables stale enabled devices and, on a later run, deletes stale devices that are already disabled. Hybrid-joined, Intune-managed and Autopilot devices are skipped. Deleting a device permanently removes any BitLocker recovery keys stored on it.", |
| 1660 | + "docsDescription": "Cleans up Entra devices that have not connected/signed in for the specified number of days. Remediation first disables stale enabled devices once they pass the disable threshold, and later deletes devices that are already disabled once they have been inactive for the disable threshold plus the configured grace delta (deletion age = disable threshold + grace days). The disable-before-delete grace period is further guaranteed by never deleting a device in the same pass it was disabled. Hybrid-joined (on-premises synced), Intune-managed/compliant, and system-managed Autopilot devices are excluded, in line with the [Microsoft guidance](https://learn.microsoft.com/en-us/entra/identity/devices/manage-stale-devices). **Warning:** deleting a device permanently removes any BitLocker recovery keys stored on that device object.", |
1661 | 1661 | "executiveText": "Automatically identifies and removes inactive devices that haven't connected to company systems for a specified period, reducing security risks from abandoned or lost devices. This maintains a clean device inventory and prevents potential unauthorized access through dormant device registrations.", |
1662 | 1662 | "addedComponent": [ |
1663 | 1663 | { |
1664 | 1664 | "type": "number", |
1665 | 1665 | "name": "standards.StaleEntraDevices.deviceAgeThreshold", |
1666 | | - "label": "Days before stale(Do not set below 30)", |
| 1666 | + "required": true, |
| 1667 | + "defaultValue": 90, |
| 1668 | + "label": "Days before stale (disables the device after this many days of inactivity, minimum 30)", |
1667 | 1669 | "validators": { |
1668 | 1670 | "min": { "value": 30, "message": "Minimum value is 30" } |
1669 | 1671 | } |
| 1672 | + }, |
| 1673 | + { |
| 1674 | + "type": "number", |
| 1675 | + "name": "standards.StaleEntraDevices.deviceDeleteThreshold", |
| 1676 | + "defaultValue": 0, |
| 1677 | + "label": "Grace days after disable before deletion (0 = never delete). Devices are deleted once inactive for the disable threshold plus this many additional days.", |
| 1678 | + "validators": { |
| 1679 | + "min": { "value": 0, "message": "Minimum value is 0" } |
| 1680 | + } |
1670 | 1681 | } |
1671 | 1682 | ], |
1672 | | - "disabledFeatures": { "report": false, "warn": false, "remediate": true }, |
| 1683 | + "disabledFeatures": { "report": false, "warn": false, "remediate": false }, |
1673 | 1684 | "label": "Cleanup stale Entra devices", |
1674 | 1685 | "impact": "High Impact", |
1675 | 1686 | "impactColour": "danger", |
1676 | 1687 | "addedDate": "2025-01-19", |
1677 | 1688 | "powershellEquivalent": "Remove-MgDevice, Update-MgDevice or Graph API", |
1678 | 1689 | "recommendedBy": [], |
1679 | | - "requiredCapabilities": ["INTUNE_A", "MDM_Services", "EMS", "SCCM", "MICROSOFTINTUNEPLAN1"] |
| 1690 | + "requiredCapabilities": [] |
1680 | 1691 | }, |
1681 | 1692 | { |
1682 | 1693 | "name": "standards.UndoOauth", |
|
0 commit comments